diff options
author | Takao Fujiwara <tfujiwar@redhat.com> | 2016-03-08 22:18:06 +0900 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2016-03-08 11:11:51 -0500 |
commit | 7822f59a861abe6a29c15823964c7ea1892c265c (patch) | |
tree | 181830a0b786187370a5dccaa4b3083724f1be36 /gdk/x11 | |
parent | 6fdf1e4462e1a69995bdcd71aa9de1071216b3f6 (diff) | |
download | gtk+-7822f59a861abe6a29c15823964c7ea1892c265c.tar.gz |
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
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 b314d43804..ad6babe883 100644 --- a/gdk/x11/gdkdevicemanager-xi2.c +++ b/gdk/x11/gdkdevicemanager-xi2.c @@ -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 |