diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2010-04-13 09:05:03 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2010-09-21 18:36:43 +0200 |
commit | 869564a9c0f78b1972e1ac51e69cb2016af3b060 (patch) | |
tree | 762aa3506e1efed2e3d900680fbeba04117e04fd /ui/spice-display.c | |
parent | a3e2226031496f479b5fe4a069ec1acd68a17e8d (diff) | |
download | qemu-869564a9c0f78b1972e1ac51e69cb2016af3b060.zip qemu-869564a9c0f78b1972e1ac51e69cb2016af3b060.tar.gz qemu-869564a9c0f78b1972e1ac51e69cb2016af3b060.tar.bz2 |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/spice-display.c b/ui/spice-display.c index 0bc230e..6702dfd 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; |