XUnmapSubwindows

Syntax

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

Arguments

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

Description

The XUnmapSubwindows() function unmaps all subwindows for the specified window in bottom-to-top stacking order. It causes the X server to generate an UnmapNotify event on each subwindow and Expose events on formerly obscured windows. Using this function is much more efficient than unmapping multiple 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.

XUnmapSubwindows() 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(), XMapWindow(), XRaiseWindow(), XUnmapWindow(), "Unmapping Windows"
Christophe Tronche, ch@tronche.com