Name
ConfigureNotify — xconfigure
When Generated
A ConfigureNotify event announces actual
changes to a window’s configuration (size, position, border, and
stacking order). See also the CirculateRequest
reference page.
Select With
This event is selected for a single window by specifying the
window ID of that window with
StructureNotifyMask. To receive this event for
all children of a window, specify the parent window ID with
SubstructureNotifyMask.
XEvent Structure Name
typedef union _XEvent {
...
XConfigureEvent xconfigure;
...
} 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;
int x, y;
int width, height;
int border_width;
Window above;
Bool override_redirect;
} XConfigureEvent;Event Structure Members
eventThe window that selected the event. The
eventandwindowmembers are identical if the event was selected withStructureNotifyMask.windowThe window whose configuration was changed.
x,yThe final coordinates of the reconfigured window relative to its parent.
width,heightThe width and height in pixels of the window after reconfiguration.
border_widthThe width in pixels of the border after reconfiguration.
aboveIf this member is
None, then the window is on the bottom of the stack with respect to its siblings. Otherwise, the window is immediately on top of the specified sibling window. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access