From d5f3df6c62c2220e30006d59af00d4cd5d4e8c83 Mon Sep 17 00:00:00 2001 From: Daemonratte Date: Sun, 10 May 2026 10:30:26 +0200 Subject: [PATCH] gdk: document selection owner accessor --- gdk/gdkselection.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gdk/gdkselection.h b/gdk/gdkselection.h index c8cae43f8..b55f0fb81 100644 --- a/gdk/gdkselection.h +++ b/gdk/gdkselection.h @@ -71,6 +71,16 @@ gboolean gdk_selection_owner_set (GdkWindow *owner, GdkAtom selection, guint32 time_, gboolean send_event); +/** + * gdk_selection_owner_get: + * @selection: an atom identifying a selection. + * + * Determines the owner of the given selection. + * + * Returns: (transfer none): if there is a selection owner for this window, + * and it is a window known to the current process, the #GdkWindow that + * owns the selection, otherwise %NULL. + */ GdkWindow* gdk_selection_owner_get (GdkAtom selection); #endif/* GDK_MULTIHEAD_SAFE */