xcb_xfixes_get_cursor_image(3)
β¨ xcb_xfixes_get_cursor_image β¨
okay bestie, so this is a page from the XCB Requests corner of the libxcb manual β it's the xcb_xfixes_get_cursor_image(3) situation and it is exactly what it sounds like: you're asking the X server "hey girl, what does the cursor look like right now" π±οΈβ¨
ngl the NAME section of this page is literally empty, which is giving mysterious main character energy, but we move π
πΈ SYNOPSIS πΈ
first, you gotta invite the header in:
#include <xcb/xfixes.h>
Request function
xcb_xfixes_get_cursor_image_cookie_t
xcb_xfixes_get_cursor_image(xcb_connection_t *conn,
yes, that trailing comma is literally how it's printed on the page. we do not fix. we do not touch. periodt π
Reply datastructure
typedef struct xcb_xfixes_get_cursor_image_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
int16_t x;
int16_t y;
uint16_t width;
uint16_t height;
uint16_t xhot;
uint16_t yhot;
uint32_t cursor_serial;
uint8_t pad1[8];
} xcb_xfixes_get_cursor_image_reply_t;
Reply function
xcb_xfixes_get_cursor_image_reply_t
*xcb_xfixes_get_cursor_image_reply(xcb_connection_t *conn,
xcb_xfixes_get_cursor_image_cookie_t cookie,
xcb_generic_error_t **e);
Reply accessors
uint32_t *xcb_xfixes_get_cursor_image_cursor_image(const
xcb_xfixes_get_cursor_image_request_t *reply);
int xcb_xfixes_get_cursor_image_cursor_image_length(const
xcb_xfixes_get_cursor_image_reply_t *reply);
xcb_generic_iterator_t
xcb_xfixes_get_cursor_image_cursor_image_end(const
xcb_xfixes_get_cursor_image_reply_t *reply);
π REQUEST ARGUMENTS π
connβ your XCB connection to X11. that's it, that's the whole list, she's lowkey minimal and I respect it π«Ά
π REPLY FIELDS π
response_typeβ the type of this reply, and in this case it'sXCB_XFIXES_GET_CURSOR_IMAGE. this field also lives insidexcb_generic_reply_t, so you can use it to tell your replies apart from each other like name tags at a party πsequenceβ the sequence number of the last request processed by the X11 server. it's giving "receipt number" energy π§Ύlengthβ how long the reply is, in words. and btw a word is4bytes, in case anyone was about to ask πxβ TODO: NOT YET DOCUMENTED.yβ TODO: NOT YET DOCUMENTED.widthβ TODO: NOT YET DOCUMENTED.heightβ TODO: NOT YET DOCUMENTED.xhotβ TODO: NOT YET DOCUMENTED.yhotβ TODO: NOT YET DOCUMENTED.cursor_serialβ TODO: NOT YET DOCUMENTED.
not the manpage leaving us on read for basically every field π we don't know what they do either bestie, that's literally what it says, so I'm not gonna make anything up. no cap.
π DESCRIPTION π
okay so. the DESCRIPTION section on this page is... empty. absolutely nothing. a void. a blank little spot where lore should be πΈ so we simply do not invent any. moving on!
π RETURN VALUE π
you get back an xcb_xfixes_get_cursor_image_cookie_t. and listen β errors have to be handled when you call the reply function xcb_xfixes_get_cursor_image_reply, okay? you can't just ignore them and hope, that's not the vibe π
if you'd rather handle your errors in the event loop instead, use xcb_xfixes_get_cursor_image_unchecked. see xcb-requests(3) for all the details on that whole situation β¨
π₯ ERRORS π₯
this request does never generate any errors. iconic behavior honestly, zero drama, we love a chill request π«Ά
π¦ SEE ALSO π¦
this section is empty on the original page β no references listed, nothing to link out to. so there's nothing to pass along here, bestie πΈ
π AUTHOR π
Generated from xfixes.xml. Contact xcb@lists.freedesktop.org for corrections and improvements π§
and that's the whole page, bestie!! π this one came to you from X Version 11 and libxcb 1.17.0 β the xcb_xfixes_get_cursor_image(3) page, out here living its mysterious undocumented life ππ
β¨
π¦ 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