xcb_randr_set_screen_size(3)
π« xcb_randr_set_screen_size β the XCB Requests era π«
okay bestie so we're in xcb_randr_set_screen_size(3) territory, from the XCB Requests family, and honestly? it's giving "mysterious minimal icon" because the docs are like 90% vibes and 10% actual words. but we're gonna go through every single crumb, no cap. β¨
π NAME π
xcb_randr_set_screen_size β and that's it. that's the whole name. the description after the dash is literally empty in the source, so we're not gonna invent one, because that would be lying and lying is not the vibe. π«Ά
πΈ SYNOPSIS πΈ
first things first, you gotta bring in the header:
#include <xcb/randr.h>
β¨ Request function β¨
here's the whole signature, character for character, don't touch it:
xcb_void_cookie_t xcb_randr_set_screen_size(xcb_connection_t *conn,
xcb_window_t window, uint16_t width, uint16_t height,
uint32_t mm_width, uint32_t mm_height);
π REQUEST ARGUMENTS π
every single one of these is documented as TODO: NOT YET DOCUMENTED. in the original, and i am not about to make stuff up about what they do. so here's the honest tour:
connβ The XCB connection to X11. (this one actually has a description, slay π)windowβTODO: NOT YET DOCUMENTED.πwidthβTODO: NOT YET DOCUMENTED.πheightβTODO: NOT YET DOCUMENTED.πmm_widthβTODO: NOT YET DOCUMENTED.πmm_heightβTODO: NOT YET DOCUMENTED.π
no cap, that's genuinely all the manpage gives us for those five. the author left us on read. π
π¦ DESCRIPTION π¦
so... this section is empty. like, completely. nothing between the heading and the next one. the DESCRIPTION is a void, an empty room, a silent group chat. i'm not gonna fill it in with guesses because that's how you end up confidently wrong on the internet, and we don't do that here. π
π RETURN VALUE π
it hands you back an xcb_void_cookie_t. that's the whole deal.
and listen, bestie, this is the important part: errors (if any) have to be handled in the event loop. the cookie doesn't just hand you the tea directly. π
but if you'd rather handle errors directly with xcb_request_check instead, then you want the checked version β xcb_randr_set_screen_size_checked. peek at xcb-requests(3) for the full rundown on how that works. β¨
π ERRORS π
iconic behaviour honestly: this request does never generate any errors. that's it. that's the whole section. zero errors, zero drama, zero stress. we love a low-maintenance request. π
β SEE ALSO β
this section is empty in the source too. nothing listed, nothing linked, no cross-references, nada. so if you were hoping for a lil reading list, the reading list is a blank page. π
π AUTHOR π
Generated from randr.xml. if you spot something wrong or wanna make it better, contact xcb@lists.freedesktop.org for corrections and improvements. π«Ά
okay that's the whole page!! every flag, every arg, every empty section, preserved with love and zero made-up facts. this was X Version 11, libxcb 1.17.0, page xcb_randr_set_screen_size(3) β mwah, go forth and handle your cookies in the event loop bestie π
πβ¨
π¦ 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