xcb_xfixes_get_cursor_name(3)
π NAME π
xcb_xfixes_get_cursor_name β bestie, this is a request from the XCB XFixes extension, living its life in the xcb_xfixes_get_cursor_name(3) manual page (XCB Requests, iykyk). It's the little function you call when you wanna know what a cursor is called. π
β¨ SYNOPSIS β¨
First things first, you gotta pull in the header:
#include <xcb/xfixes.h>
πΈ Request function πΈ
xcb_xfixes_get_cursor_name_cookie_t
xcb_xfixes_get_cursor_name(xcb_connection_t *conn,
xcb_cursor_t cursor);
π¦ Reply datastructure π¦
typedef struct xcb_xfixes_get_cursor_name_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
xcb_atom_t atom;
uint16_t nbytes;
uint8_t pad1[18];
} xcb_xfixes_get_cursor_name_reply_t;
π Reply function π
xcb_xfixes_get_cursor_name_reply_t
*xcb_xfixes_get_cursor_name_reply(xcb_connection_t *conn,
xcb_xfixes_get_cursor_name_cookie_t cookie,
xcb_generic_error_t **e);
π Reply accessors π
char *xcb_xfixes_get_cursor_name_name(const
xcb_xfixes_get_cursor_name_request_t *reply);
int xcb_xfixes_get_cursor_name_name_length(const
xcb_xfixes_get_cursor_name_reply_t *reply);
xcb_generic_iterator_t xcb_xfixes_get_cursor_name_name_end(const
xcb_xfixes_get_cursor_name_reply_t *reply);
π REQUEST ARGUMENTS π
connβ the XCB connection to X11, aka your little hotline to the server. π«Άcursorβ TODO: NOT YET DOCUMENTED. yeah bestie, the docs literally said "not yet" and left. iconic of them. π
π REPLY FIELDS π
response_typeβ the type of this reply, in this caseXCB_XFIXES_GET_CURSOR_NAME. This field is also present in thexcb_generic_reply_tand can be used to tell replies apart from each other. it's giving name tag at a party. πsequenceβ the sequence number of the last request processed by the X11 server.lengthβ the length of the reply, in words. and a word is 4 bytes, so don't come for me. β¨atomβ TODO: NOT YET DOCUMENTED. πnbytesβ TODO: NOT YET DOCUMENTED. π
π DESCRIPTION π
...so this section is empty in the original, bestie. no description, no vibes, just a blank page serving absolutely nothing. we move. π§
β RETURN VALUE β
You get back an xcb_xfixes_get_cursor_name_cookie_t. lowkey the cookie is just the appetizer β errors have to be handled when you call the reply function xcb_xfixes_get_cursor_name_reply. π
If you'd rather handle errors in the event loop instead, use xcb_xfixes_get_cursor_name_unchecked. See xcb-requests(3) for details.
π₯ ERRORS π₯
This request does never generate any errors. periodt. no drama, no error codes, nothing. the cleanest request in the group chat. π
πΈ SEE ALSO πΈ
(empty in the original β nobody linked anything, so there's nothing to pass along. no cap. π)
π AUTHOR π
Generated from xfixes.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.
and that's the whole page, bestie!! this was X Version 11, libxcb 1.17.0 β stay hydrated, keep your connections open, and slay the cursor name retrieval πβ¨π¦
π¦ 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