diff options
author | Dominique Leuenberger <dominique-gnomezilla@leuenberger.net> | 2016-01-12 08:29:00 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2016-01-12 23:03:14 -0500 |
commit | d7e5fd2e2fa505535ddf31feda1ac0164061bd43 (patch) | |
tree | 0ea67bb48a980a41ef53ab6c082f928801715d0a /gdk/x11 | |
parent | f4d2d66b1e2dd36666cf78dc89df1ae5bebefb64 (diff) | |
download | gtk+-d7e5fd2e2fa505535ddf31feda1ac0164061bd43.tar.gz |
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
Diffstat (limited to 'gdk/x11')
-rw-r--r-- | 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 01fc7c609d..72a8bcd52d 100644 --- a/gdk/x11/gdkdevicemanager-xi2.c +++ b/gdk/x11/gdkdevicemanager-xi2.c @@ -429,6 +429,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 |