Name
ConfigureRequest — xconfigurerequest
When Generated
A ConfigureRequest event reports when
another client attempts to change a window’s size, position, border,
and/or stacking order.
This event differs from ConfigureNotify in
that it delivers the parameters of the request before it is carried
out. This gives the client that selects this event (usually the
window manager) the opportunity to revise the requested
configuration before executing the
XConfigureWindow() request itself or to deny the
request. (ConfigureNotify indicates the final
outcome of the request.)
Select With
This event is selected for any window in a group of children
by specifying the parent window with
SubstructureRedirectMask.
XEvent Structure Name
typedef union _XEvent {
...
XConfigureRequestEvent xconfigurerequest;
...
} 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 parent;
Window window;
int x, y;
int width, height;
int border_width;
Window above;
int detail; /* Above, Below, BottomIf, TopIf, Opposite */
unsigned long value_mask;
} XConfigureRequestEvent;Event Structure Members
parentThe window that selected the event. This is the parent of the window being configured.
windowThe window that is being configured.
x,yThe requested position for the upper-left pixel of the window’s border relative to the origin of the parent ...
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