xcb_render_create_cursor(3)
β¨ xcb_render_create_cursor β¨
okay bestie, gather round, because today we're looking at xcb_render_create_cursor, a lil function from the XCB crew (that's the X protocol binding situation, iykyk) π
πΈ NAME πΈ
xcb_render_create_cursor β
that's it. that's the name. the description after the dash is literally empty, no cap, the manpage just left it blank like a read receipt π so we're all just gonna have to vibe with the mystery.
π SYNOPSIS π
First things first, you gotta bring the header in:
#include <xcb/render.h>
π Request function π
xcb_void_cookie_t xcb_render_create_cursor(xcb_connection_t *conn,
xcb_cursor_t cid, xcb_render_picture_t source, uint16_t x,
uint16_t y);
look at her. five args and a xcb_void_cookie_t return. she's serving structure, she's serving types, she's iconic π
π¦ REQUEST ARGUMENTS π¦
connβ the XCB connection to X11. your whole lifeline to the server, the group chat with the X server if you will πcidβ TODO: NOT YET DOCUMENTED. yeah. the docs said "we'll get to it" and then never did πsourceβ TODO: NOT YET DOCUMENTED. also a mystery bestie, also a mystery π«Άxβ TODO: NOT YET DOCUMENTED. it's giving "placeholder" energy fr fryβ TODO: NOT YET DOCUMENTED. same situation, we simply do not know π
not me reading four whole TODOs in a row π the manpage really said "figure it out"
π DESCRIPTION π
...nothing. absolutely nothing. the DESCRIPTION section is empty, bestie. a blank canvas. main character energy but make it silent β¨
π RETURN VALUE π
She hands you back an xcb_void_cookie_t. That's it, that's the tea β
Any errors (if there even are any, which β spoiler β there aren't, keep reading) have to be handled over in the event loop. That's just how the async girlies operate.
But wait, if you'd rather deal with errors directly, right there, no event loop nonsense, then use xcb_render_create_cursor_checked instead. Head over to xcb-requests(3) for all the deets on how that whole checked-vs-unchecked situation works π
π₯ ERRORS π₯
This request does never generate any errors.
periodt. zero errors. none. she's flawless, she's unbothered, she's never once caused a problem π β¨
β SEE ALSO β
crickets π¦
yeah there's literally nothing listed here. the see-also section said "no thoughts, head empty." iconic behaviour honestly.
π AUTHOR π
Generated from render.xml. If you've got corrections or improvements, hit up xcb@lists.freedesktop.org β they're the ones taking feedback, not me π«Ά
and that's the whole page bestie!! π this was X Version 11, libxcb 1.17.0, and yeah the date is just sitting there in the footer like a timestamp on a story you forgot to archive πΈ stay hydrated, go create some cursors, 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