xcb_get_motion_events(3)
π xcb_get_motion_events(3) π
okay bestie, welcome to xcb_get_motion_events(3) β she's from the XCB Requests section of the manual, and she's here to get you them motion events. let's go π¦
β¨ NAME β¨
xcb_get_motion_events β
β¦and that's literally it, bestie. the description slot is empty. no cap. the manpage just leaves it hanging like a text left on read π
β¨ SYNOPSIS β¨
first things first, you gotta pull in the header:
#include <xcb/xproto.h>
πΈ Request function πΈ
xcb_get_motion_events_cookie_t
xcb_get_motion_events(xcb_connection_t *conn,
xcb_window_t window, xcb_timestamp_t start,
xcb_timestamp_t stop);
πΈ Reply datastructure πΈ
typedef struct xcb_get_motion_events_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
uint32_t events_len;
uint8_t pad1[20];
} xcb_get_motion_events_reply_t;
πΈ Reply function πΈ
xcb_get_motion_events_reply_t
*xcb_get_motion_events_reply(xcb_connection_t *conn,
xcb_get_motion_events_cookie_t cookie, xcb_generic_error_t **e);
πΈ Reply accessors πΈ
xcb_timecoord_t *xcb_get_motion_events_events(const
xcb_get_motion_events_request_t *reply);
int xcb_get_motion_events_events_length(const
xcb_get_motion_events_reply_t *reply);
xcb_timecoord_iterator_t xcb_get_motion_events_events_iterator(const
xcb_get_motion_events_reply_t *reply);
like, three lil helpers to get at your events, count them, and iterate them. slay π
β¨ REQUEST ARGUMENTS β¨
connβ your XCB connection to X11. the whole vibe check with the server happens through her π«ΆwindowβTODO: NOT YET DOCUMENTED.yeah bestie, the docs ghosted us on this one πstartβTODO: NOT YET DOCUMENTED.also ghosted πstopβTODO: NOT YET DOCUMENTED.ghosted too π
β¨ REPLY FIELDS β¨
response_typeβ the type of this reply, which in this case isXCB_GET_MOTION_EVENTS. this field is also chillin' insidexcb_generic_reply_t, so you can use it to tell your replies apart from each other. iconic behavior honestly βsequenceβ the sequence number of the last request that got processed by the X11 server. it's giving receipt energy π§Ύlengthβ the length of the reply, in words. and reminder: a word is4bytes, periodt πevents_lenβTODO: NOT YET DOCUMENTED.yeahβ¦ nothing. the void. the silence π
β¨ DESCRIPTION β¨
bestie. there is literally nothing here. the DESCRIPTION section is empty. it's giving blank notes app page. i cannot make up lore that isn't in the source, so i'm just gonna hold your hand and we move on π
β¨ RETURN VALUE β¨
she hands you back an xcb_get_motion_events_cookie_t πͺ and listen β errors have to be handled when you call the reply function xcb_get_motion_events_reply.
but if you'd rather handle your errors in the event loop instead, use xcb_get_motion_events_unchecked. see xcb-requests(3) for the details, iykyk β¨
β¨ ERRORS β¨
this request does never generate any errors. not one. zero. clean sheet. she's an angel, no drama, no red flags πΈπ
β¨ SEE ALSO β¨
nothing here either bestie. empty. a whole section of absolutely nothing. we respect her privacy π
β¨ AUTHOR β¨
Generated from xproto.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. go off, xml file π
and that's the whole page, bestie!! ty for reading, mwah π
this has been X Version 11, libxcb 1.17.0, page xcb_get_motion_events(3) β see you in the group chat π¦β¨
π¦ 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