summaryrefslogtreecommitdiff
path: root/gdk/gdkseat.h
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2020-07-28 16:51:41 +0200
committerCarlos Garnacho <carlosg@gnome.org>2020-07-29 00:11:34 +0200
commitb52ad33031c06ad517a704bc055f93c9920e4b4f (patch)
treee49104a2a97f1d21961769cdb927861fb24bb6e9 /gdk/gdkseat.h
parent254007a142a41435ff16b1cb7859040c188ffae8 (diff)
downloadgtk+-b52ad33031c06ad517a704bc055f93c9920e4b4f.tar.gz
gdk: Add gdk_seat_get_tools() API call
There's GdkSeat::tool-added and ::tool-removed, but there's no API to query the known tools. Add this call.
Diffstat (limited to 'gdk/gdkseat.h')
-rw-r--r--gdk/gdkseat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/gdkseat.h b/gdk/gdkseat.h
index 960a6e306b..1802d5348f 100644
--- a/gdk/gdkseat.h
+++ b/gdk/gdkseat.h
@@ -78,6 +78,8 @@ GDK_AVAILABLE_IN_ALL
GList * gdk_seat_get_physical_devices (GdkSeat *seat,
GdkSeatCapabilities capabilities);
+GList * gdk_seat_get_tools (GdkSeat *seat);
+
GDK_AVAILABLE_IN_ALL
GdkDevice * gdk_seat_get_pointer (GdkSeat *seat);
GDK_AVAILABLE_IN_ALL