xcb_glx_pixel_storei(3)
π xcb_glx_pixel_storei π
okay bestie, welcome to xcb_glx_pixel_storei from the <xcb/glx.h> cinematic universe (manual section 3, XCB Requests, if we're being official about it). it's a GLX request function, it exists, and we're gonna talk about it. π¦
β¨ NAME β¨
xcb_glx_pixel_storei β and honestly? that's it. that's the whole name. the original page leaves the description blank, so I'm not gonna sit here and make up lore. no cap, the name is just the name. π
πΈ SYNOPSIS πΈ
first things first, you gotta pull in the header:
#include <xcb/glx.h>
π Request function π
here's the signature, copy it exactly, don't freestyle:
xcb_void_cookie_t xcb_glx_pixel_storei(xcb_connection_t *conn,
xcb_glx_context_tag_t context_tag, uint32_t pname,
int32_t datum);
π REQUEST ARGUMENTS π
four args, four little icons, let's go:
connβ your XCB connection to X11. the whole line to the server, your main character connection. π₯context_tagβ literally markedTODO: NOT YET DOCUMENTED.in the source. so... yeah. we don't know. neither does the manpage. we're all in the dark together and that's valid. πpnameβ alsoTODO: NOT YET DOCUMENTED.bestie I cannot make something up, that would be lying to you and I would never. πdatumβ you guessed it:TODO: NOT YET DOCUMENTED.three for three. iconic honestly. β¨
not me having nothing to tell you about three of the four arguments. the manpage said "TODO" and I respect the honesty. π«Ά
π DESCRIPTION π
so the DESCRIPTION section on this page is... empty. completely empty. it's giving minimalist. it's giving mystery. it's giving "the docs are still cooking." nothing here to report, bestie, and I refuse to invent behavior that isn't documented. β
π RETURN VALUE π
it hands you back an xcb_void_cookie_t. that's the whole vibe. and here's the important part:
- errors (if there are any) have to be handled in the event loop. that's the rule. that's where you deal with them.
- if you'd rather handle errors directly with
xcb_request_checkinstead, then usexcb_glx_pixel_storei_checked. that's the checked version, that's your girl for direct error handling. - see
xcb-requests(3)for the details, because that page is the one that actually explains the cookie situation. π
π ERRORS π
good news era: this request does never generate any errors. no error codes, no drama, no nothing. flawless behavior. we love a low-maintenance request. π
π§ SEE ALSO π§
this section is empty on the original page. nothing linked, nothing referenced. so there's nothing for me to send you to, and I'm not about to make up a cross-reference. the void is the cross-reference. β¨
π«Ά AUTHOR π«Ά
generated from glx.xml. if you want corrections or improvements, hit up xcb@lists.freedesktop.org β that's the address, that's who to email, don't shoot the messenger. π
okay so final vibe check, bestie: this page is X Version 11, libxcb 1.17.0, and it lives at xcb_glx_pixel_storei(3). thanks for reading the whole thing, you ate that. now go handle your errors in the event loop like the icon you are. periodt. ππ
π¦ 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