xcb_input_xi_allow_events(3)
π xcb_input_xi_allow_events β bestie edition
okay so this one is from xcb_input_xi_allow_events(3) in the XCB Requests manual, and yes the title is literally just the function name with a little dash after it and nothing else, because the NAME section is out here living its mysterious main character era. no cap, the description field is empty. iconic behaviour honestly. π
β¨ SYNOPSIS β¨
first things first, you gotta pull in the header, she's not optional:
#include <xcb/xinput.h>
πΈ Request function πΈ
and here's the actual request function, copy it exactly bestie, every type matters:
xcb_void_cookie_t xcb_input_xi_allow_events(xcb_connection_t *conn,
xcb_timestamp_t time, xcb_input_device_id_t deviceid,
uint8_t event_mode, uint32_t touchid, xcb_window_t grab_window);
π«Ά REQUEST ARGUMENTS π«Ά
here's the whole squad of parameters, and yes, the docs really do say this for most of them:
connβ the XCB connection to X11. she's the plug, the lifeline, your link to the server πtimeβ TODO: NOT YET DOCUMENTED. π (the docs said "figure it out", not me)deviceidβ TODO: NOT YET DOCUMENTED. πevent_modeβ TODO: NOT YET DOCUMENTED. πtouchidβ TODO: NOT YET DOCUMENTED. β¨grab_windowβ TODO: NOT YET DOCUMENTED. π¦
not me reading "TODO: NOT YET DOCUMENTED" five times like it was gonna change. it did not. iykyk. π
π DESCRIPTION π
there is literally nothing here. the DESCRIPTION section is empty. a whole vibe. we move. β¨
π RETURN VALUE π
she hands you back an xcb_void_cookie_t. any errors (if there even are any) have to be handled in the event loop, so don't go looking for them on the return value, bestie.
but wait β if you'd rather handle errors directly with xcb_request_check, then use xcb_input_xi_allow_events_checked instead. and for the full tea on how all of that works, go read xcb-requests(3). π
π ERRORS π
this request does never generate any errors. periodt. zero drama, zero chaos, just a peaceful little request. ποΈ
π¦ SEE ALSO π¦
the SEE ALSO section is empty too. nothing to link, nothing to reference, just vibes and silence. π
π AUTHOR π
Generated from xinput.xml. If something looks off and you want corrections and improvements, contact xcb@lists.freedesktop.org. they're literally asking for your feedback, so slay responsibly. π«Ά
and that's the whole page, bestie! this lil beauty comes to you from X Version 11, libxcb 1.17.0 β go forth and allow those events, you absolute icon π β¨π
π¦ 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