xcb_xfixes_change_cursor(3)

πŸ“¦
version 1.17.0 Β· 4 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, debian trixie, fedora 43, fedora 44, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ NAME ✨

xcb_xfixes_change_cursor β€” bestie, the name section literally gave us nothing, no description, zero, nada πŸ’€ so we're just gonna say it: it's an XCB request from the XFixes extension, it's called xcb_xfixes_change_cursor, and the rest of this page is us finding out together 🫢


🌸 SYNOPSIS 🌸

First things first, you gotta pull in the header, okay?

#include <xcb/xfixes.h>

πŸŽ€ Request function

xcb_void_cookie_t xcb_xfixes_change_cursor(xcb_connection_t *conn,
       xcb_cursor_t source, xcb_cursor_t destination);

That's the whole signature, no cap. Three args, one cookie back. πŸͺ


πŸ¦‹ REQUEST ARGUMENTS πŸ¦‹

  • conn β€” the XCB connection to X11, aka your lil hotline to the display server. Everything goes through her πŸ’…
  • source β€” TODO: NOT YET DOCUMENTED. like… the manpage really said "figure it out" 😭
  • destination β€” TODO: NOT YET DOCUMENTED. same energy, same void, same unanswered question πŸ™ˆ
Not me being unable to tell you what source and destination actually do β€” because the docs literally say TODO: NOT YET DOCUMENTED. I'm not making that up, bestie, that's verbatim what's in the source. We stay honest in this house πŸ’–

πŸ’œ DESCRIPTION πŸ’œ

Okay so… there is no description. The section exists. It is empty. It's giving "the group chat went quiet" energy 🌈 We're keeping the heading because the structure matters, but the vibes inside are just silence and vibes.


⭐ RETURN VALUE ⭐

You get back an xcb_void_cookie_t, which is the "no actual data, but here's your receipt" cookie. Any errors? They do not come back to you here β€” you gotta handle them in the event loop, fr fr πŸ”₯

But wait, there's another route: if you'd rather handle errors directly, use xcb_request_check instead of vibing with the cookie. In that case you want the checked version:

  • xcb_xfixes_change_cursor_checked β€” the one you pair with xcb_request_check.

All the deets live in xcb-requests(3), go read her πŸ‘‘


πŸ‘‘ ERRORS πŸ‘‘

This request does never generate any errors. Never. Not once. Not ever. Iconic behaviour honestly, the reliability is unmatched πŸ’…βœ¨


🧚 SEE ALSO 🧚

Nothing here. Empty. The SEE ALSO section is a ghost town and we're respecting her privacy πŸŽ€


🌈 AUTHOR 🌈

Generated from xfixes.xml. If something's wrong or you wanna improve it, hit up xcb@lists.freedesktop.org β€” they handle corrections and improvements, and they're the ones to tell, not me 🫢


And that's the whole page, bestie!! πŸ’– This lil cutie came from X Version 11, libxcb 1.17.0, and yes the manual page is literally titled xcb_xfixes_change_cursor(3) β€” take care of her, she's doing her best out here πŸŽ€βœ¨πŸ¦‹