diff options
author | Hans de Goede <hdegoede@redhat.com> | 2011-09-23 16:51:48 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2011-09-23 16:51:48 +0200 |
commit | 3cf8fa7d31a3ebf1d051ba0e1bd3df9957bdb112 (patch) | |
tree | efa7339be8eb0b4e8714a283bcff176cb113b505 /src/vdagentd-uinput.h | |
parent | 3e7f2a287d21b57b167d3d49fa3d8640ffcf2d60 (diff) | |
download | vd_agent-3cf8fa7d31a3ebf1d051ba0e1bd3df9957bdb112.tar.gz vd_agent-3cf8fa7d31a3ebf1d051ba0e1bd3df9957bdb112.tar.xz vd_agent-3cf8fa7d31a3ebf1d051ba0e1bd3df9957bdb112.zip |
Make mouse handling multiple monitor aware.
Actually send monitor info from the session agent to the system agent daemon,
and use this information in vdagentd-uinput to properly generate events
for events originating from different monitors on the client.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'src/vdagentd-uinput.h')
-rw-r--r-- | src/vdagentd-uinput.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/vdagentd-uinput.h b/src/vdagentd-uinput.h index 132986b..27cd375 100644 --- a/src/vdagentd-uinput.h +++ b/src/vdagentd-uinput.h @@ -23,16 +23,21 @@ #define __VDAGENTD_UINPUT_H #include <stdio.h> +#include "vdagentd-proto.h" struct vdagentd_uinput; struct vdagentd_uinput *vdagentd_uinput_create(const char *devname, - int width, int height, FILE *errfile, int verbose); + int width, int height, + struct vdagentd_guest_xorg_resolution *screen_info, int screen_count, + FILE *errfile, int verbose); void vdagentd_uinput_destroy(struct vdagentd_uinput **uinputp); void vdagentd_uinput_do_mouse(struct vdagentd_uinput **uinputp, VDAgentMouseState *mouse); void vdagentd_uinput_update_size(struct vdagentd_uinput **uinputp, - int width, int height); + int width, int height, + struct vdagentd_guest_xorg_resolution *screen_info, + int screen_count); #endif |