xcb_selection_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_selection_notify_event_t(3) ✨

okay bestie, welcome to the XCB Events section of the manual, and today's main character is xcb_selection_notify_event_t(3) πŸŽ€ like. she's a struct. she's a whole vibe. let's get into it πŸ’…


🌸 NAME 🌸

xcb_selection_notify_event_t β€” (that's it. that's the name. the manpage literally gives us nothing else here, and honestly? iconic of her. mysterious. lowkey serving enigma energy πŸ’€)


πŸ¦‹ SYNOPSIS πŸ¦‹

first things first, you gotta bring her in:

#include <xcb/xproto.h>

✨ Event datastructure ✨

and here's the girl herself, character for character, no notes:

typedef struct xcb_selection_notify_event_t {
    uint8_t         response_type;
    uint8_t         pad0;
    uint16_t        sequence;
    xcb_timestamp_t time;
    xcb_window_t    requestor;
    xcb_atom_t      selection;
    xcb_atom_t      target;
    xcb_atom_t      property;
} xcb_selection_notify_event_t;

she's little. she's tidy. she's got a pad0 in there for ✨alignment reasons✨ and we do not question her 🫢


πŸ’– EVENT FIELDS πŸ’–

okay so let's go field by field, because every single one of these matters, no skips, no cap:

  • response_type β€” this is the type of the event, and in this case it's XCB_SELECTION_NOTIFY. plot twist: this field ALSO lives in the xcb_generic_event_t, so you can peek at it to tell your events apart from each other. it's giving "I'm in every group chat" energy fr fr.
  • sequence β€” the sequence number of the last request that got processed by the X11 server. the receipts number, basically 🧾
  • time β€” NOT YET DOCUMENTED. yeah. the manpage said that. we're passing the message along verbatim, bestie, don't shoot the messenger 😭
  • requestor β€” NOT YET DOCUMENTED. same deal πŸ™ˆ
  • selection β€” NOT YET DOCUMENTED. screaming, crying, throwing up, still undocumented πŸ’€
  • target β€” NOT YET DOCUMENTED. πŸŽ€
  • property β€” NOT YET DOCUMENTED. and that's the whole list, we made it 🌈
ngl the field list is doing a little bit of "trust me bro" right now. every one of those NOT YET DOCUMENTED. lines is straight from the source, so I'm not gonna sit here and invent behaviour for them β€” that would be making stuff up and we don't do that in this house πŸ’…

πŸŽ€ DESCRIPTION πŸŽ€

so… there's a DESCRIPTION section. and it is empty. literally nothing in it. not one word. she simply did not show up to the function. empty section, full slay, moving on ✨


πŸ’œ SEE ALSO πŸ’œ

also empty bestie!! no cross-references, no friends, no associates. she's a solo act, a lone wolf, main character energy only πŸ‘‘


🌟 AUTHOR 🌟

Generated from xproto.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. 🫢 (so if you spot something weird, that's the address, go be helpful, not mean, okay?)


and that's the whole page, we ate and left no crumbs πŸ“πŸ’…

X Version 11 Β· libxcb 1.17.0 Β· xcb_selection_notify_event_t(3) β€” mwah, thanks for reading bestie, drink some water and go write some event loops πŸ’–βœ¨πŸ¦‹