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

NAME

6       xcb_input_xi_grab_device -
7

SYNOPSIS

9       #include <xcb/xinput.h>
10
11   Request function
12       xcb_input_xi_grab_device_cookie_t
13              xcb_input_xi_grab_device(xcb_connection_t *conn,
14              xcb_window_t window, xcb_timestamp_t time, xcb_cursor_t cursor,
15              xcb_input_device_id_t deviceid, uint8_t mode,
16              uint8_t paired_device_mode, uint8_t owner_events,
17              uint16_t mask_len, const uint32_t *mask);
18
19   Reply datastructure
20       typedef struct xcb_input_xi_grab_device_reply_t {
21           uint8_t  response_type;
22           uint8_t  pad0;
23           uint16_t sequence;
24           uint32_t length;
25           uint8_t  status;
26           uint8_t  pad1[23];
27       } xcb_input_xi_grab_device_reply_t;
28
29   Reply function
30       xcb_input_xi_grab_device_reply_t
31              *xcb_input_xi_grab_device_reply(xcb_connection_t *conn,
32              xcb_input_xi_grab_device_cookie_t cookie,
33              xcb_generic_error_t **e);
34

REQUEST ARGUMENTS

36       conn      The XCB connection to X11.
37
38       window    TODO: NOT YET DOCUMENTED.
39
40       time      TODO: NOT YET DOCUMENTED.
41
42       cursor    TODO: NOT YET DOCUMENTED.
43
44       deviceid  TODO: NOT YET DOCUMENTED.
45
46       mode      TODO: NOT YET DOCUMENTED.
47
48       paired_device_mode
49                 TODO: NOT YET DOCUMENTED.
50
51       owner_events
52                 TODO: NOT YET DOCUMENTED.
53
54       mask_len  TODO: NOT YET DOCUMENTED.
55
56       mask      TODO: NOT YET DOCUMENTED.
57

REPLY FIELDS

59       response_type
60                 The type of this reply, in this case XCB_INPUT_XI_GRAB_DE‐
61                 VICE. This field is also present in the xcb_generic_reply_t
62                 and can be used to tell replies apart from each other.
63
64       sequence  The sequence number of the last request processed by the X11
65                 server.
66
67       length    The length of the reply, in words (a word is 4 bytes).
68
69       status    TODO: NOT YET DOCUMENTED.
70

DESCRIPTION

RETURN VALUE

73       Returns an xcb_input_xi_grab_device_cookie_t. Errors have to be handled
74       when calling the reply function xcb_input_xi_grab_device_reply.
75
76       If you want to handle errors in the event loop instead, use xcb_in‐
77       put_xi_grab_device_unchecked. See xcb-requests(3) for details.
78

ERRORS

80       This request does never generate any errors.
81

SEE ALSO

AUTHOR

84       Generated from xinput.xml. Contact xcb@lists.freedesktop.org for cor‐
85       rections and improvements.
86
87
88
89X Version 11                      libxcb 1.13      xcb_input_xi_grab_device(3)
Impressum