mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-protocol
synced 2025-12-26 22:55:30 +00:00
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.
This commit is contained in:
parent
016cdb0b1d
commit
55bdae1179
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user