summaryrefslogtreecommitdiff
path: root/gdk/gdkdeviceprivate.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2016-02-25 08:25:14 -0500
committerMatthias Clasen <mclasen@redhat.com>2016-02-25 08:27:08 -0500
commitf468f0fbb26a5f6199b30112420b12b9cc90a6db (patch)
treee4967eac318dbfbf63d8cce0b0001fe276f4a47a /gdk/gdkdeviceprivate.h
parent197799412889659eec413b0e5cfd371cb64fc82e (diff)
downloadgtk+-f468f0fbb26a5f6199b30112420b12b9cc90a6db.tar.gz
device: Add a num-touches property
Some backends can provide this information for touch devices, and it can be useful to have, so add this property.
Diffstat (limited to 'gdk/gdkdeviceprivate.h')
-rw-r--r--gdk/gdkdeviceprivate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdk/gdkdeviceprivate.h b/gdk/gdkdeviceprivate.h
index 7675895eb8..2350d02886 100644
--- a/gdk/gdkdeviceprivate.h
+++ b/gdk/gdkdeviceprivate.h
@@ -57,6 +57,7 @@ struct _GdkDevice
GList *slaves;
GdkDeviceType type;
GArray *axes;
+ guint num_touches;
gchar *vendor_id;
gchar *product_id;