xcb_randr_set_output_primary(3)
β¨ xcb_randr_set_output_primary π
okay bestie, welcome to the manual page for xcb_randr_set_output_primary β it's a lil XCB request from the XCB Requests girlies, and we're gonna get you comfy with it. no cap, it's a short one, but we're gonna treat every line like the icon it is. π
πΈ NAME πΈ
xcb_randr_set_output_primary</purpose>
(yeah, the original left the description blank. she's mysterious like that. π )
π¦ SYNOPSIS π¦
first things first, you gotta bring her in:
#include <xcb/randr.h>
β¨ Request function β¨
xcb_void_cookie_t xcb_randr_set_output_primary(xcb_connection_t *conn,
xcb_window_t window, xcb_randr_output_t output);
that's the whole move. one function, three args, done. π«Ά
π REQUEST ARGUMENTS π
connβ the XCB connection to X11. it's your lil hotline to the X server, your main character linkup. π₯windowβ TODO: NOT YET DOCUMENTED. π yeah. the docs said "idk yet" and honestly? relatable. the manual literally does not tell us what this one does, so we're not gonna make anything up β the original leaves it as a TODO and so do we.outputβ TODO: NOT YET DOCUMENTED. π same energy. no notes, because there are literally no notes.
π DESCRIPTION π
so the DESCRIPTION section is... empty. π«₯ nothing. zero. the void. the silence is the vibe. this page is giving "we only documented the signature and dipped." and you know what? we respect it. π
β RETURN VALUE β
she hands you back an xcb_void_cookie_t. iconic. but heads up β errors (if any) have to be handled in the event loop. so don't just yeet the cookie and forget about it, bestie. π
if you'd rather deal with errors directly using xcb_request_check instead, then use xcb_randr_set_output_primary_checked. that's the checked girlie of the family. see xcb-requests(3) for the details. π
π ERRORS π
This request does never generate any errors. π
fr fr. zero errors. she simply does not miss. no drama, no error codes, nothing to handle. slay. π
π SEE ALSO π
...nothing here either, bestie. the section exists, but it's empty. she's a minimalist. πΈ
π§ AUTHOR π§
Generated from randr.xml. if you spot something wrong or wanna make it better, hit up xcb@lists.freedesktop.org for corrections and improvements. the group chat is always open. π
and that's the whole page, babes!! this manual came to you courtesy of X Version 11 and libxcb 1.17.0 β so when you're out here setting output primaries, just know the libxcb 1.17.0 girlies had your back. go be the main character of your own X session. 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