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

Alexander Larsson alexl at redhat.com
Wed Sep 29 02:36:12 PDT 2010


On Sun, 2010-09-26 at 10:27 +0200, Arnon Gilboa wrote:
> 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.

Yeah, might as well do this for future possibilities.



More information about the Spice-devel mailing list