xcb_composite_redirect_window(3)
β¨ xcb_composite_redirect_window β the XCB requests girlies' era β¨
okay bestie, welcome to the xcb_composite_redirect_window(3) page, part of the XCB Requests lineup π
πΈ NAME πΈ
xcb_composite_redirect_window β redirect the hierarchy starting at "window" to off-screen storage π
π¦ SYNOPSIS π¦
#include <xcb/composite.h>
π Request function π
xcb_void_cookie_t xcb_composite_redirect_window(xcb_connection_t *conn,
xcb_window_t window, uint8_t update);
π REQUEST ARGUMENTS π
connβ the XCB connection to X11, obviously, she's the whole plot π«Άwindowβ the root of the hierarchy you're redirecting to off-screen storage πupdateβ whether contents are automatically mirrored to the parent window. and here's the tea β: if one client already specifies an update type of Manual, any attempt by another to specify a mode of Manual so will result in an Access error. no cap, that's literally what it says π
π DESCRIPTION π
The hierarchy starting at 'window' is directed to off-screen storage β¨. And when all clients enabling redirection terminate, the redirection will automatically be disabled β she cleans up after herself, iconic π
.
The root window may not be redirected. Doing so results in a Match error. like, do not do that, bestie, it's giving error code π
π RETURN VALUE π
Returns an xcb_void_cookie_t. Errors (if any) have to be handled in the event loop π₯.
If you want to handle errors directly with xcb_request_check instead, use xcb_composite_redirect_window_checked. See xcb-requests(3) for the deets π.
π ERRORS π
This request does never generate any errors. (not me reading this after the Access error and Match error lore earlierβ¦ iykyk π)
β SEE ALSO β
π§ AUTHOR π§
Generated from composite.xml. Contact xcb@lists.freedesktop.org for corrections and improvements β they're literally so responsive, periodt π
and that's the whole page, bestie! this one shipped with libxcb 1.17.0, part of X Version 11 π thanks for reading, mwah π
π¦ 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