summaryrefslogtreecommitdiff
path: root/gdk/gdkdevice.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2016-06-01 06:57:46 -0400
committerMatthias Clasen <mclasen@redhat.com>2016-06-01 09:31:17 -0400
commita9f14846e40ee67abb9d4085ca62db42803fe20f (patch)
tree4efe08ec1a59333b75e26b9da7d90f702649e07f /gdk/gdkdevice.h
parent3ab7645ac180355d9c20ae0f4bd0e1046981a3bf (diff)
downloadgtk+-a9f14846e40ee67abb9d4085ca62db42803fe20f.tar.gz
gdk: Add GDK_SOURCE_TRACKPOINT
Having this as an input source type will let us do the heuristics in the GDK backends. https://bugzilla.gnome.org/show_bug.cgi?id=767100
Diffstat (limited to 'gdk/gdkdevice.h')
-rw-r--r--gdk/gdkdevice.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdk/gdkdevice.h b/gdk/gdkdevice.h
index 69fa99a01a..b345e9db67 100644
--- a/gdk/gdkdevice.h
+++ b/gdk/gdkdevice.h
@@ -47,6 +47,8 @@ typedef struct _GdkTimeCoord GdkTimeCoord;
* as a touchscreen or tablet. This device type has been added in 3.4.
* @GDK_SOURCE_TOUCHPAD: the device is an indirect touch device, such
* as a touchpad. This device type has been added in 3.4.
+ * @GDK_SOURCE_TRACKPOINT: the device is a trackpoint. This device type has been
+ * added in 3.22
*
* An enumeration describing the type of an input device in general terms.
*/
@@ -58,7 +60,8 @@ typedef enum
GDK_SOURCE_CURSOR,
GDK_SOURCE_KEYBOARD,
GDK_SOURCE_TOUCHSCREEN,
- GDK_SOURCE_TOUCHPAD
+ GDK_SOURCE_TOUCHPAD,
+ GDK_SOURCE_TRACKPOINT
} GdkInputSource;
/**