[gtk+] x11: More fake tablet blacklisting
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] x11: More fake tablet blacklisting
- Date: Thu, 25 Feb 2016 03:22:22 +0000 (UTC)
commit c75a8336333f5bcc6c285cc50db8d6daf133311c
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Feb 24 21:59:44 2016 -0500
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 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gdk/x11/gdkdevicemanager-xi2.c b/gdk/x11/gdkdevicemanager-xi2.c
index 237bcb2..a667c49 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]