diff options
author | Matthias Clasen <mclasen@redhat.com> | 2016-02-25 08:25:50 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2016-02-25 08:27:08 -0500 |
commit | a4a7740b2fb73dd70d4462a3d6e2e61bb6ef7820 (patch) | |
tree | ced80a10f0aae6660e930a69a43ac9465032a64b /gdk/x11 | |
parent | f468f0fbb26a5f6199b30112420b12b9cc90a6db (diff) | |
download | gtk+-a4a7740b2fb73dd70d4462a3d6e2e61bb6ef7820.tar.gz |
xi2: Set ::num-touches for touch devices
XI2 has this information, so pass it on.
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 a667c49da7..a3450ad7af 100644 --- a/gdk/x11/gdkdevicemanager-xi2.c +++ b/gdk/x11/gdkdevicemanager-xi2.c @@ -487,6 +487,7 @@ create_device (GdkDeviceManager *device_manager, "device-id", dev->deviceid, "vendor-id", vendor_id, "product-id", product_id, + "num-touches", num_touches, NULL); translate_device_classes (display, device, dev->classes, dev->num_classes); |