[Spice-devel] [PATCH] vd_agent: add VD_AGENT_CAP_CLIPBOARD_BY_DEMAND capability enum

Arnon Gilboa agilboa at redhat.com
Wed Sep 29 05:29:20 PDT 2010


& VD_AGENT_CLIPBOARD_NONE for unsupported clipboard types
---
 spice/vd_agent.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/spice/vd_agent.h b/spice/vd_agent.h
index 0da23aa..4724b9a 100644
--- a/spice/vd_agent.h
+++ b/spice/vd_agent.h
@@ -130,7 +130,8 @@ typedef struct SPICE_ATTR_PACKED VDAgentClipboard {
 } VDAgentClipboard;
 
 enum {
-    VD_AGENT_CLIPBOARD_UTF8_TEXT = 1,
+    VD_AGENT_CLIPBOARD_NONE = 0,
+    VD_AGENT_CLIPBOARD_UTF8_TEXT,
     VD_AGENT_CLIPBOARD_BITMAP,
 };
 
@@ -148,6 +149,7 @@ enum {
     VD_AGENT_CAP_REPLY,
     VD_AGENT_CAP_CLIPBOARD,
     VD_AGENT_CAP_DISPLAY_CONFIG,
+    VD_AGENT_CAP_CLIPBOARD_BY_DEMAND,
     VD_AGENT_END_CAP,
 };
 
-- 
1.5.5.6



More information about the Spice-devel mailing list