xcb_dri3_get_...ted_modifiers(3)
πΈ xcb_dri3_get_...ted_modifiers β XCB Requests β¨
okay bestie, sit down, hydrate, and let's talk about a lil XCB request from the XCB Requests manual, page xcb_dri3_get_...ted_modifiers(3) π (yes the title is doing the most with that ellipsis, she's mysterious like that, we move).
π NAME π
xcb_dri3_get_supported_modifiers β and thenβ¦ nothing. That's it. The description is empty. She said "name's all you get" π
iconic honestly.
π SYNOPSIS π
First things first, you gotta pull her in:
#include <xcb/dri3.h>
β¨ Request function β¨
xcb_dri3_get_supported_modifiers_cookie_t
xcb_dri3_get_supported_modifiers(xcb_connection_t *conn,
uint32_t window, uint8_t depth, uint8_t bpp);
π Reply datastructure π
typedef struct xcb_dri3_get_supported_modifiers_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
uint32_t num_window_modifiers;
uint32_t num_screen_modifiers;
uint8_t pad1[16];
} xcb_dri3_get_supported_modifiers_reply_t;
π¦ Reply function π¦
xcb_dri3_get_supported_modifiers_reply_t
*xcb_dri3_get_supported_modifiers_reply(xcb_connection_t *conn,
xcb_dri3_get_supported_modifiers_cookie_t cookie,
xcb_generic_error_t **e);
πΈ Reply accessors πΈ
the little helpers that get the goods out, no cap:
uint64_t *xcb_dri3_get_supported_modifiers_window_modifiers(const
xcb_dri3_get_supported_modifiers_request_t *reply);
int xcb_dri3_get_supported_modifiers_window_modifiers_length(const
xcb_dri3_get_supported_modifiers_reply_t *reply);
xcb_generic_iterator_t
xcb_dri3_get_supported_modifiers_window_modifiers_end(const
xcb_dri3_get_supported_modifiers_reply_t *reply);
uint64_t *xcb_dri3_get_supported_modifiers_screen_modifiers(const
xcb_dri3_get_supported_modifiers_request_t *reply);
int xcb_dri3_get_supported_modifiers_screen_modifiers_length(const
xcb_dri3_get_supported_modifiers_reply_t *reply);
xcb_generic_iterator_t
xcb_dri3_get_supported_modifiers_screen_modifiers_end(const
xcb_dri3_get_supported_modifiers_reply_t *reply);
π REQUEST ARGUMENTS π
connβ the XCB connection to X11. your whole link to the server, your main character connection fr.windowβTODO: NOT YET DOCUMENTED.π the docs simply did not show up to class.depthβTODO: NOT YET DOCUMENTED.π same energy.bppβTODO: NOT YET DOCUMENTED.π three for three, the documentation is ghosting us.
π REPLY FIELDS π
response_typeβ the type of this reply, in this caseXCB_DRI3_GET_SUPPORTED_MODIFIERS. this field is also present in thexcb_generic_reply_tand can be used to tell replies apart from each other. so like, it's her name tag at the party πsequenceβ the sequence number of the last request processed by the X11 server. the "when did this happen" receipt, lowkey essential.lengthβ the length of the reply, in words (a word is 4 bytes). quick maths, no calculator needed bestie.num_window_modifiersβTODO: NOT YET DOCUMENTED.π«Άnum_screen_modifiersβTODO: NOT YET DOCUMENTED.πΈ
β DESCRIPTION β
nothing. literally nothing. the description section is empty. she's giving minimalist, she's giving "the vibes speak for themselves" π
π₯ RETURN VALUE π₯
Returns an xcb_dri3_get_supported_modifiers_cookie_t. πͺ yes, a cookie. Errors have to be handled when calling the reply function xcb_dri3_get_supported_modifiers_reply.
If you want to handle errors in the event loop instead, use xcb_dri3_get_supported_modifiers_unchecked. See xcb-requests(3) for details. pick your fighter, bestie β¨
π ERRORS π
This request does never generate any errors. π literally flawless, not one single problem, she's perfect your honor.
π§ SEE ALSO π§
nothing listed here. empty. a whole lot of silence. π
π AUTHOR π
Generated from dri3.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. βοΈ if you spot something sus, tell the maintainers, they're nice.
okay that's the whole page, you ate that, go forth and query your modifiers with confidence π¦
X Version 11 Β· libxcb 1.17.0 Β· xcb_dri3_get_...ted_modifiers(3) β and that's the footer, babes, that's a wrap π
β¨ no date on this one, she keeps it timeless π
π¦ 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