[gtk+/gtk-3-18] QEMU USB Tablet is not really a tablet - it's a trick
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-18] QEMU USB Tablet is not really a tablet - it's a trick
- Date: Thu, 28 Jan 2016 03:30:18 +0000 (UTC)
commit 964adb2a68daa7e28853023b0a9d3c17ebfc95d3
Author: Dominique Leuenberger <dominique-gnomezilla leuenberger net>
Date: Tue Jan 12 08:29:00 2016 +0000
QEMU USB Tablet is not really a tablet - it's a trick
Unfortunately, Qemu gives us this confusing device to work with,
and the best we can do is filter it out based on its name.
https://bugzilla.gnome.org/show_bug.cgi?id=760445
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 69e9b35..e47c70e 100644
--- a/gdk/x11/gdkdevicemanager-xi2.c
+++ b/gdk/x11/gdkdevicemanager-xi2.c
@@ -428,6 +428,7 @@ create_device (GdkDeviceManager *device_manager,
input_source = GDK_SOURCE_PEN;
else if (!strstr (tmp_name, "mouse") &&
!strstr (tmp_name, "pointer") &&
+ !strstr (tmp_name, "qemu usb 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]