xcb_get_screen_saver(3)
π xcb_get_screen_saver β a manual page, but make it cute π
okay bestie, welcome to xcb_get_screen_saver, straight out of the XCB Requests section of the manual (yes, that's the manual name, we're not being weird about it, it's just the category, okay?). This is the little request that asks the X11 server "hey girlie, what's up with the screen saver rn?" πΈ
β¨ NAME β¨
xcb_get_screen_saver β and that's literally it. The original page has no summary line at all after the dash, bestie. Nothing. Blank. It's giving mysterious. π We're not making anything up to fill the void, we're just reporting the vibes accurately.
π SYNOPSIS π
First things first, you gotta pull in the header:
#include <xcb/xproto.h>
π Request function π
xcb_get_screen_saver_cookie_t
xcb_get_screen_saver(xcb_connection_t *conn,
π¦ Reply datastructure π¦
this is the struct you get back, look at her:
typedef struct xcb_get_screen_saver_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
uint16_t timeout;
uint16_t interval;
uint8_t prefer_blanking;
uint8_t allow_exposures;
uint8_t pad1[18];
} xcb_get_screen_saver_reply_t;
π Reply function π
xcb_get_screen_saver_reply_t
*xcb_get_screen_saver_reply(xcb_connection_t *conn,
xcb_get_screen_saver_cookie_t cookie, xcb_generic_error_t **e);
π«Ά REQUEST ARGUMENTS π«Ά
connβ the XCB connection to X11. your lil phone line to the server, basically. π
β REPLY FIELDS β
response_typeβ the type of this reply, and in this case it'sXCB_GET_SCREEN_SAVER. this field is also hanging out inxcb_generic_reply_t, and you can use it to tell replies apart from each other, like name tags at a party. πsequenceβ the sequence number of the last request processed by the X11 server.lengthβ the length of the reply, in words. and reminder bestie, a word is 4 bytes. periodt.timeoutβTODO: NOT YET DOCUMENTED.yeah. that's what it says. we don't know either. πintervalβTODO: NOT YET DOCUMENTED.same energy. πprefer_blankingβ one of the following values, bestie:XCB_BLANKING_NOT_PREFERREDβTODO: NOT YET DOCUMENTED.XCB_BLANKING_PREFERREDβTODO: NOT YET DOCUMENTED.XCB_BLANKING_DEFAULTβTODO: NOT YET DOCUMENTED.
and then, just chillin' underneath the whole list, on its own: TODO: NOT YET DOCUMENTED. π« yeah, the original does that. we're preserving it. no notes.
allow_exposuresβ one of the following values:XCB_EXPOSURES_NOT_ALLOWEDβTODO: NOT YET DOCUMENTED.XCB_EXPOSURES_ALLOWEDβTODO: NOT YET DOCUMENTED.XCB_EXPOSURES_DEFAULTβTODO: NOT YET DOCUMENTED.
and yep, one more lonely TODO: NOT YET DOCUMENTED. hanging out at the bottom of the list too. iconic behaviour honestly. π
π DESCRIPTION π
soβ¦ the DESCRIPTION section is empty. completely. the original page has literally nothing under it. not a word. it's giving silent treatment. we are NOT inventing lore. π
π₯ RETURN VALUE π₯
Returns an xcb_get_screen_saver_cookie_t. πͺ
Errors? bestie, those have to be handled when you call the reply function xcb_get_screen_saver_reply.
If you'd rather handle errors in the event loop instead, use xcb_get_screen_saver_unchecked. See xcb-requests(3) for the deets. π«Ά
π ERRORS π
This request does never generate any errors. not a single one. she's perfect, she's unproblematic, she simply does not start drama. β¨
πΈ SEE ALSO πΈ
nothing here. the original lists zero cross-references. empty. blank. a void. we respect the void. π³οΈ
π AUTHOR π
Generated from xproto.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. π§
and that's the whole page, bestie!! go forth and query your screen saver, you absolute main character. π πβ
this was brought to you by the folks at X Version 11, running libxcb 1.17.0, and the page itself is dated xcb_get_screen_saver(3). 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