xcb_map_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_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 literally XCB_MAP_NOTIFY. this field is also chillin' in the xcb_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 whether StructureNotify or SubstructureNotify was 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 if override_redirect is 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 🌈

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 πŸ«ΆπŸ’œ