xcb_map_notify_event_t(3)
π xcb_map_notify_event_t β the XCB Events girlies' guide π
okay so bestie, welcome to xcb_map_notify_event_t(3) from the XCB Events manual, X Version 11 era, libxcb flavored. this whole page is about one (1) very specific little guy: the event that yells "a window was mapped!!" πͺβ¨
β¨ NAME β¨
xcb_map_notify_event_t β a window was mapped π
like. that's it. that's the whole job. a window showed up on screen and this event is the receipt.
πΈ SYNOPSIS πΈ
#include <xcb/xproto.h>
π¦ Event datastructure π¦
typedef struct xcb_map_notify_event_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
xcb_window_t event;
xcb_window_t window;
uint8_t override_redirect;
uint8_t pad1[3];
} xcb_map_notify_event_t;
not the pad0 and the pad1[3] just vibing in there doing absolutely nothing π
they're padding, they're decorative, they're the accessories of the struct. leave them alone.
π EVENT FIELDS π
response_typeβ the type of this event, and in this case it's literallyXCB_MAP_NOTIFY. this field is also chillin' in thexcb_generic_event_t, so you can use it to tell 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 actually processed. it's the "which one of my requests was this a response to" tracker, fr fr.eventβ the window which was mapped, or its parent, depending on whetherStructureNotifyorSubstructureNotifywas selected. so which window you get here? depends on your subscription, bestie π«Άwindowβ the window that was mapped. the actual main character here πoverride_redirectβ window managers should ignore this window ifoverride_redirectis 1. that's a whole instruction to the WM, not a suggestion. if it's 1, WM, look away, this window is not your business π
π DESCRIPTION π
...
bestie. there is genuinely nothing here. the section exists, it's just empty. no notes. iconic behavior honestly. moving on β¨
π SEE ALSO π
xcb_generic_event_t(3)xcb_map_window(3)
go read those next, they're the supporting cast π
π§ AUTHOR π§
Generated from xproto.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.
like yes, it was auto-generated, but if something's wrong you can literally email them and they will fix it. slay π
mwah π that's the whole page bestie, every field, every padding byte, every SEE ALSO, no cap. go map a window and watch the notifications roll in. πΈβ¨π¦
X Version 11 Β· libxcb 1.17.0 β signing off, drink some water, and may your event loop never block π«Άπ
π¦ 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