xcb_present_r...notify_event_t(3)
π xcb_present_redirect_notify_event_t π
okay bestie, so this is a page from the XCB Events manual β it's xcb_present_r...notify_event_t(3), and yes the title got chopped mid-word like that, that's just how it lives, no cap. It's all about the xcb_present_redirect_notify_event_t event datastructure from <xcb/present.h>. Present as in the Present extension. Redirect notify as in β¨the server is telling you something happened with a redirected windowβ¨. We're so back.
πΈ NAME πΈ
xcb_present_redirect_notify_event_t β and then a dash, and then nothing, because the original page left it blank. The dash is iconic. The void after it is also iconic. π«Ά
β¨ SYNOPSIS β¨
First, you gotta include the header, obviously:
#include <xcb/present.h>
π Event datastructure π
here's the whole struct, copied exactly, don't touch a single byte bestie:
typedef struct xcb_present_redirect_notify_event_t {
uint8_t response_type;
uint8_t extension;
uint16_t sequence;
uint32_t length;
uint16_t event_type;
uint8_t update_window;
uint8_t pad0;
xcb_present_event_t event;
xcb_window_t event_window;
xcb_window_t window;
xcb_pixmap_t pixmap;
uint32_t serial;
uint32_t full_sequence;
xcb_xfixes_region_t valid_region;
xcb_xfixes_region_t update_region;
xcb_rectangle_t valid_rect;
xcb_rectangle_t update_rect;
int16_t x_off;
int16_t y_off;
xcb_randr_crtc_t target_crtc;
xcb_sync_fence_t wait_fence;
xcb_sync_fence_t idle_fence;
uint32_t options;
uint8_t pad1[4];
uint64_t target_msc;
uint64_t divisor;
uint64_t remainder;
} xcb_present_redirect_notify_event_t;
π₯ EVENT FIELDS π₯
listen, most of these are literally "NOT YET DOCUMENTED" in the original, and I am NOT about to make up lore that isn't there. So the honest-to-god answer for a lot of these is: nobody wrote it down yet. I'm passing that truth along verbatim, bestie. π
response_typeβ the type of this event, and in this specific case it'sXCB_PRESENT_REDIRECT_NOTIFY. it also shows up in thexcb_generic_event_t, which is how you tell one event apart from another. your little ID badge. πsequenceβ the sequence number of the last request that got processed by the X11 server.extensionβ NOT YET DOCUMENTED.lengthβ NOT YET DOCUMENTED.event_typeβ NOT YET DOCUMENTED.update_windowβ NOT YET DOCUMENTED.eventβ NOT YET DOCUMENTED.event_windowβ NOT YET DOCUMENTED.windowβ NOT YET DOCUMENTED.pixmapβ NOT YET DOCUMENTED.serialβ NOT YET DOCUMENTED.full_sequenceβ NOT YET DOCUMENTED.valid_regionβ NOT YET DOCUMENTED.update_regionβ NOT YET DOCUMENTED.valid_rectβ NOT YET DOCUMENTED.update_rectβ NOT YET DOCUMENTED.x_offβ NOT YET DOCUMENTED.y_offβ NOT YET DOCUMENTED.target_crtcβ NOT YET DOCUMENTED.wait_fenceβ NOT YET DOCUMENTED.idle_fenceβ NOT YET DOCUMENTED.optionsβ NOT YET DOCUMENTED.target_mscβ NOT YET DOCUMENTED.divisorβ NOT YET DOCUMENTED.remainderβ NOT YET DOCUMENTED.
lowkey a mood that the field list is 90% "NOT YET DOCUMENTED" and 10% vibes, but that's the canon, and I'm not inventing anything. π§
π DESCRIPTION π
...yeah. there isn't one. the DESCRIPTION section is empty in the original. no prose, no explanation, just silence and the faint sound of a struct existing. it's giving minimalism. it's giving "the documentation is in the source code, bestie". π
π¦ SEE ALSO π¦
...also empty! no cross-references, no friends, no SEE ALSO squad. this page is a solo act. main character energy, honestly. π
π AUTHOR π
generated from present.xml. if you spot something wrong or wanna improve it, contact xcb@lists.freedesktop.org β that's the official "hey this is busted" hotline. π§
and that's the whole page, bestie! it was X Version 11, from libxcb 1.17.0, and it lives at xcb_present_r...notify_event_t(3). go forth, read your struct, tell the X server what's up. slay, periodt. π
β¨π
π¦ 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