xcb_xfixes_create_region(3)
π xcb_xfixes_create_region β the XCB request that makes a region out of rectangles π
okay bestie, so this is a page from the XCB Requests section of the X11 manual, and it's all about one lil request function. the manpage NAME line is honestly giving nothing (it's literally just the name with a dash and no description, which is so real of it), so we're just gonna get into it. β¨
π¦ SYNOPSIS π¦
first, you gotta pull in the header:
#include <xcb/xfixes.h>
πΈ Request function πΈ
here's the actual function, character for character, no notes:
xcb_void_cookie_t xcb_xfixes_create_region(xcb_connection_t *conn,
xcb_xfixes_region_t region, uint32_t rectangles_len, const
xcb_rectangle_t *rectangles);
π REQUEST ARGUMENTS π
okay so here's what you're passing in. heads up tho, the docs are kinda unserious about these:
connβ the XCB connection to X11. that's your link to the server, your whole vibe portal, no connection no nothing πregionβTODO: NOT YET DOCUMENTED.yeahβ¦ the manpage really said "figure it out" πrectangles_lenβTODO: NOT YET DOCUMENTED.also left on read πrectanglesβTODO: NOT YET DOCUMENTED.bestie I'm so sorry, the docs are not beating the allegations π«Ά
ngl, if you need the real tea on these three, the manpage itself doesn't have it. that's not me gatekeeping, that's literally what's written. β¨
π DESCRIPTION π
there is no description text on this page. like, the section is there, it's justβ¦ empty. the silence is loud fr fr π
β RETURN VALUE β
this one returns an xcb_void_cookie_t. and because it's a void cookie, any errors (if any) have to be handled in the event loop, bestie. that's just how it is.
but wait, there's another way π β if you'd rather handle errors directly with xcb_request_check instead, then use xcb_xfixes_create_region_checked. two paths, same energy. for the full details go read xcb-requests(3). periodt.
π ERRORS π
good news era: this request does never generate any errors. zero. none. iconic behaviour honestly. π
π₯ SEE ALSO π₯
this section is empty on the original page β nothing listed, nothing linked. the void stares back. π³οΈβ¨
π AUTHOR π
this page was generated from xfixes.xml. if you spot something wrong and wanna help make it better, contact xcb@lists.freedesktop.org for corrections and improvements. they're literally asking for it, so don't be shy π«Ά
and that's the whole page, bestie!! stay hydrated, keep your cookies checked, and remember: never generate errors if you can help it π
mwah π this was X Version 11, libxcb 1.17.0 β xcb_xfixes_create_region(3), signing off β¨π
π¦ 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