xcb_render_create_anim_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

✨ xcb_render_create_anim_cursor πŸ’…

okay bestie so this is the manual page for xcb_render_create_anim_cursor(3) β€” yes it's a mouthful, yes it's from the XCB Requests corner of the X universe, and yes we're gonna get through it together 🫢


πŸŽ€ NAME πŸŽ€

xcb_render_create_anim_cursor -

(no cap, that trailing dash is literally all the original gives us. the description is giving mystery, the vibes are immaculate, the info is not there πŸ™ˆ)


🌸 SYNOPSIS 🌸

First things first, you gotta pull in the header:

#include <xcb/render.h>

✨ Request function ✨

here's the whole signature, character for character, don't you dare touch it:

xcb_void_cookie_t xcb_render_create_anim_cursor(xcb_connection_t *conn,
       xcb_cursor_t cid, uint32_t cursors_len, const
       xcb_render_animcursorelt_t *cursors);

πŸ’– REQUEST ARGUMENTS πŸ’–

  • conn β€” the XCB connection to X11. it's the lil thread between you and the server, your main character linkup πŸ”—
  • cid β€” TODO: NOT YET DOCUMENTED. yeah bestie, the docs said "not today" πŸ’€
  • cursors_len β€” TODO: NOT YET DOCUMENTED. also ghosting us 😭
  • cursors β€” TODO: NOT YET DOCUMENTED. the silence is loud fr fr

πŸ¦‹ DESCRIPTION πŸ¦‹

...and that's it. that's the section. the original just has the heading and then straight-up nothing. iconic minimalism honestly πŸ‘‘


πŸ’œ RETURN VALUE πŸ’œ

It hands you back an xcb_void_cookie_t. and because it's a void cookie, any errors (if there even are any) have to be dealt with over in the event loop, not right here.

But if you'd rather catch errors on the spot with xcb_request_check, then babe, use xcb_render_create_anim_cursor_checked instead. the full tea is in xcb-requests(3) ✨


πŸ“ ERRORS πŸ“

Good news for once: this request does never generate any errors. not one. zero. a peaceful queen 🌈


🧚 SEE ALSO 🧚

(nothing listed here in the original β€” the section exists but it's empty, so we're just vibing with the heading πŸŽ€)


πŸ‘‘ AUTHOR πŸ‘‘

Generated from render.xml. if you've got corrections or improvements, hit up xcb@lists.freedesktop.org β€” they're taking notes πŸ“


πŸ’Œ lil sign-off: this page lives in X Version 11, ships with libxcb 1.17.0, and that's a wrap on xcb_render_create_anim_cursor(3). slay, stay hydrated, and may your cursors always animate πŸ’…βœ¨πŸ¦‹