mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-29 15:01:23 +00:00
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
This commit is contained in:
parent
f4d2d66b1e
commit
d7e5fd2e2f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user