xcb_xkb_select_events(3)

πŸ“¦
version 1.17.0 Β· 4 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, debian trixie, fedora 43, fedora 44, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– xcb_xkb_select_events β€” a manual page, but make it cute πŸ’–

okay bestie, buckle up, we're reading the xcb_xkb_select_events page from the XCB Requests corner of the libxcb universe. yes it's a C thing. no it's not scary. let's go πŸ¦‹


🌸 NAME 🌸

xcb_xkb_select_events β€” and that's literally it, the description slot is empty in the source, so we're vibing on the name alone. iconic behavior honestly.


✨ SYNOPSIS ✨

first things first, you gotta pull in the header:

#include <xcb/xkb.h>

πŸŽ€ Request function πŸŽ€

here's the whole squad, looking exactly like this:

xcb_void_cookie_t xcb_xkb_select_events(xcb_connection_t *conn,
       xcb_xkb_device_spec_t deviceSpec, uint16_t affectWhich,
       uint16_t clear, uint16_t selectAll, uint16_t affectMap,
       uint16_t map, const void *details);

🫢 REQUEST ARGUMENTS 🫢

every single one of these, no skips, no shortcuts:

  • conn β€” the XCB connection to X11. your lil hotline to the server, bestie πŸ’…
  • deviceSpec β€” TODO: NOT YET DOCUMENTED. (not me leaving it blank, that's literally what the page says πŸ™ˆ)
  • affectWhich β€” TODO: NOT YET DOCUMENTED.
  • clear β€” TODO: NOT YET DOCUMENTED.
  • selectAll β€” TODO: NOT YET DOCUMENTED.
  • affectMap β€” TODO: NOT YET DOCUMENTED.
  • map β€” TODO: NOT YET DOCUMENTED.
  • details β€” TODO: NOT YET DOCUMENTED.

🌈 DESCRIPTION 🌈

so the DESCRIPTION section is... empty. like, genuinely empty. nothing there. the void. a whole vibe check with no vibes. πŸ’€


πŸ‘‘ RETURN VALUE πŸ‘‘

you get back an xcb_void_cookie_t. and because it's a void cookie, any errors have to be handled over in the event loop, not right here. that's just the deal, no cap.

if you'd rather deal with errors directly using xcb_request_check, then use xcb_xkb_select_events_checked instead, bestie. peek at xcb-requests(3) for the full tea.


πŸ’€ ERRORS πŸ’€

this request never generates any errors. never ever. not a single one. slay.

πŸ”₯ SEE ALSO πŸ”₯

nothing here. the section exists, it's just got no entries. we respect that. periodt.


⭐ AUTHOR ⭐

generated from xkb.xml. if you've got corrections or improvements, hit up xcb@lists.freedesktop.org β€” they wanna hear from you fr fr.


okay and that's a wrap!! this whole thing came to you from X Version 11, libxcb 1.17.0, and the page itself is xcb_xkb_select_events(3). bye bestie, drink some water, go read another manpage πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’