xcb_client_message_event_t(3)
π 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'sXCB_CLIENT_MESSAGE. this field also lives in thexcb_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 interpretdata. it can be either8,16or32. 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. max20bytes. 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 π
xcb_generic_event_t(3)xcb_send_event(3)
π 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 π β¨
π¦ 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