Commit ed816e62 authored by Takao Fujiwara's avatar Takao Fujiwara Committed by Matthias Clasen

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
parent 676565ae
......@@ -430,6 +430,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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment