XUnmapWindow() XUnmapWindow()
Name
XUnmapWindow - unmap a window.
Synopsis
XUnmapWindow(display, w)
Display *display;
Window w;
Arguments
display Specifies a connection to an X server; returned from XOpenDisplay().
w Specifies the window ID.
Description
XUnmapWindow() removes w and all its descendants from the screen (but does not unmap the descendents). If w is already unmapped, XUnmap-
Window() has no effect. Otherwise, w is unmapped and an UnmapNotify event is generated. Normal exposure processing on formerly obscured
windows is performed.
Descendants of w will not be visible until w is mapped again. In other words, the subwindows are still mapped, but are not visible because
w is unmapped. Unmapping a window will generate exposure events on windows that were formerly obscured by w.
For more information on window mapping, see Volume One, Chapter 2, X Concepts.
Errors
BadWindow
See Also
XMapRaised(), XMapSubwindows(), XMapWindow(), XUnmapSubwindows().
Xlib - Mapping XUnmapWindow()