xcb_input_xi_select_events(3)
π NAME π
xcb_input_xi_select_events β bestie, the description is literally blank, so that's what we're working with π (no cap, the original page ships with an empty NAME line and we are keeping that energy)
β¨ SYNOPSIS β¨
First things first, you gotta bring in the header, okay?
#include <xcb/xinput.h>
π¦ Request function π¦
xcb_void_cookie_t xcb_input_xi_select_events(xcb_connection_t *conn,
xcb_window_t window, uint16_t num_mask, const
xcb_input_event_mask_t *masks);
π REQUEST ARGUMENTS π
connβ the XCB connection to X11. That's your lil link to the server, your main character connection πwindowβTODO: NOT YET DOCUMENTED.yeah literally, that's all the docs say, we're not making stuff up πΈnum_maskβTODO: NOT YET DOCUMENTED.same vibe, the page is leaving us on read πmasksβTODO: NOT YET DOCUMENTED.yep, still a mystery, stillconst xcb_input_event_mask_t *tho β¨
π DESCRIPTION π
Nothing. Zero. Empty. The DESCRIPTION section is a void, bestie β there is genuinely no prose here in the original, so I'm not about to invent any, that's not the move π ββοΈ
π RETURN VALUE π
It hands you back an xcb_void_cookie_t. And here's the tea: errors (if there are any, which, spoiler, see below) have to be handled in the event loop, okay? That's the deal π«Ά
If you'd rather handle errors directly with xcb_request_check instead, then use xcb_input_xi_select_events_checked β that's the checked twin, she's right there π
See xcb-requests(3) for all the details, fr fr.
π ERRORS π
Okay so this is iconic of it:
This request does never generate any errors.
Not a single one. No errors, no drama, no chaos β she's a chill queen πβ¨
π SEE ALSO π
Nothing listed here either. The SEE ALSO section is empty in the original. You're on your own for cross-references, bestie π¦
π AUTHOR π
Generated from xinput.xml. If you wanna send corrections and improvements, hit up xcb@lists.freedesktop.org β they're the ones who actually take the notes π©π
And that's the whole page! Sending you off with the deets: this is from X Version 11, libxcb 1.17.0, and the manual page is xcb_input_xi_select_events(3). slay, go select some events, ily π§π
π¦ 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