XReconfigureWMWindow()XReconfigureWMWindow()NameXReconfigureWMWindow – request that a top-level window be reconfigured.
Synopsis
Status XReconfigureWMWindow(display,w,screen_number,value_mask,values)
Display *display;
Window w;
int screen_number;
unsigned int value_mask;
XWindowChanges *values;
Arguments
display Specifies a connection to an X server; returned from
XOpenDisplay().
w Specifies the window.
screen_number
Specifies the appropriate screen number on the host server.
value_mask
Specifies which values are to be set using information in the
values structure. This mask is the bitwise inclusive OR of
the valid configure window values bits.
values Specifies a pointer to the XWindowChanges structure.
Returns
Non-zero if the request or event is successfully sent; otherwise zero.
Availability
Release 4 and later.
DescriptionXReconfigureWMWindow() issues a ConfigureWindow request on the speci‐
fied top-level window. If the stacking mode is changed and the request
fails with a BadMatch error, the error event is trapped and a synthetic
ConfigureRequest event containing the same configuration parameters is
sent to the root of the specified window. Window managers may elect to
receive this event and treat it as a request to reconfigure the indi‐
cated window.
For more information, see Volume One, Chapter 12, Interclient Communi‐
cation.
Structures
typedef struct {
int x, y;
int width, height;
int border_width;
Window sibling;
int stack_mode;
} XWindowChanges;
Errors
BadValue
BadWindow
See AlsoXIconifyWindow(), XWithdrawWindow().
Xlib - Window Manager Hints XReconfigureWMWindow()