1xcb_input_xi_passive_grab_device(3X)CB Requestxscb_input_xi_passive_grab_device(3)
2
3
4
6 xcb_input_xi_passive_grab_device -
7
9 #include <xcb/xinput.h>
10
11 Request function
12 xcb_input_xi_passive_grab_device_cookie_t
13 xcb_input_xi_passive_grab_device(xcb_connection_t *conn,
14 xcb_timestamp_t time, xcb_window_t grab_window,
15 xcb_cursor_t cursor, uint32_t detail,
16 xcb_input_device_id_t deviceid, uint16_t num_modifiers,
17 uint16_t mask_len, uint8_t grab_type, uint8_t grab_mode,
18 uint8_t paired_device_mode, uint8_t owner_events, const
19 uint32_t *mask, const uint32_t *modifiers);
20
21 Reply datastructure
22 typedef struct xcb_input_xi_passive_grab_device_reply_t {
23 uint8_t response_type;
24 uint8_t pad0;
25 uint16_t sequence;
26 uint32_t length;
27 uint16_t num_modifiers;
28 uint8_t pad1[22];
29 } xcb_input_xi_passive_grab_device_reply_t;
30
31 Reply function
32 xcb_input_xi_passive_grab_device_reply_t
33 *xcb_input_xi_passive_grab_device_reply(xcb_connection_t *conn,
34 xcb_input_xi_passive_grab_device_cookie_t cookie,
35 xcb_generic_error_t **e);
36
37 Reply accessors
38 xcb_input_grab_modifier_info_t
39 *xcb_input_xi_passive_grab_device_modifiers(const
40 xcb_input_xi_passive_grab_device_request_t *reply);
41
42 int xcb_input_xi_passive_grab_device_modifiers_length(const
43 xcb_input_xi_passive_grab_device_reply_t *reply);
44
45 xcb_input_grab_modifier_info_iterator_t
46 xcb_input_xi_passive_grab_device_modifiers_iterator(const
47 xcb_input_xi_passive_grab_device_reply_t *reply);
48
50 conn The XCB connection to X11.
51
52 time TODO: NOT YET DOCUMENTED.
53
54 grab_window
55 TODO: NOT YET DOCUMENTED.
56
57 cursor TODO: NOT YET DOCUMENTED.
58
59 detail TODO: NOT YET DOCUMENTED.
60
61 deviceid TODO: NOT YET DOCUMENTED.
62
63 num_modifiers
64 TODO: NOT YET DOCUMENTED.
65
66 mask_len TODO: NOT YET DOCUMENTED.
67
68 grab_type TODO: NOT YET DOCUMENTED.
69
70 grab_mode TODO: NOT YET DOCUMENTED.
71
72 paired_device_mode
73 TODO: NOT YET DOCUMENTED.
74
75 owner_events
76 TODO: NOT YET DOCUMENTED.
77
78 mask TODO: NOT YET DOCUMENTED.
79
80 modifiers TODO: NOT YET DOCUMENTED.
81
83 response_type
84 The type of this reply, in this case XCB_INPUT_XI_PAS‐
85 SIVE_GRAB_DEVICE. This field is also present in the
86 xcb_generic_reply_t and can be used to tell replies apart
87 from each other.
88
89 sequence The sequence number of the last request processed by the X11
90 server.
91
92 length The length of the reply, in words (a word is 4 bytes).
93
94 num_modifiers
95 TODO: NOT YET DOCUMENTED.
96
99 Returns an xcb_input_xi_passive_grab_device_cookie_t. Errors have to be
100 handled when calling the reply function xcb_input_xi_passive_grab_de‐
101 vice_reply.
102
103 If you want to handle errors in the event loop instead, use xcb_in‐
104 put_xi_passive_grab_device_unchecked. See xcb-requests(3) for details.
105
107 This request does never generate any errors.
108
111 Generated from xinput.xml. Contact xcb@lists.freedesktop.org for cor‐
112 rections and improvements.
113
114
115
116X Version 11 libxcb 1.1x2cb_input_xi_passive_grab_device(3)