1xcb_destroy_window(3) XCB Requests xcb_destroy_window(3)
2
3
4
6 xcb_destroy_window - Destroys a window
7
9 #include <xcb/xproto.h>
10
11 Request function
12 xcb_void_cookie_t xcb_destroy_window(xcb_connection_t *conn,
13 xcb_window_t window);
14
16 conn The XCB connection to X11.
17
18 window The window to destroy.
19
21 Destroys the specified window and all of its subwindows. A DestroyNoti‐
22 fy event is generated for each destroyed window (a DestroyNotify event
23 is first generated for any given window's inferiors). If the window was
24 mapped, it will be automatically unmapped before destroying.
25
26 Calling DestroyWindow on the root window will do nothing.
27
29 Returns an xcb_void_cookie_t. Errors (if any) have to be handled in the
30 event loop.
31
32 If you want to handle errors directly with xcb_request_check instead,
33 use xcb_destroy_window_checked. See xcb-requests(3) for details.
34
36 xcb_window_error_t
37 The specified window does not exist.
38
40 xcb-requests(3), xcb_destroy_notify_event_t(3), xcb_map_window(3),
41 xcb_unmap_window(3)
42
44 Generated from xproto.xml. Contact xcb@lists.freedesktop.org for cor‐
45 rections and improvements.
46
47
48
49X Version 11 libxcb 1.12 xcb_destroy_window(3)