1xcb_get_modifier_mapping(3)      XCB Requests      xcb_get_modifier_mapping(3)
2
3
4

NAME

6       xcb_get_modifier_mapping -
7

SYNOPSIS

9       #include <xcb/xproto.h>
10
11   Request function
12       xcb_get_modifier_mapping_cookie_t
13              xcb_get_modifier_mapping(xcb_connection_t *conn,
14
15   Reply datastructure
16       typedef struct xcb_get_modifier_mapping_reply_t {
17           uint8_t  response_type;
18           uint8_t  keycodes_per_modifier;
19           uint16_t sequence;
20           uint32_t length;
21           uint8_t  pad0[24];
22       } xcb_get_modifier_mapping_reply_t;
23
24   Reply function
25       xcb_get_modifier_mapping_reply_t
26              *xcb_get_modifier_mapping_reply(xcb_connection_t *conn,
27              xcb_get_modifier_mapping_cookie_t cookie,
28              xcb_generic_error_t **e);
29
30   Reply accessors
31       xcb_keycode_t *xcb_get_modifier_mapping_keycodes(const
32              xcb_get_modifier_mapping_request_t *reply);
33
34       int xcb_get_modifier_mapping_keycodes_length(const
35              xcb_get_modifier_mapping_reply_t *reply);
36
37       xcb_generic_iterator_t xcb_get_modifier_mapping_keycodes_end(const
38              xcb_get_modifier_mapping_reply_t *reply);
39

REQUEST ARGUMENTS

41       conn      The XCB connection to X11.
42

REPLY FIELDS

44       response_type
45                 The type of this reply, in this case XCB_GET_MODIFIER_MAP‐
46                 PING. This field is also present in the xcb_generic_reply_t
47                 and can 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       keycodes_per_modifier
55                 TODO: NOT YET DOCUMENTED.
56

DESCRIPTION

RETURN VALUE

59       Returns an xcb_get_modifier_mapping_cookie_t. Errors have to be handled
60       when calling the reply function xcb_get_modifier_mapping_reply.
61
62       If you want to handle errors in the event loop instead, use
63       xcb_get_modifier_mapping_unchecked. See xcb-requests(3) for details.
64

ERRORS

66       This request does never generate any errors.
67

SEE ALSO

AUTHOR

70       Generated from xproto.xml. Contact xcb@lists.freedesktop.org for cor‐
71       rections and improvements.
72
73
74
75X Version 11                      libxcb 1.13      xcb_get_modifier_mapping(3)
Impressum