1xcb_input_xi_get_client_pointer(3)XCB Requestsxcb_input_xi_get_client_pointer(3)
2
3
4
6 xcb_input_xi_get_client_pointer -
7
9 #include <xcb/xinput.h>
10
11 Request function
12 xcb_input_xi_get_client_pointer_cookie_t
13 xcb_input_xi_get_client_pointer(xcb_connection_t *conn,
14 xcb_window_t window);
15
16 Reply datastructure
17 typedef struct xcb_input_xi_get_client_pointer_reply_t {
18 uint8_t response_type;
19 uint8_t pad0;
20 uint16_t sequence;
21 uint32_t length;
22 uint8_t set;
23 uint8_t pad1;
24 xcb_input_device_id_t deviceid;
25 uint8_t pad2[20];
26 } xcb_input_xi_get_client_pointer_reply_t;
27
28 Reply function
29 xcb_input_xi_get_client_pointer_reply_t
30 *xcb_input_xi_get_client_pointer_reply(xcb_connection_t *conn,
31 xcb_input_xi_get_client_pointer_cookie_t cookie,
32 xcb_generic_error_t **e);
33
35 conn The XCB connection to X11.
36
37 window TODO: NOT YET DOCUMENTED.
38
40 response_type
41 The type of this reply, in this case XCB_IN‐
42 PUT_XI_GET_CLIENT_POINTER. This field is also present in the
43 xcb_generic_reply_t and can be used to tell replies apart
44 from each other.
45
46 sequence The sequence number of the last request processed by the X11
47 server.
48
49 length The length of the reply, in words (a word is 4 bytes).
50
51 set TODO: NOT YET DOCUMENTED.
52
53 deviceid TODO: NOT YET DOCUMENTED.
54
57 Returns an xcb_input_xi_get_client_pointer_cookie_t. Errors have to be
58 handled when calling the reply function xcb_input_xi_get_client_point‐
59 er_reply.
60
61 If you want to handle errors in the event loop instead, use xcb_in‐
62 put_xi_get_client_pointer_unchecked. See xcb-requests(3) for details.
63
65 This request does never generate any errors.
66
69 Generated from xinput.xml. Contact xcb@lists.freedesktop.org for cor‐
70 rections and improvements.
71
72
73
74X Version 11 libxcb 1.13xcb_input_xi_get_client_pointer(3)