XConfigureRequestEvent - ConfigureRequest event structure


The structure for .ZN ConfigureRequest events contains:

.TA .5i 3i .5i 3i typedef struct { int type; /* ConfigureRequest */ unsigned long serial; /* # of last request processed by server */ Bool send_event; /* true if this came from a 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, TopIf, BottomIf, Opposite */ unsigned long value_mask; } XConfigureRequestEvent; .De

When you receive this event, the structure members are set as follows.

The type member is set to the event type constant name that uniquely identifies it. For example, when the X server reports a .ZN GraphicsExpose event to a client application, it sends an .ZN XGraphicsExposeEvent structure with the type member set to .ZN GraphicsExpose . The display member is set to a pointer to the display the event was read on. The send_event member is set to .ZN True if the event came from a .ZN SendEvent protocol request. The serial member is set from the serial number reported in the protocol but expanded from the 16-bit least-significant bits to a full 32-bit value. The window member is set to the window that is most useful to toolkit dispatchers.

The parent member is set to the parent window. The window member is set to the window whose size, position, border width, and/or stacking order is to be reconfigured. The value_mask member indicates which components were specified in the .ZN ConfigureWindow protocol request. The corresponding values are reported as given in the request. The remaining values are filled in from the current geometry of the window, except in the case of above (sibling) and detail (stack-mode), which are reported as .ZN None and .ZN Above , respectively, if they are not given in the request.