summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2010-10-04 16:47:19 +0200
committerHans de Goede <hdegoede@redhat.com>2010-10-04 16:54:00 +0200
commit55bdae1179dc9a53bb0726a03bb6977dc67dd3e2 (patch)
tree90c9fdff619800f8924ebe50b55121be96ed2b17
parent016cdb0b1dea0e76790a3b95b4bdb6ed3324f316 (diff)
VD_AGENT_CLIPBOARD_GRAB takes a list of types rather then a single type
This way the grabbing side can indicate when the clipboard owning app can provide the clipboard contents in multiple formats, ie plain text and html. Also drop the VD_AGENT_CLIPBOARD_BITMAP type until we have a clear cross platform definition of the contents to send for bitmap type clipboard data.
-rw-r--r--spice/vd_agent.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/spice/vd_agent.h b/spice/vd_agent.h
index 4724b9a..8c09701 100644
--- a/spice/vd_agent.h
+++ b/spice/vd_agent.h
@@ -132,11 +132,10 @@ typedef struct SPICE_ATTR_PACKED VDAgentClipboard {
enum {
VD_AGENT_CLIPBOARD_NONE = 0,
VD_AGENT_CLIPBOARD_UTF8_TEXT,
- VD_AGENT_CLIPBOARD_BITMAP,
};
typedef struct SPICE_ATTR_PACKED VDAgentClipboardGrab {
- uint32_t type;
+ uint32_t types[0];
} VDAgentClipboardGrab;
typedef struct SPICE_ATTR_PACKED VDAgentClipboardRequest {