1XUnmapWindow(3)                 XLIB FUNCTIONS                 XUnmapWindow(3)
2
3
4

NAME

6       XUnmapWindow, XUnmapSubwindows - unmap windows
7

SYNTAX

9       int XUnmapWindow(Display *display, Window w);
10
11       int XUnmapSubwindows(Display *display, Window w);
12

ARGUMENTS

14       display   Specifies the connection to the X server.
15
16       w         Specifies the window.
17

DESCRIPTION

19       The  XUnmapWindow function unmaps the specified window and causes the X
20       server to generate an UnmapNotify event.  If the  specified  window  is
21       already unmapped, XUnmapWindow has no effect.  Normal exposure process‐
22       ing on formerly obscured windows is performed.  Any child  window  will
23       no  longer be visible until another map call is made on the parent.  In
24       other words, the subwindows are still mapped but are not visible  until
25       the  parent  is mapped.  Unmapping a window will generate Expose events
26       on windows that were formerly obscured by it.
27
28       XUnmapWindow can generate a BadWindow error.
29
30       The XUnmapSubwindows function unmaps all subwindows for  the  specified
31       window in bottom-to-top stacking order.  It causes the X server to gen‐
32       erate an UnmapNotify event on each subwindow and Expose events on  for‐
33       merly  obscured  windows.   Using  this function is much more efficient
34       than unmapping multiple windows one at a time because the server  needs
35       to  perform  much of the work only once, for all of the windows, rather
36       than for each window.
37
38       XUnmapSubwindows can generate a BadWindow error.
39

DIAGNOSTICS

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

SEE ALSO

44       XChangeWindowAttributes(3), XConfigureWindow(3), XCreateWindow(3), XDe‐
45       stroyWindow(3), XMapWindow(3) XRaiseWindow(3)
46       Xlib - C Language X Interface
47
48
49
50X Version 11                     libX11 1.6.12                 XUnmapWindow(3)
Impressum