xcb_damage_notify_event_t(3)
π xcb_damage_notify_event_t β bestie, your drawable changed π
okay so this is a page from the XCB Events manual, and it's about xcb_damage_notify_event_t, aka the little struct that shows up to tell you the contents of the monitored drawable have changed. periodt. π¦
β¨ NAME β¨
xcb_damage_notify_event_t β the contents of the monitored drawable have changed π
β¨ SYNOPSIS β¨
#include <xcb/damage.h>
π Event datastructure π
typedef struct xcb_damage_notify_event_t {
uint8_t response_type;
uint8_t level;
uint16_t sequence;
xcb_drawable_t drawable;
xcb_damage_damage_t damage;
xcb_timestamp_t timestamp;
xcb_rectangle_t area;
xcb_rectangle_t geometry;
} xcb_damage_notify_event_t;
like. look at her. eight fields. absolutely iconic. π
β¨ EVENT FIELDS β¨
response_typeβ the type of this event, which in this case isXCB_DAMAGE_NOTIFY. it also lives insidexcb_generic_event_t, so you can use it to tell your events apart from each other. it's giving β¨name tagβ¨.sequenceβ the sequence number of the last request processed by the X11 server. fr fr, that's the one.levelβ the level of the damage being reported. important bestie moment: if the0x80bit is set, that means there are subsequent Damage events being delivered immediately as part of a larger Damage region. so like, more is coming, don't close the group chat πdrawableβ the drawable for which damage is being reported. the main character of this whole situation.damageβ the Damage object being used to track the damage. yes she's tracking, no she's not toxic, it's literally her job πtimestampβ when the event was generated, in milliseconds.areaβ the damaged area of the drawable. the boo-boo zone π©Ήgeometryβ the total area of the drawable. the whole vibe, not just the ouchie.
β¨ DESCRIPTION β¨
(okay so this section is literally empty in the original β no notes, no lore, nothing. it's giving silence. so we move. π)
β¨ SEE ALSO β¨
xcb_generic_event_t(3)xcb_create(3)
go read those too, they're part of the lore π«Ά
β¨ AUTHOR β¨
Generated from damage.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. (so if something's off, that's the inbox, bestie π)
and that's the whole page!! π this came from X Version 11, libxcb 1.17.0 β mwah, 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