[gtk+/gtk-3-18] x11: More fake tablet blacklisting
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-18] x11: More fake tablet blacklisting
- Date: Thu, 10 Mar 2016 04:26:02 +0000 (UTC)
commit 676565ae1a1307a7dd1619a53e5d4eeeecaf9e0c
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 e47c70e..c4dbc6f 100644
--- a/gdk/x11/gdkdevicemanager-xi2.c
+++ b/gdk/x11/gdkdevicemanager-xi2.c
@@ -429,6 +429,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]