xcb_xfixes_fetch_region(3)
π xcb_xfixes_fetch_region π
okay bestie, welcome to the manual page for xcb_xfixes_fetch_region, part of the XCB requests family (that's the xcb_xfixes_fetch_region(3) page you're looking at, mwah). It's giving "niche X11 region-fetching realness" and honestly? we're obsessed. Let's get into it. π¦
β¨ NAME β¨
xcb_xfixes_fetch_region β
so like, the original page literally just leaves a dash and nothing else here. no description, no vibe, just a lonely little hyphen. iconique of them, honestly. we move. π
β¨ SYNOPSIS β¨
first up, you gotta pull in the header, no cap:
#include <xcb/xfixes.h>
πΈ Request function πΈ
xcb_xfixes_fetch_region_cookie_t
xcb_xfixes_fetch_region(xcb_connection_t *conn,
xcb_xfixes_region_t region);
πΈ Reply datastructure πΈ
this is the lil struct you're gonna be living in:
typedef struct xcb_xfixes_fetch_region_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
xcb_rectangle_t extents;
uint8_t pad1[16];
} xcb_xfixes_fetch_region_reply_t;
πΈ Reply function πΈ
xcb_xfixes_fetch_region_reply_t
*xcb_xfixes_fetch_region_reply(xcb_connection_t *conn,
xcb_xfixes_fetch_region_cookie_t cookie,
xcb_generic_error_t **e);
πΈ Reply accessors πΈ
these are the lil helpers that pull stuff out for you, no manual digging required:
xcb_rectangle_t *xcb_xfixes_fetch_region_rectangles(const
xcb_xfixes_fetch_region_request_t *reply);
int xcb_xfixes_fetch_region_rectangles_length(const
xcb_xfixes_fetch_region_reply_t *reply);
xcb_rectangle_iterator_t
xcb_xfixes_fetch_region_rectangles_iterator(const
xcb_xfixes_fetch_region_reply_t *reply);
yes bestie, that first accessor really does takeconst xcb_xfixes_fetch_region_request_t *replywhile the other two takeconst xcb_xfixes_fetch_region_reply_t *reply. we are NOT fixing it, we are NOT touching it, we are simply observing it and moving on. π«Ά
β¨ REQUEST ARGUMENTS β¨
connβ the XCB connection to X11. your lil telephone line to the server, the group chat gateway, the whole vibe pipeline. πregionβTODO: NOT YET DOCUMENTED.literally that's all the original says, so that's all I'm giving you. the mystery is the moment. π
β¨ REPLY FIELDS β¨
response_typeβ the type of this reply, which in this case isXCB_XFIXES_FETCH_REGION. this field is also chilling insidexcb_generic_reply_t, and you can use it to tell replies apart from each other. very "which one of y'all is this" energy. πsequenceβ the sequence number of the last request processed by the X11 server. the receipt number, basically. π§Ύβ¨lengthβ the length of the reply, in words. and heads up: a word is 4 bytes, not like, a dictionary word. different kind of word, bestie. πextentsβTODO: NOT YET DOCUMENTED.another mystery box. we respect it. π
β¨ DESCRIPTION β¨
so the DESCRIPTION section on the original page? completely empty. nada. silence. the void. π
genuinely nothing to report here β I'm not about to invent lore that isn't in the source, that's not the move. what you see is what you get, and what you get is a whole lot of nothing. main character energy of a section that simply chose not to speak. periodt. π
β¨ RETURN VALUE β¨
it hands you back an xcb_xfixes_fetch_region_cookie_t β yes, a cookie, we love a snack. π
errors have to be handled when you call the reply function xcb_xfixes_fetch_region_reply.
if you'd rather handle your errors in the event loop instead, use xcb_xfixes_fetch_region_unchecked. see xcb-requests(3) for the deets.
β¨ ERRORS β¨
this request does never generate any errors. β¨
no errors. zero. none. not a single one. it's a good boy, it behaves. π
β¨ SEE ALSO β¨
okay so this section is, and I cannot stress this enough, empty on the original page. nothing listed. no cross-references. no friends. just vibes and a heading. π¦
β¨ AUTHOR β¨
Generated from xfixes.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. π
and that's the whole thing, bestie!! this page came from X Version 11, libxcb 1.17.0, and it's the xcb_xfixes_fetch_region(3) manual β go forth and fetch those regions, you absolute legend. slay, stay hydrated, and remember: read your return values. πβ¨ππ₯π¦
π¦ 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