summaryrefslogtreecommitdiff
path: root/ui/spice-display.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-04-13 09:05:03 +0200
committerGerd Hoffmann <kraxel@redhat.com>2010-09-21 18:36:43 +0200
commit869564a9c0f78b1972e1ac51e69cb2016af3b060 (patch)
tree762aa3506e1efed2e3d900680fbeba04117e04fd /ui/spice-display.c
parenta3e2226031496f479b5fe4a069ec1acd68a17e8d (diff)
downloadqemu-869564a9c0f78b1972e1ac51e69cb2016af3b060.tar.gz
spice: add tablet support
Add support for the spice tablet interface. The tablet interface will be registered (and then used by the spice client) as soon as a absolute pointing device is available and used by the guest, i.e. you'll have to configure your guest with '-usbdevice tablet'.
Diffstat (limited to 'ui/spice-display.c')
-rw-r--r--ui/spice-display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/spice-display.c b/ui/spice-display.c
index 0bc230eeee..6702dfd7ea 100644
--- a/ui/spice-display.c
+++ b/ui/spice-display.c
@@ -180,7 +180,7 @@ void qemu_spice_create_host_primary(SimpleSpiceDisplay *ssd)
surface.width = ds_get_width(ssd->ds);
surface.height = ds_get_height(ssd->ds);
surface.stride = -surface.width * 4;
- surface.mouse_mode = 0;
+ surface.mouse_mode = true;
surface.flags = 0;
surface.type = 0;
surface.mem = (intptr_t)ssd->buf;