[Spice-devel] protocol: Group the VDAgent clipboard message definitions

Frediano Ziglio fziglio at redhat.com
Mon Oct 17 15:39:53 UTC 2016


> 
> Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
> ---
>  spice/vd_agent.h | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/spice/vd_agent.h b/spice/vd_agent.h
> index 445b458..c49f596 100644
> --- a/spice/vd_agent.h
> +++ b/spice/vd_agent.h
> @@ -180,6 +180,12 @@ enum {
>      VD_AGENT_CLIPBOARD_IMAGE_JPG,  /* optional */
>  };
>  
> +enum {
> +    VD_AGENT_CLIPBOARD_SELECTION_CLIPBOARD = 0,
> +    VD_AGENT_CLIPBOARD_SELECTION_PRIMARY,
> +    VD_AGENT_CLIPBOARD_SELECTION_SECONDARY,
> +};
> +
>  typedef struct SPICE_ATTR_PACKED VDAgentClipboardGrab {
>  #if 0 /* VD_AGENT_CAP_CLIPBOARD_SELECTION */
>      uint8_t selection;
> @@ -231,12 +237,6 @@ enum {
>      VD_AGENT_END_CAP,
>  };
>  
> -enum {
> -    VD_AGENT_CLIPBOARD_SELECTION_CLIPBOARD = 0,
> -    VD_AGENT_CLIPBOARD_SELECTION_PRIMARY,
> -    VD_AGENT_CLIPBOARD_SELECTION_SECONDARY,
> -};
> -
>  typedef struct SPICE_ATTR_PACKED VDAgentAnnounceCapabilities {
>      uint32_t  request;
>      uint32_t caps[0];

Acked-by: Frediano Ziglio <fziglio at redhat.com>

Frediano


More information about the Spice-devel mailing list