1xcb_map_window(3)                XCB Requests                xcb_map_window(3)
2
3
4

NAME

6       xcb_map_window - Makes a window visible
7

SYNOPSIS

9       #include <xcb/xproto.h>
10
11   Request function
12       xcb_void_cookie_t xcb_map_window(xcb_connection_t *conn,
13              xcb_window_t window);
14

REQUEST ARGUMENTS

16       conn      The XCB connection to X11.
17
18       window    The window to make visible.
19

DESCRIPTION

21       Maps the specified window. This means making the window visible (as
22       long as its parent is visible).
23
24       This MapWindow request will be translated to a MapRequest request if a
25       window manager is running. The window manager then decides to either
26       map the window or not. Set the override-redirect window attribute to
27       true if you want to bypass this mechanism.
28
29       If the window manager decides to map the window (or if no window manag‐
30       er is running), a MapNotify event is generated.
31
32       If the window becomes viewable and no earlier contents for it are re‐
33       membered, the X server tiles the window with its background. If the
34       window's background is undefined, the existing screen contents are not
35       altered, and the X server generates zero or more Expose events.
36
37       If the window type is InputOutput, an Expose event will be generated
38       when the window becomes visible. The normal response to an Expose event
39       should be to repaint the window.
40

RETURN VALUE

42       Returns an xcb_void_cookie_t. Errors (if any) have to be handled in the
43       event loop.
44
45       If you want to handle errors directly with xcb_request_check instead,
46       use xcb_map_window_checked. See xcb-requests(3) for details.
47

ERRORS

49       xcb_match_error_t
50                 The specified window does not exist.
51

SEE ALSO

53       xcb-requests(3), xcb_expose_event_t(3), xcb_map_notify_event_t(3),
54       xcb_unmap_window(3)
55

AUTHOR

57       Generated from xproto.xml. Contact xcb@lists.freedesktop.org for cor‐
58       rections and improvements.
59
60
61
62X Version 11                      libxcb 1.13                xcb_map_window(3)
Impressum