XMapSubwindows

Syntax

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

Arguments

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

Description

The XMapSubwindows() function maps all subwindows for a specified window in top-to-bottom stacking order. The X server generates Expose events on each newly displayed window. This may be much more efficient than mapping many windows one at a time because the server needs to perform much of the work only once, for all of the windows, rather than for each window.

XMapSubwindows() can generate a BadWindow error.

Diagnostics

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

See also

XChangeWindowAttributes(), XConfigureWindow(), XCreateWindow(), XDestroyWindow(), XMapRaised(), XMapWindow(), XUnmapWindow(), "Mapping Windows"
Christophe Tronche, ch@tronche.com