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.
This commit is contained in:
Matthias Clasen 2016-02-24 21:59:44 -05:00
parent 760b540c8c
commit c75a833633

View File

@ -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