XLowerWindow(display, w)
      Display *display;
      Window w;


display Specifies the connection to the X server.
w Specifies the window.


The XLowerWindow() function lowers the specified window to the bottom of the stack so that it does not obscure any sibling windows. If the windows are regarded as overlapping sheets of paper stacked on a desk, then lowering a window is analogous to moving the sheet to the bottom of the stack but leaving its x and y location on the desk constant. Lowering a mapped window will generate Expose events on any windows it formerly obscured.

If the override-redirect attribute of the window is False and some other client has selected SubstructureRedirectMask on the parent, the X server generates a ConfigureRequest event, and no processing is performed. Otherwise, the window is lowered to the bottom of the stack.

XLowerWindow() can generate a BadWindow error.


BadWindow A value for a Window argument does not name a defined Window.

See also

XChangeWindowAttributes(), XCirculateSubwindows(), XCirculateSubwindowsDown(), XCirculateSubwindowsUp(), XConfigureWindow(), XCreateWindow(), XDestroyWindow(), XMapWindow(), XRaiseWindow(), XRestackWindows(), "Changing Window Stacking Order"
Christophe Tronche, ch@tronche.com