xcb_composite...verlay_window(3)
π xcb_composite_get_overlay_window π
okay bestie, welcome to the manual page xcb_composite...verlay_window(3) β yes the name is a little chopped, it's giving "my wig is slipping" but it's fine, we move. This is part of the XCB Requests crew and it's literally just asking the X server "hey girl, what's the overlay window for this window?"
πΈ NAME πΈ
xcb_composite_get_overlay_window β no description was provided, so we vibe with the function name itself π«Ά
β¨ SYNOPSIS β¨
first up, you gotta pull in the header:
#include <xcb/composite.h>
π Request function
xcb_composite_get_overlay_window_cookie_t
xcb_composite_get_overlay_window(xcb_connection_t *conn,
xcb_window_t window);
π¦ Reply datastructure
typedef struct xcb_composite_get_overlay_window_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
xcb_window_t overlay_win;
uint8_t pad1[20];
} xcb_composite_get_overlay_window_reply_t;
π§ Reply function
xcb_composite_get_overlay_window_reply_t
*xcb_composite_get_overlay_window_reply(xcb_connection_t *conn,
xcb_composite_get_overlay_window_cookie_t cookie,
xcb_generic_error_t **e);
π REQUEST ARGUMENTS π
connβ the XCB connection to X11. your lil hotline to the server, she's everything πwindowβ TODO: NOT YET DOCUMENTED. yeah... the docs said "figure it out" and honestly same. the source says it's not documented yet, so no cap, that's all we know. π
π REPLY FIELDS π
response_typeβ the type of this reply, and in this case it'sXCB_COMPOSITE_GET_OVERLAY_WINDOW. this same field also lives in thexcb_generic_reply_t, so you can use it to tell your replies apart from each other. it's giving name tag at a party πsequenceβ the sequence number of the last request processed by the X11 server. the receipts, basicallylengthβ the length of the reply, in words. and reminder bestie: a word is 4 bytes. not 2, not 8, 4. periodt βoverlay_winβ TODO: NOT YET DOCUMENTED. the field is real, the description is a mystery, we simply do not know. π«
π DESCRIPTION π
there is literally nothing here in the original. no description, no lore, no tea. the section exists, it's just empty. iconic behaviour honestly β the page said "read the fields, I'm done here." π
π RETURN VALUE π
it returns an xcb_composite_get_overlay_window_cookie_t. and listen, this is the important part: errors have to be handled when you call the reply function xcb_composite_get_overlay_window_reply.
if you'd rather handle errors in the event loop instead, use xcb_composite_get_overlay_window_unchecked. and if you want the full deets on how any of this works, go read xcb-requests(3). π«Ά
π₯ ERRORS π₯
this request does never generate any errors. not a single one. she's a good girl, she causes no problems. β¨
π¦ SEE ALSO π¦
nothing listed here in the original, so there's nothing to send you to. the section is just standing there, looking pretty. π
πΈ AUTHOR πΈ
Generated from composite.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. they made the whole thing out of XML, which is wild, but we respect it. π§
bestie reminder: the manpage name up top wasxcb_composite...verlay_window(3)β yes, truncated, yes it's giving "she ran out of characters", but the function isxcb_composite_get_overlay_windowand now you know her. π
and that's the whole page!! π this was X Version 11, libxcb 1.17.0, bestie β thanks for reading all the way to the bottom, you're the main character, 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