mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-protocol
synced 2026-08-08 11:21:46 +00:00
Mark VD_AGENT_CLIPBOARD_MAX as deprecated
There is no use for those 2 values, and the default limit would be quite wrong. Put them in a deprecated block. If someone uses them, he will have to add -DSPICE_DEPRECATED, or just fix the code.
This commit is contained in:
parent
8b436f8a3e
commit
9fc1e7e3d5
@ -56,8 +56,11 @@ typedef struct SPICE_ATTR_PACKED VDAgentMessage {
|
||||
|
||||
#define VD_AGENT_PROTOCOL 1
|
||||
#define VD_AGENT_MAX_DATA_SIZE 2048
|
||||
|
||||
#ifdef SPICE_DEPRECATED
|
||||
#define VD_AGENT_CLIPBOARD_MAX_SIZE_DEFAULT 1024
|
||||
#define VD_AGENT_CLIPBOARD_MAX_SIZE_ENV "SPICE_CLIPBOARD_MAX_SIZE"
|
||||
#endif
|
||||
|
||||
enum {
|
||||
VD_AGENT_MOUSE_STATE = 1,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user