forked from AuroraMiddleware/gtk
Set VirtualBox USB Tablet to GDK_SOURCE_MOUSE
The virtual host assigns the name of the mouse device to "VirtualBox USB Tablet" in VirtualBox and we'd use that device as mouse. If not, GtkTooltip is not enabled. https://bugzilla.gnome.org/show_bug.cgi?id=763017
This commit is contained in:
parent
6fdf1e4462
commit
7822f59a86
@ -432,6 +432,7 @@ create_device (GdkDeviceManager *device_manager,
|
||||
!strstr (tmp_name, "pointer") &&
|
||||
!strstr (tmp_name, "qemu usb tablet") &&
|
||||
!strstr (tmp_name, "spice vdagent tablet") &&
|
||||
!strstr (tmp_name, "virtualbox 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