xcb_xfixes_set_cursor_name(3)
π xcb_xfixes_set_cursor_name(3) β the XCB Requests girlies' page
okay so bestie, welcome to section 3 of the manual (that's XCB Requests, iykyk) and today's main character is xcb_xfixes_set_cursor_name. she's a request function from the X Fixes crew and she is... lowkey a mystery box. let's get into it π
β¨ SYNOPSIS β¨
first things first, you gotta bring her in:
#include <xcb/xfixes.h>
πΈ Request function
here's the whole vibe, signature and all:
xcb_void_cookie_t xcb_xfixes_set_cursor_name(xcb_connection_t *conn,
xcb_cursor_t cursor, uint16_t nbytes, const char *name);
she returns a xcb_void_cookie_t, she takes four args, she's doing her thing π
π¦ REQUEST ARGUMENTS π¦
connβ the XCB connection to X11. your lil pipeline to the server, the group chat you're actually sending messages in.cursorβTODO: NOT YET DOCUMENTED.π« fr fr the docs said "figure it out bestie"nbytesβTODO: NOT YET DOCUMENTED.π same energynameβTODO: NOT YET DOCUMENTED.π yeah. we know. iconic of them honestly.
not me reading three whole TODOs in a row π the documentation team said "we'll do it later" and then simply did not
π DESCRIPTION π
so here's the thing. the original page has a DESCRIPTION heading and then... absolutely nothing under it. empty. void. a whole section with no content, giving ctrl+alt+del energy. I'm not gonna invent stuff for you because that would be lying to my bestie and we don't do that here π so: nothing documented, nothing added.
π RETURN VALUE π
she hands you back an xcb_void_cookie_t. periodt. and the 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.
if you'd rather handle errors directly with xcb_request_check instead, then use xcb_xfixes_set_cursor_name_checked. that's the checked version, she's the one who'll tell you what went wrong.
see xcb-requests(3) for the details on how all that works π
π₯ ERRORS π₯
plot twist: this request does never generate any errors. not one. zero. she's unbothered, moisturized, in her lane, error-free. slay β¨
πΈ SEE ALSO πΈ
the original page lists this section and then... nothing. no references, no friends, no links. she's mysterious like that π¦
π AUTHOR π
generated from xfixes.xml. if you spot something wrong and wanna send corrections and improvements, hit up xcb@lists.freedesktop.org β they're the ones who actually know what nbytes is supposed to mean (affectionate) π«Ά
and that's the whole page, no cap. this beauty lives in X Version 11, ships with libxcb 1.17.0, and goes by xcb_xfixes_set_cursor_name(3) β 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