NAME
XGetSelectionOwner — return the owner of a selection.
SYNOPSIS
Window XGetSelectionOwner(display, selection) Display ∗display; Atom selection;
ARGUMENTS
displaySpecifies a connection to an X server; returned from XOpenDisplay().
selectionSpecifies the selection atom whose owner you want returned.
RETURNS
The window associated with the selection owner.
DESCRIPTION
XGetSelectionOwner() returns the window ID of the current owner of the specified selection. If no selection was specified, or there is no owner, the function returns the constant None.
For more information on selections, see Volume One, Chapter 10, Interclient Communication.
ERRORS
BadAtom
SEE ALSO
XConvertSelection(), XSetSelectionOwner().
Xlib Reference Manual