mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-protocol
synced 2025-12-29 00:41:31 +00:00
vdagent protocol: add display setting
This commit is contained in:
parent
b0f61eba25
commit
3f63e04881
@ -53,6 +53,7 @@ enum {
|
||||
VD_AGENT_MONITORS_CONFIG,
|
||||
VD_AGENT_REPLY,
|
||||
VD_AGENT_CLIPBOARD,
|
||||
VD_AGENT_DISPLAY_CONFIG,
|
||||
};
|
||||
|
||||
typedef struct SPICE_ATTR_PACKED VDAgentMonConfig {
|
||||
@ -73,6 +74,18 @@ typedef struct SPICE_ATTR_PACKED VDAgentMonitorsConfig {
|
||||
VDAgentMonConfig monitors[0];
|
||||
} VDAgentMonitorsConfig;
|
||||
|
||||
enum {
|
||||
VD_AGENT_DISPLAY_CONFIG_FLAG_DISABLE_WALLPAPER = (1 << 0),
|
||||
VD_AGENT_DISPLAY_CONFIG_FLAG_DISABLE_FONT_SMOOTH = (1 << 1),
|
||||
VD_AGENT_DISPLAY_CONFIG_FLAG_DISABLE_ANIMATION = (1 << 2),
|
||||
VD_AGENT_DISPLAY_CONFIG_FLAG_SET_COLOR_DEPTH = (1 << 3),
|
||||
};
|
||||
|
||||
typedef struct SPICE_ATTR_PACKED VDAgentDisplayConfig {
|
||||
uint32_t flags;
|
||||
uint32_t depth;
|
||||
} VDAgentDisplayConfig;
|
||||
|
||||
#define VD_AGENT_LBUTTON_MASK (1 << 1)
|
||||
#define VD_AGENT_MBUTTON_MASK (1 << 2)
|
||||
#define VD_AGENT_RBUTTON_MASK (1 << 3)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user