xcb_destroy_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_destroy_notify_event_t(3) πŸ’–

okay bestie, welcome to the XCB Events corner of the manual β€” this one's all about xcb_destroy_notify_event_t, a little event struct that shows up when a window is destroyed. literally that's the whole NAME, no notes. πŸ’…


✨ NAME ✨

xcb_destroy_notify_event_t β€” a window is destroyed πŸͺŸπŸ’€


🌸 SYNOPSIS 🌸

First things first, you gotta pull in the header:

#include <xcb/xproto.h>

πŸŽ€ Event datastructure πŸŽ€

here's the whole struct, look at her, she's iconic:

typedef struct xcb_destroy_notify_event_t {
    uint8_t      response_type;
    uint8_t      pad0;
    uint16_t     sequence;
    xcb_window_t event;
    xcb_window_t window;
} xcb_destroy_notify_event_t;

πŸ¦‹ EVENT FIELDS πŸ¦‹

okay so let's go field by field, no skipping, we're thorough in this house 🫢

  • response_type β€” the type of this event, and in this specific case it's XCB_DESTROY_NOTIFY. plot twist: this field also lives in the xcb_generic_event_t, so you can use it to tell your events apart from each other. very much giving "who dis" energy. πŸ‘‘
  • sequence β€” the sequence number of the last request that was processed by the X11 server. keeping receipts, fr fr. 🧾
  • event β€” the reconfigured window, or its parent β€” depends on whether you selected StructureNotify or SubstructureNotify. iykyk. πŸ€”
  • window β€” the window that is destroyed. rip to her honestly. πŸ’€πŸŒΈ

πŸ’œ DESCRIPTION πŸ’œ

sooo... this section is lowkey empty in the original. nothing here. a beautiful blank canvas. we respect the silence. πŸ™ˆβœ¨


⭐ SEE ALSO ⭐

go read these next, bestie, they're the friends of this page:


πŸ‘‘ AUTHOR πŸ‘‘

Generated from xproto.xml. Got corrections or improvements? Contact xcb@lists.freedesktop.org β€” they're literally taking suggestions, so slay. πŸ’Œ


and that's the whole page, bestie!! this was X Version 11, libxcb 1.17.0, and the page itself is xcb_destroy_notify_event_t(3). periodt. πŸ’…βœ¨πŸŽ€