[Spice-commits] spice/vd_agent.h

Frediano Ziglio fziglio at kemper.freedesktop.org
Mon Oct 17 15:39:35 UTC 2016


 spice/vd_agent.h |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 2eeb092204d1d76e4da8e73b433d94cafd75cf52
Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Mon Oct 17 15:36:10 2016 +0200

    protocol: Group the VDAgent clipboard message definitions
    
    Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
    Acked-by: Frediano Ziglio <fziglio at redhat.com>

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];


More information about the Spice-commits mailing list