summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
Diffstat (limited to 'gdk')
-rw-r--r--gdk/wayland/gdkdevice-wayland.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/gdk/wayland/gdkdevice-wayland.c b/gdk/wayland/gdkdevice-wayland.c
index 9d2c7d87ce..dfdf4604f6 100644
--- a/gdk/wayland/gdkdevice-wayland.c
+++ b/gdk/wayland/gdkdevice-wayland.c
@@ -3209,6 +3209,16 @@ gdk_wayland_seat_set_primary (GdkSeat *seat,
}
}
+/**
+ * gdk_wayland_seat_get_wl_seat:
+ * @device: (type GdkWaylandDevice): a #GdkDevice
+ *
+ * Returns the Wayland wl_seat of a #GdkSeat.
+ *
+ * Returns: (transfer none): a Wayland wl_seat
+ *
+ * Since: 3.20
+ */
struct wl_seat *
gdk_wayland_seat_get_wl_seat (GdkSeat *seat)
{