xcb_xkb_per_client_flags(3)
π xcb_xkb_per_client_flags(3) π
okay so bestie, welcome to the XCB Requests corner of the manual, where we're talking about xcb_xkb_per_client_flags(3) β yes the whole page is named after this one request, main character energy fr fr. Pull up a chair, grab a strawberry π, and let's get into it.
β¨ NAME β¨
xcb_xkb_per_client_flags β
lowkey the description here is just... empty? like the dash is there and then nothing. we move.
πΈ SYNOPSIS πΈ
First up, the include, because you literally cannot do anything without it:
#include <xcb/xkb.h>
π Request function π
xcb_xkb_per_client_flags_cookie_t
xcb_xkb_per_client_flags(xcb_connection_t *conn,
xcb_xkb_device_spec_t deviceSpec, uint32_t change,
uint32_t value, uint32_t ctrlsToChange, uint32_t autoCtrls,
uint32_t autoCtrlsValues);
π¦ Reply datastructure π¦
this is the struct the server hands back, no cap:
typedef struct xcb_xkb_per_client_flags_reply_t {
uint8_t response_type;
uint8_t deviceID;
uint16_t sequence;
uint32_t length;
uint32_t supported;
uint32_t value;
uint32_t autoCtrls;
uint32_t autoCtrlsValues;
uint8_t pad0[8];
} xcb_xkb_per_client_flags_reply_t;
π«Ά Reply function π«Ά
and here's how you actually collect that struct:
xcb_xkb_per_client_flags_reply_t
*xcb_xkb_per_client_flags_reply(xcb_connection_t *conn,
xcb_xkb_per_client_flags_cookie_t cookie,
xcb_generic_error_t **e);
π₯ REQUEST ARGUMENTS π₯
connβ the XCB connection to X11. your lil phone line to the server basically πdeviceSpecβ TODO: NOT YET DOCUMENTED. (yeah bestie, the docs just ghosted us here π)changeβ TODO: NOT YET DOCUMENTED.valueβ TODO: NOT YET DOCUMENTED.ctrlsToChangeβ TODO: NOT YET DOCUMENTED.autoCtrlsβ TODO: NOT YET DOCUMENTED.autoCtrlsValuesβ TODO: NOT YET DOCUMENTED.
π REPLY FIELDS π
response_typeβ the type of this reply, and in this case it'sXCB_XKB_PER_CLIENT_FLAGS. this field is also chillin' insidexcb_generic_reply_t, so you can use it to tell your replies apart from each other. very "which one of y'all is which" energy πsequenceβ the sequence number of the last request processed by the X11 server.lengthβ the length of the reply, in words (and a word is 4 bytes, for the record).deviceIDβ TODO: NOT YET DOCUMENTED.supportedβ TODO: NOT YET DOCUMENTED.valueβ TODO: NOT YET DOCUMENTED.autoCtrlsβ TODO: NOT YET DOCUMENTED.autoCtrlsValuesβ TODO: NOT YET DOCUMENTED.
π DESCRIPTION π
so... the DESCRIPTION section is literally empty. like, nothing. not a single word. it's giving "the author left the group chat" π we're not gonna pretend there's more here than there is β the page just doesn't say.
β RETURN VALUE β
It returns an xcb_xkb_per_client_flags_cookie_t. Errors have to be handled when calling the reply function xcb_xkb_per_client_flags_reply.
If you want to handle errors in the event loop instead, use xcb_xkb_per_client_flags_unchecked. See xcb-requests(3) for details. yes bestie, that's a whole other manpage, go read it π§
π ERRORS π
This request does never generate any errors. not a single one. flawless behavior, honestly. periodt. π
π SEE ALSO π
...nothing here either bestie, the section is just vibes and emptiness π¦
π AUTHOR π
Generated from xkb.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.
ngl if you find something wrong, that's the email. they literally asked. don't be shy π«Ά
okay that's the whole page!! and a lil sign-off for you: this beauty comes from X Version 11, libxcb 1.17.0, so if you're out here citing it, that's the version and source right there. slay, go forth, and may your replies never error β¨π
π¦ 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