xcb_change_keyboard_control(3)
π xcb_change_keyboard_control β the XCB Requests manual, bestie edition π
okay so welcome to xcb_change_keyboard_control(3), a page from the XCB Requests collection. Yes it's short. Yes it's a little mysterious. We're gonna vibe with it anyway. β¨
πΈ SYNOPSIS πΈ
First thing, before literally anything else, you gotta pull in the header:
#include <xcb/xproto.h>
π Request function
Here's the whole function signature, exactly as it lives, no edits, no notes:
xcb_void_cookie_t xcb_change_keyboard_control(xcb_connection_t *conn,
uint32_t value_mask, const void *value_list);
That's it. That's the function. She's giving "short and iconic." π
π¦ REQUEST ARGUMENTS π¦
connβ the XCB connection to X11. Your lil lifeline to the server, your main character link. π«Άvalue_maskβ TODO: NOT YET DOCUMENTED. Yeah bestie, the docs said "we'll get to it" and then did not get to it. πvalue_listβ TODO: NOT YET DOCUMENTED. Same energy. Same void. We don't make the rules, we just report them faithfully. π
ngl, two out of three arguments being "NOT YET DOCUMENTED" is highkey a vibe check failure, but we keep every detail regardless, periodt.
π DESCRIPTION π
This section is, and I cannot stress this enough, empty. Like, genuinely nothing here. Not one word. The original page just rolls straight from the DESCRIPTION heading into the next thing with zero elaboration. So that's what we're doing too. Silence. A moment of calm. π§
β RETURN VALUE β
She returns an xcb_void_cookie_t. That's the whole return story.
Now here's the important part: any errors (if any show up) have to be handled over in the event loop. That's where you deal with them.
But wait β if you'd rather handle errors directly with xcb_request_check instead, then you want xcb_change_keyboard_control_checked. Same function, checked flavour. See xcb-requests(3) for the full details on how all that works. π
π ERRORS π
Okay so plot twist: this request never generates any errors. Ever. Zero. None. It's the chillest request at the function. Nothing can go wrong with the error channel, because there is no error channel. Iconic behaviour honestly. π
π₯ SEE ALSO π₯
This section is empty on the original page β no cross-references listed here at all. So there's nothing to send you off to. Just us. Just vibes. π
π AUTHOR π
Generated from xproto.xml. If you've got corrections or improvements, contact xcb@lists.freedesktop.org β they're the ones who want to hear from you. π
okay and that's the whole page, fr fr. this lil manual ships as part of X Version 11, from libxcb 1.17.0 β big slay to the libxcb crew for keeping xcb_change_keyboard_control(3) out here doing her thing. go forth and change some keyboard control, bestie, you got this. πΈβ¨π
π¦ 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