xcb_xfixes_cr...n_from_bitmap(3)

πŸ“¦
version 1.17.0 Β· 4 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, debian trixie, fedora 43, fedora 44, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– xcb_xfixes_create_region_from_bitmap β€” XCB Requests πŸ’–

okay bestie, gather round, because this one is a lil' XCB request from the XCB Requests manual and it's literally just a function that goes brrr. it's giving "short and sweet", no cap. πŸ¦‹


✨ NAME ✨

xcb_xfixes_create_region_from_bitmap β€” yeah so, the description line is literally empty in the original 😭 nobody wrote one. it's giving mystery. it's giving enigma. it's giving "the maintainers were busy". we move. πŸ’…


✨ SYNOPSIS ✨

first you gotta pull in the header, periodt:

#include <xcb/xfixes.h>

πŸŽ€ Request function

xcb_void_cookie_t
       xcb_xfixes_create_region_from_bitmap(xcb_connection_t *conn,
       xcb_xfixes_region_t region, xcb_pixmap_t bitmap);

like. look at it. three args, one cookie, zero drama. πŸ”₯


🌸 REQUEST ARGUMENTS 🌸

  • conn β€” the XCB connection to X11, aka your lil' hotline to the X server. she's the main character here. πŸ‘‘
  • region β€” TODO: NOT YET DOCUMENTED. bestie I'm so serious, that's what the page says, I'm not gatekeeping from you, the docs themselves just said "idk yet" πŸ’€
  • bitmap β€” TODO: NOT YET DOCUMENTED. same energy. same void. same "we'll get to it" πŸ™ˆ

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so. the DESCRIPTION section is empty. like, genuinely empty. not a single sentence. not even a vibe. it's just vibes and silence. 🌈

I'm not gonna make stuff up for you because that would be fake of me, so: the original page says nothing here. nothing!! and honestly? iconic of it. ✨


πŸ’œ RETURN VALUE πŸ’œ

she hands you back an xcb_void_cookie_t. πŸ“

and here's the tea: any errors (if there are any) have to be handled over in the event loop, not right here. so don't come crying to the return value, she doesn't carry that. 😌

but wait β€” if you'd rather handle errors directly with xcb_request_check instead, then you want xcb_xfixes_create_region_from_bitmap_checked. bam. that's your girl. go read xcb-requests(3) for the details, fr fr. πŸ“š


πŸ’… ERRORS πŸ’…

This request does never generate any errors.

not "rarely". not "usually not". never. she is flawless. she does not miss. no error paths, no sadness, no tears. slay. ✨


πŸŽ€ SEE ALSO πŸŽ€

nothing here bestie. the SEE ALSO section is empty, so there's literally nothing to see, which is lowkey hilarious for a section literally called SEE ALSO. 😭 I'm not inventing references for you β€” the original lists none, so we list none. 🫢


πŸ’– AUTHOR πŸ’–

Generated from xfixes.xml. if you want corrections or improvements, hit up xcb@lists.freedesktop.org β€” they're the ones who actually know things. πŸ“¬


and that's the whole page, bestie!! X Version 11 energy, shipped with libxcb 1.17.0 β€” go forth and create regions from bitmaps responsibly, mwah πŸ’‹πŸ’–βœ¨