XUnmapWindow()XUnmapWindow()NameXUnmapWindow – 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.
DescriptionXUnmapWindow() removes w and all its descendants from the screen (but
does not unmap the descendents). If w is already unmapped, XUnmapWin‐
dow() 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 win‐
dows that were formerly obscured by w.
For more information on window mapping, see Volume One, Chapter 2, X
Concepts.
Errors
BadWindow
See AlsoXMapRaised(), XMapSubwindows(), XMapWindow(), XUnmapSubwindows().
Xlib - Mapping XUnmapWindow()