NAME
DestroyNotify — X DestroyNotify Event
WHEN GENERATED
A DestroyNotify event reports that a window has been destroyed.
SELECT WITH
To receive this event type on children of a window, specify the parent window ID and pass SubstructureNotifyMask as part of the event_mask argument to XSelectInput. This event type cannot be selected with StructureNotifyMask.
XEVENT STRUCTURE NAME
typedef union _XEvent { ... XDestroyWindowEvent xdestroywindow; ... } 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 event; Window window; } XDestroyWindowEvent;
EVENT STRUCTURE MEMBERS
eventThe window that selected the event.
windowThe window that was destroyed.
Xlib Reference Manual