xcb_xfixes_se..._shape_region(3)
π xcb_xfixes_set_window_shape_region(3) π
okay bestie, so this is a page from the XCB Requests corner of the xcb_xfixes_se..._shape_region(3) manual β yes the title is literally truncated with dots, that's just how the header rolls, iykyk. let's get into it π«Ά
β¨ NAME β¨
xcb_xfixes_set_window_shape_region β and that's it. no little dash-description after it, the original left that part blank, so we're not gonna make one up. we respect the silence π
πΈ SYNOPSIS πΈ
first you gotta pull in the header, no cap:
#include <xcb/xfixes.h>
π Request function π
and here's the function itself, character for character, don't touch a thing:
xcb_void_cookie_t
xcb_xfixes_set_window_shape_region(xcb_connection_t *conn,
xcb_window_t dest, xcb_shape_kind_t dest_kind, int16_t x_offset,
int16_t y_offset, xcb_xfixes_region_t region);
π¦ REQUEST ARGUMENTS π¦
connβ the XCB connection to X11. your lil hotline to the server, periodt.destβ TODO: NOT YET DOCUMENTED. yeah. that's the whole vibe.dest_kindβ TODO: NOT YET DOCUMENTED. same energy.x_offsetβ TODO: NOT YET DOCUMENTED. nope, still nothing.y_offsetβ TODO: NOT YET DOCUMENTED. the void continues.regionβ TODO: NOT YET DOCUMENTED. iconic of them honestly.
not me reading six args and getting zero lore π the docs simply said "figure it out" and left.
π DESCRIPTION π
soβ¦ there is no description. like, the section exists and then it's just vibes and empty space. the way that this section is giving absolutely nothing π we are NOT inventing lore that isn't there. moving on bestie.
β RETURN VALUE β
it hands you back an xcb_void_cookie_t. that's it, that's the gift π
any errors? they have to be handled in the event loop, so don't go looking for them on the return value.
but if you're the type who wants to handle errors directly with xcb_request_check instead, then use xcb_xfixes_set_window_shape_region_checked β that's your girl. the details live in xcb-requests(3) if you wanna go deeper. π«Ά
π₯ ERRORS π₯
lowkey the best news on this whole page: this request does never generate any errors. zero. none. a clean slate, a clear skin era, we love to see it β¨
π SEE ALSO π
β¦nothing here. empty. the silence is deafening π no cross-references listed on this one, bestie, that's just the tea.
π AUTHOR π
this page was generated from xfixes.xml. if you spot something that needs correcting or improving, hit up xcb@lists.freedesktop.org β they're the ones to tell, not me π«‘
and that's the whole page, fr fr. this little number ships with X Version 11, libxcb 1.17.0 β stay slay, stay documented (unlike these args π), and go read xcb-requests(3) if you want the full picture. mwah ππ
π¦ 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