From c75a8336333f5bcc6c285cc50db8d6daf133311c Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 24 Feb 2016 21:59:44 -0500 Subject: [PATCH] x11: More fake tablet blacklisting Sigh. Now that we've neutered the QEMU USB tablet, I'm finding that spice is doing just the same nonsense. It has a fake "spice vdagent tablet". Blacklist that as well. --- gdk/x11/gdkdevicemanager-xi2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gdk/x11/gdkdevicemanager-xi2.c b/gdk/x11/gdkdevicemanager-xi2.c index 237bcb2cc6..a667c49da7 100644 --- a/gdk/x11/gdkdevicemanager-xi2.c +++ b/gdk/x11/gdkdevicemanager-xi2.c @@ -430,6 +430,7 @@ create_device (GdkDeviceManager *device_manager, else if (!strstr (tmp_name, "mouse") && !strstr (tmp_name, "pointer") && !strstr (tmp_name, "qemu usb tablet") && + !strstr (tmp_name, "spice vdagent tablet") && has_abs_axes (display, dev->classes, dev->num_classes)) input_source = GDK_SOURCE_TOUCHSCREEN; else