xcb_randr_set_crtc_gamma(3)
π xcb_randr_set_crtc_gamma(3) π
okay bestie, welcome to the XCB Requests corner of the manual, where we talk about xcb_randr_set_crtc_gamma. yes that's a whole mouthful, i know, but stick with me. π«Ά
β¨ NAME β¨
xcb_randr_set_crtc_gamma β and that's it. that's the whole description. the manpage literally left it blank, no cap. we're working with a mystery girl here. π
β¨ SYNOPSIS β¨
first things first, you gotta pull in the header:
#include <xcb/randr.h>
π Request function π
here's the whole function, looking all cute and official:
xcb_void_cookie_t xcb_randr_set_crtc_gamma(xcb_connection_t *conn,
xcb_randr_crtc_t crtc, uint16_t size, const uint16_t *red, const
uint16_t *green, const uint16_t *blue);
β¨ REQUEST ARGUMENTS β¨
okay so here's everyone in the cast, and i need you to brace yourself because the documentation for literally all of them isβ¦ nothing. π
connβ the XCB connection to X11. this one actually got documented, slay. it's your lil line to the X server, your main character connection. πcrtcβTODO: NOT YET DOCUMENTED.yeah. that's the whole thing. iconic of them honestly. πsizeβTODO: NOT YET DOCUMENTED.again. no notes. πredβTODO: NOT YET DOCUMENTED.the reds are mysterious. πgreenβTODO: NOT YET DOCUMENTED.the greens are equally mysterious. πΈblueβTODO: NOT YET DOCUMENTED.and blue too. the whole rainbow is undocumented bestie. π
β¨ DESCRIPTION β¨
soβ¦ there is no description. it's blank. empty. a void. the vibes are immaculate but the information is not present. i can't make up lore that isn't there, that would be lying to you and i would never. π
β¨ RETURN VALUE β¨
this one hands you back an xcb_void_cookie_t. and because it's a void cookie, any errors (if any even show up) have to be handled over in the event loop. that's the deal. π¦
but wait, there's an option. if you'd rather handle errors directly using xcb_request_check instead, then you want xcb_randr_set_crtc_gamma_checked. different function, same energy. go read xcb-requests(3) for the full tea. β
β¨ ERRORS β¨
good news bestie: this request does never generate any errors. she's low maintenance. she causes no drama. we love a peaceful queen. π
β¨ SEE ALSO β¨
nothing here either. no friends listed. she's a lone wolf. πΊ (the xcb-requests(3) mention up in RETURN VALUE is the closest thing we get, iykyk.)
β¨ AUTHOR β¨
this page was generated from randr.xml. if you spot something that needs correcting or improving, hit up xcb@lists.freedesktop.org β they're taking notes. π
and that's the whole page, babes. this beauty shipped with X Version 11 and libxcb 1.17.0. go forth and set some crtc gamma, whatever that ends up meaning. 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