XCB_CHANGE_ACTIVE_POINTER_GRAB(3)
π xcb_change_active_pointer_grab β a manual page, bestie edition
okay so this is a page from the libxcb manual (that's the XCB Requests corner of the X11 universe, xcb_change_active_pointer_grab(3), section 3, iykyk) and honestly? it's giving "the docs simply did not show up." but we're still gonna read it together, because that's what besties do. π«Ά
β¨ NAME β¨
xcb_change_active_pointer_grab β
that's it. that's the name. the description is, and I quote, nothing. the blank space is canon. π
πΈ SYNOPSIS πΈ
#include <xcb/xproto.h>
Request function (yes, it's one of those)
xcb_void_cookie_t xcb_change_active_pointer_grab(xcb_connection_t *conn,
xcb_cursor_t cursor, xcb_timestamp_t time, uint16_t event_mask);
π REQUEST ARGUMENTS π
here come the four little parameters, and bestie, brace yourself, because the documentation for every single one of them is literally the same sentence:
connβ The XCB connection to X11. (this one actually got documented, slay, one out of four π)cursorβ TODO: NOT YET DOCUMENTED.timeβ TODO: NOT YET DOCUMENTED.event_maskβ TODO: NOT YET DOCUMENTED.
not me reading "TODO: NOT YET DOCUMENTED" three times in a row like it was gonna change π it did not. the mystery stays mysterious.
π¦ DESCRIPTION π¦
there is no description. the section exists. the words do not. it's giving "I have a personality, I promise." π
β RETURN VALUE β
so it returns an xcb_void_cookie_t. β¨ and here's the tea: errors (if any β if any, bestie) have to be handled in the event loop, not right here on the spot.
if you'd rather deal with errors directly using xcb_request_check instead, then you want the other girl: xcb_change_active_pointer_grab_checked. she's the checked version, she's right there. π
and for the full breakdown of how that all works, go read xcb-requests(3). no cap.
π ERRORS π
okay this part is actually iconic:
This request does never generate any errors.
never. zero. none. no errors, no drama, no crying in the terminal. periodt. π
π SEE ALSO π
nothing here either. empty. a whole section with nothing in it. the audacity is honestly main character energy. π
π AUTHOR π
this page was Generated from xproto.xml. if you spot something wrong or want to make it better, hit up xcb@lists.freedesktop.org for corrections and improvements. π
and that's the whole vibe check, bestie. this page came to you from X Version 11, running libxcb 1.17.0 β take care of her, she's doing her best. π§π
π¦ 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