1xcb_get_motion_events(3) XCB Requests xcb_get_motion_events(3)
2
3
4
6 xcb_get_motion_events -
7
9 #include <xcb/xproto.h>
10
11 Request function
12 xcb_get_motion_events_cookie_t
13 xcb_get_motion_events(xcb_connection_t *conn,
14 xcb_window_t window, xcb_timestamp_t start,
15 xcb_timestamp_t stop);
16
17 Reply datastructure
18 typedef struct xcb_get_motion_events_reply_t {
19 uint8_t response_type;
20 uint8_t pad0;
21 uint16_t sequence;
22 uint32_t length;
23 uint32_t events_len;
24 uint8_t pad1[20];
25 } xcb_get_motion_events_reply_t;
26
27 Reply function
28 xcb_get_motion_events_reply_t
29 *xcb_get_motion_events_reply(xcb_connection_t *conn,
30 xcb_get_motion_events_cookie_t cookie, xcb_generic_error_t **e);
31
32 Reply accessors
33 xcb_timecoord_t *xcb_get_motion_events_events(const
34 xcb_get_motion_events_request_t *reply);
35
36 int xcb_get_motion_events_events_length(const
37 xcb_get_motion_events_reply_t *reply);
38
39 xcb_timecoord_iterator_t xcb_get_motion_events_events_iterator(const
40 xcb_get_motion_events_reply_t *reply);
41
43 conn The XCB connection to X11.
44
45 window TODO: NOT YET DOCUMENTED.
46
47 start TODO: NOT YET DOCUMENTED.
48
49 stop TODO: NOT YET DOCUMENTED.
50
52 response_type
53 The type of this reply, in this case XCB_GET_MOTION_EVENTS.
54 This field is also present in the xcb_generic_reply_t and can
55 be used to tell replies apart from each other.
56
57 sequence The sequence number of the last request processed by the X11
58 server.
59
60 length The length of the reply, in words (a word is 4 bytes).
61
62 events_len
63 TODO: NOT YET DOCUMENTED.
64
67 Returns an xcb_get_motion_events_cookie_t. Errors have to be handled
68 when calling the reply function xcb_get_motion_events_reply.
69
70 If you want to handle errors in the event loop instead, use xcb_get_mo‐
71 tion_events_unchecked. See xcb-requests(3) for details.
72
74 This request does never generate any errors.
75
78 Generated from xproto.xml. Contact xcb@lists.freedesktop.org for cor‐
79 rections and improvements.
80
81
82
83X Version 11 libxcb 1.13.1 xcb_get_motion_events(3)