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.
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().
Copyright O’Reilly & Assoc. —