XCB_INPUT_SEND_EXTENSION_EVENT(3)
β¨ xcb_input_send_extension_event β¨
ok so bestie, gather round, we're reading a libxcb manpage together π this one lives in section 3 of the manual (the library-call section, iykyk) and it's called xcb_input_send_extension_event. yes it's a whole mouthful. no we're not skipping any of it. periodt.
πΈ NAME πΈ
xcb_input_send_extension_event β and honestly? that's it. the original page doesn't even give us a one-liner here, it just... says the name and vibes. so we're matching that energy exactly. no description in NAME, no cap.
π¦ SYNOPSIS π¦
first you gotta pull in the header, obviously:
#include <xcb/xinput.h>
β¨ Request function β¨
here's the actual function, character for character, don't you dare typo it:
xcb_void_cookie_t xcb_input_send_extension_event(xcb_connection_t *conn,
xcb_window_t destination, uint8_t device_id, uint8_t propagate,
uint16_t num_classes, uint8_t num_events, const
xcb_input_event_for_send_t *events, const
xcb_input_event_class_t *classes);
look at all those parameters. she's got range π
π REQUEST ARGUMENTS π
connβ the XCB connection to X11. your lil hotline to the X server, bestie π«Άdestinationβ TODO: NOT YET DOCUMENTED. yeah. the docs really just left us on read with this one πdevice_idβ TODO: NOT YET DOCUMENTED. same situation, babe πpropagateβ TODO: NOT YET DOCUMENTED. the mystery continues β¨num_classesβ TODO: NOT YET DOCUMENTED. iconic of them to not write it down πnum_eventsβ TODO: NOT YET DOCUMENTED. not a single crumb of lore πeventsβ TODO: NOT YET DOCUMENTED. she's giving enigmatic main character energy πclassesβ TODO: NOT YET DOCUMENTED. and that's the whole list, all seven, nothing skipped π
ngl the original manpage literally has TODO: NOT YET DOCUMENTED. on every single one of these. i'm not making it up and i'm not filling in the blanks β that would be inventing facts and we do NOT do that here π
π DESCRIPTION π
so here's the thing. the original DESCRIPTION section is... empty. completely. no prose, no explanation, nothing but the heading. i am not going to make something up for you because guessing at what a request does is how you end up with bug reports, and we are too cute for bug reports.
what i can tell you is what's actually written down elsewhere on this page, which is: the request arguments are listed above, the return value is a xcb_void_cookie_t, and the ERRORS section has a genuinely nice surprise for you. keep scrolling π
π RETURN VALUE π
it hands you back an xcb_void_cookie_t. errors (if any) have to be handled in the event loop β that's the rules, bestie.
and if you'd rather handle errors directly with xcb_request_check instead, use xcb_input_send_extension_event_checked. see xcb-requests(3) for the deets. go read it, it's good for you π§
π₯ ERRORS π₯
This request does never generate any errors.
that's it. that's the whole section. she's flawless, she's never wrong, she has never once caused a problem in her life. periodt πβ¨
π SEE ALSO π
the original page's SEE ALSO section is empty, so... nothing to link you to here. a whole section with nothing in it. relatable tbh.
π AUTHOR π
Generated from xinput.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. (yes, they want your emails. they're friendly like that π«Ά)
okay bestie that's the whole page, every heading, every argument, every TODO, all of it accounted for π no detail left behind, no options invented, we kept it 100.
this lil beauty comes from X Version 11, libxcb 1.17.0 β mwah, love that for us π β¨
π¦ 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