XGetSelectionOwner() XGetSelectionOwner() Name XGetSelectionOwner - return the owner of a selection. Synopsis Window XGetSelectionOwner(display, selection) Display *display; Atom selection; Arguments display Specifies a connection to an X server; returned from XOpenDisplay(). selection Specifies 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 12, Interclient Communication. Errors BadAtom See Also XConvertSelection(), XSetSelectionOwner(). Xlib - Selections XGetSelectionOwner()