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