Name
DestroyNotify — xdestroywindow
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
event
The window that selected the event.
window
The window that was destroyed.
Get XLIB Programming Manual, Rel. 5, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.