xcb_input_sel...tension_event(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_input_sel...tension_event πŸ’–

okay so bestie, welcome to the xcb_input_select_extension_event page from XCB Requests β€” it lives in the XCB family of manual pages and it's your lil doorway into telling the X server which extension events you actually wanna hear about. no cap. let's get into it 🫢


✨ NAME ✨

xcb_input_select_extension_event β€” (the description slot is literally empty in the original, so we're just vibing with the name itself πŸ’…)


🌸 SYNOPSIS 🌸

First things first, you gotta pull in the header:

#include <xcb/xinput.h>

πŸŽ€ Request function πŸŽ€

xcb_void_cookie_t
       xcb_input_select_extension_event(xcb_connection_t *conn,
       xcb_window_t window, uint16_t num_classes, const
       xcb_input_event_class_t *classes);

πŸ¦‹ REQUEST ARGUMENTS πŸ¦‹

  • conn β€” the XCB connection to X11. your link to the mothership, fr fr.
  • window β€” TODO: NOT YET DOCUMENTED. 😭 yeah bestie, the docs really said "figure it out."
  • num_classes β€” TODO: NOT YET DOCUMENTED. πŸ™ˆ
  • classes β€” TODO: NOT YET DOCUMENTED. πŸ’€
not me having to relay that three of these arguments are literally undocumented in the source page. i'm just the messenger, i promise. πŸ“

🌈 DESCRIPTION 🌈

This section is empty in the original. no description, no lore, nothing. it's giving mysterious main character energy and honestly? iconic. πŸ‘‘


⭐ RETURN VALUE ⭐

You get back an xcb_void_cookie_t. Errors (if any) have to be handled in the event loop.

But listen β€” if you'd rather handle errors directly with xcb_request_check instead, then use xcb_input_select_extension_event_checked. See xcb-requests(3) for details. that's the whole tea. β˜•


πŸ’€ ERRORS πŸ’€

This request does never generate any errors. periodt. clean run, no drama, we love to see it. ✨


🧚 SEE ALSO 🧚

(nothing listed here in the original β€” the section's just hanging out, empty and unbothered πŸ’œ)


🌸 AUTHOR 🌸

Generated from xinput.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. 🫢


and that's the page, bestie!! this one came to you from X Version 11, running with libxcb 1.17.0 β€” shoutout to the XCB crew for keeping the lights on. now go select some extension events, you absolute icon. πŸ’…βœ¨πŸ¦‹