jpayne@69
|
1 /*
|
jpayne@69
|
2 * This file generated automatically from xfixes.xml by c_client.py.
|
jpayne@69
|
3 * Edit at your peril.
|
jpayne@69
|
4 */
|
jpayne@69
|
5
|
jpayne@69
|
6 /**
|
jpayne@69
|
7 * @defgroup XCB_XFixes_API XCB XFixes API
|
jpayne@69
|
8 * @brief XFixes XCB Protocol Implementation.
|
jpayne@69
|
9 * @{
|
jpayne@69
|
10 **/
|
jpayne@69
|
11
|
jpayne@69
|
12 #ifndef __XFIXES_H
|
jpayne@69
|
13 #define __XFIXES_H
|
jpayne@69
|
14
|
jpayne@69
|
15 #include "xcb.h"
|
jpayne@69
|
16 #include "xproto.h"
|
jpayne@69
|
17 #include "render.h"
|
jpayne@69
|
18 #include "shape.h"
|
jpayne@69
|
19
|
jpayne@69
|
20 #ifdef __cplusplus
|
jpayne@69
|
21 extern "C" {
|
jpayne@69
|
22 #endif
|
jpayne@69
|
23
|
jpayne@69
|
24 #define XCB_XFIXES_MAJOR_VERSION 6
|
jpayne@69
|
25 #define XCB_XFIXES_MINOR_VERSION 0
|
jpayne@69
|
26
|
jpayne@69
|
27 extern xcb_extension_t xcb_xfixes_id;
|
jpayne@69
|
28
|
jpayne@69
|
29 /**
|
jpayne@69
|
30 * @brief xcb_xfixes_query_version_cookie_t
|
jpayne@69
|
31 **/
|
jpayne@69
|
32 typedef struct xcb_xfixes_query_version_cookie_t {
|
jpayne@69
|
33 unsigned int sequence;
|
jpayne@69
|
34 } xcb_xfixes_query_version_cookie_t;
|
jpayne@69
|
35
|
jpayne@69
|
36 /** Opcode for xcb_xfixes_query_version. */
|
jpayne@69
|
37 #define XCB_XFIXES_QUERY_VERSION 0
|
jpayne@69
|
38
|
jpayne@69
|
39 /**
|
jpayne@69
|
40 * @brief xcb_xfixes_query_version_request_t
|
jpayne@69
|
41 **/
|
jpayne@69
|
42 typedef struct xcb_xfixes_query_version_request_t {
|
jpayne@69
|
43 uint8_t major_opcode;
|
jpayne@69
|
44 uint8_t minor_opcode;
|
jpayne@69
|
45 uint16_t length;
|
jpayne@69
|
46 uint32_t client_major_version;
|
jpayne@69
|
47 uint32_t client_minor_version;
|
jpayne@69
|
48 } xcb_xfixes_query_version_request_t;
|
jpayne@69
|
49
|
jpayne@69
|
50 /**
|
jpayne@69
|
51 * @brief xcb_xfixes_query_version_reply_t
|
jpayne@69
|
52 **/
|
jpayne@69
|
53 typedef struct xcb_xfixes_query_version_reply_t {
|
jpayne@69
|
54 uint8_t response_type;
|
jpayne@69
|
55 uint8_t pad0;
|
jpayne@69
|
56 uint16_t sequence;
|
jpayne@69
|
57 uint32_t length;
|
jpayne@69
|
58 uint32_t major_version;
|
jpayne@69
|
59 uint32_t minor_version;
|
jpayne@69
|
60 uint8_t pad1[16];
|
jpayne@69
|
61 } xcb_xfixes_query_version_reply_t;
|
jpayne@69
|
62
|
jpayne@69
|
63 typedef enum xcb_xfixes_save_set_mode_t {
|
jpayne@69
|
64 XCB_XFIXES_SAVE_SET_MODE_INSERT = 0,
|
jpayne@69
|
65 XCB_XFIXES_SAVE_SET_MODE_DELETE = 1
|
jpayne@69
|
66 } xcb_xfixes_save_set_mode_t;
|
jpayne@69
|
67
|
jpayne@69
|
68 typedef enum xcb_xfixes_save_set_target_t {
|
jpayne@69
|
69 XCB_XFIXES_SAVE_SET_TARGET_NEAREST = 0,
|
jpayne@69
|
70 XCB_XFIXES_SAVE_SET_TARGET_ROOT = 1
|
jpayne@69
|
71 } xcb_xfixes_save_set_target_t;
|
jpayne@69
|
72
|
jpayne@69
|
73 typedef enum xcb_xfixes_save_set_mapping_t {
|
jpayne@69
|
74 XCB_XFIXES_SAVE_SET_MAPPING_MAP = 0,
|
jpayne@69
|
75 XCB_XFIXES_SAVE_SET_MAPPING_UNMAP = 1
|
jpayne@69
|
76 } xcb_xfixes_save_set_mapping_t;
|
jpayne@69
|
77
|
jpayne@69
|
78 /** Opcode for xcb_xfixes_change_save_set. */
|
jpayne@69
|
79 #define XCB_XFIXES_CHANGE_SAVE_SET 1
|
jpayne@69
|
80
|
jpayne@69
|
81 /**
|
jpayne@69
|
82 * @brief xcb_xfixes_change_save_set_request_t
|
jpayne@69
|
83 **/
|
jpayne@69
|
84 typedef struct xcb_xfixes_change_save_set_request_t {
|
jpayne@69
|
85 uint8_t major_opcode;
|
jpayne@69
|
86 uint8_t minor_opcode;
|
jpayne@69
|
87 uint16_t length;
|
jpayne@69
|
88 uint8_t mode;
|
jpayne@69
|
89 uint8_t target;
|
jpayne@69
|
90 uint8_t map;
|
jpayne@69
|
91 uint8_t pad0;
|
jpayne@69
|
92 xcb_window_t window;
|
jpayne@69
|
93 } xcb_xfixes_change_save_set_request_t;
|
jpayne@69
|
94
|
jpayne@69
|
95 typedef enum xcb_xfixes_selection_event_t {
|
jpayne@69
|
96 XCB_XFIXES_SELECTION_EVENT_SET_SELECTION_OWNER = 0,
|
jpayne@69
|
97 XCB_XFIXES_SELECTION_EVENT_SELECTION_WINDOW_DESTROY = 1,
|
jpayne@69
|
98 XCB_XFIXES_SELECTION_EVENT_SELECTION_CLIENT_CLOSE = 2
|
jpayne@69
|
99 } xcb_xfixes_selection_event_t;
|
jpayne@69
|
100
|
jpayne@69
|
101 typedef enum xcb_xfixes_selection_event_mask_t {
|
jpayne@69
|
102 XCB_XFIXES_SELECTION_EVENT_MASK_SET_SELECTION_OWNER = 1,
|
jpayne@69
|
103 XCB_XFIXES_SELECTION_EVENT_MASK_SELECTION_WINDOW_DESTROY = 2,
|
jpayne@69
|
104 XCB_XFIXES_SELECTION_EVENT_MASK_SELECTION_CLIENT_CLOSE = 4
|
jpayne@69
|
105 } xcb_xfixes_selection_event_mask_t;
|
jpayne@69
|
106
|
jpayne@69
|
107 /** Opcode for xcb_xfixes_selection_notify. */
|
jpayne@69
|
108 #define XCB_XFIXES_SELECTION_NOTIFY 0
|
jpayne@69
|
109
|
jpayne@69
|
110 /**
|
jpayne@69
|
111 * @brief xcb_xfixes_selection_notify_event_t
|
jpayne@69
|
112 **/
|
jpayne@69
|
113 typedef struct xcb_xfixes_selection_notify_event_t {
|
jpayne@69
|
114 uint8_t response_type;
|
jpayne@69
|
115 uint8_t subtype;
|
jpayne@69
|
116 uint16_t sequence;
|
jpayne@69
|
117 xcb_window_t window;
|
jpayne@69
|
118 xcb_window_t owner;
|
jpayne@69
|
119 xcb_atom_t selection;
|
jpayne@69
|
120 xcb_timestamp_t timestamp;
|
jpayne@69
|
121 xcb_timestamp_t selection_timestamp;
|
jpayne@69
|
122 uint8_t pad0[8];
|
jpayne@69
|
123 } xcb_xfixes_selection_notify_event_t;
|
jpayne@69
|
124
|
jpayne@69
|
125 /** Opcode for xcb_xfixes_select_selection_input. */
|
jpayne@69
|
126 #define XCB_XFIXES_SELECT_SELECTION_INPUT 2
|
jpayne@69
|
127
|
jpayne@69
|
128 /**
|
jpayne@69
|
129 * @brief xcb_xfixes_select_selection_input_request_t
|
jpayne@69
|
130 **/
|
jpayne@69
|
131 typedef struct xcb_xfixes_select_selection_input_request_t {
|
jpayne@69
|
132 uint8_t major_opcode;
|
jpayne@69
|
133 uint8_t minor_opcode;
|
jpayne@69
|
134 uint16_t length;
|
jpayne@69
|
135 xcb_window_t window;
|
jpayne@69
|
136 xcb_atom_t selection;
|
jpayne@69
|
137 uint32_t event_mask;
|
jpayne@69
|
138 } xcb_xfixes_select_selection_input_request_t;
|
jpayne@69
|
139
|
jpayne@69
|
140 typedef enum xcb_xfixes_cursor_notify_t {
|
jpayne@69
|
141 XCB_XFIXES_CURSOR_NOTIFY_DISPLAY_CURSOR = 0
|
jpayne@69
|
142 } xcb_xfixes_cursor_notify_t;
|
jpayne@69
|
143
|
jpayne@69
|
144 typedef enum xcb_xfixes_cursor_notify_mask_t {
|
jpayne@69
|
145 XCB_XFIXES_CURSOR_NOTIFY_MASK_DISPLAY_CURSOR = 1
|
jpayne@69
|
146 } xcb_xfixes_cursor_notify_mask_t;
|
jpayne@69
|
147
|
jpayne@69
|
148 /** Opcode for xcb_xfixes_cursor_notify. */
|
jpayne@69
|
149 #define XCB_XFIXES_CURSOR_NOTIFY 1
|
jpayne@69
|
150
|
jpayne@69
|
151 /**
|
jpayne@69
|
152 * @brief xcb_xfixes_cursor_notify_event_t
|
jpayne@69
|
153 **/
|
jpayne@69
|
154 typedef struct xcb_xfixes_cursor_notify_event_t {
|
jpayne@69
|
155 uint8_t response_type;
|
jpayne@69
|
156 uint8_t subtype;
|
jpayne@69
|
157 uint16_t sequence;
|
jpayne@69
|
158 xcb_window_t window;
|
jpayne@69
|
159 uint32_t cursor_serial;
|
jpayne@69
|
160 xcb_timestamp_t timestamp;
|
jpayne@69
|
161 xcb_atom_t name;
|
jpayne@69
|
162 uint8_t pad0[12];
|
jpayne@69
|
163 } xcb_xfixes_cursor_notify_event_t;
|
jpayne@69
|
164
|
jpayne@69
|
165 /** Opcode for xcb_xfixes_select_cursor_input. */
|
jpayne@69
|
166 #define XCB_XFIXES_SELECT_CURSOR_INPUT 3
|
jpayne@69
|
167
|
jpayne@69
|
168 /**
|
jpayne@69
|
169 * @brief xcb_xfixes_select_cursor_input_request_t
|
jpayne@69
|
170 **/
|
jpayne@69
|
171 typedef struct xcb_xfixes_select_cursor_input_request_t {
|
jpayne@69
|
172 uint8_t major_opcode;
|
jpayne@69
|
173 uint8_t minor_opcode;
|
jpayne@69
|
174 uint16_t length;
|
jpayne@69
|
175 xcb_window_t window;
|
jpayne@69
|
176 uint32_t event_mask;
|
jpayne@69
|
177 } xcb_xfixes_select_cursor_input_request_t;
|
jpayne@69
|
178
|
jpayne@69
|
179 /**
|
jpayne@69
|
180 * @brief xcb_xfixes_get_cursor_image_cookie_t
|
jpayne@69
|
181 **/
|
jpayne@69
|
182 typedef struct xcb_xfixes_get_cursor_image_cookie_t {
|
jpayne@69
|
183 unsigned int sequence;
|
jpayne@69
|
184 } xcb_xfixes_get_cursor_image_cookie_t;
|
jpayne@69
|
185
|
jpayne@69
|
186 /** Opcode for xcb_xfixes_get_cursor_image. */
|
jpayne@69
|
187 #define XCB_XFIXES_GET_CURSOR_IMAGE 4
|
jpayne@69
|
188
|
jpayne@69
|
189 /**
|
jpayne@69
|
190 * @brief xcb_xfixes_get_cursor_image_request_t
|
jpayne@69
|
191 **/
|
jpayne@69
|
192 typedef struct xcb_xfixes_get_cursor_image_request_t {
|
jpayne@69
|
193 uint8_t major_opcode;
|
jpayne@69
|
194 uint8_t minor_opcode;
|
jpayne@69
|
195 uint16_t length;
|
jpayne@69
|
196 } xcb_xfixes_get_cursor_image_request_t;
|
jpayne@69
|
197
|
jpayne@69
|
198 /**
|
jpayne@69
|
199 * @brief xcb_xfixes_get_cursor_image_reply_t
|
jpayne@69
|
200 **/
|
jpayne@69
|
201 typedef struct xcb_xfixes_get_cursor_image_reply_t {
|
jpayne@69
|
202 uint8_t response_type;
|
jpayne@69
|
203 uint8_t pad0;
|
jpayne@69
|
204 uint16_t sequence;
|
jpayne@69
|
205 uint32_t length;
|
jpayne@69
|
206 int16_t x;
|
jpayne@69
|
207 int16_t y;
|
jpayne@69
|
208 uint16_t width;
|
jpayne@69
|
209 uint16_t height;
|
jpayne@69
|
210 uint16_t xhot;
|
jpayne@69
|
211 uint16_t yhot;
|
jpayne@69
|
212 uint32_t cursor_serial;
|
jpayne@69
|
213 uint8_t pad1[8];
|
jpayne@69
|
214 } xcb_xfixes_get_cursor_image_reply_t;
|
jpayne@69
|
215
|
jpayne@69
|
216 typedef uint32_t xcb_xfixes_region_t;
|
jpayne@69
|
217
|
jpayne@69
|
218 /**
|
jpayne@69
|
219 * @brief xcb_xfixes_region_iterator_t
|
jpayne@69
|
220 **/
|
jpayne@69
|
221 typedef struct xcb_xfixes_region_iterator_t {
|
jpayne@69
|
222 xcb_xfixes_region_t *data;
|
jpayne@69
|
223 int rem;
|
jpayne@69
|
224 int index;
|
jpayne@69
|
225 } xcb_xfixes_region_iterator_t;
|
jpayne@69
|
226
|
jpayne@69
|
227 /** Opcode for xcb_xfixes_bad_region. */
|
jpayne@69
|
228 #define XCB_XFIXES_BAD_REGION 0
|
jpayne@69
|
229
|
jpayne@69
|
230 /**
|
jpayne@69
|
231 * @brief xcb_xfixes_bad_region_error_t
|
jpayne@69
|
232 **/
|
jpayne@69
|
233 typedef struct xcb_xfixes_bad_region_error_t {
|
jpayne@69
|
234 uint8_t response_type;
|
jpayne@69
|
235 uint8_t error_code;
|
jpayne@69
|
236 uint16_t sequence;
|
jpayne@69
|
237 uint32_t bad_value;
|
jpayne@69
|
238 uint16_t minor_opcode;
|
jpayne@69
|
239 uint8_t major_opcode;
|
jpayne@69
|
240 } xcb_xfixes_bad_region_error_t;
|
jpayne@69
|
241
|
jpayne@69
|
242 typedef enum xcb_xfixes_region_enum_t {
|
jpayne@69
|
243 XCB_XFIXES_REGION_NONE = 0
|
jpayne@69
|
244 } xcb_xfixes_region_enum_t;
|
jpayne@69
|
245
|
jpayne@69
|
246 /** Opcode for xcb_xfixes_create_region. */
|
jpayne@69
|
247 #define XCB_XFIXES_CREATE_REGION 5
|
jpayne@69
|
248
|
jpayne@69
|
249 /**
|
jpayne@69
|
250 * @brief xcb_xfixes_create_region_request_t
|
jpayne@69
|
251 **/
|
jpayne@69
|
252 typedef struct xcb_xfixes_create_region_request_t {
|
jpayne@69
|
253 uint8_t major_opcode;
|
jpayne@69
|
254 uint8_t minor_opcode;
|
jpayne@69
|
255 uint16_t length;
|
jpayne@69
|
256 xcb_xfixes_region_t region;
|
jpayne@69
|
257 } xcb_xfixes_create_region_request_t;
|
jpayne@69
|
258
|
jpayne@69
|
259 /** Opcode for xcb_xfixes_create_region_from_bitmap. */
|
jpayne@69
|
260 #define XCB_XFIXES_CREATE_REGION_FROM_BITMAP 6
|
jpayne@69
|
261
|
jpayne@69
|
262 /**
|
jpayne@69
|
263 * @brief xcb_xfixes_create_region_from_bitmap_request_t
|
jpayne@69
|
264 **/
|
jpayne@69
|
265 typedef struct xcb_xfixes_create_region_from_bitmap_request_t {
|
jpayne@69
|
266 uint8_t major_opcode;
|
jpayne@69
|
267 uint8_t minor_opcode;
|
jpayne@69
|
268 uint16_t length;
|
jpayne@69
|
269 xcb_xfixes_region_t region;
|
jpayne@69
|
270 xcb_pixmap_t bitmap;
|
jpayne@69
|
271 } xcb_xfixes_create_region_from_bitmap_request_t;
|
jpayne@69
|
272
|
jpayne@69
|
273 /** Opcode for xcb_xfixes_create_region_from_window. */
|
jpayne@69
|
274 #define XCB_XFIXES_CREATE_REGION_FROM_WINDOW 7
|
jpayne@69
|
275
|
jpayne@69
|
276 /**
|
jpayne@69
|
277 * @brief xcb_xfixes_create_region_from_window_request_t
|
jpayne@69
|
278 **/
|
jpayne@69
|
279 typedef struct xcb_xfixes_create_region_from_window_request_t {
|
jpayne@69
|
280 uint8_t major_opcode;
|
jpayne@69
|
281 uint8_t minor_opcode;
|
jpayne@69
|
282 uint16_t length;
|
jpayne@69
|
283 xcb_xfixes_region_t region;
|
jpayne@69
|
284 xcb_window_t window;
|
jpayne@69
|
285 xcb_shape_kind_t kind;
|
jpayne@69
|
286 uint8_t pad0[3];
|
jpayne@69
|
287 } xcb_xfixes_create_region_from_window_request_t;
|
jpayne@69
|
288
|
jpayne@69
|
289 /** Opcode for xcb_xfixes_create_region_from_gc. */
|
jpayne@69
|
290 #define XCB_XFIXES_CREATE_REGION_FROM_GC 8
|
jpayne@69
|
291
|
jpayne@69
|
292 /**
|
jpayne@69
|
293 * @brief xcb_xfixes_create_region_from_gc_request_t
|
jpayne@69
|
294 **/
|
jpayne@69
|
295 typedef struct xcb_xfixes_create_region_from_gc_request_t {
|
jpayne@69
|
296 uint8_t major_opcode;
|
jpayne@69
|
297 uint8_t minor_opcode;
|
jpayne@69
|
298 uint16_t length;
|
jpayne@69
|
299 xcb_xfixes_region_t region;
|
jpayne@69
|
300 xcb_gcontext_t gc;
|
jpayne@69
|
301 } xcb_xfixes_create_region_from_gc_request_t;
|
jpayne@69
|
302
|
jpayne@69
|
303 /** Opcode for xcb_xfixes_create_region_from_picture. */
|
jpayne@69
|
304 #define XCB_XFIXES_CREATE_REGION_FROM_PICTURE 9
|
jpayne@69
|
305
|
jpayne@69
|
306 /**
|
jpayne@69
|
307 * @brief xcb_xfixes_create_region_from_picture_request_t
|
jpayne@69
|
308 **/
|
jpayne@69
|
309 typedef struct xcb_xfixes_create_region_from_picture_request_t {
|
jpayne@69
|
310 uint8_t major_opcode;
|
jpayne@69
|
311 uint8_t minor_opcode;
|
jpayne@69
|
312 uint16_t length;
|
jpayne@69
|
313 xcb_xfixes_region_t region;
|
jpayne@69
|
314 xcb_render_picture_t picture;
|
jpayne@69
|
315 } xcb_xfixes_create_region_from_picture_request_t;
|
jpayne@69
|
316
|
jpayne@69
|
317 /** Opcode for xcb_xfixes_destroy_region. */
|
jpayne@69
|
318 #define XCB_XFIXES_DESTROY_REGION 10
|
jpayne@69
|
319
|
jpayne@69
|
320 /**
|
jpayne@69
|
321 * @brief xcb_xfixes_destroy_region_request_t
|
jpayne@69
|
322 **/
|
jpayne@69
|
323 typedef struct xcb_xfixes_destroy_region_request_t {
|
jpayne@69
|
324 uint8_t major_opcode;
|
jpayne@69
|
325 uint8_t minor_opcode;
|
jpayne@69
|
326 uint16_t length;
|
jpayne@69
|
327 xcb_xfixes_region_t region;
|
jpayne@69
|
328 } xcb_xfixes_destroy_region_request_t;
|
jpayne@69
|
329
|
jpayne@69
|
330 /** Opcode for xcb_xfixes_set_region. */
|
jpayne@69
|
331 #define XCB_XFIXES_SET_REGION 11
|
jpayne@69
|
332
|
jpayne@69
|
333 /**
|
jpayne@69
|
334 * @brief xcb_xfixes_set_region_request_t
|
jpayne@69
|
335 **/
|
jpayne@69
|
336 typedef struct xcb_xfixes_set_region_request_t {
|
jpayne@69
|
337 uint8_t major_opcode;
|
jpayne@69
|
338 uint8_t minor_opcode;
|
jpayne@69
|
339 uint16_t length;
|
jpayne@69
|
340 xcb_xfixes_region_t region;
|
jpayne@69
|
341 } xcb_xfixes_set_region_request_t;
|
jpayne@69
|
342
|
jpayne@69
|
343 /** Opcode for xcb_xfixes_copy_region. */
|
jpayne@69
|
344 #define XCB_XFIXES_COPY_REGION 12
|
jpayne@69
|
345
|
jpayne@69
|
346 /**
|
jpayne@69
|
347 * @brief xcb_xfixes_copy_region_request_t
|
jpayne@69
|
348 **/
|
jpayne@69
|
349 typedef struct xcb_xfixes_copy_region_request_t {
|
jpayne@69
|
350 uint8_t major_opcode;
|
jpayne@69
|
351 uint8_t minor_opcode;
|
jpayne@69
|
352 uint16_t length;
|
jpayne@69
|
353 xcb_xfixes_region_t source;
|
jpayne@69
|
354 xcb_xfixes_region_t destination;
|
jpayne@69
|
355 } xcb_xfixes_copy_region_request_t;
|
jpayne@69
|
356
|
jpayne@69
|
357 /** Opcode for xcb_xfixes_union_region. */
|
jpayne@69
|
358 #define XCB_XFIXES_UNION_REGION 13
|
jpayne@69
|
359
|
jpayne@69
|
360 /**
|
jpayne@69
|
361 * @brief xcb_xfixes_union_region_request_t
|
jpayne@69
|
362 **/
|
jpayne@69
|
363 typedef struct xcb_xfixes_union_region_request_t {
|
jpayne@69
|
364 uint8_t major_opcode;
|
jpayne@69
|
365 uint8_t minor_opcode;
|
jpayne@69
|
366 uint16_t length;
|
jpayne@69
|
367 xcb_xfixes_region_t source1;
|
jpayne@69
|
368 xcb_xfixes_region_t source2;
|
jpayne@69
|
369 xcb_xfixes_region_t destination;
|
jpayne@69
|
370 } xcb_xfixes_union_region_request_t;
|
jpayne@69
|
371
|
jpayne@69
|
372 /** Opcode for xcb_xfixes_intersect_region. */
|
jpayne@69
|
373 #define XCB_XFIXES_INTERSECT_REGION 14
|
jpayne@69
|
374
|
jpayne@69
|
375 /**
|
jpayne@69
|
376 * @brief xcb_xfixes_intersect_region_request_t
|
jpayne@69
|
377 **/
|
jpayne@69
|
378 typedef struct xcb_xfixes_intersect_region_request_t {
|
jpayne@69
|
379 uint8_t major_opcode;
|
jpayne@69
|
380 uint8_t minor_opcode;
|
jpayne@69
|
381 uint16_t length;
|
jpayne@69
|
382 xcb_xfixes_region_t source1;
|
jpayne@69
|
383 xcb_xfixes_region_t source2;
|
jpayne@69
|
384 xcb_xfixes_region_t destination;
|
jpayne@69
|
385 } xcb_xfixes_intersect_region_request_t;
|
jpayne@69
|
386
|
jpayne@69
|
387 /** Opcode for xcb_xfixes_subtract_region. */
|
jpayne@69
|
388 #define XCB_XFIXES_SUBTRACT_REGION 15
|
jpayne@69
|
389
|
jpayne@69
|
390 /**
|
jpayne@69
|
391 * @brief xcb_xfixes_subtract_region_request_t
|
jpayne@69
|
392 **/
|
jpayne@69
|
393 typedef struct xcb_xfixes_subtract_region_request_t {
|
jpayne@69
|
394 uint8_t major_opcode;
|
jpayne@69
|
395 uint8_t minor_opcode;
|
jpayne@69
|
396 uint16_t length;
|
jpayne@69
|
397 xcb_xfixes_region_t source1;
|
jpayne@69
|
398 xcb_xfixes_region_t source2;
|
jpayne@69
|
399 xcb_xfixes_region_t destination;
|
jpayne@69
|
400 } xcb_xfixes_subtract_region_request_t;
|
jpayne@69
|
401
|
jpayne@69
|
402 /** Opcode for xcb_xfixes_invert_region. */
|
jpayne@69
|
403 #define XCB_XFIXES_INVERT_REGION 16
|
jpayne@69
|
404
|
jpayne@69
|
405 /**
|
jpayne@69
|
406 * @brief xcb_xfixes_invert_region_request_t
|
jpayne@69
|
407 **/
|
jpayne@69
|
408 typedef struct xcb_xfixes_invert_region_request_t {
|
jpayne@69
|
409 uint8_t major_opcode;
|
jpayne@69
|
410 uint8_t minor_opcode;
|
jpayne@69
|
411 uint16_t length;
|
jpayne@69
|
412 xcb_xfixes_region_t source;
|
jpayne@69
|
413 xcb_rectangle_t bounds;
|
jpayne@69
|
414 xcb_xfixes_region_t destination;
|
jpayne@69
|
415 } xcb_xfixes_invert_region_request_t;
|
jpayne@69
|
416
|
jpayne@69
|
417 /** Opcode for xcb_xfixes_translate_region. */
|
jpayne@69
|
418 #define XCB_XFIXES_TRANSLATE_REGION 17
|
jpayne@69
|
419
|
jpayne@69
|
420 /**
|
jpayne@69
|
421 * @brief xcb_xfixes_translate_region_request_t
|
jpayne@69
|
422 **/
|
jpayne@69
|
423 typedef struct xcb_xfixes_translate_region_request_t {
|
jpayne@69
|
424 uint8_t major_opcode;
|
jpayne@69
|
425 uint8_t minor_opcode;
|
jpayne@69
|
426 uint16_t length;
|
jpayne@69
|
427 xcb_xfixes_region_t region;
|
jpayne@69
|
428 int16_t dx;
|
jpayne@69
|
429 int16_t dy;
|
jpayne@69
|
430 } xcb_xfixes_translate_region_request_t;
|
jpayne@69
|
431
|
jpayne@69
|
432 /** Opcode for xcb_xfixes_region_extents. */
|
jpayne@69
|
433 #define XCB_XFIXES_REGION_EXTENTS 18
|
jpayne@69
|
434
|
jpayne@69
|
435 /**
|
jpayne@69
|
436 * @brief xcb_xfixes_region_extents_request_t
|
jpayne@69
|
437 **/
|
jpayne@69
|
438 typedef struct xcb_xfixes_region_extents_request_t {
|
jpayne@69
|
439 uint8_t major_opcode;
|
jpayne@69
|
440 uint8_t minor_opcode;
|
jpayne@69
|
441 uint16_t length;
|
jpayne@69
|
442 xcb_xfixes_region_t source;
|
jpayne@69
|
443 xcb_xfixes_region_t destination;
|
jpayne@69
|
444 } xcb_xfixes_region_extents_request_t;
|
jpayne@69
|
445
|
jpayne@69
|
446 /**
|
jpayne@69
|
447 * @brief xcb_xfixes_fetch_region_cookie_t
|
jpayne@69
|
448 **/
|
jpayne@69
|
449 typedef struct xcb_xfixes_fetch_region_cookie_t {
|
jpayne@69
|
450 unsigned int sequence;
|
jpayne@69
|
451 } xcb_xfixes_fetch_region_cookie_t;
|
jpayne@69
|
452
|
jpayne@69
|
453 /** Opcode for xcb_xfixes_fetch_region. */
|
jpayne@69
|
454 #define XCB_XFIXES_FETCH_REGION 19
|
jpayne@69
|
455
|
jpayne@69
|
456 /**
|
jpayne@69
|
457 * @brief xcb_xfixes_fetch_region_request_t
|
jpayne@69
|
458 **/
|
jpayne@69
|
459 typedef struct xcb_xfixes_fetch_region_request_t {
|
jpayne@69
|
460 uint8_t major_opcode;
|
jpayne@69
|
461 uint8_t minor_opcode;
|
jpayne@69
|
462 uint16_t length;
|
jpayne@69
|
463 xcb_xfixes_region_t region;
|
jpayne@69
|
464 } xcb_xfixes_fetch_region_request_t;
|
jpayne@69
|
465
|
jpayne@69
|
466 /**
|
jpayne@69
|
467 * @brief xcb_xfixes_fetch_region_reply_t
|
jpayne@69
|
468 **/
|
jpayne@69
|
469 typedef struct xcb_xfixes_fetch_region_reply_t {
|
jpayne@69
|
470 uint8_t response_type;
|
jpayne@69
|
471 uint8_t pad0;
|
jpayne@69
|
472 uint16_t sequence;
|
jpayne@69
|
473 uint32_t length;
|
jpayne@69
|
474 xcb_rectangle_t extents;
|
jpayne@69
|
475 uint8_t pad1[16];
|
jpayne@69
|
476 } xcb_xfixes_fetch_region_reply_t;
|
jpayne@69
|
477
|
jpayne@69
|
478 /** Opcode for xcb_xfixes_set_gc_clip_region. */
|
jpayne@69
|
479 #define XCB_XFIXES_SET_GC_CLIP_REGION 20
|
jpayne@69
|
480
|
jpayne@69
|
481 /**
|
jpayne@69
|
482 * @brief xcb_xfixes_set_gc_clip_region_request_t
|
jpayne@69
|
483 **/
|
jpayne@69
|
484 typedef struct xcb_xfixes_set_gc_clip_region_request_t {
|
jpayne@69
|
485 uint8_t major_opcode;
|
jpayne@69
|
486 uint8_t minor_opcode;
|
jpayne@69
|
487 uint16_t length;
|
jpayne@69
|
488 xcb_gcontext_t gc;
|
jpayne@69
|
489 xcb_xfixes_region_t region;
|
jpayne@69
|
490 int16_t x_origin;
|
jpayne@69
|
491 int16_t y_origin;
|
jpayne@69
|
492 } xcb_xfixes_set_gc_clip_region_request_t;
|
jpayne@69
|
493
|
jpayne@69
|
494 /** Opcode for xcb_xfixes_set_window_shape_region. */
|
jpayne@69
|
495 #define XCB_XFIXES_SET_WINDOW_SHAPE_REGION 21
|
jpayne@69
|
496
|
jpayne@69
|
497 /**
|
jpayne@69
|
498 * @brief xcb_xfixes_set_window_shape_region_request_t
|
jpayne@69
|
499 **/
|
jpayne@69
|
500 typedef struct xcb_xfixes_set_window_shape_region_request_t {
|
jpayne@69
|
501 uint8_t major_opcode;
|
jpayne@69
|
502 uint8_t minor_opcode;
|
jpayne@69
|
503 uint16_t length;
|
jpayne@69
|
504 xcb_window_t dest;
|
jpayne@69
|
505 xcb_shape_kind_t dest_kind;
|
jpayne@69
|
506 uint8_t pad0[3];
|
jpayne@69
|
507 int16_t x_offset;
|
jpayne@69
|
508 int16_t y_offset;
|
jpayne@69
|
509 xcb_xfixes_region_t region;
|
jpayne@69
|
510 } xcb_xfixes_set_window_shape_region_request_t;
|
jpayne@69
|
511
|
jpayne@69
|
512 /** Opcode for xcb_xfixes_set_picture_clip_region. */
|
jpayne@69
|
513 #define XCB_XFIXES_SET_PICTURE_CLIP_REGION 22
|
jpayne@69
|
514
|
jpayne@69
|
515 /**
|
jpayne@69
|
516 * @brief xcb_xfixes_set_picture_clip_region_request_t
|
jpayne@69
|
517 **/
|
jpayne@69
|
518 typedef struct xcb_xfixes_set_picture_clip_region_request_t {
|
jpayne@69
|
519 uint8_t major_opcode;
|
jpayne@69
|
520 uint8_t minor_opcode;
|
jpayne@69
|
521 uint16_t length;
|
jpayne@69
|
522 xcb_render_picture_t picture;
|
jpayne@69
|
523 xcb_xfixes_region_t region;
|
jpayne@69
|
524 int16_t x_origin;
|
jpayne@69
|
525 int16_t y_origin;
|
jpayne@69
|
526 } xcb_xfixes_set_picture_clip_region_request_t;
|
jpayne@69
|
527
|
jpayne@69
|
528 /** Opcode for xcb_xfixes_set_cursor_name. */
|
jpayne@69
|
529 #define XCB_XFIXES_SET_CURSOR_NAME 23
|
jpayne@69
|
530
|
jpayne@69
|
531 /**
|
jpayne@69
|
532 * @brief xcb_xfixes_set_cursor_name_request_t
|
jpayne@69
|
533 **/
|
jpayne@69
|
534 typedef struct xcb_xfixes_set_cursor_name_request_t {
|
jpayne@69
|
535 uint8_t major_opcode;
|
jpayne@69
|
536 uint8_t minor_opcode;
|
jpayne@69
|
537 uint16_t length;
|
jpayne@69
|
538 xcb_cursor_t cursor;
|
jpayne@69
|
539 uint16_t nbytes;
|
jpayne@69
|
540 uint8_t pad0[2];
|
jpayne@69
|
541 } xcb_xfixes_set_cursor_name_request_t;
|
jpayne@69
|
542
|
jpayne@69
|
543 /**
|
jpayne@69
|
544 * @brief xcb_xfixes_get_cursor_name_cookie_t
|
jpayne@69
|
545 **/
|
jpayne@69
|
546 typedef struct xcb_xfixes_get_cursor_name_cookie_t {
|
jpayne@69
|
547 unsigned int sequence;
|
jpayne@69
|
548 } xcb_xfixes_get_cursor_name_cookie_t;
|
jpayne@69
|
549
|
jpayne@69
|
550 /** Opcode for xcb_xfixes_get_cursor_name. */
|
jpayne@69
|
551 #define XCB_XFIXES_GET_CURSOR_NAME 24
|
jpayne@69
|
552
|
jpayne@69
|
553 /**
|
jpayne@69
|
554 * @brief xcb_xfixes_get_cursor_name_request_t
|
jpayne@69
|
555 **/
|
jpayne@69
|
556 typedef struct xcb_xfixes_get_cursor_name_request_t {
|
jpayne@69
|
557 uint8_t major_opcode;
|
jpayne@69
|
558 uint8_t minor_opcode;
|
jpayne@69
|
559 uint16_t length;
|
jpayne@69
|
560 xcb_cursor_t cursor;
|
jpayne@69
|
561 } xcb_xfixes_get_cursor_name_request_t;
|
jpayne@69
|
562
|
jpayne@69
|
563 /**
|
jpayne@69
|
564 * @brief xcb_xfixes_get_cursor_name_reply_t
|
jpayne@69
|
565 **/
|
jpayne@69
|
566 typedef struct xcb_xfixes_get_cursor_name_reply_t {
|
jpayne@69
|
567 uint8_t response_type;
|
jpayne@69
|
568 uint8_t pad0;
|
jpayne@69
|
569 uint16_t sequence;
|
jpayne@69
|
570 uint32_t length;
|
jpayne@69
|
571 xcb_atom_t atom;
|
jpayne@69
|
572 uint16_t nbytes;
|
jpayne@69
|
573 uint8_t pad1[18];
|
jpayne@69
|
574 } xcb_xfixes_get_cursor_name_reply_t;
|
jpayne@69
|
575
|
jpayne@69
|
576 /**
|
jpayne@69
|
577 * @brief xcb_xfixes_get_cursor_image_and_name_cookie_t
|
jpayne@69
|
578 **/
|
jpayne@69
|
579 typedef struct xcb_xfixes_get_cursor_image_and_name_cookie_t {
|
jpayne@69
|
580 unsigned int sequence;
|
jpayne@69
|
581 } xcb_xfixes_get_cursor_image_and_name_cookie_t;
|
jpayne@69
|
582
|
jpayne@69
|
583 /** Opcode for xcb_xfixes_get_cursor_image_and_name. */
|
jpayne@69
|
584 #define XCB_XFIXES_GET_CURSOR_IMAGE_AND_NAME 25
|
jpayne@69
|
585
|
jpayne@69
|
586 /**
|
jpayne@69
|
587 * @brief xcb_xfixes_get_cursor_image_and_name_request_t
|
jpayne@69
|
588 **/
|
jpayne@69
|
589 typedef struct xcb_xfixes_get_cursor_image_and_name_request_t {
|
jpayne@69
|
590 uint8_t major_opcode;
|
jpayne@69
|
591 uint8_t minor_opcode;
|
jpayne@69
|
592 uint16_t length;
|
jpayne@69
|
593 } xcb_xfixes_get_cursor_image_and_name_request_t;
|
jpayne@69
|
594
|
jpayne@69
|
595 /**
|
jpayne@69
|
596 * @brief xcb_xfixes_get_cursor_image_and_name_reply_t
|
jpayne@69
|
597 **/
|
jpayne@69
|
598 typedef struct xcb_xfixes_get_cursor_image_and_name_reply_t {
|
jpayne@69
|
599 uint8_t response_type;
|
jpayne@69
|
600 uint8_t pad0;
|
jpayne@69
|
601 uint16_t sequence;
|
jpayne@69
|
602 uint32_t length;
|
jpayne@69
|
603 int16_t x;
|
jpayne@69
|
604 int16_t y;
|
jpayne@69
|
605 uint16_t width;
|
jpayne@69
|
606 uint16_t height;
|
jpayne@69
|
607 uint16_t xhot;
|
jpayne@69
|
608 uint16_t yhot;
|
jpayne@69
|
609 uint32_t cursor_serial;
|
jpayne@69
|
610 xcb_atom_t cursor_atom;
|
jpayne@69
|
611 uint16_t nbytes;
|
jpayne@69
|
612 uint8_t pad1[2];
|
jpayne@69
|
613 } xcb_xfixes_get_cursor_image_and_name_reply_t;
|
jpayne@69
|
614
|
jpayne@69
|
615 /** Opcode for xcb_xfixes_change_cursor. */
|
jpayne@69
|
616 #define XCB_XFIXES_CHANGE_CURSOR 26
|
jpayne@69
|
617
|
jpayne@69
|
618 /**
|
jpayne@69
|
619 * @brief xcb_xfixes_change_cursor_request_t
|
jpayne@69
|
620 **/
|
jpayne@69
|
621 typedef struct xcb_xfixes_change_cursor_request_t {
|
jpayne@69
|
622 uint8_t major_opcode;
|
jpayne@69
|
623 uint8_t minor_opcode;
|
jpayne@69
|
624 uint16_t length;
|
jpayne@69
|
625 xcb_cursor_t source;
|
jpayne@69
|
626 xcb_cursor_t destination;
|
jpayne@69
|
627 } xcb_xfixes_change_cursor_request_t;
|
jpayne@69
|
628
|
jpayne@69
|
629 /** Opcode for xcb_xfixes_change_cursor_by_name. */
|
jpayne@69
|
630 #define XCB_XFIXES_CHANGE_CURSOR_BY_NAME 27
|
jpayne@69
|
631
|
jpayne@69
|
632 /**
|
jpayne@69
|
633 * @brief xcb_xfixes_change_cursor_by_name_request_t
|
jpayne@69
|
634 **/
|
jpayne@69
|
635 typedef struct xcb_xfixes_change_cursor_by_name_request_t {
|
jpayne@69
|
636 uint8_t major_opcode;
|
jpayne@69
|
637 uint8_t minor_opcode;
|
jpayne@69
|
638 uint16_t length;
|
jpayne@69
|
639 xcb_cursor_t src;
|
jpayne@69
|
640 uint16_t nbytes;
|
jpayne@69
|
641 uint8_t pad0[2];
|
jpayne@69
|
642 } xcb_xfixes_change_cursor_by_name_request_t;
|
jpayne@69
|
643
|
jpayne@69
|
644 /** Opcode for xcb_xfixes_expand_region. */
|
jpayne@69
|
645 #define XCB_XFIXES_EXPAND_REGION 28
|
jpayne@69
|
646
|
jpayne@69
|
647 /**
|
jpayne@69
|
648 * @brief xcb_xfixes_expand_region_request_t
|
jpayne@69
|
649 **/
|
jpayne@69
|
650 typedef struct xcb_xfixes_expand_region_request_t {
|
jpayne@69
|
651 uint8_t major_opcode;
|
jpayne@69
|
652 uint8_t minor_opcode;
|
jpayne@69
|
653 uint16_t length;
|
jpayne@69
|
654 xcb_xfixes_region_t source;
|
jpayne@69
|
655 xcb_xfixes_region_t destination;
|
jpayne@69
|
656 uint16_t left;
|
jpayne@69
|
657 uint16_t right;
|
jpayne@69
|
658 uint16_t top;
|
jpayne@69
|
659 uint16_t bottom;
|
jpayne@69
|
660 } xcb_xfixes_expand_region_request_t;
|
jpayne@69
|
661
|
jpayne@69
|
662 /** Opcode for xcb_xfixes_hide_cursor. */
|
jpayne@69
|
663 #define XCB_XFIXES_HIDE_CURSOR 29
|
jpayne@69
|
664
|
jpayne@69
|
665 /**
|
jpayne@69
|
666 * @brief xcb_xfixes_hide_cursor_request_t
|
jpayne@69
|
667 **/
|
jpayne@69
|
668 typedef struct xcb_xfixes_hide_cursor_request_t {
|
jpayne@69
|
669 uint8_t major_opcode;
|
jpayne@69
|
670 uint8_t minor_opcode;
|
jpayne@69
|
671 uint16_t length;
|
jpayne@69
|
672 xcb_window_t window;
|
jpayne@69
|
673 } xcb_xfixes_hide_cursor_request_t;
|
jpayne@69
|
674
|
jpayne@69
|
675 /** Opcode for xcb_xfixes_show_cursor. */
|
jpayne@69
|
676 #define XCB_XFIXES_SHOW_CURSOR 30
|
jpayne@69
|
677
|
jpayne@69
|
678 /**
|
jpayne@69
|
679 * @brief xcb_xfixes_show_cursor_request_t
|
jpayne@69
|
680 **/
|
jpayne@69
|
681 typedef struct xcb_xfixes_show_cursor_request_t {
|
jpayne@69
|
682 uint8_t major_opcode;
|
jpayne@69
|
683 uint8_t minor_opcode;
|
jpayne@69
|
684 uint16_t length;
|
jpayne@69
|
685 xcb_window_t window;
|
jpayne@69
|
686 } xcb_xfixes_show_cursor_request_t;
|
jpayne@69
|
687
|
jpayne@69
|
688 typedef uint32_t xcb_xfixes_barrier_t;
|
jpayne@69
|
689
|
jpayne@69
|
690 /**
|
jpayne@69
|
691 * @brief xcb_xfixes_barrier_iterator_t
|
jpayne@69
|
692 **/
|
jpayne@69
|
693 typedef struct xcb_xfixes_barrier_iterator_t {
|
jpayne@69
|
694 xcb_xfixes_barrier_t *data;
|
jpayne@69
|
695 int rem;
|
jpayne@69
|
696 int index;
|
jpayne@69
|
697 } xcb_xfixes_barrier_iterator_t;
|
jpayne@69
|
698
|
jpayne@69
|
699 typedef enum xcb_xfixes_barrier_directions_t {
|
jpayne@69
|
700 XCB_XFIXES_BARRIER_DIRECTIONS_POSITIVE_X = 1,
|
jpayne@69
|
701 XCB_XFIXES_BARRIER_DIRECTIONS_POSITIVE_Y = 2,
|
jpayne@69
|
702 XCB_XFIXES_BARRIER_DIRECTIONS_NEGATIVE_X = 4,
|
jpayne@69
|
703 XCB_XFIXES_BARRIER_DIRECTIONS_NEGATIVE_Y = 8
|
jpayne@69
|
704 } xcb_xfixes_barrier_directions_t;
|
jpayne@69
|
705
|
jpayne@69
|
706 /** Opcode for xcb_xfixes_create_pointer_barrier. */
|
jpayne@69
|
707 #define XCB_XFIXES_CREATE_POINTER_BARRIER 31
|
jpayne@69
|
708
|
jpayne@69
|
709 /**
|
jpayne@69
|
710 * @brief xcb_xfixes_create_pointer_barrier_request_t
|
jpayne@69
|
711 **/
|
jpayne@69
|
712 typedef struct xcb_xfixes_create_pointer_barrier_request_t {
|
jpayne@69
|
713 uint8_t major_opcode;
|
jpayne@69
|
714 uint8_t minor_opcode;
|
jpayne@69
|
715 uint16_t length;
|
jpayne@69
|
716 xcb_xfixes_barrier_t barrier;
|
jpayne@69
|
717 xcb_window_t window;
|
jpayne@69
|
718 uint16_t x1;
|
jpayne@69
|
719 uint16_t y1;
|
jpayne@69
|
720 uint16_t x2;
|
jpayne@69
|
721 uint16_t y2;
|
jpayne@69
|
722 uint32_t directions;
|
jpayne@69
|
723 uint8_t pad0[2];
|
jpayne@69
|
724 uint16_t num_devices;
|
jpayne@69
|
725 } xcb_xfixes_create_pointer_barrier_request_t;
|
jpayne@69
|
726
|
jpayne@69
|
727 /** Opcode for xcb_xfixes_delete_pointer_barrier. */
|
jpayne@69
|
728 #define XCB_XFIXES_DELETE_POINTER_BARRIER 32
|
jpayne@69
|
729
|
jpayne@69
|
730 /**
|
jpayne@69
|
731 * @brief xcb_xfixes_delete_pointer_barrier_request_t
|
jpayne@69
|
732 **/
|
jpayne@69
|
733 typedef struct xcb_xfixes_delete_pointer_barrier_request_t {
|
jpayne@69
|
734 uint8_t major_opcode;
|
jpayne@69
|
735 uint8_t minor_opcode;
|
jpayne@69
|
736 uint16_t length;
|
jpayne@69
|
737 xcb_xfixes_barrier_t barrier;
|
jpayne@69
|
738 } xcb_xfixes_delete_pointer_barrier_request_t;
|
jpayne@69
|
739
|
jpayne@69
|
740 typedef enum xcb_xfixes_client_disconnect_flags_t {
|
jpayne@69
|
741 XCB_XFIXES_CLIENT_DISCONNECT_FLAGS_DEFAULT = 0,
|
jpayne@69
|
742 /**< The default behavior for regular clients: the X11 server won't terminate as long
|
jpayne@69
|
743 as such clients are still connected, and should this client disconnect, the
|
jpayne@69
|
744 server will continue running so long as other clients (that have not set
|
jpayne@69
|
745 XFixesClientDisconnectFlagTerminate) are connected. */
|
jpayne@69
|
746
|
jpayne@69
|
747 XCB_XFIXES_CLIENT_DISCONNECT_FLAGS_TERMINATE = 1
|
jpayne@69
|
748 /**< Indicates to the X11 server that it can ignore the client and terminate itself
|
jpayne@69
|
749 even though the client is still connected to the X11 server. */
|
jpayne@69
|
750
|
jpayne@69
|
751 } xcb_xfixes_client_disconnect_flags_t;
|
jpayne@69
|
752
|
jpayne@69
|
753 /** Opcode for xcb_xfixes_set_client_disconnect_mode. */
|
jpayne@69
|
754 #define XCB_XFIXES_SET_CLIENT_DISCONNECT_MODE 33
|
jpayne@69
|
755
|
jpayne@69
|
756 /**
|
jpayne@69
|
757 * @brief xcb_xfixes_set_client_disconnect_mode_request_t
|
jpayne@69
|
758 **/
|
jpayne@69
|
759 typedef struct xcb_xfixes_set_client_disconnect_mode_request_t {
|
jpayne@69
|
760 uint8_t major_opcode;
|
jpayne@69
|
761 uint8_t minor_opcode;
|
jpayne@69
|
762 uint16_t length;
|
jpayne@69
|
763 uint32_t disconnect_mode;
|
jpayne@69
|
764 } xcb_xfixes_set_client_disconnect_mode_request_t;
|
jpayne@69
|
765
|
jpayne@69
|
766 /**
|
jpayne@69
|
767 * @brief xcb_xfixes_get_client_disconnect_mode_cookie_t
|
jpayne@69
|
768 **/
|
jpayne@69
|
769 typedef struct xcb_xfixes_get_client_disconnect_mode_cookie_t {
|
jpayne@69
|
770 unsigned int sequence;
|
jpayne@69
|
771 } xcb_xfixes_get_client_disconnect_mode_cookie_t;
|
jpayne@69
|
772
|
jpayne@69
|
773 /** Opcode for xcb_xfixes_get_client_disconnect_mode. */
|
jpayne@69
|
774 #define XCB_XFIXES_GET_CLIENT_DISCONNECT_MODE 34
|
jpayne@69
|
775
|
jpayne@69
|
776 /**
|
jpayne@69
|
777 * @brief xcb_xfixes_get_client_disconnect_mode_request_t
|
jpayne@69
|
778 **/
|
jpayne@69
|
779 typedef struct xcb_xfixes_get_client_disconnect_mode_request_t {
|
jpayne@69
|
780 uint8_t major_opcode;
|
jpayne@69
|
781 uint8_t minor_opcode;
|
jpayne@69
|
782 uint16_t length;
|
jpayne@69
|
783 } xcb_xfixes_get_client_disconnect_mode_request_t;
|
jpayne@69
|
784
|
jpayne@69
|
785 /**
|
jpayne@69
|
786 * @brief xcb_xfixes_get_client_disconnect_mode_reply_t
|
jpayne@69
|
787 **/
|
jpayne@69
|
788 typedef struct xcb_xfixes_get_client_disconnect_mode_reply_t {
|
jpayne@69
|
789 uint8_t response_type;
|
jpayne@69
|
790 uint8_t pad0;
|
jpayne@69
|
791 uint16_t sequence;
|
jpayne@69
|
792 uint32_t length;
|
jpayne@69
|
793 uint32_t disconnect_mode;
|
jpayne@69
|
794 uint8_t pad1[20];
|
jpayne@69
|
795 } xcb_xfixes_get_client_disconnect_mode_reply_t;
|
jpayne@69
|
796
|
jpayne@69
|
797 /**
|
jpayne@69
|
798 *
|
jpayne@69
|
799 * @param c The connection
|
jpayne@69
|
800 * @return A cookie
|
jpayne@69
|
801 *
|
jpayne@69
|
802 * Delivers a request to the X server.
|
jpayne@69
|
803 *
|
jpayne@69
|
804 */
|
jpayne@69
|
805 xcb_xfixes_query_version_cookie_t
|
jpayne@69
|
806 xcb_xfixes_query_version (xcb_connection_t *c,
|
jpayne@69
|
807 uint32_t client_major_version,
|
jpayne@69
|
808 uint32_t client_minor_version);
|
jpayne@69
|
809
|
jpayne@69
|
810 /**
|
jpayne@69
|
811 *
|
jpayne@69
|
812 * @param c The connection
|
jpayne@69
|
813 * @return A cookie
|
jpayne@69
|
814 *
|
jpayne@69
|
815 * Delivers a request to the X server.
|
jpayne@69
|
816 *
|
jpayne@69
|
817 * This form can be used only if the request will cause
|
jpayne@69
|
818 * a reply to be generated. Any returned error will be
|
jpayne@69
|
819 * placed in the event queue.
|
jpayne@69
|
820 */
|
jpayne@69
|
821 xcb_xfixes_query_version_cookie_t
|
jpayne@69
|
822 xcb_xfixes_query_version_unchecked (xcb_connection_t *c,
|
jpayne@69
|
823 uint32_t client_major_version,
|
jpayne@69
|
824 uint32_t client_minor_version);
|
jpayne@69
|
825
|
jpayne@69
|
826 /**
|
jpayne@69
|
827 * Return the reply
|
jpayne@69
|
828 * @param c The connection
|
jpayne@69
|
829 * @param cookie The cookie
|
jpayne@69
|
830 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
831 *
|
jpayne@69
|
832 * Returns the reply of the request asked by
|
jpayne@69
|
833 *
|
jpayne@69
|
834 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
835 * xcb_xfixes_query_version_unchecked(). is used.
|
jpayne@69
|
836 * Otherwise, it stores the error if any.
|
jpayne@69
|
837 *
|
jpayne@69
|
838 * The returned value must be freed by the caller using free().
|
jpayne@69
|
839 */
|
jpayne@69
|
840 xcb_xfixes_query_version_reply_t *
|
jpayne@69
|
841 xcb_xfixes_query_version_reply (xcb_connection_t *c,
|
jpayne@69
|
842 xcb_xfixes_query_version_cookie_t cookie /**< */,
|
jpayne@69
|
843 xcb_generic_error_t **e);
|
jpayne@69
|
844
|
jpayne@69
|
845 /**
|
jpayne@69
|
846 *
|
jpayne@69
|
847 * @param c The connection
|
jpayne@69
|
848 * @return A cookie
|
jpayne@69
|
849 *
|
jpayne@69
|
850 * Delivers a request to the X server.
|
jpayne@69
|
851 *
|
jpayne@69
|
852 * This form can be used only if the request will not cause
|
jpayne@69
|
853 * a reply to be generated. Any returned error will be
|
jpayne@69
|
854 * saved for handling by xcb_request_check().
|
jpayne@69
|
855 */
|
jpayne@69
|
856 xcb_void_cookie_t
|
jpayne@69
|
857 xcb_xfixes_change_save_set_checked (xcb_connection_t *c,
|
jpayne@69
|
858 uint8_t mode,
|
jpayne@69
|
859 uint8_t target,
|
jpayne@69
|
860 uint8_t map,
|
jpayne@69
|
861 xcb_window_t window);
|
jpayne@69
|
862
|
jpayne@69
|
863 /**
|
jpayne@69
|
864 *
|
jpayne@69
|
865 * @param c The connection
|
jpayne@69
|
866 * @return A cookie
|
jpayne@69
|
867 *
|
jpayne@69
|
868 * Delivers a request to the X server.
|
jpayne@69
|
869 *
|
jpayne@69
|
870 */
|
jpayne@69
|
871 xcb_void_cookie_t
|
jpayne@69
|
872 xcb_xfixes_change_save_set (xcb_connection_t *c,
|
jpayne@69
|
873 uint8_t mode,
|
jpayne@69
|
874 uint8_t target,
|
jpayne@69
|
875 uint8_t map,
|
jpayne@69
|
876 xcb_window_t window);
|
jpayne@69
|
877
|
jpayne@69
|
878 /**
|
jpayne@69
|
879 *
|
jpayne@69
|
880 * @param c The connection
|
jpayne@69
|
881 * @return A cookie
|
jpayne@69
|
882 *
|
jpayne@69
|
883 * Delivers a request to the X server.
|
jpayne@69
|
884 *
|
jpayne@69
|
885 * This form can be used only if the request will not cause
|
jpayne@69
|
886 * a reply to be generated. Any returned error will be
|
jpayne@69
|
887 * saved for handling by xcb_request_check().
|
jpayne@69
|
888 */
|
jpayne@69
|
889 xcb_void_cookie_t
|
jpayne@69
|
890 xcb_xfixes_select_selection_input_checked (xcb_connection_t *c,
|
jpayne@69
|
891 xcb_window_t window,
|
jpayne@69
|
892 xcb_atom_t selection,
|
jpayne@69
|
893 uint32_t event_mask);
|
jpayne@69
|
894
|
jpayne@69
|
895 /**
|
jpayne@69
|
896 *
|
jpayne@69
|
897 * @param c The connection
|
jpayne@69
|
898 * @return A cookie
|
jpayne@69
|
899 *
|
jpayne@69
|
900 * Delivers a request to the X server.
|
jpayne@69
|
901 *
|
jpayne@69
|
902 */
|
jpayne@69
|
903 xcb_void_cookie_t
|
jpayne@69
|
904 xcb_xfixes_select_selection_input (xcb_connection_t *c,
|
jpayne@69
|
905 xcb_window_t window,
|
jpayne@69
|
906 xcb_atom_t selection,
|
jpayne@69
|
907 uint32_t event_mask);
|
jpayne@69
|
908
|
jpayne@69
|
909 /**
|
jpayne@69
|
910 *
|
jpayne@69
|
911 * @param c The connection
|
jpayne@69
|
912 * @return A cookie
|
jpayne@69
|
913 *
|
jpayne@69
|
914 * Delivers a request to the X server.
|
jpayne@69
|
915 *
|
jpayne@69
|
916 * This form can be used only if the request will not cause
|
jpayne@69
|
917 * a reply to be generated. Any returned error will be
|
jpayne@69
|
918 * saved for handling by xcb_request_check().
|
jpayne@69
|
919 */
|
jpayne@69
|
920 xcb_void_cookie_t
|
jpayne@69
|
921 xcb_xfixes_select_cursor_input_checked (xcb_connection_t *c,
|
jpayne@69
|
922 xcb_window_t window,
|
jpayne@69
|
923 uint32_t event_mask);
|
jpayne@69
|
924
|
jpayne@69
|
925 /**
|
jpayne@69
|
926 *
|
jpayne@69
|
927 * @param c The connection
|
jpayne@69
|
928 * @return A cookie
|
jpayne@69
|
929 *
|
jpayne@69
|
930 * Delivers a request to the X server.
|
jpayne@69
|
931 *
|
jpayne@69
|
932 */
|
jpayne@69
|
933 xcb_void_cookie_t
|
jpayne@69
|
934 xcb_xfixes_select_cursor_input (xcb_connection_t *c,
|
jpayne@69
|
935 xcb_window_t window,
|
jpayne@69
|
936 uint32_t event_mask);
|
jpayne@69
|
937
|
jpayne@69
|
938 int
|
jpayne@69
|
939 xcb_xfixes_get_cursor_image_sizeof (const void *_buffer);
|
jpayne@69
|
940
|
jpayne@69
|
941 /**
|
jpayne@69
|
942 *
|
jpayne@69
|
943 * @param c The connection
|
jpayne@69
|
944 * @return A cookie
|
jpayne@69
|
945 *
|
jpayne@69
|
946 * Delivers a request to the X server.
|
jpayne@69
|
947 *
|
jpayne@69
|
948 */
|
jpayne@69
|
949 xcb_xfixes_get_cursor_image_cookie_t
|
jpayne@69
|
950 xcb_xfixes_get_cursor_image (xcb_connection_t *c);
|
jpayne@69
|
951
|
jpayne@69
|
952 /**
|
jpayne@69
|
953 *
|
jpayne@69
|
954 * @param c The connection
|
jpayne@69
|
955 * @return A cookie
|
jpayne@69
|
956 *
|
jpayne@69
|
957 * Delivers a request to the X server.
|
jpayne@69
|
958 *
|
jpayne@69
|
959 * This form can be used only if the request will cause
|
jpayne@69
|
960 * a reply to be generated. Any returned error will be
|
jpayne@69
|
961 * placed in the event queue.
|
jpayne@69
|
962 */
|
jpayne@69
|
963 xcb_xfixes_get_cursor_image_cookie_t
|
jpayne@69
|
964 xcb_xfixes_get_cursor_image_unchecked (xcb_connection_t *c);
|
jpayne@69
|
965
|
jpayne@69
|
966 uint32_t *
|
jpayne@69
|
967 xcb_xfixes_get_cursor_image_cursor_image (const xcb_xfixes_get_cursor_image_reply_t *R);
|
jpayne@69
|
968
|
jpayne@69
|
969 int
|
jpayne@69
|
970 xcb_xfixes_get_cursor_image_cursor_image_length (const xcb_xfixes_get_cursor_image_reply_t *R);
|
jpayne@69
|
971
|
jpayne@69
|
972 xcb_generic_iterator_t
|
jpayne@69
|
973 xcb_xfixes_get_cursor_image_cursor_image_end (const xcb_xfixes_get_cursor_image_reply_t *R);
|
jpayne@69
|
974
|
jpayne@69
|
975 /**
|
jpayne@69
|
976 * Return the reply
|
jpayne@69
|
977 * @param c The connection
|
jpayne@69
|
978 * @param cookie The cookie
|
jpayne@69
|
979 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
980 *
|
jpayne@69
|
981 * Returns the reply of the request asked by
|
jpayne@69
|
982 *
|
jpayne@69
|
983 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
984 * xcb_xfixes_get_cursor_image_unchecked(). is used.
|
jpayne@69
|
985 * Otherwise, it stores the error if any.
|
jpayne@69
|
986 *
|
jpayne@69
|
987 * The returned value must be freed by the caller using free().
|
jpayne@69
|
988 */
|
jpayne@69
|
989 xcb_xfixes_get_cursor_image_reply_t *
|
jpayne@69
|
990 xcb_xfixes_get_cursor_image_reply (xcb_connection_t *c,
|
jpayne@69
|
991 xcb_xfixes_get_cursor_image_cookie_t cookie /**< */,
|
jpayne@69
|
992 xcb_generic_error_t **e);
|
jpayne@69
|
993
|
jpayne@69
|
994 /**
|
jpayne@69
|
995 * Get the next element of the iterator
|
jpayne@69
|
996 * @param i Pointer to a xcb_xfixes_region_iterator_t
|
jpayne@69
|
997 *
|
jpayne@69
|
998 * Get the next element in the iterator. The member rem is
|
jpayne@69
|
999 * decreased by one. The member data points to the next
|
jpayne@69
|
1000 * element. The member index is increased by sizeof(xcb_xfixes_region_t)
|
jpayne@69
|
1001 */
|
jpayne@69
|
1002 void
|
jpayne@69
|
1003 xcb_xfixes_region_next (xcb_xfixes_region_iterator_t *i);
|
jpayne@69
|
1004
|
jpayne@69
|
1005 /**
|
jpayne@69
|
1006 * Return the iterator pointing to the last element
|
jpayne@69
|
1007 * @param i An xcb_xfixes_region_iterator_t
|
jpayne@69
|
1008 * @return The iterator pointing to the last element
|
jpayne@69
|
1009 *
|
jpayne@69
|
1010 * Set the current element in the iterator to the last element.
|
jpayne@69
|
1011 * The member rem is set to 0. The member data points to the
|
jpayne@69
|
1012 * last element.
|
jpayne@69
|
1013 */
|
jpayne@69
|
1014 xcb_generic_iterator_t
|
jpayne@69
|
1015 xcb_xfixes_region_end (xcb_xfixes_region_iterator_t i);
|
jpayne@69
|
1016
|
jpayne@69
|
1017 int
|
jpayne@69
|
1018 xcb_xfixes_create_region_sizeof (const void *_buffer,
|
jpayne@69
|
1019 uint32_t rectangles_len);
|
jpayne@69
|
1020
|
jpayne@69
|
1021 /**
|
jpayne@69
|
1022 *
|
jpayne@69
|
1023 * @param c The connection
|
jpayne@69
|
1024 * @return A cookie
|
jpayne@69
|
1025 *
|
jpayne@69
|
1026 * Delivers a request to the X server.
|
jpayne@69
|
1027 *
|
jpayne@69
|
1028 * This form can be used only if the request will not cause
|
jpayne@69
|
1029 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1030 * saved for handling by xcb_request_check().
|
jpayne@69
|
1031 */
|
jpayne@69
|
1032 xcb_void_cookie_t
|
jpayne@69
|
1033 xcb_xfixes_create_region_checked (xcb_connection_t *c,
|
jpayne@69
|
1034 xcb_xfixes_region_t region,
|
jpayne@69
|
1035 uint32_t rectangles_len,
|
jpayne@69
|
1036 const xcb_rectangle_t *rectangles);
|
jpayne@69
|
1037
|
jpayne@69
|
1038 /**
|
jpayne@69
|
1039 *
|
jpayne@69
|
1040 * @param c The connection
|
jpayne@69
|
1041 * @return A cookie
|
jpayne@69
|
1042 *
|
jpayne@69
|
1043 * Delivers a request to the X server.
|
jpayne@69
|
1044 *
|
jpayne@69
|
1045 */
|
jpayne@69
|
1046 xcb_void_cookie_t
|
jpayne@69
|
1047 xcb_xfixes_create_region (xcb_connection_t *c,
|
jpayne@69
|
1048 xcb_xfixes_region_t region,
|
jpayne@69
|
1049 uint32_t rectangles_len,
|
jpayne@69
|
1050 const xcb_rectangle_t *rectangles);
|
jpayne@69
|
1051
|
jpayne@69
|
1052 xcb_rectangle_t *
|
jpayne@69
|
1053 xcb_xfixes_create_region_rectangles (const xcb_xfixes_create_region_request_t *R);
|
jpayne@69
|
1054
|
jpayne@69
|
1055 int
|
jpayne@69
|
1056 xcb_xfixes_create_region_rectangles_length (const xcb_xfixes_create_region_request_t *R);
|
jpayne@69
|
1057
|
jpayne@69
|
1058 xcb_rectangle_iterator_t
|
jpayne@69
|
1059 xcb_xfixes_create_region_rectangles_iterator (const xcb_xfixes_create_region_request_t *R);
|
jpayne@69
|
1060
|
jpayne@69
|
1061 /**
|
jpayne@69
|
1062 *
|
jpayne@69
|
1063 * @param c The connection
|
jpayne@69
|
1064 * @return A cookie
|
jpayne@69
|
1065 *
|
jpayne@69
|
1066 * Delivers a request to the X server.
|
jpayne@69
|
1067 *
|
jpayne@69
|
1068 * This form can be used only if the request will not cause
|
jpayne@69
|
1069 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1070 * saved for handling by xcb_request_check().
|
jpayne@69
|
1071 */
|
jpayne@69
|
1072 xcb_void_cookie_t
|
jpayne@69
|
1073 xcb_xfixes_create_region_from_bitmap_checked (xcb_connection_t *c,
|
jpayne@69
|
1074 xcb_xfixes_region_t region,
|
jpayne@69
|
1075 xcb_pixmap_t bitmap);
|
jpayne@69
|
1076
|
jpayne@69
|
1077 /**
|
jpayne@69
|
1078 *
|
jpayne@69
|
1079 * @param c The connection
|
jpayne@69
|
1080 * @return A cookie
|
jpayne@69
|
1081 *
|
jpayne@69
|
1082 * Delivers a request to the X server.
|
jpayne@69
|
1083 *
|
jpayne@69
|
1084 */
|
jpayne@69
|
1085 xcb_void_cookie_t
|
jpayne@69
|
1086 xcb_xfixes_create_region_from_bitmap (xcb_connection_t *c,
|
jpayne@69
|
1087 xcb_xfixes_region_t region,
|
jpayne@69
|
1088 xcb_pixmap_t bitmap);
|
jpayne@69
|
1089
|
jpayne@69
|
1090 /**
|
jpayne@69
|
1091 *
|
jpayne@69
|
1092 * @param c The connection
|
jpayne@69
|
1093 * @return A cookie
|
jpayne@69
|
1094 *
|
jpayne@69
|
1095 * Delivers a request to the X server.
|
jpayne@69
|
1096 *
|
jpayne@69
|
1097 * This form can be used only if the request will not cause
|
jpayne@69
|
1098 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1099 * saved for handling by xcb_request_check().
|
jpayne@69
|
1100 */
|
jpayne@69
|
1101 xcb_void_cookie_t
|
jpayne@69
|
1102 xcb_xfixes_create_region_from_window_checked (xcb_connection_t *c,
|
jpayne@69
|
1103 xcb_xfixes_region_t region,
|
jpayne@69
|
1104 xcb_window_t window,
|
jpayne@69
|
1105 xcb_shape_kind_t kind);
|
jpayne@69
|
1106
|
jpayne@69
|
1107 /**
|
jpayne@69
|
1108 *
|
jpayne@69
|
1109 * @param c The connection
|
jpayne@69
|
1110 * @return A cookie
|
jpayne@69
|
1111 *
|
jpayne@69
|
1112 * Delivers a request to the X server.
|
jpayne@69
|
1113 *
|
jpayne@69
|
1114 */
|
jpayne@69
|
1115 xcb_void_cookie_t
|
jpayne@69
|
1116 xcb_xfixes_create_region_from_window (xcb_connection_t *c,
|
jpayne@69
|
1117 xcb_xfixes_region_t region,
|
jpayne@69
|
1118 xcb_window_t window,
|
jpayne@69
|
1119 xcb_shape_kind_t kind);
|
jpayne@69
|
1120
|
jpayne@69
|
1121 /**
|
jpayne@69
|
1122 *
|
jpayne@69
|
1123 * @param c The connection
|
jpayne@69
|
1124 * @return A cookie
|
jpayne@69
|
1125 *
|
jpayne@69
|
1126 * Delivers a request to the X server.
|
jpayne@69
|
1127 *
|
jpayne@69
|
1128 * This form can be used only if the request will not cause
|
jpayne@69
|
1129 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1130 * saved for handling by xcb_request_check().
|
jpayne@69
|
1131 */
|
jpayne@69
|
1132 xcb_void_cookie_t
|
jpayne@69
|
1133 xcb_xfixes_create_region_from_gc_checked (xcb_connection_t *c,
|
jpayne@69
|
1134 xcb_xfixes_region_t region,
|
jpayne@69
|
1135 xcb_gcontext_t gc);
|
jpayne@69
|
1136
|
jpayne@69
|
1137 /**
|
jpayne@69
|
1138 *
|
jpayne@69
|
1139 * @param c The connection
|
jpayne@69
|
1140 * @return A cookie
|
jpayne@69
|
1141 *
|
jpayne@69
|
1142 * Delivers a request to the X server.
|
jpayne@69
|
1143 *
|
jpayne@69
|
1144 */
|
jpayne@69
|
1145 xcb_void_cookie_t
|
jpayne@69
|
1146 xcb_xfixes_create_region_from_gc (xcb_connection_t *c,
|
jpayne@69
|
1147 xcb_xfixes_region_t region,
|
jpayne@69
|
1148 xcb_gcontext_t gc);
|
jpayne@69
|
1149
|
jpayne@69
|
1150 /**
|
jpayne@69
|
1151 *
|
jpayne@69
|
1152 * @param c The connection
|
jpayne@69
|
1153 * @return A cookie
|
jpayne@69
|
1154 *
|
jpayne@69
|
1155 * Delivers a request to the X server.
|
jpayne@69
|
1156 *
|
jpayne@69
|
1157 * This form can be used only if the request will not cause
|
jpayne@69
|
1158 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1159 * saved for handling by xcb_request_check().
|
jpayne@69
|
1160 */
|
jpayne@69
|
1161 xcb_void_cookie_t
|
jpayne@69
|
1162 xcb_xfixes_create_region_from_picture_checked (xcb_connection_t *c,
|
jpayne@69
|
1163 xcb_xfixes_region_t region,
|
jpayne@69
|
1164 xcb_render_picture_t picture);
|
jpayne@69
|
1165
|
jpayne@69
|
1166 /**
|
jpayne@69
|
1167 *
|
jpayne@69
|
1168 * @param c The connection
|
jpayne@69
|
1169 * @return A cookie
|
jpayne@69
|
1170 *
|
jpayne@69
|
1171 * Delivers a request to the X server.
|
jpayne@69
|
1172 *
|
jpayne@69
|
1173 */
|
jpayne@69
|
1174 xcb_void_cookie_t
|
jpayne@69
|
1175 xcb_xfixes_create_region_from_picture (xcb_connection_t *c,
|
jpayne@69
|
1176 xcb_xfixes_region_t region,
|
jpayne@69
|
1177 xcb_render_picture_t picture);
|
jpayne@69
|
1178
|
jpayne@69
|
1179 /**
|
jpayne@69
|
1180 *
|
jpayne@69
|
1181 * @param c The connection
|
jpayne@69
|
1182 * @return A cookie
|
jpayne@69
|
1183 *
|
jpayne@69
|
1184 * Delivers a request to the X server.
|
jpayne@69
|
1185 *
|
jpayne@69
|
1186 * This form can be used only if the request will not cause
|
jpayne@69
|
1187 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1188 * saved for handling by xcb_request_check().
|
jpayne@69
|
1189 */
|
jpayne@69
|
1190 xcb_void_cookie_t
|
jpayne@69
|
1191 xcb_xfixes_destroy_region_checked (xcb_connection_t *c,
|
jpayne@69
|
1192 xcb_xfixes_region_t region);
|
jpayne@69
|
1193
|
jpayne@69
|
1194 /**
|
jpayne@69
|
1195 *
|
jpayne@69
|
1196 * @param c The connection
|
jpayne@69
|
1197 * @return A cookie
|
jpayne@69
|
1198 *
|
jpayne@69
|
1199 * Delivers a request to the X server.
|
jpayne@69
|
1200 *
|
jpayne@69
|
1201 */
|
jpayne@69
|
1202 xcb_void_cookie_t
|
jpayne@69
|
1203 xcb_xfixes_destroy_region (xcb_connection_t *c,
|
jpayne@69
|
1204 xcb_xfixes_region_t region);
|
jpayne@69
|
1205
|
jpayne@69
|
1206 int
|
jpayne@69
|
1207 xcb_xfixes_set_region_sizeof (const void *_buffer,
|
jpayne@69
|
1208 uint32_t rectangles_len);
|
jpayne@69
|
1209
|
jpayne@69
|
1210 /**
|
jpayne@69
|
1211 *
|
jpayne@69
|
1212 * @param c The connection
|
jpayne@69
|
1213 * @return A cookie
|
jpayne@69
|
1214 *
|
jpayne@69
|
1215 * Delivers a request to the X server.
|
jpayne@69
|
1216 *
|
jpayne@69
|
1217 * This form can be used only if the request will not cause
|
jpayne@69
|
1218 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1219 * saved for handling by xcb_request_check().
|
jpayne@69
|
1220 */
|
jpayne@69
|
1221 xcb_void_cookie_t
|
jpayne@69
|
1222 xcb_xfixes_set_region_checked (xcb_connection_t *c,
|
jpayne@69
|
1223 xcb_xfixes_region_t region,
|
jpayne@69
|
1224 uint32_t rectangles_len,
|
jpayne@69
|
1225 const xcb_rectangle_t *rectangles);
|
jpayne@69
|
1226
|
jpayne@69
|
1227 /**
|
jpayne@69
|
1228 *
|
jpayne@69
|
1229 * @param c The connection
|
jpayne@69
|
1230 * @return A cookie
|
jpayne@69
|
1231 *
|
jpayne@69
|
1232 * Delivers a request to the X server.
|
jpayne@69
|
1233 *
|
jpayne@69
|
1234 */
|
jpayne@69
|
1235 xcb_void_cookie_t
|
jpayne@69
|
1236 xcb_xfixes_set_region (xcb_connection_t *c,
|
jpayne@69
|
1237 xcb_xfixes_region_t region,
|
jpayne@69
|
1238 uint32_t rectangles_len,
|
jpayne@69
|
1239 const xcb_rectangle_t *rectangles);
|
jpayne@69
|
1240
|
jpayne@69
|
1241 xcb_rectangle_t *
|
jpayne@69
|
1242 xcb_xfixes_set_region_rectangles (const xcb_xfixes_set_region_request_t *R);
|
jpayne@69
|
1243
|
jpayne@69
|
1244 int
|
jpayne@69
|
1245 xcb_xfixes_set_region_rectangles_length (const xcb_xfixes_set_region_request_t *R);
|
jpayne@69
|
1246
|
jpayne@69
|
1247 xcb_rectangle_iterator_t
|
jpayne@69
|
1248 xcb_xfixes_set_region_rectangles_iterator (const xcb_xfixes_set_region_request_t *R);
|
jpayne@69
|
1249
|
jpayne@69
|
1250 /**
|
jpayne@69
|
1251 *
|
jpayne@69
|
1252 * @param c The connection
|
jpayne@69
|
1253 * @return A cookie
|
jpayne@69
|
1254 *
|
jpayne@69
|
1255 * Delivers a request to the X server.
|
jpayne@69
|
1256 *
|
jpayne@69
|
1257 * This form can be used only if the request will not cause
|
jpayne@69
|
1258 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1259 * saved for handling by xcb_request_check().
|
jpayne@69
|
1260 */
|
jpayne@69
|
1261 xcb_void_cookie_t
|
jpayne@69
|
1262 xcb_xfixes_copy_region_checked (xcb_connection_t *c,
|
jpayne@69
|
1263 xcb_xfixes_region_t source,
|
jpayne@69
|
1264 xcb_xfixes_region_t destination);
|
jpayne@69
|
1265
|
jpayne@69
|
1266 /**
|
jpayne@69
|
1267 *
|
jpayne@69
|
1268 * @param c The connection
|
jpayne@69
|
1269 * @return A cookie
|
jpayne@69
|
1270 *
|
jpayne@69
|
1271 * Delivers a request to the X server.
|
jpayne@69
|
1272 *
|
jpayne@69
|
1273 */
|
jpayne@69
|
1274 xcb_void_cookie_t
|
jpayne@69
|
1275 xcb_xfixes_copy_region (xcb_connection_t *c,
|
jpayne@69
|
1276 xcb_xfixes_region_t source,
|
jpayne@69
|
1277 xcb_xfixes_region_t destination);
|
jpayne@69
|
1278
|
jpayne@69
|
1279 /**
|
jpayne@69
|
1280 *
|
jpayne@69
|
1281 * @param c The connection
|
jpayne@69
|
1282 * @return A cookie
|
jpayne@69
|
1283 *
|
jpayne@69
|
1284 * Delivers a request to the X server.
|
jpayne@69
|
1285 *
|
jpayne@69
|
1286 * This form can be used only if the request will not cause
|
jpayne@69
|
1287 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1288 * saved for handling by xcb_request_check().
|
jpayne@69
|
1289 */
|
jpayne@69
|
1290 xcb_void_cookie_t
|
jpayne@69
|
1291 xcb_xfixes_union_region_checked (xcb_connection_t *c,
|
jpayne@69
|
1292 xcb_xfixes_region_t source1,
|
jpayne@69
|
1293 xcb_xfixes_region_t source2,
|
jpayne@69
|
1294 xcb_xfixes_region_t destination);
|
jpayne@69
|
1295
|
jpayne@69
|
1296 /**
|
jpayne@69
|
1297 *
|
jpayne@69
|
1298 * @param c The connection
|
jpayne@69
|
1299 * @return A cookie
|
jpayne@69
|
1300 *
|
jpayne@69
|
1301 * Delivers a request to the X server.
|
jpayne@69
|
1302 *
|
jpayne@69
|
1303 */
|
jpayne@69
|
1304 xcb_void_cookie_t
|
jpayne@69
|
1305 xcb_xfixes_union_region (xcb_connection_t *c,
|
jpayne@69
|
1306 xcb_xfixes_region_t source1,
|
jpayne@69
|
1307 xcb_xfixes_region_t source2,
|
jpayne@69
|
1308 xcb_xfixes_region_t destination);
|
jpayne@69
|
1309
|
jpayne@69
|
1310 /**
|
jpayne@69
|
1311 *
|
jpayne@69
|
1312 * @param c The connection
|
jpayne@69
|
1313 * @return A cookie
|
jpayne@69
|
1314 *
|
jpayne@69
|
1315 * Delivers a request to the X server.
|
jpayne@69
|
1316 *
|
jpayne@69
|
1317 * This form can be used only if the request will not cause
|
jpayne@69
|
1318 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1319 * saved for handling by xcb_request_check().
|
jpayne@69
|
1320 */
|
jpayne@69
|
1321 xcb_void_cookie_t
|
jpayne@69
|
1322 xcb_xfixes_intersect_region_checked (xcb_connection_t *c,
|
jpayne@69
|
1323 xcb_xfixes_region_t source1,
|
jpayne@69
|
1324 xcb_xfixes_region_t source2,
|
jpayne@69
|
1325 xcb_xfixes_region_t destination);
|
jpayne@69
|
1326
|
jpayne@69
|
1327 /**
|
jpayne@69
|
1328 *
|
jpayne@69
|
1329 * @param c The connection
|
jpayne@69
|
1330 * @return A cookie
|
jpayne@69
|
1331 *
|
jpayne@69
|
1332 * Delivers a request to the X server.
|
jpayne@69
|
1333 *
|
jpayne@69
|
1334 */
|
jpayne@69
|
1335 xcb_void_cookie_t
|
jpayne@69
|
1336 xcb_xfixes_intersect_region (xcb_connection_t *c,
|
jpayne@69
|
1337 xcb_xfixes_region_t source1,
|
jpayne@69
|
1338 xcb_xfixes_region_t source2,
|
jpayne@69
|
1339 xcb_xfixes_region_t destination);
|
jpayne@69
|
1340
|
jpayne@69
|
1341 /**
|
jpayne@69
|
1342 *
|
jpayne@69
|
1343 * @param c The connection
|
jpayne@69
|
1344 * @return A cookie
|
jpayne@69
|
1345 *
|
jpayne@69
|
1346 * Delivers a request to the X server.
|
jpayne@69
|
1347 *
|
jpayne@69
|
1348 * This form can be used only if the request will not cause
|
jpayne@69
|
1349 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1350 * saved for handling by xcb_request_check().
|
jpayne@69
|
1351 */
|
jpayne@69
|
1352 xcb_void_cookie_t
|
jpayne@69
|
1353 xcb_xfixes_subtract_region_checked (xcb_connection_t *c,
|
jpayne@69
|
1354 xcb_xfixes_region_t source1,
|
jpayne@69
|
1355 xcb_xfixes_region_t source2,
|
jpayne@69
|
1356 xcb_xfixes_region_t destination);
|
jpayne@69
|
1357
|
jpayne@69
|
1358 /**
|
jpayne@69
|
1359 *
|
jpayne@69
|
1360 * @param c The connection
|
jpayne@69
|
1361 * @return A cookie
|
jpayne@69
|
1362 *
|
jpayne@69
|
1363 * Delivers a request to the X server.
|
jpayne@69
|
1364 *
|
jpayne@69
|
1365 */
|
jpayne@69
|
1366 xcb_void_cookie_t
|
jpayne@69
|
1367 xcb_xfixes_subtract_region (xcb_connection_t *c,
|
jpayne@69
|
1368 xcb_xfixes_region_t source1,
|
jpayne@69
|
1369 xcb_xfixes_region_t source2,
|
jpayne@69
|
1370 xcb_xfixes_region_t destination);
|
jpayne@69
|
1371
|
jpayne@69
|
1372 /**
|
jpayne@69
|
1373 *
|
jpayne@69
|
1374 * @param c The connection
|
jpayne@69
|
1375 * @return A cookie
|
jpayne@69
|
1376 *
|
jpayne@69
|
1377 * Delivers a request to the X server.
|
jpayne@69
|
1378 *
|
jpayne@69
|
1379 * This form can be used only if the request will not cause
|
jpayne@69
|
1380 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1381 * saved for handling by xcb_request_check().
|
jpayne@69
|
1382 */
|
jpayne@69
|
1383 xcb_void_cookie_t
|
jpayne@69
|
1384 xcb_xfixes_invert_region_checked (xcb_connection_t *c,
|
jpayne@69
|
1385 xcb_xfixes_region_t source,
|
jpayne@69
|
1386 xcb_rectangle_t bounds,
|
jpayne@69
|
1387 xcb_xfixes_region_t destination);
|
jpayne@69
|
1388
|
jpayne@69
|
1389 /**
|
jpayne@69
|
1390 *
|
jpayne@69
|
1391 * @param c The connection
|
jpayne@69
|
1392 * @return A cookie
|
jpayne@69
|
1393 *
|
jpayne@69
|
1394 * Delivers a request to the X server.
|
jpayne@69
|
1395 *
|
jpayne@69
|
1396 */
|
jpayne@69
|
1397 xcb_void_cookie_t
|
jpayne@69
|
1398 xcb_xfixes_invert_region (xcb_connection_t *c,
|
jpayne@69
|
1399 xcb_xfixes_region_t source,
|
jpayne@69
|
1400 xcb_rectangle_t bounds,
|
jpayne@69
|
1401 xcb_xfixes_region_t destination);
|
jpayne@69
|
1402
|
jpayne@69
|
1403 /**
|
jpayne@69
|
1404 *
|
jpayne@69
|
1405 * @param c The connection
|
jpayne@69
|
1406 * @return A cookie
|
jpayne@69
|
1407 *
|
jpayne@69
|
1408 * Delivers a request to the X server.
|
jpayne@69
|
1409 *
|
jpayne@69
|
1410 * This form can be used only if the request will not cause
|
jpayne@69
|
1411 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1412 * saved for handling by xcb_request_check().
|
jpayne@69
|
1413 */
|
jpayne@69
|
1414 xcb_void_cookie_t
|
jpayne@69
|
1415 xcb_xfixes_translate_region_checked (xcb_connection_t *c,
|
jpayne@69
|
1416 xcb_xfixes_region_t region,
|
jpayne@69
|
1417 int16_t dx,
|
jpayne@69
|
1418 int16_t dy);
|
jpayne@69
|
1419
|
jpayne@69
|
1420 /**
|
jpayne@69
|
1421 *
|
jpayne@69
|
1422 * @param c The connection
|
jpayne@69
|
1423 * @return A cookie
|
jpayne@69
|
1424 *
|
jpayne@69
|
1425 * Delivers a request to the X server.
|
jpayne@69
|
1426 *
|
jpayne@69
|
1427 */
|
jpayne@69
|
1428 xcb_void_cookie_t
|
jpayne@69
|
1429 xcb_xfixes_translate_region (xcb_connection_t *c,
|
jpayne@69
|
1430 xcb_xfixes_region_t region,
|
jpayne@69
|
1431 int16_t dx,
|
jpayne@69
|
1432 int16_t dy);
|
jpayne@69
|
1433
|
jpayne@69
|
1434 /**
|
jpayne@69
|
1435 *
|
jpayne@69
|
1436 * @param c The connection
|
jpayne@69
|
1437 * @return A cookie
|
jpayne@69
|
1438 *
|
jpayne@69
|
1439 * Delivers a request to the X server.
|
jpayne@69
|
1440 *
|
jpayne@69
|
1441 * This form can be used only if the request will not cause
|
jpayne@69
|
1442 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1443 * saved for handling by xcb_request_check().
|
jpayne@69
|
1444 */
|
jpayne@69
|
1445 xcb_void_cookie_t
|
jpayne@69
|
1446 xcb_xfixes_region_extents_checked (xcb_connection_t *c,
|
jpayne@69
|
1447 xcb_xfixes_region_t source,
|
jpayne@69
|
1448 xcb_xfixes_region_t destination);
|
jpayne@69
|
1449
|
jpayne@69
|
1450 /**
|
jpayne@69
|
1451 *
|
jpayne@69
|
1452 * @param c The connection
|
jpayne@69
|
1453 * @return A cookie
|
jpayne@69
|
1454 *
|
jpayne@69
|
1455 * Delivers a request to the X server.
|
jpayne@69
|
1456 *
|
jpayne@69
|
1457 */
|
jpayne@69
|
1458 xcb_void_cookie_t
|
jpayne@69
|
1459 xcb_xfixes_region_extents (xcb_connection_t *c,
|
jpayne@69
|
1460 xcb_xfixes_region_t source,
|
jpayne@69
|
1461 xcb_xfixes_region_t destination);
|
jpayne@69
|
1462
|
jpayne@69
|
1463 int
|
jpayne@69
|
1464 xcb_xfixes_fetch_region_sizeof (const void *_buffer);
|
jpayne@69
|
1465
|
jpayne@69
|
1466 /**
|
jpayne@69
|
1467 *
|
jpayne@69
|
1468 * @param c The connection
|
jpayne@69
|
1469 * @return A cookie
|
jpayne@69
|
1470 *
|
jpayne@69
|
1471 * Delivers a request to the X server.
|
jpayne@69
|
1472 *
|
jpayne@69
|
1473 */
|
jpayne@69
|
1474 xcb_xfixes_fetch_region_cookie_t
|
jpayne@69
|
1475 xcb_xfixes_fetch_region (xcb_connection_t *c,
|
jpayne@69
|
1476 xcb_xfixes_region_t region);
|
jpayne@69
|
1477
|
jpayne@69
|
1478 /**
|
jpayne@69
|
1479 *
|
jpayne@69
|
1480 * @param c The connection
|
jpayne@69
|
1481 * @return A cookie
|
jpayne@69
|
1482 *
|
jpayne@69
|
1483 * Delivers a request to the X server.
|
jpayne@69
|
1484 *
|
jpayne@69
|
1485 * This form can be used only if the request will cause
|
jpayne@69
|
1486 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1487 * placed in the event queue.
|
jpayne@69
|
1488 */
|
jpayne@69
|
1489 xcb_xfixes_fetch_region_cookie_t
|
jpayne@69
|
1490 xcb_xfixes_fetch_region_unchecked (xcb_connection_t *c,
|
jpayne@69
|
1491 xcb_xfixes_region_t region);
|
jpayne@69
|
1492
|
jpayne@69
|
1493 xcb_rectangle_t *
|
jpayne@69
|
1494 xcb_xfixes_fetch_region_rectangles (const xcb_xfixes_fetch_region_reply_t *R);
|
jpayne@69
|
1495
|
jpayne@69
|
1496 int
|
jpayne@69
|
1497 xcb_xfixes_fetch_region_rectangles_length (const xcb_xfixes_fetch_region_reply_t *R);
|
jpayne@69
|
1498
|
jpayne@69
|
1499 xcb_rectangle_iterator_t
|
jpayne@69
|
1500 xcb_xfixes_fetch_region_rectangles_iterator (const xcb_xfixes_fetch_region_reply_t *R);
|
jpayne@69
|
1501
|
jpayne@69
|
1502 /**
|
jpayne@69
|
1503 * Return the reply
|
jpayne@69
|
1504 * @param c The connection
|
jpayne@69
|
1505 * @param cookie The cookie
|
jpayne@69
|
1506 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
1507 *
|
jpayne@69
|
1508 * Returns the reply of the request asked by
|
jpayne@69
|
1509 *
|
jpayne@69
|
1510 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
1511 * xcb_xfixes_fetch_region_unchecked(). is used.
|
jpayne@69
|
1512 * Otherwise, it stores the error if any.
|
jpayne@69
|
1513 *
|
jpayne@69
|
1514 * The returned value must be freed by the caller using free().
|
jpayne@69
|
1515 */
|
jpayne@69
|
1516 xcb_xfixes_fetch_region_reply_t *
|
jpayne@69
|
1517 xcb_xfixes_fetch_region_reply (xcb_connection_t *c,
|
jpayne@69
|
1518 xcb_xfixes_fetch_region_cookie_t cookie /**< */,
|
jpayne@69
|
1519 xcb_generic_error_t **e);
|
jpayne@69
|
1520
|
jpayne@69
|
1521 /**
|
jpayne@69
|
1522 *
|
jpayne@69
|
1523 * @param c The connection
|
jpayne@69
|
1524 * @return A cookie
|
jpayne@69
|
1525 *
|
jpayne@69
|
1526 * Delivers a request to the X server.
|
jpayne@69
|
1527 *
|
jpayne@69
|
1528 * This form can be used only if the request will not cause
|
jpayne@69
|
1529 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1530 * saved for handling by xcb_request_check().
|
jpayne@69
|
1531 */
|
jpayne@69
|
1532 xcb_void_cookie_t
|
jpayne@69
|
1533 xcb_xfixes_set_gc_clip_region_checked (xcb_connection_t *c,
|
jpayne@69
|
1534 xcb_gcontext_t gc,
|
jpayne@69
|
1535 xcb_xfixes_region_t region,
|
jpayne@69
|
1536 int16_t x_origin,
|
jpayne@69
|
1537 int16_t y_origin);
|
jpayne@69
|
1538
|
jpayne@69
|
1539 /**
|
jpayne@69
|
1540 *
|
jpayne@69
|
1541 * @param c The connection
|
jpayne@69
|
1542 * @return A cookie
|
jpayne@69
|
1543 *
|
jpayne@69
|
1544 * Delivers a request to the X server.
|
jpayne@69
|
1545 *
|
jpayne@69
|
1546 */
|
jpayne@69
|
1547 xcb_void_cookie_t
|
jpayne@69
|
1548 xcb_xfixes_set_gc_clip_region (xcb_connection_t *c,
|
jpayne@69
|
1549 xcb_gcontext_t gc,
|
jpayne@69
|
1550 xcb_xfixes_region_t region,
|
jpayne@69
|
1551 int16_t x_origin,
|
jpayne@69
|
1552 int16_t y_origin);
|
jpayne@69
|
1553
|
jpayne@69
|
1554 /**
|
jpayne@69
|
1555 *
|
jpayne@69
|
1556 * @param c The connection
|
jpayne@69
|
1557 * @return A cookie
|
jpayne@69
|
1558 *
|
jpayne@69
|
1559 * Delivers a request to the X server.
|
jpayne@69
|
1560 *
|
jpayne@69
|
1561 * This form can be used only if the request will not cause
|
jpayne@69
|
1562 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1563 * saved for handling by xcb_request_check().
|
jpayne@69
|
1564 */
|
jpayne@69
|
1565 xcb_void_cookie_t
|
jpayne@69
|
1566 xcb_xfixes_set_window_shape_region_checked (xcb_connection_t *c,
|
jpayne@69
|
1567 xcb_window_t dest,
|
jpayne@69
|
1568 xcb_shape_kind_t dest_kind,
|
jpayne@69
|
1569 int16_t x_offset,
|
jpayne@69
|
1570 int16_t y_offset,
|
jpayne@69
|
1571 xcb_xfixes_region_t region);
|
jpayne@69
|
1572
|
jpayne@69
|
1573 /**
|
jpayne@69
|
1574 *
|
jpayne@69
|
1575 * @param c The connection
|
jpayne@69
|
1576 * @return A cookie
|
jpayne@69
|
1577 *
|
jpayne@69
|
1578 * Delivers a request to the X server.
|
jpayne@69
|
1579 *
|
jpayne@69
|
1580 */
|
jpayne@69
|
1581 xcb_void_cookie_t
|
jpayne@69
|
1582 xcb_xfixes_set_window_shape_region (xcb_connection_t *c,
|
jpayne@69
|
1583 xcb_window_t dest,
|
jpayne@69
|
1584 xcb_shape_kind_t dest_kind,
|
jpayne@69
|
1585 int16_t x_offset,
|
jpayne@69
|
1586 int16_t y_offset,
|
jpayne@69
|
1587 xcb_xfixes_region_t region);
|
jpayne@69
|
1588
|
jpayne@69
|
1589 /**
|
jpayne@69
|
1590 *
|
jpayne@69
|
1591 * @param c The connection
|
jpayne@69
|
1592 * @return A cookie
|
jpayne@69
|
1593 *
|
jpayne@69
|
1594 * Delivers a request to the X server.
|
jpayne@69
|
1595 *
|
jpayne@69
|
1596 * This form can be used only if the request will not cause
|
jpayne@69
|
1597 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1598 * saved for handling by xcb_request_check().
|
jpayne@69
|
1599 */
|
jpayne@69
|
1600 xcb_void_cookie_t
|
jpayne@69
|
1601 xcb_xfixes_set_picture_clip_region_checked (xcb_connection_t *c,
|
jpayne@69
|
1602 xcb_render_picture_t picture,
|
jpayne@69
|
1603 xcb_xfixes_region_t region,
|
jpayne@69
|
1604 int16_t x_origin,
|
jpayne@69
|
1605 int16_t y_origin);
|
jpayne@69
|
1606
|
jpayne@69
|
1607 /**
|
jpayne@69
|
1608 *
|
jpayne@69
|
1609 * @param c The connection
|
jpayne@69
|
1610 * @return A cookie
|
jpayne@69
|
1611 *
|
jpayne@69
|
1612 * Delivers a request to the X server.
|
jpayne@69
|
1613 *
|
jpayne@69
|
1614 */
|
jpayne@69
|
1615 xcb_void_cookie_t
|
jpayne@69
|
1616 xcb_xfixes_set_picture_clip_region (xcb_connection_t *c,
|
jpayne@69
|
1617 xcb_render_picture_t picture,
|
jpayne@69
|
1618 xcb_xfixes_region_t region,
|
jpayne@69
|
1619 int16_t x_origin,
|
jpayne@69
|
1620 int16_t y_origin);
|
jpayne@69
|
1621
|
jpayne@69
|
1622 int
|
jpayne@69
|
1623 xcb_xfixes_set_cursor_name_sizeof (const void *_buffer);
|
jpayne@69
|
1624
|
jpayne@69
|
1625 /**
|
jpayne@69
|
1626 *
|
jpayne@69
|
1627 * @param c The connection
|
jpayne@69
|
1628 * @return A cookie
|
jpayne@69
|
1629 *
|
jpayne@69
|
1630 * Delivers a request to the X server.
|
jpayne@69
|
1631 *
|
jpayne@69
|
1632 * This form can be used only if the request will not cause
|
jpayne@69
|
1633 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1634 * saved for handling by xcb_request_check().
|
jpayne@69
|
1635 */
|
jpayne@69
|
1636 xcb_void_cookie_t
|
jpayne@69
|
1637 xcb_xfixes_set_cursor_name_checked (xcb_connection_t *c,
|
jpayne@69
|
1638 xcb_cursor_t cursor,
|
jpayne@69
|
1639 uint16_t nbytes,
|
jpayne@69
|
1640 const char *name);
|
jpayne@69
|
1641
|
jpayne@69
|
1642 /**
|
jpayne@69
|
1643 *
|
jpayne@69
|
1644 * @param c The connection
|
jpayne@69
|
1645 * @return A cookie
|
jpayne@69
|
1646 *
|
jpayne@69
|
1647 * Delivers a request to the X server.
|
jpayne@69
|
1648 *
|
jpayne@69
|
1649 */
|
jpayne@69
|
1650 xcb_void_cookie_t
|
jpayne@69
|
1651 xcb_xfixes_set_cursor_name (xcb_connection_t *c,
|
jpayne@69
|
1652 xcb_cursor_t cursor,
|
jpayne@69
|
1653 uint16_t nbytes,
|
jpayne@69
|
1654 const char *name);
|
jpayne@69
|
1655
|
jpayne@69
|
1656 char *
|
jpayne@69
|
1657 xcb_xfixes_set_cursor_name_name (const xcb_xfixes_set_cursor_name_request_t *R);
|
jpayne@69
|
1658
|
jpayne@69
|
1659 int
|
jpayne@69
|
1660 xcb_xfixes_set_cursor_name_name_length (const xcb_xfixes_set_cursor_name_request_t *R);
|
jpayne@69
|
1661
|
jpayne@69
|
1662 xcb_generic_iterator_t
|
jpayne@69
|
1663 xcb_xfixes_set_cursor_name_name_end (const xcb_xfixes_set_cursor_name_request_t *R);
|
jpayne@69
|
1664
|
jpayne@69
|
1665 int
|
jpayne@69
|
1666 xcb_xfixes_get_cursor_name_sizeof (const void *_buffer);
|
jpayne@69
|
1667
|
jpayne@69
|
1668 /**
|
jpayne@69
|
1669 *
|
jpayne@69
|
1670 * @param c The connection
|
jpayne@69
|
1671 * @return A cookie
|
jpayne@69
|
1672 *
|
jpayne@69
|
1673 * Delivers a request to the X server.
|
jpayne@69
|
1674 *
|
jpayne@69
|
1675 */
|
jpayne@69
|
1676 xcb_xfixes_get_cursor_name_cookie_t
|
jpayne@69
|
1677 xcb_xfixes_get_cursor_name (xcb_connection_t *c,
|
jpayne@69
|
1678 xcb_cursor_t cursor);
|
jpayne@69
|
1679
|
jpayne@69
|
1680 /**
|
jpayne@69
|
1681 *
|
jpayne@69
|
1682 * @param c The connection
|
jpayne@69
|
1683 * @return A cookie
|
jpayne@69
|
1684 *
|
jpayne@69
|
1685 * Delivers a request to the X server.
|
jpayne@69
|
1686 *
|
jpayne@69
|
1687 * This form can be used only if the request will cause
|
jpayne@69
|
1688 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1689 * placed in the event queue.
|
jpayne@69
|
1690 */
|
jpayne@69
|
1691 xcb_xfixes_get_cursor_name_cookie_t
|
jpayne@69
|
1692 xcb_xfixes_get_cursor_name_unchecked (xcb_connection_t *c,
|
jpayne@69
|
1693 xcb_cursor_t cursor);
|
jpayne@69
|
1694
|
jpayne@69
|
1695 char *
|
jpayne@69
|
1696 xcb_xfixes_get_cursor_name_name (const xcb_xfixes_get_cursor_name_reply_t *R);
|
jpayne@69
|
1697
|
jpayne@69
|
1698 int
|
jpayne@69
|
1699 xcb_xfixes_get_cursor_name_name_length (const xcb_xfixes_get_cursor_name_reply_t *R);
|
jpayne@69
|
1700
|
jpayne@69
|
1701 xcb_generic_iterator_t
|
jpayne@69
|
1702 xcb_xfixes_get_cursor_name_name_end (const xcb_xfixes_get_cursor_name_reply_t *R);
|
jpayne@69
|
1703
|
jpayne@69
|
1704 /**
|
jpayne@69
|
1705 * Return the reply
|
jpayne@69
|
1706 * @param c The connection
|
jpayne@69
|
1707 * @param cookie The cookie
|
jpayne@69
|
1708 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
1709 *
|
jpayne@69
|
1710 * Returns the reply of the request asked by
|
jpayne@69
|
1711 *
|
jpayne@69
|
1712 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
1713 * xcb_xfixes_get_cursor_name_unchecked(). is used.
|
jpayne@69
|
1714 * Otherwise, it stores the error if any.
|
jpayne@69
|
1715 *
|
jpayne@69
|
1716 * The returned value must be freed by the caller using free().
|
jpayne@69
|
1717 */
|
jpayne@69
|
1718 xcb_xfixes_get_cursor_name_reply_t *
|
jpayne@69
|
1719 xcb_xfixes_get_cursor_name_reply (xcb_connection_t *c,
|
jpayne@69
|
1720 xcb_xfixes_get_cursor_name_cookie_t cookie /**< */,
|
jpayne@69
|
1721 xcb_generic_error_t **e);
|
jpayne@69
|
1722
|
jpayne@69
|
1723 int
|
jpayne@69
|
1724 xcb_xfixes_get_cursor_image_and_name_sizeof (const void *_buffer);
|
jpayne@69
|
1725
|
jpayne@69
|
1726 /**
|
jpayne@69
|
1727 *
|
jpayne@69
|
1728 * @param c The connection
|
jpayne@69
|
1729 * @return A cookie
|
jpayne@69
|
1730 *
|
jpayne@69
|
1731 * Delivers a request to the X server.
|
jpayne@69
|
1732 *
|
jpayne@69
|
1733 */
|
jpayne@69
|
1734 xcb_xfixes_get_cursor_image_and_name_cookie_t
|
jpayne@69
|
1735 xcb_xfixes_get_cursor_image_and_name (xcb_connection_t *c);
|
jpayne@69
|
1736
|
jpayne@69
|
1737 /**
|
jpayne@69
|
1738 *
|
jpayne@69
|
1739 * @param c The connection
|
jpayne@69
|
1740 * @return A cookie
|
jpayne@69
|
1741 *
|
jpayne@69
|
1742 * Delivers a request to the X server.
|
jpayne@69
|
1743 *
|
jpayne@69
|
1744 * This form can be used only if the request will cause
|
jpayne@69
|
1745 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1746 * placed in the event queue.
|
jpayne@69
|
1747 */
|
jpayne@69
|
1748 xcb_xfixes_get_cursor_image_and_name_cookie_t
|
jpayne@69
|
1749 xcb_xfixes_get_cursor_image_and_name_unchecked (xcb_connection_t *c);
|
jpayne@69
|
1750
|
jpayne@69
|
1751 uint32_t *
|
jpayne@69
|
1752 xcb_xfixes_get_cursor_image_and_name_cursor_image (const xcb_xfixes_get_cursor_image_and_name_reply_t *R);
|
jpayne@69
|
1753
|
jpayne@69
|
1754 int
|
jpayne@69
|
1755 xcb_xfixes_get_cursor_image_and_name_cursor_image_length (const xcb_xfixes_get_cursor_image_and_name_reply_t *R);
|
jpayne@69
|
1756
|
jpayne@69
|
1757 xcb_generic_iterator_t
|
jpayne@69
|
1758 xcb_xfixes_get_cursor_image_and_name_cursor_image_end (const xcb_xfixes_get_cursor_image_and_name_reply_t *R);
|
jpayne@69
|
1759
|
jpayne@69
|
1760 char *
|
jpayne@69
|
1761 xcb_xfixes_get_cursor_image_and_name_name (const xcb_xfixes_get_cursor_image_and_name_reply_t *R);
|
jpayne@69
|
1762
|
jpayne@69
|
1763 int
|
jpayne@69
|
1764 xcb_xfixes_get_cursor_image_and_name_name_length (const xcb_xfixes_get_cursor_image_and_name_reply_t *R);
|
jpayne@69
|
1765
|
jpayne@69
|
1766 xcb_generic_iterator_t
|
jpayne@69
|
1767 xcb_xfixes_get_cursor_image_and_name_name_end (const xcb_xfixes_get_cursor_image_and_name_reply_t *R);
|
jpayne@69
|
1768
|
jpayne@69
|
1769 /**
|
jpayne@69
|
1770 * Return the reply
|
jpayne@69
|
1771 * @param c The connection
|
jpayne@69
|
1772 * @param cookie The cookie
|
jpayne@69
|
1773 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
1774 *
|
jpayne@69
|
1775 * Returns the reply of the request asked by
|
jpayne@69
|
1776 *
|
jpayne@69
|
1777 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
1778 * xcb_xfixes_get_cursor_image_and_name_unchecked(). is used.
|
jpayne@69
|
1779 * Otherwise, it stores the error if any.
|
jpayne@69
|
1780 *
|
jpayne@69
|
1781 * The returned value must be freed by the caller using free().
|
jpayne@69
|
1782 */
|
jpayne@69
|
1783 xcb_xfixes_get_cursor_image_and_name_reply_t *
|
jpayne@69
|
1784 xcb_xfixes_get_cursor_image_and_name_reply (xcb_connection_t *c,
|
jpayne@69
|
1785 xcb_xfixes_get_cursor_image_and_name_cookie_t cookie /**< */,
|
jpayne@69
|
1786 xcb_generic_error_t **e);
|
jpayne@69
|
1787
|
jpayne@69
|
1788 /**
|
jpayne@69
|
1789 *
|
jpayne@69
|
1790 * @param c The connection
|
jpayne@69
|
1791 * @return A cookie
|
jpayne@69
|
1792 *
|
jpayne@69
|
1793 * Delivers a request to the X server.
|
jpayne@69
|
1794 *
|
jpayne@69
|
1795 * This form can be used only if the request will not cause
|
jpayne@69
|
1796 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1797 * saved for handling by xcb_request_check().
|
jpayne@69
|
1798 */
|
jpayne@69
|
1799 xcb_void_cookie_t
|
jpayne@69
|
1800 xcb_xfixes_change_cursor_checked (xcb_connection_t *c,
|
jpayne@69
|
1801 xcb_cursor_t source,
|
jpayne@69
|
1802 xcb_cursor_t destination);
|
jpayne@69
|
1803
|
jpayne@69
|
1804 /**
|
jpayne@69
|
1805 *
|
jpayne@69
|
1806 * @param c The connection
|
jpayne@69
|
1807 * @return A cookie
|
jpayne@69
|
1808 *
|
jpayne@69
|
1809 * Delivers a request to the X server.
|
jpayne@69
|
1810 *
|
jpayne@69
|
1811 */
|
jpayne@69
|
1812 xcb_void_cookie_t
|
jpayne@69
|
1813 xcb_xfixes_change_cursor (xcb_connection_t *c,
|
jpayne@69
|
1814 xcb_cursor_t source,
|
jpayne@69
|
1815 xcb_cursor_t destination);
|
jpayne@69
|
1816
|
jpayne@69
|
1817 int
|
jpayne@69
|
1818 xcb_xfixes_change_cursor_by_name_sizeof (const void *_buffer);
|
jpayne@69
|
1819
|
jpayne@69
|
1820 /**
|
jpayne@69
|
1821 *
|
jpayne@69
|
1822 * @param c The connection
|
jpayne@69
|
1823 * @return A cookie
|
jpayne@69
|
1824 *
|
jpayne@69
|
1825 * Delivers a request to the X server.
|
jpayne@69
|
1826 *
|
jpayne@69
|
1827 * This form can be used only if the request will not cause
|
jpayne@69
|
1828 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1829 * saved for handling by xcb_request_check().
|
jpayne@69
|
1830 */
|
jpayne@69
|
1831 xcb_void_cookie_t
|
jpayne@69
|
1832 xcb_xfixes_change_cursor_by_name_checked (xcb_connection_t *c,
|
jpayne@69
|
1833 xcb_cursor_t src,
|
jpayne@69
|
1834 uint16_t nbytes,
|
jpayne@69
|
1835 const char *name);
|
jpayne@69
|
1836
|
jpayne@69
|
1837 /**
|
jpayne@69
|
1838 *
|
jpayne@69
|
1839 * @param c The connection
|
jpayne@69
|
1840 * @return A cookie
|
jpayne@69
|
1841 *
|
jpayne@69
|
1842 * Delivers a request to the X server.
|
jpayne@69
|
1843 *
|
jpayne@69
|
1844 */
|
jpayne@69
|
1845 xcb_void_cookie_t
|
jpayne@69
|
1846 xcb_xfixes_change_cursor_by_name (xcb_connection_t *c,
|
jpayne@69
|
1847 xcb_cursor_t src,
|
jpayne@69
|
1848 uint16_t nbytes,
|
jpayne@69
|
1849 const char *name);
|
jpayne@69
|
1850
|
jpayne@69
|
1851 char *
|
jpayne@69
|
1852 xcb_xfixes_change_cursor_by_name_name (const xcb_xfixes_change_cursor_by_name_request_t *R);
|
jpayne@69
|
1853
|
jpayne@69
|
1854 int
|
jpayne@69
|
1855 xcb_xfixes_change_cursor_by_name_name_length (const xcb_xfixes_change_cursor_by_name_request_t *R);
|
jpayne@69
|
1856
|
jpayne@69
|
1857 xcb_generic_iterator_t
|
jpayne@69
|
1858 xcb_xfixes_change_cursor_by_name_name_end (const xcb_xfixes_change_cursor_by_name_request_t *R);
|
jpayne@69
|
1859
|
jpayne@69
|
1860 /**
|
jpayne@69
|
1861 *
|
jpayne@69
|
1862 * @param c The connection
|
jpayne@69
|
1863 * @return A cookie
|
jpayne@69
|
1864 *
|
jpayne@69
|
1865 * Delivers a request to the X server.
|
jpayne@69
|
1866 *
|
jpayne@69
|
1867 * This form can be used only if the request will not cause
|
jpayne@69
|
1868 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1869 * saved for handling by xcb_request_check().
|
jpayne@69
|
1870 */
|
jpayne@69
|
1871 xcb_void_cookie_t
|
jpayne@69
|
1872 xcb_xfixes_expand_region_checked (xcb_connection_t *c,
|
jpayne@69
|
1873 xcb_xfixes_region_t source,
|
jpayne@69
|
1874 xcb_xfixes_region_t destination,
|
jpayne@69
|
1875 uint16_t left,
|
jpayne@69
|
1876 uint16_t right,
|
jpayne@69
|
1877 uint16_t top,
|
jpayne@69
|
1878 uint16_t bottom);
|
jpayne@69
|
1879
|
jpayne@69
|
1880 /**
|
jpayne@69
|
1881 *
|
jpayne@69
|
1882 * @param c The connection
|
jpayne@69
|
1883 * @return A cookie
|
jpayne@69
|
1884 *
|
jpayne@69
|
1885 * Delivers a request to the X server.
|
jpayne@69
|
1886 *
|
jpayne@69
|
1887 */
|
jpayne@69
|
1888 xcb_void_cookie_t
|
jpayne@69
|
1889 xcb_xfixes_expand_region (xcb_connection_t *c,
|
jpayne@69
|
1890 xcb_xfixes_region_t source,
|
jpayne@69
|
1891 xcb_xfixes_region_t destination,
|
jpayne@69
|
1892 uint16_t left,
|
jpayne@69
|
1893 uint16_t right,
|
jpayne@69
|
1894 uint16_t top,
|
jpayne@69
|
1895 uint16_t bottom);
|
jpayne@69
|
1896
|
jpayne@69
|
1897 /**
|
jpayne@69
|
1898 *
|
jpayne@69
|
1899 * @param c The connection
|
jpayne@69
|
1900 * @return A cookie
|
jpayne@69
|
1901 *
|
jpayne@69
|
1902 * Delivers a request to the X server.
|
jpayne@69
|
1903 *
|
jpayne@69
|
1904 * This form can be used only if the request will not cause
|
jpayne@69
|
1905 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1906 * saved for handling by xcb_request_check().
|
jpayne@69
|
1907 */
|
jpayne@69
|
1908 xcb_void_cookie_t
|
jpayne@69
|
1909 xcb_xfixes_hide_cursor_checked (xcb_connection_t *c,
|
jpayne@69
|
1910 xcb_window_t window);
|
jpayne@69
|
1911
|
jpayne@69
|
1912 /**
|
jpayne@69
|
1913 *
|
jpayne@69
|
1914 * @param c The connection
|
jpayne@69
|
1915 * @return A cookie
|
jpayne@69
|
1916 *
|
jpayne@69
|
1917 * Delivers a request to the X server.
|
jpayne@69
|
1918 *
|
jpayne@69
|
1919 */
|
jpayne@69
|
1920 xcb_void_cookie_t
|
jpayne@69
|
1921 xcb_xfixes_hide_cursor (xcb_connection_t *c,
|
jpayne@69
|
1922 xcb_window_t window);
|
jpayne@69
|
1923
|
jpayne@69
|
1924 /**
|
jpayne@69
|
1925 *
|
jpayne@69
|
1926 * @param c The connection
|
jpayne@69
|
1927 * @return A cookie
|
jpayne@69
|
1928 *
|
jpayne@69
|
1929 * Delivers a request to the X server.
|
jpayne@69
|
1930 *
|
jpayne@69
|
1931 * This form can be used only if the request will not cause
|
jpayne@69
|
1932 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1933 * saved for handling by xcb_request_check().
|
jpayne@69
|
1934 */
|
jpayne@69
|
1935 xcb_void_cookie_t
|
jpayne@69
|
1936 xcb_xfixes_show_cursor_checked (xcb_connection_t *c,
|
jpayne@69
|
1937 xcb_window_t window);
|
jpayne@69
|
1938
|
jpayne@69
|
1939 /**
|
jpayne@69
|
1940 *
|
jpayne@69
|
1941 * @param c The connection
|
jpayne@69
|
1942 * @return A cookie
|
jpayne@69
|
1943 *
|
jpayne@69
|
1944 * Delivers a request to the X server.
|
jpayne@69
|
1945 *
|
jpayne@69
|
1946 */
|
jpayne@69
|
1947 xcb_void_cookie_t
|
jpayne@69
|
1948 xcb_xfixes_show_cursor (xcb_connection_t *c,
|
jpayne@69
|
1949 xcb_window_t window);
|
jpayne@69
|
1950
|
jpayne@69
|
1951 /**
|
jpayne@69
|
1952 * Get the next element of the iterator
|
jpayne@69
|
1953 * @param i Pointer to a xcb_xfixes_barrier_iterator_t
|
jpayne@69
|
1954 *
|
jpayne@69
|
1955 * Get the next element in the iterator. The member rem is
|
jpayne@69
|
1956 * decreased by one. The member data points to the next
|
jpayne@69
|
1957 * element. The member index is increased by sizeof(xcb_xfixes_barrier_t)
|
jpayne@69
|
1958 */
|
jpayne@69
|
1959 void
|
jpayne@69
|
1960 xcb_xfixes_barrier_next (xcb_xfixes_barrier_iterator_t *i);
|
jpayne@69
|
1961
|
jpayne@69
|
1962 /**
|
jpayne@69
|
1963 * Return the iterator pointing to the last element
|
jpayne@69
|
1964 * @param i An xcb_xfixes_barrier_iterator_t
|
jpayne@69
|
1965 * @return The iterator pointing to the last element
|
jpayne@69
|
1966 *
|
jpayne@69
|
1967 * Set the current element in the iterator to the last element.
|
jpayne@69
|
1968 * The member rem is set to 0. The member data points to the
|
jpayne@69
|
1969 * last element.
|
jpayne@69
|
1970 */
|
jpayne@69
|
1971 xcb_generic_iterator_t
|
jpayne@69
|
1972 xcb_xfixes_barrier_end (xcb_xfixes_barrier_iterator_t i);
|
jpayne@69
|
1973
|
jpayne@69
|
1974 int
|
jpayne@69
|
1975 xcb_xfixes_create_pointer_barrier_sizeof (const void *_buffer);
|
jpayne@69
|
1976
|
jpayne@69
|
1977 /**
|
jpayne@69
|
1978 *
|
jpayne@69
|
1979 * @param c The connection
|
jpayne@69
|
1980 * @return A cookie
|
jpayne@69
|
1981 *
|
jpayne@69
|
1982 * Delivers a request to the X server.
|
jpayne@69
|
1983 *
|
jpayne@69
|
1984 * This form can be used only if the request will not cause
|
jpayne@69
|
1985 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1986 * saved for handling by xcb_request_check().
|
jpayne@69
|
1987 */
|
jpayne@69
|
1988 xcb_void_cookie_t
|
jpayne@69
|
1989 xcb_xfixes_create_pointer_barrier_checked (xcb_connection_t *c,
|
jpayne@69
|
1990 xcb_xfixes_barrier_t barrier,
|
jpayne@69
|
1991 xcb_window_t window,
|
jpayne@69
|
1992 uint16_t x1,
|
jpayne@69
|
1993 uint16_t y1,
|
jpayne@69
|
1994 uint16_t x2,
|
jpayne@69
|
1995 uint16_t y2,
|
jpayne@69
|
1996 uint32_t directions,
|
jpayne@69
|
1997 uint16_t num_devices,
|
jpayne@69
|
1998 const uint16_t *devices);
|
jpayne@69
|
1999
|
jpayne@69
|
2000 /**
|
jpayne@69
|
2001 *
|
jpayne@69
|
2002 * @param c The connection
|
jpayne@69
|
2003 * @return A cookie
|
jpayne@69
|
2004 *
|
jpayne@69
|
2005 * Delivers a request to the X server.
|
jpayne@69
|
2006 *
|
jpayne@69
|
2007 */
|
jpayne@69
|
2008 xcb_void_cookie_t
|
jpayne@69
|
2009 xcb_xfixes_create_pointer_barrier (xcb_connection_t *c,
|
jpayne@69
|
2010 xcb_xfixes_barrier_t barrier,
|
jpayne@69
|
2011 xcb_window_t window,
|
jpayne@69
|
2012 uint16_t x1,
|
jpayne@69
|
2013 uint16_t y1,
|
jpayne@69
|
2014 uint16_t x2,
|
jpayne@69
|
2015 uint16_t y2,
|
jpayne@69
|
2016 uint32_t directions,
|
jpayne@69
|
2017 uint16_t num_devices,
|
jpayne@69
|
2018 const uint16_t *devices);
|
jpayne@69
|
2019
|
jpayne@69
|
2020 uint16_t *
|
jpayne@69
|
2021 xcb_xfixes_create_pointer_barrier_devices (const xcb_xfixes_create_pointer_barrier_request_t *R);
|
jpayne@69
|
2022
|
jpayne@69
|
2023 int
|
jpayne@69
|
2024 xcb_xfixes_create_pointer_barrier_devices_length (const xcb_xfixes_create_pointer_barrier_request_t *R);
|
jpayne@69
|
2025
|
jpayne@69
|
2026 xcb_generic_iterator_t
|
jpayne@69
|
2027 xcb_xfixes_create_pointer_barrier_devices_end (const xcb_xfixes_create_pointer_barrier_request_t *R);
|
jpayne@69
|
2028
|
jpayne@69
|
2029 /**
|
jpayne@69
|
2030 *
|
jpayne@69
|
2031 * @param c The connection
|
jpayne@69
|
2032 * @return A cookie
|
jpayne@69
|
2033 *
|
jpayne@69
|
2034 * Delivers a request to the X server.
|
jpayne@69
|
2035 *
|
jpayne@69
|
2036 * This form can be used only if the request will not cause
|
jpayne@69
|
2037 * a reply to be generated. Any returned error will be
|
jpayne@69
|
2038 * saved for handling by xcb_request_check().
|
jpayne@69
|
2039 */
|
jpayne@69
|
2040 xcb_void_cookie_t
|
jpayne@69
|
2041 xcb_xfixes_delete_pointer_barrier_checked (xcb_connection_t *c,
|
jpayne@69
|
2042 xcb_xfixes_barrier_t barrier);
|
jpayne@69
|
2043
|
jpayne@69
|
2044 /**
|
jpayne@69
|
2045 *
|
jpayne@69
|
2046 * @param c The connection
|
jpayne@69
|
2047 * @return A cookie
|
jpayne@69
|
2048 *
|
jpayne@69
|
2049 * Delivers a request to the X server.
|
jpayne@69
|
2050 *
|
jpayne@69
|
2051 */
|
jpayne@69
|
2052 xcb_void_cookie_t
|
jpayne@69
|
2053 xcb_xfixes_delete_pointer_barrier (xcb_connection_t *c,
|
jpayne@69
|
2054 xcb_xfixes_barrier_t barrier);
|
jpayne@69
|
2055
|
jpayne@69
|
2056 /**
|
jpayne@69
|
2057 * @brief Sets the disconnect mode for the client.
|
jpayne@69
|
2058 *
|
jpayne@69
|
2059 * @param c The connection
|
jpayne@69
|
2060 * @param disconnect_mode The new disconnect mode.
|
jpayne@69
|
2061 * @return A cookie
|
jpayne@69
|
2062 *
|
jpayne@69
|
2063 * No description yet
|
jpayne@69
|
2064 *
|
jpayne@69
|
2065 * This form can be used only if the request will not cause
|
jpayne@69
|
2066 * a reply to be generated. Any returned error will be
|
jpayne@69
|
2067 * saved for handling by xcb_request_check().
|
jpayne@69
|
2068 */
|
jpayne@69
|
2069 xcb_void_cookie_t
|
jpayne@69
|
2070 xcb_xfixes_set_client_disconnect_mode_checked (xcb_connection_t *c,
|
jpayne@69
|
2071 uint32_t disconnect_mode);
|
jpayne@69
|
2072
|
jpayne@69
|
2073 /**
|
jpayne@69
|
2074 * @brief Sets the disconnect mode for the client.
|
jpayne@69
|
2075 *
|
jpayne@69
|
2076 * @param c The connection
|
jpayne@69
|
2077 * @param disconnect_mode The new disconnect mode.
|
jpayne@69
|
2078 * @return A cookie
|
jpayne@69
|
2079 *
|
jpayne@69
|
2080 * No description yet
|
jpayne@69
|
2081 *
|
jpayne@69
|
2082 */
|
jpayne@69
|
2083 xcb_void_cookie_t
|
jpayne@69
|
2084 xcb_xfixes_set_client_disconnect_mode (xcb_connection_t *c,
|
jpayne@69
|
2085 uint32_t disconnect_mode);
|
jpayne@69
|
2086
|
jpayne@69
|
2087 /**
|
jpayne@69
|
2088 *
|
jpayne@69
|
2089 * @param c The connection
|
jpayne@69
|
2090 * @return A cookie
|
jpayne@69
|
2091 *
|
jpayne@69
|
2092 * Delivers a request to the X server.
|
jpayne@69
|
2093 *
|
jpayne@69
|
2094 */
|
jpayne@69
|
2095 xcb_xfixes_get_client_disconnect_mode_cookie_t
|
jpayne@69
|
2096 xcb_xfixes_get_client_disconnect_mode (xcb_connection_t *c);
|
jpayne@69
|
2097
|
jpayne@69
|
2098 /**
|
jpayne@69
|
2099 *
|
jpayne@69
|
2100 * @param c The connection
|
jpayne@69
|
2101 * @return A cookie
|
jpayne@69
|
2102 *
|
jpayne@69
|
2103 * Delivers a request to the X server.
|
jpayne@69
|
2104 *
|
jpayne@69
|
2105 * This form can be used only if the request will cause
|
jpayne@69
|
2106 * a reply to be generated. Any returned error will be
|
jpayne@69
|
2107 * placed in the event queue.
|
jpayne@69
|
2108 */
|
jpayne@69
|
2109 xcb_xfixes_get_client_disconnect_mode_cookie_t
|
jpayne@69
|
2110 xcb_xfixes_get_client_disconnect_mode_unchecked (xcb_connection_t *c);
|
jpayne@69
|
2111
|
jpayne@69
|
2112 /**
|
jpayne@69
|
2113 * Return the reply
|
jpayne@69
|
2114 * @param c The connection
|
jpayne@69
|
2115 * @param cookie The cookie
|
jpayne@69
|
2116 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
2117 *
|
jpayne@69
|
2118 * Returns the reply of the request asked by
|
jpayne@69
|
2119 *
|
jpayne@69
|
2120 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
2121 * xcb_xfixes_get_client_disconnect_mode_unchecked(). is used.
|
jpayne@69
|
2122 * Otherwise, it stores the error if any.
|
jpayne@69
|
2123 *
|
jpayne@69
|
2124 * The returned value must be freed by the caller using free().
|
jpayne@69
|
2125 */
|
jpayne@69
|
2126 xcb_xfixes_get_client_disconnect_mode_reply_t *
|
jpayne@69
|
2127 xcb_xfixes_get_client_disconnect_mode_reply (xcb_connection_t *c,
|
jpayne@69
|
2128 xcb_xfixes_get_client_disconnect_mode_cookie_t cookie /**< */,
|
jpayne@69
|
2129 xcb_generic_error_t **e);
|
jpayne@69
|
2130
|
jpayne@69
|
2131
|
jpayne@69
|
2132 #ifdef __cplusplus
|
jpayne@69
|
2133 }
|
jpayne@69
|
2134 #endif
|
jpayne@69
|
2135
|
jpayne@69
|
2136 #endif
|
jpayne@69
|
2137
|
jpayne@69
|
2138 /**
|
jpayne@69
|
2139 * @}
|
jpayne@69
|
2140 */
|