xcb_enter_notify_event_t(3)
π xcb_enter_notify_event_t π
okay so bestie, welcome to the xcb_enter_notify_event_t page from the XCB Events manual, and honestly? this one is a whole vibe. it's the event that fires when the pointer shows up in a different window. like when your mouse literally walks into a new room and the door goes ding. πβ¨
πΈ NAME πΈ
xcb_enter_notify_event_t β the pointer is in a different window π¦
β¨ SYNOPSIS β¨
#include <xcb/xproto.h>
π Event datastructure π
typedef struct xcb_enter_notify_event_t {
uint8_t response_type;
uint8_t detail;
uint16_t sequence;
xcb_timestamp_t time;
xcb_window_t root;
xcb_window_t event;
xcb_window_t child;
int16_t root_x;
int16_t root_y;
int16_t event_x;
int16_t event_y;
uint16_t state;
uint8_t mode;
uint8_t same_screen_focus;
} xcb_enter_notify_event_t;
look at her. iconic struct. no notes. π
π¦ EVENT FIELDS π¦
okay so field by field, bestie, let's get into it:
response_typeβ the type of this event, and in this case it'sXCB_LEAVE_NOTIFY. yes, fr fr, that's what it says. this field also lives in thexcb_generic_event_t, and you use it to tell your events apart from each other. πsequenceβ the sequence number of the last request processed by the X11 server. lowkey the receipt number of the whole operation. π§Ύdetailβ NOT YET DOCUMENTED. πtimeβ NOT YET DOCUMENTED. β°rootβ the root window for the final cursor position. the final girl, the final destination, the final cursor spot. π³eventβ the window on which the event was generated. that's the one throwing the party. πchildβ if the event window has subwindows and the final pointer position is in one of them, thenchildis set to that subwindow, andXCB_WINDOW_NONEotherwise. so it's either the specific baby subwindow or literally nothing. π«Άroot_xβ the pointer X coordinate relative toroot's origin at the time of the event. πroot_yβ the pointer Y coordinate relative toroot's origin at the time of the event. πevent_xβ ifeventis on the same screen asroot, this is the pointer X coordinate relative to the event window's origin. π―event_yβ ifeventis on the same screen asroot, this is the pointer Y coordinate relative to the event window's origin. π―stateβ NOT YET DOCUMENTED. πmodeβ (this one has literally no description in the original, bestie. she's mysterious. she's giving main character energy with zero backstory. π)same_screen_focusβ NOT YET DOCUMENTED. π
not me counting how many fields say NOT YET DOCUMENTED... it's four. four of them. the mystery is the moment. π
π DESCRIPTION π
okay so real talk: this section is empty in the original page. like, genuinely blank. nothing here. no cap. the NAME line is doing all the heavy lifting and honestly she ate. π
π₯ SEE ALSO π₯
xcb_generic_event_t(3)
π AUTHOR π
Generated from xproto.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. π
and that's the whole page, bestie! π this came to you from X Version 11, libxcb 1.17.0, and the page itself is xcb_enter_notify_event_t(3). slay, stay hydrated, and may your pointer always land in the window it meant to. β¨π
π¦π
π¦ 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