xcb_xfixes_translate_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_translate_region(3) 🌸

okay bestie, so this one lives in the XCB Requests manual, section 3, and it's literally called xcb_xfixes_translate_region. that's the whole name, no extra subtitle, no nothing. short and mysterious, we love that for her πŸ’…


✨ SYNOPSIS ✨

first things first, you gotta pull in the header:

#include <xcb/xfixes.h>

πŸŽ€ Request function

and here's the function signature, exactly as she is, no edits:

xcb_void_cookie_t xcb_xfixes_translate_region(xcb_connection_t *conn,
       xcb_xfixes_region_t region, int16_t dx, int16_t dy);

πŸ¦‹ REQUEST ARGUMENTS πŸ¦‹

  • conn β€” the XCB connection to X11. your link to the mothership, fr fr πŸ”₯
  • region β€” TODO: NOT YET DOCUMENTED. yeah bestie, the docs just said "TODO" and left. iconic of them honestly 😭
  • dx β€” TODO: NOT YET DOCUMENTED. same energy. we got nothing 🫠
  • dy β€” TODO: NOT YET DOCUMENTED. three for three, the documentation is not beating the allegations πŸ™ˆ

πŸ’œ DESCRIPTION πŸ’œ

so... the description is empty. like, completely. the original just has the heading and then nothing, and I'm not about to make stuff up and lie to you, bestie. no cap, there is no description here. we move. 🧚


⭐ RETURN VALUE ⭐

she hands you back an xcb_void_cookie_t. that's the whole vibe.

any errors (if there even are any) have to be handled in the event loop, so don't come crying to the return value, she's not gonna tell you.

now, if you'd rather handle errors directly with xcb_request_check, then you want xcb_xfixes_translate_region_checked instead. different girl, same energy. and for all the deets, go read xcb-requests(3) πŸ‘‘


🌈 ERRORS 🌈

okay so good news, bestie:

This request does never generate any errors. πŸ’–

like, never ever. zero. none. she's a good girl, she does not start drama. periodt.


πŸ’€ SEE ALSO πŸ’€

nothing. the section is there, it's just empty. the original didn't list a single reference, so neither will I. the way that there's literally nothing to link to… we respect the silence. πŸŽ€


🌸 AUTHOR 🌸

Generated from xfixes.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. so if something's wrong, that's who you @, not me πŸ’–


mwah, that's a wrap! this little gem came out of X Version 11, libxcb 1.17.0, so go forth and translate those regions, bestie β€” you got this πŸ«Άβœ¨πŸ¦‹