XCB_SCREENSAVER_SET_ATTRIBUTES_CHECKED(3)
π xcb_screensaver_set_attributes π
okay bestie, so this is a page from the XCB Requests manual set β the libxcb crew β and it's all about one lil' request function called xcb_screensaver_set_attributes. pull up a chair, grab a strawberry π, and let's get into it.
β¨ NAME β¨
xcb_screensaver_set_attributes -
and that's it. that's the whole name section. the dash is justβ¦ sitting there. no description. iconic in a "the vibes are mysterious" way, honestly π
β¨ SYNOPSIS β¨
first, you gotta pull in the header, no cap:
#include <xcb/screensaver.h>
π Request function π
here's the function signature, copy it exactly bestie:
xcb_void_cookie_t xcb_screensaver_set_attributes(xcb_connection_t *conn,
xcb_drawable_t drawable, int16_t x, int16_t y, uint16_t width,
uint16_t height, uint16_t border_width, uint8_t _class,
uint8_t depth, xcb_visualid_t visual, uint32_t value_mask, const
void *value_list);
look at all those arguments. it's giving "we have so much to talk about" πΈ
β¨ REQUEST ARGUMENTS β¨
so here's every single thing you can hand this function, and what the docs say about each one. spoiler: the docs say basically nothing, and honestly? that's the tea. π«
connβ the XCB connection to X11. your lil' hotline to the X server, the main character of the whole operation πdrawableβTODO: NOT YET DOCUMENTED.πxβTODO: NOT YET DOCUMENTED.πyβTODO: NOT YET DOCUMENTED.πwidthβTODO: NOT YET DOCUMENTED.πheightβTODO: NOT YET DOCUMENTED.πborder_widthβTODO: NOT YET DOCUMENTED.π_classβTODO: NOT YET DOCUMENTED.πdepthβTODO: NOT YET DOCUMENTED.πvisualβTODO: NOT YET DOCUMENTED.πvalue_maskβTODO: NOT YET DOCUMENTED.πvalue_listβTODO: NOT YET DOCUMENTED.π
every single one of those TODOs is straight from the original page, i'm not hiding anything from you bestie, the docs just haven't been written yet. it's a whole "coming soon" situation and we respect the suspense π
β¨ DESCRIPTION β¨
nothing here. the section exists, it's justβ¦ empty. a blank canvas. a vibe. π
β¨ RETURN VALUE β¨
so this bad boy hands you back an xcb_void_cookie_t. and here's the important part, so listen up:
- any errors? they do not come back to you right here. you have to deal with them over in the event loop. that's the whole deal with void cookies, bestie πͺ
- if you'd rather catch errors immediately with
xcb_request_check, then usexcb_screensaver_set_attributes_checkedinstead. that's your checked twin π―
and if you want the full lore on how request handling works, go read xcb-requests(3). fr fr, it explains it better than i ever could.
β¨ ERRORS β¨
good news, gorgeous: this request does never generate any errors. zero. none. not a single one. we love a low-drama function πβ¨
β¨ SEE ALSO β¨
also empty. no references, no cross-links, just vibes. π¦
β¨ AUTHOR β¨
generated from screensaver.xml. if you spot something wrong or wanna make it better, hit up xcb@lists.freedesktop.org with your corrections and improvements. the group chat is always open π
heads up bestie: this page is pretty much a skeleton β all those TODO: NOT YET DOCUMENTED. lines and the empty NAME, DESCRIPTION and SEE ALSO sections are exactly how it comes. i'm not gatekeeping, i'm just keeping it 100. π
okay that's the whole page!! this beauty ships with X Version 11, libxcb 1.17.0, and the header up top is xcb_screensaver_set_attributes(3) from the XCB Requests manual. mwah, go set some attributes, you've got this ππβ¨
π¦ 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