xcb_client_message_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_client_message_event_t(3) πŸ’–

okay bestie, welcome to the XCB Events corner of the manual, page xcb_client_message_event_t(3). buckle up, this one's a struct and she's got ✨lore✨.


🌸 NAME 🌸

xcb_client_message_event_t β€” NOT YET DOCUMENTED</p> πŸ™ˆ

yes fr fr, that's genuinely what the manual says. iconic of them honestly. but don't worry, i got you β€” everything the page does say is right below, no cap.

πŸŽ€ SYNOPSIS πŸŽ€

#include <xcb/xproto.h>

πŸ¦‹ Event datastructure πŸ¦‹

typedef struct xcb_client_message_event_t {
    uint8_t                   response_type;
    uint8_t                   format;
    uint16_t                  sequence;
    xcb_window_t              window;
    xcb_atom_t                type;
    xcb_client_message_data_t data;
} xcb_client_message_event_t;

look at her. six fields. main character energy πŸ’…


✨ EVENT FIELDS ✨

  • response_type β€” the type of this event, and in this specific case it's XCB_CLIENT_MESSAGE. this field also lives in the xcb_generic_event_t, and that's literally the whole point: it's how you tell events apart from each other. vibe check your events with it πŸ”₯
  • sequence β€” the sequence number of the last request processed by the X11 server. yes bestie, the last request processed. that's what it says 🫢
  • format β€” tells you how to interpret data. it can be either 8, 16 or 32. that's it, those are the options, no in-between 🌈
  • window β€” NOT YET DOCUMENTED.</p> 😭 (again. i know. i'm sorry. it's not me, it's the manpage.)
  • type β€” an atom that indicates how the data should be interpreted by the receiving client. it's giving "here's a hint for whoever's on the other end" πŸ’Œ
  • data β€” the data itself. max 20 bytes. that's the whole budget, bestie, spend it wisely πŸ“

πŸ’œ DESCRIPTION πŸ’œ

so this event represents a ClientMessage, sent by another X11 client. that's the whole plot.

an example, and it's a good one: a client sending the _NET_WM_STATE ClientMessage to the root window to indicate the fullscreen window state β€” which effectively requests that the window manager puts it into fullscreen mode. like, "hey wm, bestie, make this fullscreen please" and the wm is supposed to hear you πŸ‘‘


🌟 SEE ALSO 🌟


πŸ’Œ AUTHOR πŸ’Œ

Generated from xproto.xml. if you want corrections or improvements, contact xcb@lists.freedesktop.org. they're literally asking for the feedback, so go off πŸŽ€


and that's the page, babes πŸ’– this manual page ships as part of X Version 11, libxcb 1.17.0 β€” thanks for reading the whole thing, you ate that fr fr. now go handle some ClientMessages, mwah πŸ’…βœ¨