xcb_shape_mask(3)
β¨ xcb_shape_mask β¨
okay bestie, gather round, we're doing XCB today π
this one lives in the XCB Requests section of the manual, it's called xcb_shape_mask(3), and it is the request for stamping a shape mask onto a window. yes it's giving mysterious because half the docs are literally "TODO: NOT YET DOCUMENTED" but we work with what we have, fr fr π«Ά
πΈ NAME πΈ
xcb_shape_mask β the shape-mask request (the original page gives no description here, not me making that up, that's just how it is π)
π¦ SYNOPSIS π¦
#include <xcb/shape.h>
β¨ Request function β¨
xcb_void_cookie_t xcb_shape_mask(xcb_connection_t *conn,
xcb_shape_op_t operation, xcb_shape_kind_t destination_kind,
xcb_window_t destination_window, int16_t x_offset,
int16_t y_offset, xcb_pixmap_t source_bitmap);
π REQUEST ARGUMENTS π
connβ the XCB connection to X11. your lil hotline to the server, mwah πoperationβ TODO: NOT YET DOCUMENTED. yeah. the docs simply did not. πdestination_kindβ TODO: NOT YET DOCUMENTED. also ghosted us πdestination_windowβ TODO: NOT YET DOCUMENTED. the mystery continues β¨x_offsetβ TODO: NOT YET DOCUMENTED. (it's an offset tho, iykyk π)y_offsetβ TODO: NOT YET DOCUMENTED. (the other half of that offset situation)source_bitmapβ TODO: NOT YET DOCUMENTED. the plot thickens π
not a single one of these got a real description, bestie. i'm not gonna invent lore for them, that's not the vibe. the original literally says TODO: NOT YET DOCUMENTED. and we respect the source π«‘
π DESCRIPTION π
β¦yeah there isn't one. the DESCRIPTION section of the original page is empty. no notes. iconic in a slightly chaotic way honestly π
π RETURN VALUE π
It returns an xcb_void_cookie_t β¨ Errors (if any) have to be handled in the event loop β so you don't get them handed to you immediately, you gotta go catch them in the loop like the main character you are π
If you'd rather handle errors directly with xcb_request_check instead, use xcb_shape_mask_checked. See xcb-requests(3) for the details, bestie, it's all in there π«Ά
π ERRORS π
This request does never generate any errors. β zero. none. no drama, no error codes, we love a low-maintenance request π
β SEE ALSO β
β¦nothing listed. the SEE ALSO section is empty, so no cross-refs for you today. slay, i guess? π
π AUTHOR π
Generated from shape.xml. Contact xcb@lists.freedesktop.org for corrections and improvements π (yes, they really do want your emails, go be helpful)
and that's the whole page, bestie!! shoutout to X Version 11 and libxcb 1.17.0 for bringing us this absolute unit of a request β mwah, take care of yourself, hydrate, and go read xcb-requests(3) like i told you ππβ¨
π¦ 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