xcb_present_pixmap(3)
π xcb_present_pixmap(3) π
okay bestie, welcome to the XCB Requests corner of the manual β we're looking at xcb_present_pixmap today and honestly? she's a whole mood. this is the libxcb page for her, and we're gonna walk through it together, no skimming, no skipping, because every single line matters. π«Ά
β¨ NAME β¨
xcb_present_pixmap -
okay so. the name is xcb_present_pixmap. and then there's a dash. and thenβ¦ nothing. that's not me being lazy, that's literally the whole NAME section β the description after the dash is empty. it's giving mystery. it's giving "she said she'd text back and then didn't." π we move on.
β¨ SYNOPSIS β¨
first up, the include, because you can't summon her without it:
#include <xcb/present.h>
π Request function π
here's the signature, character for character, don't you dare typo it:
xcb_void_cookie_t xcb_present_pixmap(xcb_connection_t *conn,
xcb_window_t window, xcb_pixmap_t pixmap, uint32_t serial,
xcb_xfixes_region_t valid, xcb_xfixes_region_t update,
int16_t x_off, int16_t y_off, xcb_randr_crtc_t target_crtc,
xcb_sync_fence_t wait_fence, xcb_sync_fence_t idle_fence,
uint32_t options, uint64_t target_msc, uint64_t divisor,
uint64_t remainder, uint32_t notifies_len, const
xcb_present_notify_t *notifies);
look at all those arguments. she's high maintenance and we respect it. π
πΈ REQUEST ARGUMENTS πΈ
alright, let's do the roll call. fair warning: a lot of these are marked TODO: NOT YET DOCUMENTED. β and no, i'm not paraphrasing, that's genuinely what the page says for almost every single one of them. i'm not gonna invent lore for them, because making stuff up is not the vibe. π
connβ the XCB connection to X11. your lil lifeline to the server, bestie.windowβTODO: NOT YET DOCUMENTED.pixmapβTODO: NOT YET DOCUMENTED.serialβTODO: NOT YET DOCUMENTED.validβTODO: NOT YET DOCUMENTED.updateβTODO: NOT YET DOCUMENTED.x_offβTODO: NOT YET DOCUMENTED.y_offβTODO: NOT YET DOCUMENTED.target_crtcβTODO: NOT YET DOCUMENTED.wait_fenceβTODO: NOT YET DOCUMENTED.idle_fenceβTODO: NOT YET DOCUMENTED.optionsβTODO: NOT YET DOCUMENTED.target_mscβTODO: NOT YET DOCUMENTED.divisorβTODO: NOT YET DOCUMENTED.remainderβTODO: NOT YET DOCUMENTED.notifies_lenβTODO: NOT YET DOCUMENTED.notifiesβTODO: NOT YET DOCUMENTED.
bestie. the way that literally every arg except conn is undocumented?? π the docs said "figure it out" and honestly, that's main character energy of the worst kind.
π DESCRIPTION π
β¦she's empty. like, empty empty. there is no description text on this page. the section heading is there, standing alone, like someone who showed up to the party and said nothing all night. π i can't tell you what this request does beyond what the page itself gives us, and the page gives usβ¦ nothing here. periodt.
β RETURN VALUE β
okay here's actual info, thank goodness. she returns an xcb_void_cookie_t. π
and listen: errors (if any) have to be handled in the event loop. that's the deal. no sneaky synchronous error reporting here.
but if you'd rather handle errors directly with xcb_request_check instead? then you want xcb_present_pixmap_checked, not this one. go check xcb-requests(3) for the deets β that's where all the cookie lore lives. πͺ
π ERRORS π
and now the plot twist of the century:
This request does never generate any errors.
no errors. zero. none. she simply does not miss. β¨ (i'm quoting the page, not being cute β that's literally the sentence.)
π¦ SEE ALSO π¦
β¦it's empty, bestie. nothing. no cross-references. no lil xcb-whatever(3) links. just vibes and silence. π§
π AUTHOR π
generated from present.xml. if you spot something wrong or wanna make it better, hit up xcb@lists.freedesktop.org with corrections and improvements. they're taking notes, fr fr. π«Ά
and that's the whole page!! you made it, bestie, i'm so proud. π this one came to you from X Version 11, running libxcb 1.17.0 β that's the source and version, signed, sealed, delivered, with a lil bow on top. 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