xcb_input_xi_change_cursor(3)
π xcb_input_xi_change_cursor β the manual page, but make it make sense π
okay so bestie, welcome to section 3 of the manual: xcb_input_xi_change_cursor. yes the name section in the original was literally blank, we're not gonna pretend otherwise. it's giving "the title said it all" energy. π
β¨ SYNOPSIS β¨
first things first, you gotta pull in the header:
#include <xcb/xinput.h>
π¦ Request function
here's the whole entire vibe, one function, four arguments, no notes:
xcb_void_cookie_t xcb_input_xi_change_cursor(xcb_connection_t *conn,
xcb_window_t window, xcb_cursor_t cursor,
xcb_input_device_id_t deviceid);
πΈ REQUEST ARGUMENTS πΈ
connβ the XCB connection to X11. your lil hotline to the server, periodt.windowβTODO: NOT YET DOCUMENTED.yeah bestie. the docs simply never got written. not me reading a TODO in the official manpage πcursorβTODO: NOT YET DOCUMENTED.same situation. iconic of them honestly.deviceidβTODO: NOT YET DOCUMENTED.yep. still a TODO. we're all just out here living the undocumented life π«Ά
π DESCRIPTION π
so, um. there is literally nothing here in the original. the DESCRIPTION section is empty. no prose, no lore, no context. we know what we know from the synopsis and nothing more.
the way this section is justβ¦ blank. π lowkey iconic, highkey unhelpful. but we're being honest about it instead of making stuff up, because that's the rule.
β RETURN VALUE β
it hands you back an xcb_void_cookie_t. that's the whole thing.
and listen β any errors? they have to be handled over in the event loop. that's just how void requests roll around here. π
if you'd rather catch errors directly, no event-loop side quest required, then you want xcb_request_check and you want the _checked variant instead:
xcb_input_xi_change_cursor_checked
more deets on all that over in xcb-requests(3). go read it, i'll wait. π
π ERRORS π
not a single one. this request never generates any errors. zero. none. no cap.
that's what the page says, bestie β "This request does never generate any errors." take it at face value and go be free. β¨
π₯ SEE ALSO π₯
the original page lists this heading and thenβ¦ nothing under it. empty. a whole section with zero references. the audacity, honestly. π
(though xcb-requests(3) did get name-dropped up in RETURN VALUE, so that one's the real one to know about. π)
π AUTHOR π
generated from xinput.xml. if you've got corrections or improvements, hit up xcb@lists.freedesktop.org β they're the ones who wanna hear it. π§
π§ the cute sign-off π§
and that's the whole page, bestie!! this beauty comes from X Version 11, libxcb 1.17.0, and it lives its best life as xcb_input_xi_change_cursor(3). go forth, change some cursors, stay documented (unlike some of these arguments π). mwah. ππβ¨
π¦ 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