This event is selected on children of a window by specifying the parent window ID with SubstructureNotifyMask. (Note that this event type cannot be selected by StructureNotifyMask.)
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 parent; /* parent of the window */ Window window; /* window ID of window created */ int x, y; /* window location */ int width, height; /* size of window */ int border_width; /* border width */ Bool override_redirect; /* creation should be overridden */ } XCreateWindowEvent; |
parent | The ID of the created window's parent. | |
window | The ID of the created window. | |
x, y | The coordinates of the created window relative to its parent. | |
width, height | The width and height in pixels of the created window. | |
border_width | The width in pixels of the border of the created window. | |
override_redirect | The override_redirect attribute of the created window. If True, it indicates that the client wants this window to be immune to interception by the window manager of configuration requests. Window managers normally should ignore this event if override_redirect is True. |