summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYonit Halperin <yhalperi@redhat.com>2010-06-23 13:31:11 +0300
committerYonit Halperin <yhalperi@redhat.com>2010-07-19 08:34:33 +0300
commit1509b51befe5af2810f35b5a3978dde71a298501 (patch)
treed4da3d71fcc26035fe1a99aac89321ee6fc67898
parenta94a5b171aea36fece4b3d94b3b2c112cd0f93e3 (diff)
vdagent protocol: add display setting
-rw-r--r--spice/vd_agent.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/spice/vd_agent.h b/spice/vd_agent.h
index 4e6fcf7..aab065b 100644
--- a/spice/vd_agent.h
+++ b/spice/vd_agent.h
@@ -51,6 +51,7 @@ enum {
VD_AGENT_MONITORS_CONFIG,
VD_AGENT_REPLY,
VD_AGENT_CLIPBOARD,
+ VD_AGENT_DISPLAY_CONFIG,
};
typedef struct SPICE_ATTR_PACKED VDAgentMonConfig {
@@ -71,6 +72,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)