[gtk+] gdk: Add GDK_SOURCE_TRACKPOINT
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gdk: Add GDK_SOURCE_TRACKPOINT
- Date: Wed, 1 Jun 2016 13:31:34 +0000 (UTC)
commit a9f14846e40ee67abb9d4085ca62db42803fe20f
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Jun 1 06:57:46 2016 -0400
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
gdk/gdkdevice.h | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkdevice.h b/gdk/gdkdevice.h
index 69fa99a..b345e9d 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;
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]