[Spice-devel] [PATCH] vd_agent: add protocol messages for clipboard/selection-owner model

Arnon Gilboa agilboa at redhat.com
Sun Sep 26 01:27:56 PDT 2010


Alexander Larsson wrote:
> On Wed, 2010-09-22 at 11:47 +0200, Arnon Gilboa wrote:
>   
>> with the current msgs we can use multiple GRAB(type)s & REQUEST(type)s ;)
>>     
>
> I don't think that works. You'd need to know when to reset the list of
> types and when to add to it.
>
>   
You are right. Should we vectorize the type in the grab msg?
e.g.
typedef struct SPICE_ATTR_PACKED VDAgentClipboardGrab {
    uint32_t type[0];
} VDAgentClipboardGrab;

In the request & data we will keep type as is, which is enough for our 
needs.


More information about the Spice-devel mailing list