xcb_xkb_use_extension(3)
β¨ xcb_xkb_use_extension β¨
okay bestie, so this is a page from the XCB Requests corner of the manual β it's xcb_xkb_use_extension(3), and yes she's a libxcb girlie π
. Basically you're sliding into the X11 server's DMs to ask "hey, do you speak the XKB extension, and which version, babe?" π¦
πΈ NAME πΈ
xcb_xkb_use_extension β
(that's it. the NAME section literally has no description. mysterious. iconic. she said "no thoughts, head empty" π)
β¨ SYNOPSIS β¨
First things first, you gotta bring her in:
#include <xcb/xkb.h>
π Request function
xcb_xkb_use_extension_cookie_t
xcb_xkb_use_extension(xcb_connection_t *conn,
uint16_t wantedMajor, uint16_t wantedMinor);
π Reply datastructure
typedef struct xcb_xkb_use_extension_reply_t {
uint8_t response_type;
uint8_t supported;
uint16_t sequence;
uint32_t length;
uint16_t serverMajor;
uint16_t serverMinor;
uint8_t pad0[20];
} xcb_xkb_use_extension_reply_t;
π¦ Reply function
xcb_xkb_use_extension_reply_t
*xcb_xkb_use_extension_reply(xcb_connection_t *conn,
xcb_xkb_use_extension_cookie_t cookie, xcb_generic_error_t **e);
π REQUEST ARGUMENTS π
connβ the XCB connection to X11. your hotline to the server, your group chat with the display, the whole vibe π₯wantedMajorβ TODO: NOT YET DOCUMENTED. (ngl nobody wrote this one down, it's giving unfinished homework π)wantedMinorβ TODO: NOT YET DOCUMENTED. (same energy, bestie, we simply do not know fr fr π)
π REPLY FIELDS π
response_typeβ the type of this reply, which in this case isXCB_XKB_USE_EXTENSION. this field also lives insidexcb_generic_reply_t, so you can use it to tell your replies apart from each other. it's the little name tag at the party π·οΈsequenceβ the sequence number of the last request processed by the X11 server. it's the server's "last seen" timestamp, lowkey πlengthβ the length of the reply, measured in words. and a word here is 4 bytes, periodt β¨supportedβ TODO: NOT YET DOCUMENTED. (undocumented, she's mysterious, we stan a cryptic queen π)serverMajorβ TODO: NOT YET DOCUMENTED. (also undocumented, no cap π)serverMinorβ TODO: NOT YET DOCUMENTED. (yep, this one too, the docs said "not today" π)
π DESCRIPTION π
(there is literally nothing here. the DESCRIPTION section is empty. she's serving silence, and honestly? valid. main character energy π)
π«Ά RETURN VALUE π«Ά
She hands you back an xcb_xkb_use_extension_cookie_t. that's your lil receipt, your claim ticket, your "I'll be back for this" note π
heads up bestie: errors have to be handled when you call the reply function xcb_xkb_use_extension_reply. don't just leave your cookie hanging, that's rude π
If you'd rather handle errors in the event loop instead, use xcb_xkb_use_extension_unchecked. See xcb-requests(3) for the deets π
π ERRORS π
This request does never generate any errors. not one. zero. she's unproblematic, she's drama-free, she's the friend who never starts anything πΈβ¨
π₯ SEE ALSO π₯
(empty, bestie. nothing to see here. go touch some grass, or like, go read xcb-requests(3) again π¦)
π AUTHOR π
Generated from xkb.xml. Contact xcb@lists.freedesktop.org for corrections and improvements β they're literally begging you to send fixes, so if you spot something, slide into their inbox π§
and that's the whole page, bestie!! this lil icon came to you from X Version 11, running libxcb 1.17.0, and she's still rocking the xcb_xkb_use_extension(3) name tag π thanks for reading all the way to the bottom, you're a real one β mwah, bye!! πβ¨π¦
π¦ 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