summaryrefslogtreecommitdiff
path: root/gdk/gdkseat.h
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2017-11-27 21:39:05 +0100
committerMatthias Clasen <mclasen@redhat.com>2017-12-07 21:27:33 -0500
commit7531be3510baf4d2ded80b780ff1c02f268bfcb0 (patch)
tree982fceafc22d31361d490ccbed73f88b7f2ad207 /gdk/gdkseat.h
parent4c45022ed0bfeb0219613744c2453c949c254382 (diff)
downloadgtk+-7531be3510baf4d2ded80b780ff1c02f268bfcb0.tar.gz
gdk: Add GDK_SEAT_CAPABILITY_TABLET_PAD
Tablet pads don't adapt really well to any other capability, so add a distinct one to be able to query those properly. https://bugzilla.gnome.org/show_bug.cgi?id=790920
Diffstat (limited to 'gdk/gdkseat.h')
-rw-r--r--gdk/gdkseat.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdk/gdkseat.h b/gdk/gdkseat.h
index f60b93dd66..c7bc64d419 100644
--- a/gdk/gdkseat.h
+++ b/gdk/gdkseat.h
@@ -42,6 +42,7 @@ G_BEGIN_DECLS
* @GDK_SEAT_CAPABILITY_TOUCH: The seat has touchscreen(s) attached
* @GDK_SEAT_CAPABILITY_TABLET_STYLUS: The seat has drawing tablet(s) attached
* @GDK_SEAT_CAPABILITY_KEYBOARD: The seat has keyboard(s) attached
+ * @GDK_SEAT_CAPABILITY_TABLET_PAD: The seat has drawing tablet pad(s) attached
* @GDK_SEAT_CAPABILITY_ALL_POINTING: The union of all pointing capabilities
* @GDK_SEAT_CAPABILITY_ALL: The union of all capabilities
*
@@ -55,6 +56,7 @@ typedef enum {
GDK_SEAT_CAPABILITY_TOUCH = 1 << 1,
GDK_SEAT_CAPABILITY_TABLET_STYLUS = 1 << 2,
GDK_SEAT_CAPABILITY_KEYBOARD = 1 << 3,
+ GDK_SEAT_CAPABILITY_TABLET_PAD = 1 << 4,
GDK_SEAT_CAPABILITY_ALL_POINTING = (GDK_SEAT_CAPABILITY_POINTER | GDK_SEAT_CAPABILITY_TOUCH | GDK_SEAT_CAPABILITY_TABLET_STYLUS),
GDK_SEAT_CAPABILITY_ALL = (GDK_SEAT_CAPABILITY_ALL_POINTING | GDK_SEAT_CAPABILITY_KEYBOARD)
} GdkSeatCapabilities;
@@ -112,7 +114,7 @@ GdkDevice * gdk_seat_get_pointer (GdkSeat *seat);
GDK_AVAILABLE_IN_3_20
GdkDevice * gdk_seat_get_keyboard (GdkSeat *seat);
-GDK_AVAILABLE_IN_3_93
+GDK_AVAILABLE_IN_3_94
GList * gdk_seat_get_master_pointers (GdkSeat *seat,
GdkSeatCapabilities capabilities);