xcb_focus_in_event_t(3)
π xcb_focus_in_event_t π
okay bestie, we're diving into the XCB events part of the libxcb manual, page xcb_focus_in_event_t(3). it's a struct page. it's short. it's lowkey mysterious. let's go π
β¨ NAME β¨
xcb_focus_in_event_t β NOT YET DOCUMENTED π
yes, that's it. that's the whole name line. the maintainers really said "figure it out yourself" and honestly? iconic of them.
πΈ SYNOPSIS πΈ
#include <xcb/xproto.h>
π¦ Event datastructure
typedef struct xcb_focus_in_event_t {
uint8_t response_type;
uint8_t detail;
uint16_t sequence;
xcb_window_t event;
uint8_t mode;
uint8_t pad0[3];
} xcb_focus_in_event_t;
look at her. five real fields and a little padding bestie pad0[3] just vibing at the end to keep things aligned β¨
π EVENT FIELDS π
response_typeβ the type of this event, and in this case it'sXCB_FOCUS_OUT. this field is also chillin' in thexcb_generic_event_t, so you can use it to tell your events apart from each other. yes, literally the field that separates one event from another. main character energy fr fr πsequenceβ the sequence number of the last request that got processed by the X11 server. it's the receipt number of the group chat, basically π§Ύdetailβ nothing. the manpage just... leaves this one blank. no description, no crumbs, not a single word. the void stares back πeventβ the window that the focus event was generated on. this is the window the X server uses to report the event to you, so it's the one you're gonna be looking at πͺmodeβ also nothing. blank. empty. a mystery wrapped in auint8_t. we simply don't know and the page isn't gonna tell us π
π DESCRIPTION π
nothing here either, bestie. the DESCRIPTION section is empty. no prose, no lore, no tea. we move π«Ά
β SEE ALSO β
xcb_generic_event_t(3)
go read that one if you want the generic event tea β it's where response_type hangs out, iykyk π
π AUTHOR π
generated from xproto.xml. if you've got corrections or improvements, hit up xcb@lists.freedesktop.org β they're literally asking for your notes, so don't be shy, bestie π«Ά
and that's the whole page!! this beauty ships with X Version 11, libxcb 1.17.0, and the footer date stamp on the original is from the libxcb 1.17.0 release cycle. thanks for reading my little struct talk, 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