diff options
| author | Alon Levy <alevy@redhat.com> | 2010-10-24 09:09:19 -0400 |
|---|---|---|
| committer | Alon Levy <alevy@redhat.com> | 2010-10-25 08:56:18 -0400 |
| commit | 01b36f4d40eed21515f955f83dc00a135b495262 (patch) | |
| tree | 346d5e23ce2d9554f12805d311b10c1993cc94fa | |
| parent | 75997546aa64bc12e2faf93a5abc2061ca06c4e2 (diff) | |
| download | vd_agent-01b36f4d40eed21515f955f83dc00a135b495262.tar.gz vd_agent-01b36f4d40eed21515f955f83dc00a135b495262.tar.xz vd_agent-01b36f4d40eed21515f955f83dc00a135b495262.zip | |
vdagent-x11: reopen tablet on resolution change to register new resolution
| -rw-r--r-- | vdagent-x11.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vdagent-x11.c b/vdagent-x11.c index cb54806..fd4a72c 100644 --- a/vdagent-x11.c +++ b/vdagent-x11.c @@ -816,6 +816,9 @@ void vdagent_x11_set_monitor_config(struct vdagent_x11 *x11, rotation, CurrentTime); XRRFreeScreenConfigInfo(config); XFlush(x11->display); + x11->width = sizes[best].width; + x11->height = sizes[best].height; + vdagent_x11_send_daemon_guest_xorg_res(x11); } void vdagent_x11_clipboard_request(struct vdagent_x11 *x11, uint32_t type) |
