xcb_composite_redirect_window(3)

πŸ“¦
version 1.17.0 Β· 5 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, debian trixie, fedora 43, fedora 44, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ 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 πŸ’‹