NAME
SelectionClear — X SelectionClear Event
WHEN GENERATED
A SelectionClear event reports to the current owner of a selection that a new owner is being defined.
SELECT WITH
This event is not selected. It is sent to the previous selection owner when another client calls XSetSelectionOwner for the same selection.
XEVENT STRUCTURE NAME
typedef union _XEvent { ... XSelectionClearEvent xselectionclear; ... } XEvent;
EVENT STRUCTURE
typedef struct { int type; unsigned long serial; /∗ # of last request processed by server ∗/ Bool send_event; /∗ True if this came from SendEvent request ∗/ Display ∗display; /∗ Display the event was read from ∗/ Window window; Atom selection; Time time; } XSelectionClearEvent;
EVENT STRUCTURE MEMBERS
windowThe window that is receiving the event and losing the selection.
selectionThe selection atom specifying the selection that is changing ownership.
timeThe last-change time recorded for the selection.
Xlib Reference Manual