summaryrefslogtreecommitdiff
path: root/gdk/gdkseat.h
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2017-11-27 20:21:42 +0100
committerMatthias Clasen <mclasen@redhat.com>2017-12-07 21:27:14 -0500
commit4c45022ed0bfeb0219613744c2453c949c254382 (patch)
tree7cea157db8d71c264e7abd3139faeea2ffd668a8 /gdk/gdkseat.h
parent62f1695cb3e6c5b54ff1248e6f3904f35cb6a2d1 (diff)
downloadgtk+-4c45022ed0bfeb0219613744c2453c949c254382.tar.gz
gdk: Add gdk_seat_get_master_pointers()
Traditionally (and on most backends) there's a single master pointer driven by all pointing devices. The notable exception is Wayland though, where master pointing devices are created per capability in the case of pointer/touch, and one for each drawing tablet. This function call makes it easy to access all these. https://bugzilla.gnome.org/show_bug.cgi?id=790920
Diffstat (limited to 'gdk/gdkseat.h')
-rw-r--r--gdk/gdkseat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdk/gdkseat.h b/gdk/gdkseat.h
index b4ce279b76..f60b93dd66 100644
--- a/gdk/gdkseat.h
+++ b/gdk/gdkseat.h
@@ -112,6 +112,10 @@ GdkDevice * gdk_seat_get_pointer (GdkSeat *seat);
GDK_AVAILABLE_IN_3_20
GdkDevice * gdk_seat_get_keyboard (GdkSeat *seat);
+GDK_AVAILABLE_IN_3_93
+GList * gdk_seat_get_master_pointers (GdkSeat *seat,
+ GdkSeatCapabilities capabilities);
+
G_END_DECLS
#endif /* __GDK_SEAT_H__ */