xcb_circulate_window(3)
π xcb_circulate_window β from the xcb_circulate_window(3) manual, bestie π
okay so picture this: you're deep in the XCB docs (iconic of you), and you found the one that literally just shuffles windows around in the stack. that's it. that's the girl. no cap, she does one job and she does it flawlessly. π¦
β¨ NAME β¨
xcb_circulate_window β change window stacking order π
πΈ SYNOPSIS πΈ
#include <xcb/xproto.h>
π Request function π
xcb_void_cookie_t xcb_circulate_window(xcb_connection_t *conn,
uint8_t direction, xcb_window_t window);
π REQUEST ARGUMENTS π
connβ the XCB connection to X11. your lil hotline to the server, basically π«Άdirectionβ one of these values, periodt:XCB_CIRCULATE_RAISE_LOWESTβ TODO: NOT YET DOCUMENTED. π yeah bestie, the docs really said "we'll get to it" and then didn't. not our fault, we're just reporting the facts fr fr.XCB_CIRCULATE_LOWER_HIGHESTβ TODO: NOT YET DOCUMENTED. π same energy, same missing tea.
windowβ the window to raise/lower (depends on which direction you picked, obviously π ).
π₯ DESCRIPTION π₯
so here's the vibe check. if direction is XCB_CIRCULATE_RAISE_LOWEST, the lowest mapped child (if there even is one, no pressure) gets raised all the way to the top of the stack. glow up moment. π
and if direction is XCB_CIRCULATE_LOWER_HIGHEST, then the highest mapped child gets lowered straight to the bottom of the stack. it's giving humble era. π
β RETURN VALUE β
she returns an xcb_void_cookie_t. any errors? those have to be handled in the event loop, bestie β that's just how the cookie crumbles π.
but wait, if you'd rather handle errors directly with xcb_request_check instead, then use xcb_circulate_window_checked. head to xcb-requests(3) for the full details, iykyk.
π ERRORS π
xcb_value_error_tβ the specified direction is invalid. like, pick a real one bestie πxcb_window_error_tβ the specified window does not exist. she's not here. she never was. π
π¦ SEE ALSO π¦
π AUTHOR π
Generated from xproto.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. (they're literally asking for your input, so speak up bestie π«Ά)
and that's the whole page, no notes. this one ships as part of X Version 11, specifically libxcb 1.17.0 β go forth and stack your windows exactly how you want them. slay, stay hydrated, and remember: mapped children only. πβ¨π
π¦ 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