[gtk+] xi2: Set ::num-touches for touch devices
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] xi2: Set ::num-touches for touch devices
- Date: Thu, 25 Feb 2016 13:27:26 +0000 (UTC)
commit a4a7740b2fb73dd70d4462a3d6e2e61bb6ef7820
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Feb 25 08:25:50 2016 -0500
xi2: Set ::num-touches for touch devices
XI2 has this information, so pass it on.
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 a667c49..a3450ad 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]