xcb_screensaver_notify_event_t(3)

πŸ“¦
version 1.17.0 Β· 4 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, debian trixie, fedora 43, fedora 44, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ xcb_screensaver_notify_event_t ✨

okay bestie, gather round πŸ’– this one lives in the XCB Events section of the manual (that's the manual name, it's giving section 3, we love a library-page moment) and it's literally just one little struct that tells you your screensaver did a thing.


🌸 NAME 🌸

xcb_screensaver_notify_event_t β€” no description in the original, bestie, they left it blank 😭 so I'm not gonna make one up. It's a screensaver notify event. That's the vibe.


πŸŽ€ SYNOPSIS πŸŽ€

First you gotta pull in the header:

#include <xcb/screensaver.h>

πŸ’… Event datastructure

typedef struct xcb_screensaver_notify_event_t {
    uint8_t         response_type;
    uint8_t         state;
    uint16_t        sequence;
    xcb_timestamp_t time;
    xcb_window_t    root;
    xcb_window_t    window;
    uint8_t         kind;
    uint8_t         forced;
    uint8_t         pad0[14];
} xcb_screensaver_notify_event_t;

look at her. iconic. she's got padding and everything 🫢


πŸ¦‹ EVENT FIELDS πŸ¦‹

  • response_type β€” the type of this event, and in this case it's literally XCB_SCREENSAVER_NOTIFY. this field also shows up in the xcb_generic_event_t, so you can use it to tell your events apart from each other. vibe check on the event pile ✨
  • sequence β€” the sequence number of the last request that got processed by the X11 server. it's the receipts 🧾
  • state β€” NOT YET DOCUMENTED. yeah. they said what they said πŸ’€
  • time β€” NOT YET DOCUMENTED. also a mystery, no cap πŸ™ˆ
  • root β€” NOT YET DOCUMENTED. blank. empty. a void πŸ•³οΈ
  • window β€” NOT YET DOCUMENTED. also not documented, we stay humble 😭
  • kind β€” NOT YET DOCUMENTED. the name is cute though, I'll give it that πŸ’…
  • forced β€” NOT YET DOCUMENTED. as is tradition ✨

🌈 DESCRIPTION 🌈

the DESCRIPTION section is empty in the original, bestie. nothing there. not a single word. and I am not gonna invent lore for it β€” that's the one rule and I'm keeping it πŸ’–

⭐ SEE ALSO ⭐

the original lists nothing under SEE ALSO. no references, no cross-links, no crumbs. she's independent, she doesn't need anyone 😌

πŸ‘‘ AUTHOR πŸ‘‘

Generated from screensaver.xml. If you've got corrections or improvements, hit up xcb@lists.freedesktop.org β€” they're literally asking for the feedback, bestie, so don't be shy 🫢


and that's the whole page, fr fr πŸŽ€ sending you off with the footer energy: this is X Version 11, from libxcb 1.17.0, so you know exactly which era of slay you're working with. mwah πŸ’‹