XCB_COMPOSITE_REDIRECT_SUBWINDOWS_CHECKED(3)
π xcb_composite_redirect_subwindows β bestie edition π
okay so this is a page from the XCB Requests corner of the libxcb 1.17.0 world (X Version 11, if you're keeping score), and it's all about snatching up a whole window family and yeeting it off-screen. sit down, hydrate, let's go π
β¨ NAME β¨
xcb_composite_redirect_subwindows β redirect all current and future children of window π«Ά
like. every child. the ones that exist right now and the ones that haven't even been born yet. no cap.
πΈ SYNOPSIS πΈ
#include <xcb/composite.h>
π Request function
xcb_void_cookie_t
xcb_composite_redirect_subwindows(xcb_connection_t *conn,
xcb_window_t window, uint8_t update);
she's a void cookie, she's got three args, she's iconic π
π¦ REQUEST ARGUMENTS π¦
connβ the XCB connection to X11. your little phone line to the server, basically.windowβ the root of the hierarchy to redirect to off-screen storage. this is the main character whose whole bloodline gets redirected πupdateβ whether contents are automatically mirrored to the parent window. and here's the tea: if one client already specifies an update type ofManual, then any attempt by another client to specify a mode ofManualtoo will result in an Access error. so like, one Manual at a time, bestie, there's only one aux cord π
π DESCRIPTION π
Hierarchies starting at all current and future children of window will be redirected as in RedirectWindow. yes, the whole tree. yes, including the future ones. she's thorough like that β¨
and if update is Manual, then painting of the window background during window manipulation and ClearArea requests is inhibited. so the background just⦠doesn't get painted in those situations. no vibe, no paint, periodt.
β RETURN VALUE β
Returns an xcb_void_cookie_t. any errors (if there are any) have to be handled in the event loop β that's where the drama shows up, not here π
if you'd rather handle errors directly with xcb_request_check instead, then use xcb_composite_redirect_subwindows_checked (yes the checked twin, she's right there). see xcb-requests(3) for the details, iykyk.
π ERRORS π
This request does never generate any errors. not one. zero. she's on her best behaviour, she's a good girl πβ¨
π SEE ALSO π
π§ AUTHOR π§
Generated from composite.xml. Contact xcb@lists.freedesktop.org for corrections and improvements β like, if something's off, tell the humans, not me π
and that's the whole page, bestie!! X Version 11, libxcb 1.17.0 β go redirect something and slay π π«Άβ¨
π¦ where this page comes from
- alpine 3.22: libxcb-doc 1.17.0-r0 Β· MIT
- alpine 3.23: libxcb-doc 1.17.0-r1 Β· MIT
- alpine 3.24: libxcb-doc 1.17.0-r2 Β· MIT
- arch rolling: libxcb 1.17.0-1 Β· X11
- centos-stream 10: libxcb-devel 1.17.0-3.el10 Β· X11
- debian trixie: libxcb-doc 1.17.0-2
- fedora 43: libxcb-devel 1.17.0-6.fc43 Β· X11
- fedora 43: libxcb-devel 1.17.0-6.fc43 Β· X11
- fedora 44: libxcb-devel 1.17.0-7.fc44 Β· X11
- fedora 44: libxcb-devel 1.17.0-7.fc44 Β· X11
- nixpkgs unstable: libxcb 1.17.0
- opensuse-leap 16.0: libxcb-devel-doc 1.17.0-160000.2.2 Β· MIT
- ubuntu questing: libxcb-doc 1.17.0-2build1
- ubuntu resolute: libxcb-doc 1.17.0-2ubuntu1
- ubuntu stonking: libxcb-doc 1.17.0-2ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms