xcb_xfixes_invert_region(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_invert_region β€” bestie edition πŸ’…

ok so this is a page from libxcb, the XCB Requests corner of the manual, and today's main character is xcb_xfixes_invert_region. She's from the X Fixes extension (hence the xfixes in her name, iykyk) and she's here to invert a region for you. no cap.


✨ SYNOPSIS ✨

first things first, you gotta invite her in:

#include <xcb/xfixes.h>

πŸŽ€ Request function

xcb_void_cookie_t xcb_xfixes_invert_region(xcb_connection_t *conn,
       xcb_xfixes_region_t source, xcb_rectangle_t bounds,
       xcb_xfixes_region_t destination);

🌸 REQUEST ARGUMENTS 🌸

  • conn β€” the XCB connection to X11. she needs a way to talk to the server, obviously πŸ’–
  • source β€” TODO: NOT YET DOCUMENTED. literally nobody wrote this down bestie, I'm not gonna make it up 😭
  • bounds β€” TODO: NOT YET DOCUMENTED. same energy, it's giving mystery 🫢
  • destination β€” TODO: NOT YET DOCUMENTED. also undocumented, we simply do not know πŸ™ˆ

πŸ¦‹ DESCRIPTION πŸ¦‹

ok so this section is just… empty. like, the vibe is immaculate but the content is not there. the original page has nothing to say here, and I'm not about to invent lore that isn't real. no invented facts in this group chat πŸ’€


⭐ RETURN VALUE ⭐

she hands you back an xcb_void_cookie_t. and because it's a void cookie, any errors (if there even are any) have to be handled over in the event loop β€” that's just how she moves ✨

if you'd rather handle errors directly with xcb_request_check instead, use xcb_xfixes_invert_region_checked. the whole saga is explained in xcb-requests(3), go read it, it's iconic πŸ‘‘


πŸ’€ ERRORS πŸ’€

good news bestie: this request does never generate any errors. zero drama. a peaceful queen. 🌈


πŸ‘‘ SEE ALSO πŸ‘‘

…nothing here either. the original page lists no cross-references at all. so we're just gonna sit in silence together, respectfully. πŸŽ€


🌸 AUTHOR 🌸

generated from xfixes.xml. if you spot something wrong or wanna suggest improvements, hit up xcb@lists.freedesktop.org β€” they take corrections and improvements fr fr πŸ’Œ


quick vibe check reminder: this page genuinely has undocumented arguments and an empty DESCRIPTION, so don't go assuming behaviour that isn't written here. I kept every single detail exactly as it was β€” including the parts where there are no details. that's the assignment πŸ’…

mwah, that's the whole page! πŸ’œ this lil masterpiece is X Version 11, libxcb 1.17.0, page xcb_xfixes_invert_region(3) β€” periodt, go slay some regions bestie πŸ¦‹βœ¨πŸ’–