From 869564a9c0f78b1972e1ac51e69cb2016af3b060 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Tue, 13 Apr 2010 09:05:03 +0200 Subject: 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'. --- ui/spice-display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/spice-display.c') 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; -- cgit v1.1