summaryrefslogtreecommitdiffstats
path: root/src/vdagentd-proto.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2011-09-22 14:32:53 +0200
committerHans de Goede <hdegoede@redhat.com>2011-09-22 14:36:21 +0200
commit3e7f2a287d21b57b167d3d49fa3d8640ffcf2d60 (patch)
treec76fce46948aabfa4aaa628a0ce8d2ae93b9aa5b /src/vdagentd-proto.h
parent16d8bda4ec2966643aa7fd2623af7ba47095b954 (diff)
downloadvd_agent-3e7f2a287d21b57b167d3d49fa3d8640ffcf2d60.tar.gz
vd_agent-3e7f2a287d21b57b167d3d49fa3d8640ffcf2d60.tar.xz
vd_agent-3e7f2a287d21b57b167d3d49fa3d8640ffcf2d60.zip
Change VDAGENTD_GUEST_XORG_RESOLUTION message to work with multiple monitors
And also bump the version (a bit early in the cycle), since this breaks protocol compatibility between the system level agentd daemon and the per session agent process. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'src/vdagentd-proto.h')
-rw-r--r--src/vdagentd-proto.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/vdagentd-proto.h b/src/vdagentd-proto.h
index 9d96540..08279a3 100644
--- a/src/vdagentd-proto.h
+++ b/src/vdagentd-proto.h
@@ -26,7 +26,9 @@
#define VDAGENTD_SOCKET "/var/run/spice-vdagentd/spice-vdagent-sock"
enum {
- VDAGENTD_GUEST_XORG_RESOLUTION, /* client -> daemon */
+ VDAGENTD_GUEST_XORG_RESOLUTION, /* client -> daemon, arg1: overall width,
+ arg2: overall height, data: array of
+ vdagentd_guest_xorg_resolution */
VDAGENTD_MONITORS_CONFIG, /* daemon -> client, VDAgentMonitorsConfig
followed by num_monitors VDAgentMonConfig-s */
VDAGENTD_CLIPBOARD_GRAB, /* arg1: sel, data: array of supported types */
@@ -40,6 +42,8 @@ enum {
struct vdagentd_guest_xorg_resolution {
int width;
int height;
+ int x;
+ int y;
};
#endif