xcb_present_generic_event_t(3)
π xcb_present_generic_event_t(3) π
okay bestie, welcome to the XCB Events corner of the manual, section 3, and today's main character is xcb_present_generic_event_t. she's an event datastructure, she's got a struct, and she's literally the blueprint for how the Present extension yells at you. let's get into it π«Ά
β¨ NAME β¨
xcb_present_generic_event_t β that's it, that's the whole name. no cute one-liner summary in the original, so we're not making one up either, iykyk π
π¦ SYNOPSIS π¦
first things first, you gotta pull in the header:
#include <xcb/present.h>
πΈ Event datastructure πΈ
here's the glow-up, the actual struct, character for character:
typedef struct xcb_present_generic_event_t {
uint8_t response_type;
uint8_t extension;
uint16_t sequence;
uint32_t length;
uint16_t evtype;
uint8_t pad0[2];
xcb_present_event_t event;
} xcb_present_generic_event_t;
look at her. iconic. no notes. β¨
π EVENT FIELDS π
every field gets its moment, periodt:
response_typeβ the type of this event, and in this case it's literallyXCB_PRESENT_GENERIC. this same field also lives insidexcb_generic_event_t, so you can use it to tell your events apart from each other. it's giving β¨name tag at a partyβ¨.sequenceβ the sequence number of the last request that the X11 server processed. like a little receipt number for your request, fr fr π§Ύextensionβ NOT YET DOCUMENTED. bestie I wish I knew, but the original said nothing and I'm not about to invent lore πlengthβ NOT YET DOCUMENTED. same situation, no cap πevtypeβ NOT YET DOCUMENTED. we stay humble πeventβ NOT YET DOCUMENTED. yeah. that's the whole entry. screaming, crying, throwing up π
heads up: those four "NOT YET DOCUMENTED" fields are exactly that β undocumented in the source material. I'm not gonna guess what they do, because making up facts about a struct is not the vibe. π«Ά
π DESCRIPTION π
soβ¦ there isn't one. the original page has the DESCRIPTION section sitting there completely empty. a whole heading with nothing under it. it's giving silent treatment π so like, I'm not gonna fabricate a description that doesn't exist. we respect the source.
π SEE ALSO π
also empty, bestie. no cross-references, no related pages, nothing. the SEE ALSO section is out here with zero friends. tragic, honestly. π
π AUTHOR π
this page was generated from present.xml. if you've got corrections or improvements you wanna send over, hit up xcb@lists.freedesktop.org β they'd literally love that π«Ά
and that's the whole page, bestie!! mwah π
β¨ go forth and handle your events, you're doing amazing, and remember: X Version 11, libxcb 1.17.0, xcb_present_generic_event_t(3) β slay, bye!! π¦π
π¦ 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