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

NAME

6       xcb_set_modifier_mapping -
7

SYNOPSIS

9       #include <xcb/xproto.h>
10
11   Request function
12       xcb_set_modifier_mapping_cookie_t
13              xcb_set_modifier_mapping(xcb_connection_t *conn,
14              uint8_t keycodes_per_modifier, const xcb_keycode_t *keycodes);
15
16   Reply datastructure
17       typedef struct xcb_set_modifier_mapping_reply_t {
18           uint8_t  response_type;
19           uint8_t  status;
20           uint16_t sequence;
21           uint32_t length;
22       } xcb_set_modifier_mapping_reply_t;
23
24   Reply function
25       xcb_set_modifier_mapping_reply_t
26              *xcb_set_modifier_mapping_reply(xcb_connection_t *conn,
27              xcb_set_modifier_mapping_cookie_t cookie,
28              xcb_generic_error_t **e);
29

REQUEST ARGUMENTS

31       conn      The XCB connection to X11.
32
33       keycodes_per_modifier
34                 TODO: NOT YET DOCUMENTED.
35
36       keycodes  TODO: NOT YET DOCUMENTED.
37

REPLY FIELDS

39       response_type
40                 The type of this reply, in this case XCB_SET_MODIFIER_MAP‐
41                 PING. This field is also present in the xcb_generic_reply_t
42                 and can be used to tell replies apart from each other.
43
44       sequence  The sequence number of the last request processed by the X11
45                 server.
46
47       length    The length of the reply, in words (a word is 4 bytes).
48
49       status    One of the following values:
50
51                 XCB_MAPPING_STATUS_SUCCESS
52                           TODO: NOT YET DOCUMENTED.
53
54                 XCB_MAPPING_STATUS_BUSY
55                           TODO: NOT YET DOCUMENTED.
56
57                 XCB_MAPPING_STATUS_FAILURE
58                           TODO: NOT YET DOCUMENTED.
59                 TODO: NOT YET DOCUMENTED.
60

DESCRIPTION

RETURN VALUE

63       Returns an xcb_set_modifier_mapping_cookie_t. Errors have to be handled
64       when calling the reply function xcb_set_modifier_mapping_reply.
65
66       If you want to handle errors in the event loop instead, use
67       xcb_set_modifier_mapping_unchecked. See xcb-requests(3) for details.
68

ERRORS

70       This request does never generate any errors.
71

SEE ALSO

AUTHOR

74       Generated from xproto.xml. Contact xcb@lists.freedesktop.org for cor‐
75       rections and improvements.
76
77
78
79X Version 11                     libxcb 1.13.1     xcb_set_modifier_mapping(3)
Impressum