1/*
2 * This file generated automatically from xfixes.xml by c_client.py.
3 * Edit at your peril.
4 */
5
6/**
7 * @defgroup XCB_XFixes_API XCB XFixes API
8 * @brief XFixes XCB Protocol Implementation.
9 * @{
10 **/
11
12#ifndef __XFIXES_H
13#define __XFIXES_H
14
15#include "xcb.h"
16#include "xproto.h"
17#include "render.h"
18#include "shape.h"
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
24#define XCB_XFIXES_MAJOR_VERSION 5
25#define XCB_XFIXES_MINOR_VERSION 0
26
27extern xcb_extension_t xcb_xfixes_id;
28
29/**
30 * @brief xcb_xfixes_query_version_cookie_t
31 **/
32typedef struct xcb_xfixes_query_version_cookie_t {
33 unsigned int sequence; /**< */
34} xcb_xfixes_query_version_cookie_t;
35
36/** Opcode for xcb_xfixes_query_version. */
37#define XCB_XFIXES_QUERY_VERSION 0
38
39/**
40 * @brief xcb_xfixes_query_version_request_t
41 **/
42typedef struct xcb_xfixes_query_version_request_t {
43 uint8_t major_opcode; /**< */
44 uint8_t minor_opcode; /**< */
45 uint16_t length; /**< */
46 uint32_t client_major_version; /**< */
47 uint32_t client_minor_version; /**< */
48} xcb_xfixes_query_version_request_t;
49
50/**
51 * @brief xcb_xfixes_query_version_reply_t
52 **/
53typedef struct xcb_xfixes_query_version_reply_t {
54 uint8_t response_type; /**< */
55 uint8_t pad0; /**< */
56 uint16_t sequence; /**< */
57 uint32_t length; /**< */
58 uint32_t major_version; /**< */
59 uint32_t minor_version; /**< */
60 uint8_t pad1[16]; /**< */
61} xcb_xfixes_query_version_reply_t;
62
63typedef enum xcb_xfixes_save_set_mode_t {
64 XCB_XFIXES_SAVE_SET_MODE_INSERT = 0,
65 XCB_XFIXES_SAVE_SET_MODE_DELETE = 1
66} xcb_xfixes_save_set_mode_t;
67
68typedef enum xcb_xfixes_save_set_target_t {
69 XCB_XFIXES_SAVE_SET_TARGET_NEAREST = 0,
70 XCB_XFIXES_SAVE_SET_TARGET_ROOT = 1
71} xcb_xfixes_save_set_target_t;
72
73typedef enum xcb_xfixes_save_set_mapping_t {
74 XCB_XFIXES_SAVE_SET_MAPPING_MAP = 0,
75 XCB_XFIXES_SAVE_SET_MAPPING_UNMAP = 1
76} xcb_xfixes_save_set_mapping_t;
77
78/** Opcode for xcb_xfixes_change_save_set. */
79#define XCB_XFIXES_CHANGE_SAVE_SET 1
80
81/**
82 * @brief xcb_xfixes_change_save_set_request_t
83 **/
84typedef struct xcb_xfixes_change_save_set_request_t {
85 uint8_t major_opcode; /**< */
86 uint8_t minor_opcode; /**< */
87 uint16_t length; /**< */
88 uint8_t mode; /**< */
89 uint8_t target; /**< */
90 uint8_t map; /**< */
91 uint8_t pad0; /**< */
92 xcb_window_t window; /**< */
93} xcb_xfixes_change_save_set_request_t;
94
95typedef enum xcb_xfixes_selection_event_t {
96 XCB_XFIXES_SELECTION_EVENT_SET_SELECTION_OWNER = 0,
97 XCB_XFIXES_SELECTION_EVENT_SELECTION_WINDOW_DESTROY = 1,
98 XCB_XFIXES_SELECTION_EVENT_SELECTION_CLIENT_CLOSE = 2
99} xcb_xfixes_selection_event_t;
100
101typedef enum xcb_xfixes_selection_event_mask_t {
102 XCB_XFIXES_SELECTION_EVENT_MASK_SET_SELECTION_OWNER = 1,
103 XCB_XFIXES_SELECTION_EVENT_MASK_SELECTION_WINDOW_DESTROY = 2,
104 XCB_XFIXES_SELECTION_EVENT_MASK_SELECTION_CLIENT_CLOSE = 4
105} xcb_xfixes_selection_event_mask_t;
106
107/** Opcode for xcb_xfixes_selection_notify. */
108#define XCB_XFIXES_SELECTION_NOTIFY 0
109
110/**
111 * @brief xcb_xfixes_selection_notify_event_t
112 **/
113typedef struct xcb_xfixes_selection_notify_event_t {
114 uint8_t response_type; /**< */
115 uint8_t subtype; /**< */
116 uint16_t sequence; /**< */
117 xcb_window_t window; /**< */
118 xcb_window_t owner; /**< */
119 xcb_atom_t selection; /**< */
120 xcb_timestamp_t timestamp; /**< */
121 xcb_timestamp_t selection_timestamp; /**< */
122 uint8_t pad0[8]; /**< */
123} xcb_xfixes_selection_notify_event_t;
124
125/** Opcode for xcb_xfixes_select_selection_input. */
126#define XCB_XFIXES_SELECT_SELECTION_INPUT 2
127
128/**
129 * @brief xcb_xfixes_select_selection_input_request_t
130 **/
131typedef struct xcb_xfixes_select_selection_input_request_t {
132 uint8_t major_opcode; /**< */
133 uint8_t minor_opcode; /**< */
134 uint16_t length; /**< */
135 xcb_window_t window; /**< */
136 xcb_atom_t selection; /**< */
137 uint32_t event_mask; /**< */
138} xcb_xfixes_select_selection_input_request_t;
139
140typedef enum xcb_xfixes_cursor_notify_t {
141 XCB_XFIXES_CURSOR_NOTIFY_DISPLAY_CURSOR = 0
142} xcb_xfixes_cursor_notify_t;
143
144typedef enum xcb_xfixes_cursor_notify_mask_t {
145 XCB_XFIXES_CURSOR_NOTIFY_MASK_DISPLAY_CURSOR = 1
146} xcb_xfixes_cursor_notify_mask_t;
147
148/** Opcode for xcb_xfixes_cursor_notify. */
149#define XCB_XFIXES_CURSOR_NOTIFY 1
150
151/**
152 * @brief xcb_xfixes_cursor_notify_event_t
153 **/
154typedef struct xcb_xfixes_cursor_notify_event_t {
155 uint8_t response_type; /**< */
156 uint8_t subtype; /**< */
157 uint16_t sequence; /**< */
158 xcb_window_t window; /**< */
159 uint32_t cursor_serial; /**< */
160 xcb_timestamp_t timestamp; /**< */
161 xcb_atom_t name; /**< */
162 uint8_t pad0[12]; /**< */
163} xcb_xfixes_cursor_notify_event_t;
164
165/** Opcode for xcb_xfixes_select_cursor_input. */
166#define XCB_XFIXES_SELECT_CURSOR_INPUT 3
167
168/**
169 * @brief xcb_xfixes_select_cursor_input_request_t
170 **/
171typedef struct xcb_xfixes_select_cursor_input_request_t {
172 uint8_t major_opcode; /**< */
173 uint8_t minor_opcode; /**< */
174 uint16_t length; /**< */
175 xcb_window_t window; /**< */
176 uint32_t event_mask; /**< */
177} xcb_xfixes_select_cursor_input_request_t;
178
179/**
180 * @brief xcb_xfixes_get_cursor_image_cookie_t
181 **/
182typedef struct xcb_xfixes_get_cursor_image_cookie_t {
183 unsigned int sequence; /**< */
184} xcb_xfixes_get_cursor_image_cookie_t;
185
186/** Opcode for xcb_xfixes_get_cursor_image. */
187#define XCB_XFIXES_GET_CURSOR_IMAGE 4
188
189/**
190 * @brief xcb_xfixes_get_cursor_image_request_t
191 **/
192typedef struct xcb_xfixes_get_cursor_image_request_t {
193 uint8_t major_opcode; /**< */
194 uint8_t minor_opcode; /**< */
195 uint16_t length; /**< */
196} xcb_xfixes_get_cursor_image_request_t;
197
198/**
199 * @brief xcb_xfixes_get_cursor_image_reply_t
200 **/
201typedef struct xcb_xfixes_get_cursor_image_reply_t {
202 uint8_t response_type; /**< */
203 uint8_t pad0; /**< */
204 uint16_t sequence; /**< */
205 uint32_t length; /**< */
206 int16_t x; /**< */
207 int16_t y; /**< */
208 uint16_t width; /**< */
209 uint16_t height; /**< */
210 uint16_t xhot; /**< */
211 uint16_t yhot; /**< */
212 uint32_t cursor_serial; /**< */
213 uint8_t pad1[8]; /**< */
214} xcb_xfixes_get_cursor_image_reply_t;
215
216typedef uint32_t xcb_xfixes_region_t;
217
218/**
219 * @brief xcb_xfixes_region_iterator_t
220 **/
221typedef struct xcb_xfixes_region_iterator_t {
222 xcb_xfixes_region_t *data; /**< */
223 int rem; /**< */
224 int index; /**< */
225} xcb_xfixes_region_iterator_t;
226
227/** Opcode for xcb_xfixes_bad_region. */
228#define XCB_XFIXES_BAD_REGION 0
229
230/**
231 * @brief xcb_xfixes_bad_region_error_t
232 **/
233typedef struct xcb_xfixes_bad_region_error_t {
234 uint8_t response_type; /**< */
235 uint8_t error_code; /**< */
236 uint16_t sequence; /**< */
237} xcb_xfixes_bad_region_error_t;
238
239typedef enum xcb_xfixes_region_enum_t {
240 XCB_XFIXES_REGION_NONE = 0
241} xcb_xfixes_region_enum_t;
242
243/** Opcode for xcb_xfixes_create_region. */
244#define XCB_XFIXES_CREATE_REGION 5
245
246/**
247 * @brief xcb_xfixes_create_region_request_t
248 **/
249typedef struct xcb_xfixes_create_region_request_t {
250 uint8_t major_opcode; /**< */
251 uint8_t minor_opcode; /**< */
252 uint16_t length; /**< */
253 xcb_xfixes_region_t region; /**< */
254} xcb_xfixes_create_region_request_t;
255
256/** Opcode for xcb_xfixes_create_region_from_bitmap. */
257#define XCB_XFIXES_CREATE_REGION_FROM_BITMAP 6
258
259/**
260 * @brief xcb_xfixes_create_region_from_bitmap_request_t
261 **/
262typedef struct xcb_xfixes_create_region_from_bitmap_request_t {
263 uint8_t major_opcode; /**< */
264 uint8_t minor_opcode; /**< */
265 uint16_t length; /**< */
266 xcb_xfixes_region_t region; /**< */
267 xcb_pixmap_t bitmap; /**< */
268} xcb_xfixes_create_region_from_bitmap_request_t;
269
270/** Opcode for xcb_xfixes_create_region_from_window. */
271#define XCB_XFIXES_CREATE_REGION_FROM_WINDOW 7
272
273/**
274 * @brief xcb_xfixes_create_region_from_window_request_t
275 **/
276typedef struct xcb_xfixes_create_region_from_window_request_t {
277 uint8_t major_opcode; /**< */
278 uint8_t minor_opcode; /**< */
279 uint16_t length; /**< */
280 xcb_xfixes_region_t region; /**< */
281 xcb_window_t window; /**< */
282 xcb_shape_kind_t kind; /**< */
283 uint8_t pad0[3]; /**< */
284} xcb_xfixes_create_region_from_window_request_t;
285
286/** Opcode for xcb_xfixes_create_region_from_gc. */
287#define XCB_XFIXES_CREATE_REGION_FROM_GC 8
288
289/**
290 * @brief xcb_xfixes_create_region_from_gc_request_t
291 **/
292typedef struct xcb_xfixes_create_region_from_gc_request_t {
293 uint8_t major_opcode; /**< */
294 uint8_t minor_opcode; /**< */
295 uint16_t length; /**< */
296 xcb_xfixes_region_t region; /**< */
297 xcb_gcontext_t gc; /**< */
298} xcb_xfixes_create_region_from_gc_request_t;
299
300/** Opcode for xcb_xfixes_create_region_from_picture. */
301#define XCB_XFIXES_CREATE_REGION_FROM_PICTURE 9
302
303/**
304 * @brief xcb_xfixes_create_region_from_picture_request_t
305 **/
306typedef struct xcb_xfixes_create_region_from_picture_request_t {
307 uint8_t major_opcode; /**< */
308 uint8_t minor_opcode; /**< */
309 uint16_t length; /**< */
310 xcb_xfixes_region_t region; /**< */
311 xcb_render_picture_t picture; /**< */
312} xcb_xfixes_create_region_from_picture_request_t;
313
314/** Opcode for xcb_xfixes_destroy_region. */
315#define XCB_XFIXES_DESTROY_REGION 10
316
317/**
318 * @brief xcb_xfixes_destroy_region_request_t
319 **/
320typedef struct xcb_xfixes_destroy_region_request_t {
321 uint8_t major_opcode; /**< */
322 uint8_t minor_opcode; /**< */
323 uint16_t length; /**< */
324 xcb_xfixes_region_t region; /**< */
325} xcb_xfixes_destroy_region_request_t;
326
327/** Opcode for xcb_xfixes_set_region. */
328#define XCB_XFIXES_SET_REGION 11
329
330/**
331 * @brief xcb_xfixes_set_region_request_t
332 **/
333typedef struct xcb_xfixes_set_region_request_t {
334 uint8_t major_opcode; /**< */
335 uint8_t minor_opcode; /**< */
336 uint16_t length; /**< */
337 xcb_xfixes_region_t region; /**< */
338} xcb_xfixes_set_region_request_t;
339
340/** Opcode for xcb_xfixes_copy_region. */
341#define XCB_XFIXES_COPY_REGION 12
342
343/**
344 * @brief xcb_xfixes_copy_region_request_t
345 **/
346typedef struct xcb_xfixes_copy_region_request_t {
347 uint8_t major_opcode; /**< */
348 uint8_t minor_opcode; /**< */
349 uint16_t length; /**< */
350 xcb_xfixes_region_t source; /**< */
351 xcb_xfixes_region_t destination; /**< */
352} xcb_xfixes_copy_region_request_t;
353
354/** Opcode for xcb_xfixes_union_region. */
355#define XCB_XFIXES_UNION_REGION 13
356
357/**
358 * @brief xcb_xfixes_union_region_request_t
359 **/
360typedef struct xcb_xfixes_union_region_request_t {
361 uint8_t major_opcode; /**< */
362 uint8_t minor_opcode; /**< */
363 uint16_t length; /**< */
364 xcb_xfixes_region_t source1; /**< */
365 xcb_xfixes_region_t source2; /**< */
366 xcb_xfixes_region_t destination; /**< */
367} xcb_xfixes_union_region_request_t;
368
369/** Opcode for xcb_xfixes_intersect_region. */
370#define XCB_XFIXES_INTERSECT_REGION 14
371
372/**
373 * @brief xcb_xfixes_intersect_region_request_t
374 **/
375typedef struct xcb_xfixes_intersect_region_request_t {
376 uint8_t major_opcode; /**< */
377 uint8_t minor_opcode; /**< */
378 uint16_t length; /**< */
379 xcb_xfixes_region_t source1; /**< */
380 xcb_xfixes_region_t source2; /**< */
381 xcb_xfixes_region_t destination; /**< */
382} xcb_xfixes_intersect_region_request_t;
383
384/** Opcode for xcb_xfixes_subtract_region. */
385#define XCB_XFIXES_SUBTRACT_REGION 15
386
387/**
388 * @brief xcb_xfixes_subtract_region_request_t
389 **/
390typedef struct xcb_xfixes_subtract_region_request_t {
391 uint8_t major_opcode; /**< */
392 uint8_t minor_opcode; /**< */
393 uint16_t length; /**< */
394 xcb_xfixes_region_t source1; /**< */
395 xcb_xfixes_region_t source2; /**< */
396 xcb_xfixes_region_t destination; /**< */
397} xcb_xfixes_subtract_region_request_t;
398
399/** Opcode for xcb_xfixes_invert_region. */
400#define XCB_XFIXES_INVERT_REGION 16
401
402/**
403 * @brief xcb_xfixes_invert_region_request_t
404 **/
405typedef struct xcb_xfixes_invert_region_request_t {
406 uint8_t major_opcode; /**< */
407 uint8_t minor_opcode; /**< */
408 uint16_t length; /**< */
409 xcb_xfixes_region_t source; /**< */
410 xcb_rectangle_t bounds; /**< */
411 xcb_xfixes_region_t destination; /**< */
412} xcb_xfixes_invert_region_request_t;
413
414/** Opcode for xcb_xfixes_translate_region. */
415#define XCB_XFIXES_TRANSLATE_REGION 17
416
417/**
418 * @brief xcb_xfixes_translate_region_request_t
419 **/
420typedef struct xcb_xfixes_translate_region_request_t {
421 uint8_t major_opcode; /**< */
422 uint8_t minor_opcode; /**< */
423 uint16_t length; /**< */
424 xcb_xfixes_region_t region; /**< */
425 int16_t dx; /**< */
426 int16_t dy; /**< */
427} xcb_xfixes_translate_region_request_t;
428
429/** Opcode for xcb_xfixes_region_extents. */
430#define XCB_XFIXES_REGION_EXTENTS 18
431
432/**
433 * @brief xcb_xfixes_region_extents_request_t
434 **/
435typedef struct xcb_xfixes_region_extents_request_t {
436 uint8_t major_opcode; /**< */
437 uint8_t minor_opcode; /**< */
438 uint16_t length; /**< */
439 xcb_xfixes_region_t source; /**< */
440 xcb_xfixes_region_t destination; /**< */
441} xcb_xfixes_region_extents_request_t;
442
443/**
444 * @brief xcb_xfixes_fetch_region_cookie_t
445 **/
446typedef struct xcb_xfixes_fetch_region_cookie_t {
447 unsigned int sequence; /**< */
448} xcb_xfixes_fetch_region_cookie_t;
449
450/** Opcode for xcb_xfixes_fetch_region. */
451#define XCB_XFIXES_FETCH_REGION 19
452
453/**
454 * @brief xcb_xfixes_fetch_region_request_t
455 **/
456typedef struct xcb_xfixes_fetch_region_request_t {
457 uint8_t major_opcode; /**< */
458 uint8_t minor_opcode; /**< */
459 uint16_t length; /**< */
460 xcb_xfixes_region_t region; /**< */
461} xcb_xfixes_fetch_region_request_t;
462
463/**
464 * @brief xcb_xfixes_fetch_region_reply_t
465 **/
466typedef struct xcb_xfixes_fetch_region_reply_t {
467 uint8_t response_type; /**< */
468 uint8_t pad0; /**< */
469 uint16_t sequence; /**< */
470 uint32_t length; /**< */
471 xcb_rectangle_t extents; /**< */
472 uint8_t pad1[16]; /**< */
473} xcb_xfixes_fetch_region_reply_t;
474
475/** Opcode for xcb_xfixes_set_gc_clip_region. */
476#define XCB_XFIXES_SET_GC_CLIP_REGION 20
477
478/**
479 * @brief xcb_xfixes_set_gc_clip_region_request_t
480 **/
481typedef struct xcb_xfixes_set_gc_clip_region_request_t {
482 uint8_t major_opcode; /**< */
483 uint8_t minor_opcode; /**< */
484 uint16_t length; /**< */
485 xcb_gcontext_t gc; /**< */
486 xcb_xfixes_region_t region; /**< */
487 int16_t x_origin; /**< */
488 int16_t y_origin; /**< */
489} xcb_xfixes_set_gc_clip_region_request_t;
490
491/** Opcode for xcb_xfixes_set_window_shape_region. */
492#define XCB_XFIXES_SET_WINDOW_SHAPE_REGION 21
493
494/**
495 * @brief xcb_xfixes_set_window_shape_region_request_t
496 **/
497typedef struct xcb_xfixes_set_window_shape_region_request_t {
498 uint8_t major_opcode; /**< */
499 uint8_t minor_opcode; /**< */
500 uint16_t length; /**< */
501 xcb_window_t dest; /**< */
502 xcb_shape_kind_t dest_kind; /**< */
503 uint8_t pad0[3]; /**< */
504 int16_t x_offset; /**< */
505 int16_t y_offset; /**< */
506 xcb_xfixes_region_t region; /**< */
507} xcb_xfixes_set_window_shape_region_request_t;
508
509/** Opcode for xcb_xfixes_set_picture_clip_region. */
510#define XCB_XFIXES_SET_PICTURE_CLIP_REGION 22
511
512/**
513 * @brief xcb_xfixes_set_picture_clip_region_request_t
514 **/
515typedef struct xcb_xfixes_set_picture_clip_region_request_t {
516 uint8_t major_opcode; /**< */
517 uint8_t minor_opcode; /**< */
518 uint16_t length; /**< */
519 xcb_render_picture_t picture; /**< */
520 xcb_xfixes_region_t region; /**< */
521 int16_t x_origin; /**< */
522 int16_t y_origin; /**< */
523} xcb_xfixes_set_picture_clip_region_request_t;
524
525/** Opcode for xcb_xfixes_set_cursor_name. */
526#define XCB_XFIXES_SET_CURSOR_NAME 23
527
528/**
529 * @brief xcb_xfixes_set_cursor_name_request_t
530 **/
531typedef struct xcb_xfixes_set_cursor_name_request_t {
532 uint8_t major_opcode; /**< */
533 uint8_t minor_opcode; /**< */
534 uint16_t length; /**< */
535 xcb_cursor_t cursor; /**< */
536 uint16_t nbytes; /**< */
537 uint8_t pad0[2]; /**< */
538} xcb_xfixes_set_cursor_name_request_t;
539
540/**
541 * @brief xcb_xfixes_get_cursor_name_cookie_t
542 **/
543typedef struct xcb_xfixes_get_cursor_name_cookie_t {
544 unsigned int sequence; /**< */
545} xcb_xfixes_get_cursor_name_cookie_t;
546
547/** Opcode for xcb_xfixes_get_cursor_name. */
548#define XCB_XFIXES_GET_CURSOR_NAME 24
549
550/**
551 * @brief xcb_xfixes_get_cursor_name_request_t
552 **/
553typedef struct xcb_xfixes_get_cursor_name_request_t {
554 uint8_t major_opcode; /**< */
555 uint8_t minor_opcode; /**< */
556 uint16_t length; /**< */
557 xcb_cursor_t cursor; /**< */
558} xcb_xfixes_get_cursor_name_request_t;
559
560/**
561 * @brief xcb_xfixes_get_cursor_name_reply_t
562 **/
563typedef struct xcb_xfixes_get_cursor_name_reply_t {
564 uint8_t response_type; /**< */
565 uint8_t pad0; /**< */
566 uint16_t sequence; /**< */
567 uint32_t length; /**< */
568 xcb_atom_t atom; /**< */
569 uint16_t nbytes; /**< */
570 uint8_t pad1[18]; /**< */
571} xcb_xfixes_get_cursor_name_reply_t;
572
573/**
574 * @brief xcb_xfixes_get_cursor_image_and_name_cookie_t
575 **/
576typedef struct xcb_xfixes_get_cursor_image_and_name_cookie_t {
577 unsigned int sequence; /**< */
578} xcb_xfixes_get_cursor_image_and_name_cookie_t;
579
580/** Opcode for xcb_xfixes_get_cursor_image_and_name. */
581#define XCB_XFIXES_GET_CURSOR_IMAGE_AND_NAME 25
582
583/**
584 * @brief xcb_xfixes_get_cursor_image_and_name_request_t
585 **/
586typedef struct xcb_xfixes_get_cursor_image_and_name_request_t {
587 uint8_t major_opcode; /**< */
588 uint8_t minor_opcode; /**< */
589 uint16_t length; /**< */
590} xcb_xfixes_get_cursor_image_and_name_request_t;
591
592/**
593 * @brief xcb_xfixes_get_cursor_image_and_name_reply_t
594 **/
595typedef struct xcb_xfixes_get_cursor_image_and_name_reply_t {
596 uint8_t response_type; /**< */
597 uint8_t pad0; /**< */
598 uint16_t sequence; /**< */
599 uint32_t length; /**< */
600 int16_t x; /**< */
601 int16_t y; /**< */
602 uint16_t width; /**< */
603 uint16_t height; /**< */
604 uint16_t xhot; /**< */
605 uint16_t yhot; /**< */
606 uint32_t cursor_serial; /**< */
607 xcb_atom_t cursor_atom; /**< */
608 uint16_t nbytes; /**< */
609 uint8_t pad1[2]; /**< */
610} xcb_xfixes_get_cursor_image_and_name_reply_t;
611
612/** Opcode for xcb_xfixes_change_cursor. */
613#define XCB_XFIXES_CHANGE_CURSOR 26
614
615/**
616 * @brief xcb_xfixes_change_cursor_request_t
617 **/
618typedef struct xcb_xfixes_change_cursor_request_t {
619 uint8_t major_opcode; /**< */
620 uint8_t minor_opcode; /**< */
621 uint16_t length; /**< */
622 xcb_cursor_t source; /**< */
623 xcb_cursor_t destination; /**< */
624} xcb_xfixes_change_cursor_request_t;
625
626/** Opcode for xcb_xfixes_change_cursor_by_name. */
627#define XCB_XFIXES_CHANGE_CURSOR_BY_NAME 27
628
629/**
630 * @brief xcb_xfixes_change_cursor_by_name_request_t
631 **/
632typedef struct xcb_xfixes_change_cursor_by_name_request_t {
633 uint8_t major_opcode; /**< */
634 uint8_t minor_opcode; /**< */
635 uint16_t length; /**< */
636 xcb_cursor_t src; /**< */
637 uint16_t nbytes; /**< */
638 uint8_t pad0[2]; /**< */
639} xcb_xfixes_change_cursor_by_name_request_t;
640
641/** Opcode for xcb_xfixes_expand_region. */
642#define XCB_XFIXES_EXPAND_REGION 28
643
644/**
645 * @brief xcb_xfixes_expand_region_request_t
646 **/
647typedef struct xcb_xfixes_expand_region_request_t {
648 uint8_t major_opcode; /**< */
649 uint8_t minor_opcode; /**< */
650 uint16_t length; /**< */
651 xcb_xfixes_region_t source; /**< */
652 xcb_xfixes_region_t destination; /**< */
653 uint16_t left; /**< */
654 uint16_t right; /**< */
655 uint16_t top; /**< */
656 uint16_t bottom; /**< */
657} xcb_xfixes_expand_region_request_t;
658
659/** Opcode for xcb_xfixes_hide_cursor. */
660#define XCB_XFIXES_HIDE_CURSOR 29
661
662/**
663 * @brief xcb_xfixes_hide_cursor_request_t
664 **/
665typedef struct xcb_xfixes_hide_cursor_request_t {
666 uint8_t major_opcode; /**< */
667 uint8_t minor_opcode; /**< */
668 uint16_t length; /**< */
669 xcb_window_t window; /**< */
670} xcb_xfixes_hide_cursor_request_t;
671
672/** Opcode for xcb_xfixes_show_cursor. */
673#define XCB_XFIXES_SHOW_CURSOR 30
674
675/**
676 * @brief xcb_xfixes_show_cursor_request_t
677 **/
678typedef struct xcb_xfixes_show_cursor_request_t {
679 uint8_t major_opcode; /**< */
680 uint8_t minor_opcode; /**< */
681 uint16_t length; /**< */
682 xcb_window_t window; /**< */
683} xcb_xfixes_show_cursor_request_t;
684
685typedef uint32_t xcb_xfixes_barrier_t;
686
687/**
688 * @brief xcb_xfixes_barrier_iterator_t
689 **/
690typedef struct xcb_xfixes_barrier_iterator_t {
691 xcb_xfixes_barrier_t *data; /**< */
692 int rem; /**< */
693 int index; /**< */
694} xcb_xfixes_barrier_iterator_t;
695
696typedef enum xcb_xfixes_barrier_directions_t {
697 XCB_XFIXES_BARRIER_DIRECTIONS_POSITIVE_X = 1,
698 XCB_XFIXES_BARRIER_DIRECTIONS_POSITIVE_Y = 2,
699 XCB_XFIXES_BARRIER_DIRECTIONS_NEGATIVE_X = 4,
700 XCB_XFIXES_BARRIER_DIRECTIONS_NEGATIVE_Y = 8
701} xcb_xfixes_barrier_directions_t;
702
703/** Opcode for xcb_xfixes_create_pointer_barrier. */
704#define XCB_XFIXES_CREATE_POINTER_BARRIER 31
705
706/**
707 * @brief xcb_xfixes_create_pointer_barrier_request_t
708 **/
709typedef struct xcb_xfixes_create_pointer_barrier_request_t {
710 uint8_t major_opcode; /**< */
711 uint8_t minor_opcode; /**< */
712 uint16_t length; /**< */
713 xcb_xfixes_barrier_t barrier; /**< */
714 xcb_window_t window; /**< */
715 uint16_t x1; /**< */
716 uint16_t y1; /**< */
717 uint16_t x2; /**< */
718 uint16_t y2; /**< */
719 uint32_t directions; /**< */
720 uint8_t pad0[2]; /**< */
721 uint16_t num_devices; /**< */
722} xcb_xfixes_create_pointer_barrier_request_t;
723
724/** Opcode for xcb_xfixes_delete_pointer_barrier. */
725#define XCB_XFIXES_DELETE_POINTER_BARRIER 32
726
727/**
728 * @brief xcb_xfixes_delete_pointer_barrier_request_t
729 **/
730typedef struct xcb_xfixes_delete_pointer_barrier_request_t {
731 uint8_t major_opcode; /**< */
732 uint8_t minor_opcode; /**< */
733 uint16_t length; /**< */
734 xcb_xfixes_barrier_t barrier; /**< */
735} xcb_xfixes_delete_pointer_barrier_request_t;
736
737/**
738 *
739 * @param c The connection
740 * @return A cookie
741 *
742 * Delivers a request to the X server.
743 *
744 */
745
746/*****************************************************************************
747 **
748 ** xcb_xfixes_query_version_cookie_t xcb_xfixes_query_version
749 **
750 ** @param xcb_connection_t *c
751 ** @param uint32_t client_major_version
752 ** @param uint32_t client_minor_version
753 ** @returns xcb_xfixes_query_version_cookie_t
754 **
755 *****************************************************************************/
756
757xcb_xfixes_query_version_cookie_t
758xcb_xfixes_query_version (xcb_connection_t *c /**< */,
759 uint32_t client_major_version /**< */,
760 uint32_t client_minor_version /**< */);
761
762/**
763 *
764 * @param c The connection
765 * @return A cookie
766 *
767 * Delivers a request to the X server.
768 *
769 * This form can be used only if the request will cause
770 * a reply to be generated. Any returned error will be
771 * placed in the event queue.
772 */
773
774/*****************************************************************************
775 **
776 ** xcb_xfixes_query_version_cookie_t xcb_xfixes_query_version_unchecked
777 **
778 ** @param xcb_connection_t *c
779 ** @param uint32_t client_major_version
780 ** @param uint32_t client_minor_version
781 ** @returns xcb_xfixes_query_version_cookie_t
782 **
783 *****************************************************************************/
784
785xcb_xfixes_query_version_cookie_t
786xcb_xfixes_query_version_unchecked (xcb_connection_t *c /**< */,
787 uint32_t client_major_version /**< */,
788 uint32_t client_minor_version /**< */);
789
790/**
791 * Return the reply
792 * @param c The connection
793 * @param cookie The cookie
794 * @param e The xcb_generic_error_t supplied
795 *
796 * Returns the reply of the request asked by
797 *
798 * The parameter @p e supplied to this function must be NULL if
799 * xcb_xfixes_query_version_unchecked(). is used.
800 * Otherwise, it stores the error if any.
801 *
802 * The returned value must be freed by the caller using free().
803 */
804
805/*****************************************************************************
806 **
807 ** xcb_xfixes_query_version_reply_t * xcb_xfixes_query_version_reply
808 **
809 ** @param xcb_connection_t *c
810 ** @param xcb_xfixes_query_version_cookie_t cookie
811 ** @param xcb_generic_error_t **e
812 ** @returns xcb_xfixes_query_version_reply_t *
813 **
814 *****************************************************************************/
815
816xcb_xfixes_query_version_reply_t *
817xcb_xfixes_query_version_reply (xcb_connection_t *c /**< */,
818 xcb_xfixes_query_version_cookie_t cookie /**< */,
819 xcb_generic_error_t **e /**< */);
820
821/**
822 *
823 * @param c The connection
824 * @return A cookie
825 *
826 * Delivers a request to the X server.
827 *
828 * This form can be used only if the request will not cause
829 * a reply to be generated. Any returned error will be
830 * saved for handling by xcb_request_check().
831 */
832
833/*****************************************************************************
834 **
835 ** xcb_void_cookie_t xcb_xfixes_change_save_set_checked
836 **
837 ** @param xcb_connection_t *c
838 ** @param uint8_t mode
839 ** @param uint8_t target
840 ** @param uint8_t map
841 ** @param xcb_window_t window
842 ** @returns xcb_void_cookie_t
843 **
844 *****************************************************************************/
845
846xcb_void_cookie_t
847xcb_xfixes_change_save_set_checked (xcb_connection_t *c /**< */,
848 uint8_t mode /**< */,
849 uint8_t target /**< */,
850 uint8_t map /**< */,
851 xcb_window_t window /**< */);
852
853/**
854 *
855 * @param c The connection
856 * @return A cookie
857 *
858 * Delivers a request to the X server.
859 *
860 */
861
862/*****************************************************************************
863 **
864 ** xcb_void_cookie_t xcb_xfixes_change_save_set
865 **
866 ** @param xcb_connection_t *c
867 ** @param uint8_t mode
868 ** @param uint8_t target
869 ** @param uint8_t map
870 ** @param xcb_window_t window
871 ** @returns xcb_void_cookie_t
872 **
873 *****************************************************************************/
874
875xcb_void_cookie_t
876xcb_xfixes_change_save_set (xcb_connection_t *c /**< */,
877 uint8_t mode /**< */,
878 uint8_t target /**< */,
879 uint8_t map /**< */,
880 xcb_window_t window /**< */);
881
882/**
883 *
884 * @param c The connection
885 * @return A cookie
886 *
887 * Delivers a request to the X server.
888 *
889 * This form can be used only if the request will not cause
890 * a reply to be generated. Any returned error will be
891 * saved for handling by xcb_request_check().
892 */
893
894/*****************************************************************************
895 **
896 ** xcb_void_cookie_t xcb_xfixes_select_selection_input_checked
897 **
898 ** @param xcb_connection_t *c
899 ** @param xcb_window_t window
900 ** @param xcb_atom_t selection
901 ** @param uint32_t event_mask
902 ** @returns xcb_void_cookie_t
903 **
904 *****************************************************************************/
905
906xcb_void_cookie_t
907xcb_xfixes_select_selection_input_checked (xcb_connection_t *c /**< */,
908 xcb_window_t window /**< */,
909 xcb_atom_t selection /**< */,
910 uint32_t event_mask /**< */);
911
912/**
913 *
914 * @param c The connection
915 * @return A cookie
916 *
917 * Delivers a request to the X server.
918 *
919 */
920
921/*****************************************************************************
922 **
923 ** xcb_void_cookie_t xcb_xfixes_select_selection_input
924 **
925 ** @param xcb_connection_t *c
926 ** @param xcb_window_t window
927 ** @param xcb_atom_t selection
928 ** @param uint32_t event_mask
929 ** @returns xcb_void_cookie_t
930 **
931 *****************************************************************************/
932
933xcb_void_cookie_t
934xcb_xfixes_select_selection_input (xcb_connection_t *c /**< */,
935 xcb_window_t window /**< */,
936 xcb_atom_t selection /**< */,
937 uint32_t event_mask /**< */);
938
939/**
940 *
941 * @param c The connection
942 * @return A cookie
943 *
944 * Delivers a request to the X server.
945 *
946 * This form can be used only if the request will not cause
947 * a reply to be generated. Any returned error will be
948 * saved for handling by xcb_request_check().
949 */
950
951/*****************************************************************************
952 **
953 ** xcb_void_cookie_t xcb_xfixes_select_cursor_input_checked
954 **
955 ** @param xcb_connection_t *c
956 ** @param xcb_window_t window
957 ** @param uint32_t event_mask
958 ** @returns xcb_void_cookie_t
959 **
960 *****************************************************************************/
961
962xcb_void_cookie_t
963xcb_xfixes_select_cursor_input_checked (xcb_connection_t *c /**< */,
964 xcb_window_t window /**< */,
965 uint32_t event_mask /**< */);
966
967/**
968 *
969 * @param c The connection
970 * @return A cookie
971 *
972 * Delivers a request to the X server.
973 *
974 */
975
976/*****************************************************************************
977 **
978 ** xcb_void_cookie_t xcb_xfixes_select_cursor_input
979 **
980 ** @param xcb_connection_t *c
981 ** @param xcb_window_t window
982 ** @param uint32_t event_mask
983 ** @returns xcb_void_cookie_t
984 **
985 *****************************************************************************/
986
987xcb_void_cookie_t
988xcb_xfixes_select_cursor_input (xcb_connection_t *c /**< */,
989 xcb_window_t window /**< */,
990 uint32_t event_mask /**< */);
991
992int
993xcb_xfixes_get_cursor_image_sizeof (const void *_buffer /**< */);
994
995/**
996 *
997 * @param c The connection
998 * @return A cookie
999 *
1000 * Delivers a request to the X server.
1001 *
1002 */
1003
1004/*****************************************************************************
1005 **
1006 ** xcb_xfixes_get_cursor_image_cookie_t xcb_xfixes_get_cursor_image
1007 **
1008 ** @param xcb_connection_t *c
1009 ** @returns xcb_xfixes_get_cursor_image_cookie_t
1010 **
1011 *****************************************************************************/
1012
1013xcb_xfixes_get_cursor_image_cookie_t
1014xcb_xfixes_get_cursor_image (xcb_connection_t *c /**< */);
1015
1016/**
1017 *
1018 * @param c The connection
1019 * @return A cookie
1020 *
1021 * Delivers a request to the X server.
1022 *
1023 * This form can be used only if the request will cause
1024 * a reply to be generated. Any returned error will be
1025 * placed in the event queue.
1026 */
1027
1028/*****************************************************************************
1029 **
1030 ** xcb_xfixes_get_cursor_image_cookie_t xcb_xfixes_get_cursor_image_unchecked
1031 **
1032 ** @param xcb_connection_t *c
1033 ** @returns xcb_xfixes_get_cursor_image_cookie_t
1034 **
1035 *****************************************************************************/
1036
1037xcb_xfixes_get_cursor_image_cookie_t
1038xcb_xfixes_get_cursor_image_unchecked (xcb_connection_t *c /**< */);
1039
1040
1041/*****************************************************************************
1042 **
1043 ** uint32_t * xcb_xfixes_get_cursor_image_cursor_image
1044 **
1045 ** @param const xcb_xfixes_get_cursor_image_reply_t *R
1046 ** @returns uint32_t *
1047 **
1048 *****************************************************************************/
1049
1050uint32_t *
1051xcb_xfixes_get_cursor_image_cursor_image (const xcb_xfixes_get_cursor_image_reply_t *R /**< */);
1052
1053
1054/*****************************************************************************
1055 **
1056 ** int xcb_xfixes_get_cursor_image_cursor_image_length
1057 **
1058 ** @param const xcb_xfixes_get_cursor_image_reply_t *R
1059 ** @returns int
1060 **
1061 *****************************************************************************/
1062
1063int
1064xcb_xfixes_get_cursor_image_cursor_image_length (const xcb_xfixes_get_cursor_image_reply_t *R /**< */);
1065
1066
1067/*****************************************************************************
1068 **
1069 ** xcb_generic_iterator_t xcb_xfixes_get_cursor_image_cursor_image_end
1070 **
1071 ** @param const xcb_xfixes_get_cursor_image_reply_t *R
1072 ** @returns xcb_generic_iterator_t
1073 **
1074 *****************************************************************************/
1075
1076xcb_generic_iterator_t
1077xcb_xfixes_get_cursor_image_cursor_image_end (const xcb_xfixes_get_cursor_image_reply_t *R /**< */);
1078
1079/**
1080 * Return the reply
1081 * @param c The connection
1082 * @param cookie The cookie
1083 * @param e The xcb_generic_error_t supplied
1084 *
1085 * Returns the reply of the request asked by
1086 *
1087 * The parameter @p e supplied to this function must be NULL if
1088 * xcb_xfixes_get_cursor_image_unchecked(). is used.
1089 * Otherwise, it stores the error if any.
1090 *
1091 * The returned value must be freed by the caller using free().
1092 */
1093
1094/*****************************************************************************
1095 **
1096 ** xcb_xfixes_get_cursor_image_reply_t * xcb_xfixes_get_cursor_image_reply
1097 **
1098 ** @param xcb_connection_t *c
1099 ** @param xcb_xfixes_get_cursor_image_cookie_t cookie
1100 ** @param xcb_generic_error_t **e
1101 ** @returns xcb_xfixes_get_cursor_image_reply_t *
1102 **
1103 *****************************************************************************/
1104
1105xcb_xfixes_get_cursor_image_reply_t *
1106xcb_xfixes_get_cursor_image_reply (xcb_connection_t *c /**< */,
1107 xcb_xfixes_get_cursor_image_cookie_t cookie /**< */,
1108 xcb_generic_error_t **e /**< */);
1109
1110/**
1111 * Get the next element of the iterator
1112 * @param i Pointer to a xcb_xfixes_region_iterator_t
1113 *
1114 * Get the next element in the iterator. The member rem is
1115 * decreased by one. The member data points to the next
1116 * element. The member index is increased by sizeof(xcb_xfixes_region_t)
1117 */
1118
1119/*****************************************************************************
1120 **
1121 ** void xcb_xfixes_region_next
1122 **
1123 ** @param xcb_xfixes_region_iterator_t *i
1124 ** @returns void
1125 **
1126 *****************************************************************************/
1127
1128void
1129xcb_xfixes_region_next (xcb_xfixes_region_iterator_t *i /**< */);
1130
1131/**
1132 * Return the iterator pointing to the last element
1133 * @param i An xcb_xfixes_region_iterator_t
1134 * @return The iterator pointing to the last element
1135 *
1136 * Set the current element in the iterator to the last element.
1137 * The member rem is set to 0. The member data points to the
1138 * last element.
1139 */
1140
1141/*****************************************************************************
1142 **
1143 ** xcb_generic_iterator_t xcb_xfixes_region_end
1144 **
1145 ** @param xcb_xfixes_region_iterator_t i
1146 ** @returns xcb_generic_iterator_t
1147 **
1148 *****************************************************************************/
1149
1150xcb_generic_iterator_t
1151xcb_xfixes_region_end (xcb_xfixes_region_iterator_t i /**< */);
1152
1153int
1154xcb_xfixes_create_region_sizeof (const void *_buffer /**< */,
1155 uint32_t rectangles_len /**< */);
1156
1157/**
1158 *
1159 * @param c The connection
1160 * @return A cookie
1161 *
1162 * Delivers a request to the X server.
1163 *
1164 * This form can be used only if the request will not cause
1165 * a reply to be generated. Any returned error will be
1166 * saved for handling by xcb_request_check().
1167 */
1168
1169/*****************************************************************************
1170 **
1171 ** xcb_void_cookie_t xcb_xfixes_create_region_checked
1172 **
1173 ** @param xcb_connection_t *c
1174 ** @param xcb_xfixes_region_t region
1175 ** @param uint32_t rectangles_len
1176 ** @param const xcb_rectangle_t *rectangles
1177 ** @returns xcb_void_cookie_t
1178 **
1179 *****************************************************************************/
1180
1181xcb_void_cookie_t
1182xcb_xfixes_create_region_checked (xcb_connection_t *c /**< */,
1183 xcb_xfixes_region_t region /**< */,
1184 uint32_t rectangles_len /**< */,
1185 const xcb_rectangle_t *rectangles /**< */);
1186
1187/**
1188 *
1189 * @param c The connection
1190 * @return A cookie
1191 *
1192 * Delivers a request to the X server.
1193 *
1194 */
1195
1196/*****************************************************************************
1197 **
1198 ** xcb_void_cookie_t xcb_xfixes_create_region
1199 **
1200 ** @param xcb_connection_t *c
1201 ** @param xcb_xfixes_region_t region
1202 ** @param uint32_t rectangles_len
1203 ** @param const xcb_rectangle_t *rectangles
1204 ** @returns xcb_void_cookie_t
1205 **
1206 *****************************************************************************/
1207
1208xcb_void_cookie_t
1209xcb_xfixes_create_region (xcb_connection_t *c /**< */,
1210 xcb_xfixes_region_t region /**< */,
1211 uint32_t rectangles_len /**< */,
1212 const xcb_rectangle_t *rectangles /**< */);
1213
1214/**
1215 *
1216 * @param c The connection
1217 * @return A cookie
1218 *
1219 * Delivers a request to the X server.
1220 *
1221 * This form can be used only if the request will not cause
1222 * a reply to be generated. Any returned error will be
1223 * saved for handling by xcb_request_check().
1224 */
1225
1226/*****************************************************************************
1227 **
1228 ** xcb_void_cookie_t xcb_xfixes_create_region_from_bitmap_checked
1229 **
1230 ** @param xcb_connection_t *c
1231 ** @param xcb_xfixes_region_t region
1232 ** @param xcb_pixmap_t bitmap
1233 ** @returns xcb_void_cookie_t
1234 **
1235 *****************************************************************************/
1236
1237xcb_void_cookie_t
1238xcb_xfixes_create_region_from_bitmap_checked (xcb_connection_t *c /**< */,
1239 xcb_xfixes_region_t region /**< */,
1240 xcb_pixmap_t bitmap /**< */);
1241
1242/**
1243 *
1244 * @param c The connection
1245 * @return A cookie
1246 *
1247 * Delivers a request to the X server.
1248 *
1249 */
1250
1251/*****************************************************************************
1252 **
1253 ** xcb_void_cookie_t xcb_xfixes_create_region_from_bitmap
1254 **
1255 ** @param xcb_connection_t *c
1256 ** @param xcb_xfixes_region_t region
1257 ** @param xcb_pixmap_t bitmap
1258 ** @returns xcb_void_cookie_t
1259 **
1260 *****************************************************************************/
1261
1262xcb_void_cookie_t
1263xcb_xfixes_create_region_from_bitmap (xcb_connection_t *c /**< */,
1264 xcb_xfixes_region_t region /**< */,
1265 xcb_pixmap_t bitmap /**< */);
1266
1267/**
1268 *
1269 * @param c The connection
1270 * @return A cookie
1271 *
1272 * Delivers a request to the X server.
1273 *
1274 * This form can be used only if the request will not cause
1275 * a reply to be generated. Any returned error will be
1276 * saved for handling by xcb_request_check().
1277 */
1278
1279/*****************************************************************************
1280 **
1281 ** xcb_void_cookie_t xcb_xfixes_create_region_from_window_checked
1282 **
1283 ** @param xcb_connection_t *c
1284 ** @param xcb_xfixes_region_t region
1285 ** @param xcb_window_t window
1286 ** @param xcb_shape_kind_t kind
1287 ** @returns xcb_void_cookie_t
1288 **
1289 *****************************************************************************/
1290
1291xcb_void_cookie_t
1292xcb_xfixes_create_region_from_window_checked (xcb_connection_t *c /**< */,
1293 xcb_xfixes_region_t region /**< */,
1294 xcb_window_t window /**< */,
1295 xcb_shape_kind_t kind /**< */);
1296
1297/**
1298 *
1299 * @param c The connection
1300 * @return A cookie
1301 *
1302 * Delivers a request to the X server.
1303 *
1304 */
1305
1306/*****************************************************************************
1307 **
1308 ** xcb_void_cookie_t xcb_xfixes_create_region_from_window
1309 **
1310 ** @param xcb_connection_t *c
1311 ** @param xcb_xfixes_region_t region
1312 ** @param xcb_window_t window
1313 ** @param xcb_shape_kind_t kind
1314 ** @returns xcb_void_cookie_t
1315 **
1316 *****************************************************************************/
1317
1318xcb_void_cookie_t
1319xcb_xfixes_create_region_from_window (xcb_connection_t *c /**< */,
1320 xcb_xfixes_region_t region /**< */,
1321 xcb_window_t window /**< */,
1322 xcb_shape_kind_t kind /**< */);
1323
1324/**
1325 *
1326 * @param c The connection
1327 * @return A cookie
1328 *
1329 * Delivers a request to the X server.
1330 *
1331 * This form can be used only if the request will not cause
1332 * a reply to be generated. Any returned error will be
1333 * saved for handling by xcb_request_check().
1334 */
1335
1336/*****************************************************************************
1337 **
1338 ** xcb_void_cookie_t xcb_xfixes_create_region_from_gc_checked
1339 **
1340 ** @param xcb_connection_t *c
1341 ** @param xcb_xfixes_region_t region
1342 ** @param xcb_gcontext_t gc
1343 ** @returns xcb_void_cookie_t
1344 **
1345 *****************************************************************************/
1346
1347xcb_void_cookie_t
1348xcb_xfixes_create_region_from_gc_checked (xcb_connection_t *c /**< */,
1349 xcb_xfixes_region_t region /**< */,
1350 xcb_gcontext_t gc /**< */);
1351
1352/**
1353 *
1354 * @param c The connection
1355 * @return A cookie
1356 *
1357 * Delivers a request to the X server.
1358 *
1359 */
1360
1361/*****************************************************************************
1362 **
1363 ** xcb_void_cookie_t xcb_xfixes_create_region_from_gc
1364 **
1365 ** @param xcb_connection_t *c
1366 ** @param xcb_xfixes_region_t region
1367 ** @param xcb_gcontext_t gc
1368 ** @returns xcb_void_cookie_t
1369 **
1370 *****************************************************************************/
1371
1372xcb_void_cookie_t
1373xcb_xfixes_create_region_from_gc (xcb_connection_t *c /**< */,
1374 xcb_xfixes_region_t region /**< */,
1375 xcb_gcontext_t gc /**< */);
1376
1377/**
1378 *
1379 * @param c The connection
1380 * @return A cookie
1381 *
1382 * Delivers a request to the X server.
1383 *
1384 * This form can be used only if the request will not cause
1385 * a reply to be generated. Any returned error will be
1386 * saved for handling by xcb_request_check().
1387 */
1388
1389/*****************************************************************************
1390 **
1391 ** xcb_void_cookie_t xcb_xfixes_create_region_from_picture_checked
1392 **
1393 ** @param xcb_connection_t *c
1394 ** @param xcb_xfixes_region_t region
1395 ** @param xcb_render_picture_t picture
1396 ** @returns xcb_void_cookie_t
1397 **
1398 *****************************************************************************/
1399
1400xcb_void_cookie_t
1401xcb_xfixes_create_region_from_picture_checked (xcb_connection_t *c /**< */,
1402 xcb_xfixes_region_t region /**< */,
1403 xcb_render_picture_t picture /**< */);
1404
1405/**
1406 *
1407 * @param c The connection
1408 * @return A cookie
1409 *
1410 * Delivers a request to the X server.
1411 *
1412 */
1413
1414/*****************************************************************************
1415 **
1416 ** xcb_void_cookie_t xcb_xfixes_create_region_from_picture
1417 **
1418 ** @param xcb_connection_t *c
1419 ** @param xcb_xfixes_region_t region
1420 ** @param xcb_render_picture_t picture
1421 ** @returns xcb_void_cookie_t
1422 **
1423 *****************************************************************************/
1424
1425xcb_void_cookie_t
1426xcb_xfixes_create_region_from_picture (xcb_connection_t *c /**< */,
1427 xcb_xfixes_region_t region /**< */,
1428 xcb_render_picture_t picture /**< */);
1429
1430/**
1431 *
1432 * @param c The connection
1433 * @return A cookie
1434 *
1435 * Delivers a request to the X server.
1436 *
1437 * This form can be used only if the request will not cause
1438 * a reply to be generated. Any returned error will be
1439 * saved for handling by xcb_request_check().
1440 */
1441
1442/*****************************************************************************
1443 **
1444 ** xcb_void_cookie_t xcb_xfixes_destroy_region_checked
1445 **
1446 ** @param xcb_connection_t *c
1447 ** @param xcb_xfixes_region_t region
1448 ** @returns xcb_void_cookie_t
1449 **
1450 *****************************************************************************/
1451
1452xcb_void_cookie_t
1453xcb_xfixes_destroy_region_checked (xcb_connection_t *c /**< */,
1454 xcb_xfixes_region_t region /**< */);
1455
1456/**
1457 *
1458 * @param c The connection
1459 * @return A cookie
1460 *
1461 * Delivers a request to the X server.
1462 *
1463 */
1464
1465/*****************************************************************************
1466 **
1467 ** xcb_void_cookie_t xcb_xfixes_destroy_region
1468 **
1469 ** @param xcb_connection_t *c
1470 ** @param xcb_xfixes_region_t region
1471 ** @returns xcb_void_cookie_t
1472 **
1473 *****************************************************************************/
1474
1475xcb_void_cookie_t
1476xcb_xfixes_destroy_region (xcb_connection_t *c /**< */,
1477 xcb_xfixes_region_t region /**< */);
1478
1479int
1480xcb_xfixes_set_region_sizeof (const void *_buffer /**< */,
1481 uint32_t rectangles_len /**< */);
1482
1483/**
1484 *
1485 * @param c The connection
1486 * @return A cookie
1487 *
1488 * Delivers a request to the X server.
1489 *
1490 * This form can be used only if the request will not cause
1491 * a reply to be generated. Any returned error will be
1492 * saved for handling by xcb_request_check().
1493 */
1494
1495/*****************************************************************************
1496 **
1497 ** xcb_void_cookie_t xcb_xfixes_set_region_checked
1498 **
1499 ** @param xcb_connection_t *c
1500 ** @param xcb_xfixes_region_t region
1501 ** @param uint32_t rectangles_len
1502 ** @param const xcb_rectangle_t *rectangles
1503 ** @returns xcb_void_cookie_t
1504 **
1505 *****************************************************************************/
1506
1507xcb_void_cookie_t
1508xcb_xfixes_set_region_checked (xcb_connection_t *c /**< */,
1509 xcb_xfixes_region_t region /**< */,
1510 uint32_t rectangles_len /**< */,
1511 const xcb_rectangle_t *rectangles /**< */);
1512
1513/**
1514 *
1515 * @param c The connection
1516 * @return A cookie
1517 *
1518 * Delivers a request to the X server.
1519 *
1520 */
1521
1522/*****************************************************************************
1523 **
1524 ** xcb_void_cookie_t xcb_xfixes_set_region
1525 **
1526 ** @param xcb_connection_t *c
1527 ** @param xcb_xfixes_region_t region
1528 ** @param uint32_t rectangles_len
1529 ** @param const xcb_rectangle_t *rectangles
1530 ** @returns xcb_void_cookie_t
1531 **
1532 *****************************************************************************/
1533
1534xcb_void_cookie_t
1535xcb_xfixes_set_region (xcb_connection_t *c /**< */,
1536 xcb_xfixes_region_t region /**< */,
1537 uint32_t rectangles_len /**< */,
1538 const xcb_rectangle_t *rectangles /**< */);
1539
1540/**
1541 *
1542 * @param c The connection
1543 * @return A cookie
1544 *
1545 * Delivers a request to the X server.
1546 *
1547 * This form can be used only if the request will not cause
1548 * a reply to be generated. Any returned error will be
1549 * saved for handling by xcb_request_check().
1550 */
1551
1552/*****************************************************************************
1553 **
1554 ** xcb_void_cookie_t xcb_xfixes_copy_region_checked
1555 **
1556 ** @param xcb_connection_t *c
1557 ** @param xcb_xfixes_region_t source
1558 ** @param xcb_xfixes_region_t destination
1559 ** @returns xcb_void_cookie_t
1560 **
1561 *****************************************************************************/
1562
1563xcb_void_cookie_t
1564xcb_xfixes_copy_region_checked (xcb_connection_t *c /**< */,
1565 xcb_xfixes_region_t source /**< */,
1566 xcb_xfixes_region_t destination /**< */);
1567
1568/**
1569 *
1570 * @param c The connection
1571 * @return A cookie
1572 *
1573 * Delivers a request to the X server.
1574 *
1575 */
1576
1577/*****************************************************************************
1578 **
1579 ** xcb_void_cookie_t xcb_xfixes_copy_region
1580 **
1581 ** @param xcb_connection_t *c
1582 ** @param xcb_xfixes_region_t source
1583 ** @param xcb_xfixes_region_t destination
1584 ** @returns xcb_void_cookie_t
1585 **
1586 *****************************************************************************/
1587
1588xcb_void_cookie_t
1589xcb_xfixes_copy_region (xcb_connection_t *c /**< */,
1590 xcb_xfixes_region_t source /**< */,
1591 xcb_xfixes_region_t destination /**< */);
1592
1593/**
1594 *
1595 * @param c The connection
1596 * @return A cookie
1597 *
1598 * Delivers a request to the X server.
1599 *
1600 * This form can be used only if the request will not cause
1601 * a reply to be generated. Any returned error will be
1602 * saved for handling by xcb_request_check().
1603 */
1604
1605/*****************************************************************************
1606 **
1607 ** xcb_void_cookie_t xcb_xfixes_union_region_checked
1608 **
1609 ** @param xcb_connection_t *c
1610 ** @param xcb_xfixes_region_t source1
1611 ** @param xcb_xfixes_region_t source2
1612 ** @param xcb_xfixes_region_t destination
1613 ** @returns xcb_void_cookie_t
1614 **
1615 *****************************************************************************/
1616
1617xcb_void_cookie_t
1618xcb_xfixes_union_region_checked (xcb_connection_t *c /**< */,
1619 xcb_xfixes_region_t source1 /**< */,
1620 xcb_xfixes_region_t source2 /**< */,
1621 xcb_xfixes_region_t destination /**< */);
1622
1623/**
1624 *
1625 * @param c The connection
1626 * @return A cookie
1627 *
1628 * Delivers a request to the X server.
1629 *
1630 */
1631
1632/*****************************************************************************
1633 **
1634 ** xcb_void_cookie_t xcb_xfixes_union_region
1635 **
1636 ** @param xcb_connection_t *c
1637 ** @param xcb_xfixes_region_t source1
1638 ** @param xcb_xfixes_region_t source2
1639 ** @param xcb_xfixes_region_t destination
1640 ** @returns xcb_void_cookie_t
1641 **
1642 *****************************************************************************/
1643
1644xcb_void_cookie_t
1645xcb_xfixes_union_region (xcb_connection_t *c /**< */,
1646 xcb_xfixes_region_t source1 /**< */,
1647 xcb_xfixes_region_t source2 /**< */,
1648 xcb_xfixes_region_t destination /**< */);
1649
1650/**
1651 *
1652 * @param c The connection
1653 * @return A cookie
1654 *
1655 * Delivers a request to the X server.
1656 *
1657 * This form can be used only if the request will not cause
1658 * a reply to be generated. Any returned error will be
1659 * saved for handling by xcb_request_check().
1660 */
1661
1662/*****************************************************************************
1663 **
1664 ** xcb_void_cookie_t xcb_xfixes_intersect_region_checked
1665 **
1666 ** @param xcb_connection_t *c
1667 ** @param xcb_xfixes_region_t source1
1668 ** @param xcb_xfixes_region_t source2
1669 ** @param xcb_xfixes_region_t destination
1670 ** @returns xcb_void_cookie_t
1671 **
1672 *****************************************************************************/
1673
1674xcb_void_cookie_t
1675xcb_xfixes_intersect_region_checked (xcb_connection_t *c /**< */,
1676 xcb_xfixes_region_t source1 /**< */,
1677 xcb_xfixes_region_t source2 /**< */,
1678 xcb_xfixes_region_t destination /**< */);
1679
1680/**
1681 *
1682 * @param c The connection
1683 * @return A cookie
1684 *
1685 * Delivers a request to the X server.
1686 *
1687 */
1688
1689/*****************************************************************************
1690 **
1691 ** xcb_void_cookie_t xcb_xfixes_intersect_region
1692 **
1693 ** @param xcb_connection_t *c
1694 ** @param xcb_xfixes_region_t source1
1695 ** @param xcb_xfixes_region_t source2
1696 ** @param xcb_xfixes_region_t destination
1697 ** @returns xcb_void_cookie_t
1698 **
1699 *****************************************************************************/
1700
1701xcb_void_cookie_t
1702xcb_xfixes_intersect_region (xcb_connection_t *c /**< */,
1703 xcb_xfixes_region_t source1 /**< */,
1704 xcb_xfixes_region_t source2 /**< */,
1705 xcb_xfixes_region_t destination /**< */);
1706
1707/**
1708 *
1709 * @param c The connection
1710 * @return A cookie
1711 *
1712 * Delivers a request to the X server.
1713 *
1714 * This form can be used only if the request will not cause
1715 * a reply to be generated. Any returned error will be
1716 * saved for handling by xcb_request_check().
1717 */
1718
1719/*****************************************************************************
1720 **
1721 ** xcb_void_cookie_t xcb_xfixes_subtract_region_checked
1722 **
1723 ** @param xcb_connection_t *c
1724 ** @param xcb_xfixes_region_t source1
1725 ** @param xcb_xfixes_region_t source2
1726 ** @param xcb_xfixes_region_t destination
1727 ** @returns xcb_void_cookie_t
1728 **
1729 *****************************************************************************/
1730
1731xcb_void_cookie_t
1732xcb_xfixes_subtract_region_checked (xcb_connection_t *c /**< */,
1733 xcb_xfixes_region_t source1 /**< */,
1734 xcb_xfixes_region_t source2 /**< */,
1735 xcb_xfixes_region_t destination /**< */);
1736
1737/**
1738 *
1739 * @param c The connection
1740 * @return A cookie
1741 *
1742 * Delivers a request to the X server.
1743 *
1744 */
1745
1746/*****************************************************************************
1747 **
1748 ** xcb_void_cookie_t xcb_xfixes_subtract_region
1749 **
1750 ** @param xcb_connection_t *c
1751 ** @param xcb_xfixes_region_t source1
1752 ** @param xcb_xfixes_region_t source2
1753 ** @param xcb_xfixes_region_t destination
1754 ** @returns xcb_void_cookie_t
1755 **
1756 *****************************************************************************/
1757
1758xcb_void_cookie_t
1759xcb_xfixes_subtract_region (xcb_connection_t *c /**< */,
1760 xcb_xfixes_region_t source1 /**< */,
1761 xcb_xfixes_region_t source2 /**< */,
1762 xcb_xfixes_region_t destination /**< */);
1763
1764/**
1765 *
1766 * @param c The connection
1767 * @return A cookie
1768 *
1769 * Delivers a request to the X server.
1770 *
1771 * This form can be used only if the request will not cause
1772 * a reply to be generated. Any returned error will be
1773 * saved for handling by xcb_request_check().
1774 */
1775
1776/*****************************************************************************
1777 **
1778 ** xcb_void_cookie_t xcb_xfixes_invert_region_checked
1779 **
1780 ** @param xcb_connection_t *c
1781 ** @param xcb_xfixes_region_t source
1782 ** @param xcb_rectangle_t bounds
1783 ** @param xcb_xfixes_region_t destination
1784 ** @returns xcb_void_cookie_t
1785 **
1786 *****************************************************************************/
1787
1788xcb_void_cookie_t
1789xcb_xfixes_invert_region_checked (xcb_connection_t *c /**< */,
1790 xcb_xfixes_region_t source /**< */,
1791 xcb_rectangle_t bounds /**< */,
1792 xcb_xfixes_region_t destination /**< */);
1793
1794/**
1795 *
1796 * @param c The connection
1797 * @return A cookie
1798 *
1799 * Delivers a request to the X server.
1800 *
1801 */
1802
1803/*****************************************************************************
1804 **
1805 ** xcb_void_cookie_t xcb_xfixes_invert_region
1806 **
1807 ** @param xcb_connection_t *c
1808 ** @param xcb_xfixes_region_t source
1809 ** @param xcb_rectangle_t bounds
1810 ** @param xcb_xfixes_region_t destination
1811 ** @returns xcb_void_cookie_t
1812 **
1813 *****************************************************************************/
1814
1815xcb_void_cookie_t
1816xcb_xfixes_invert_region (xcb_connection_t *c /**< */,
1817 xcb_xfixes_region_t source /**< */,
1818 xcb_rectangle_t bounds /**< */,
1819 xcb_xfixes_region_t destination /**< */);
1820
1821/**
1822 *
1823 * @param c The connection
1824 * @return A cookie
1825 *
1826 * Delivers a request to the X server.
1827 *
1828 * This form can be used only if the request will not cause
1829 * a reply to be generated. Any returned error will be
1830 * saved for handling by xcb_request_check().
1831 */
1832
1833/*****************************************************************************
1834 **
1835 ** xcb_void_cookie_t xcb_xfixes_translate_region_checked
1836 **
1837 ** @param xcb_connection_t *c
1838 ** @param xcb_xfixes_region_t region
1839 ** @param int16_t dx
1840 ** @param int16_t dy
1841 ** @returns xcb_void_cookie_t
1842 **
1843 *****************************************************************************/
1844
1845xcb_void_cookie_t
1846xcb_xfixes_translate_region_checked (xcb_connection_t *c /**< */,
1847 xcb_xfixes_region_t region /**< */,
1848 int16_t dx /**< */,
1849 int16_t dy /**< */);
1850
1851/**
1852 *
1853 * @param c The connection
1854 * @return A cookie
1855 *
1856 * Delivers a request to the X server.
1857 *
1858 */
1859
1860/*****************************************************************************
1861 **
1862 ** xcb_void_cookie_t xcb_xfixes_translate_region
1863 **
1864 ** @param xcb_connection_t *c
1865 ** @param xcb_xfixes_region_t region
1866 ** @param int16_t dx
1867 ** @param int16_t dy
1868 ** @returns xcb_void_cookie_t
1869 **
1870 *****************************************************************************/
1871
1872xcb_void_cookie_t
1873xcb_xfixes_translate_region (xcb_connection_t *c /**< */,
1874 xcb_xfixes_region_t region /**< */,
1875 int16_t dx /**< */,
1876 int16_t dy /**< */);
1877
1878/**
1879 *
1880 * @param c The connection
1881 * @return A cookie
1882 *
1883 * Delivers a request to the X server.
1884 *
1885 * This form can be used only if the request will not cause
1886 * a reply to be generated. Any returned error will be
1887 * saved for handling by xcb_request_check().
1888 */
1889
1890/*****************************************************************************
1891 **
1892 ** xcb_void_cookie_t xcb_xfixes_region_extents_checked
1893 **
1894 ** @param xcb_connection_t *c
1895 ** @param xcb_xfixes_region_t source
1896 ** @param xcb_xfixes_region_t destination
1897 ** @returns xcb_void_cookie_t
1898 **
1899 *****************************************************************************/
1900
1901xcb_void_cookie_t
1902xcb_xfixes_region_extents_checked (xcb_connection_t *c /**< */,
1903 xcb_xfixes_region_t source /**< */,
1904 xcb_xfixes_region_t destination /**< */);
1905
1906/**
1907 *
1908 * @param c The connection
1909 * @return A cookie
1910 *
1911 * Delivers a request to the X server.
1912 *
1913 */
1914
1915/*****************************************************************************
1916 **
1917 ** xcb_void_cookie_t xcb_xfixes_region_extents
1918 **
1919 ** @param xcb_connection_t *c
1920 ** @param xcb_xfixes_region_t source
1921 ** @param xcb_xfixes_region_t destination
1922 ** @returns xcb_void_cookie_t
1923 **
1924 *****************************************************************************/
1925
1926xcb_void_cookie_t
1927xcb_xfixes_region_extents (xcb_connection_t *c /**< */,
1928 xcb_xfixes_region_t source /**< */,
1929 xcb_xfixes_region_t destination /**< */);
1930
1931int
1932xcb_xfixes_fetch_region_sizeof (const void *_buffer /**< */);
1933
1934/**
1935 *
1936 * @param c The connection
1937 * @return A cookie
1938 *
1939 * Delivers a request to the X server.
1940 *
1941 */
1942
1943/*****************************************************************************
1944 **
1945 ** xcb_xfixes_fetch_region_cookie_t xcb_xfixes_fetch_region
1946 **
1947 ** @param xcb_connection_t *c
1948 ** @param xcb_xfixes_region_t region
1949 ** @returns xcb_xfixes_fetch_region_cookie_t
1950 **
1951 *****************************************************************************/
1952
1953xcb_xfixes_fetch_region_cookie_t
1954xcb_xfixes_fetch_region (xcb_connection_t *c /**< */,
1955 xcb_xfixes_region_t region /**< */);
1956
1957/**
1958 *
1959 * @param c The connection
1960 * @return A cookie
1961 *
1962 * Delivers a request to the X server.
1963 *
1964 * This form can be used only if the request will cause
1965 * a reply to be generated. Any returned error will be
1966 * placed in the event queue.
1967 */
1968
1969/*****************************************************************************
1970 **
1971 ** xcb_xfixes_fetch_region_cookie_t xcb_xfixes_fetch_region_unchecked
1972 **
1973 ** @param xcb_connection_t *c
1974 ** @param xcb_xfixes_region_t region
1975 ** @returns xcb_xfixes_fetch_region_cookie_t
1976 **
1977 *****************************************************************************/
1978
1979xcb_xfixes_fetch_region_cookie_t
1980xcb_xfixes_fetch_region_unchecked (xcb_connection_t *c /**< */,
1981 xcb_xfixes_region_t region /**< */);
1982
1983
1984/*****************************************************************************
1985 **
1986 ** xcb_rectangle_t * xcb_xfixes_fetch_region_rectangles
1987 **
1988 ** @param const xcb_xfixes_fetch_region_reply_t *R
1989 ** @returns xcb_rectangle_t *
1990 **
1991 *****************************************************************************/
1992
1993xcb_rectangle_t *
1994xcb_xfixes_fetch_region_rectangles (const xcb_xfixes_fetch_region_reply_t *R /**< */);
1995
1996
1997/*****************************************************************************
1998 **
1999 ** int xcb_xfixes_fetch_region_rectangles_length
2000 **
2001 ** @param const xcb_xfixes_fetch_region_reply_t *R
2002 ** @returns int
2003 **
2004 *****************************************************************************/
2005
2006int
2007xcb_xfixes_fetch_region_rectangles_length (const xcb_xfixes_fetch_region_reply_t *R /**< */);
2008
2009
2010/*****************************************************************************
2011 **
2012 ** xcb_rectangle_iterator_t xcb_xfixes_fetch_region_rectangles_iterator
2013 **
2014 ** @param const xcb_xfixes_fetch_region_reply_t *R
2015 ** @returns xcb_rectangle_iterator_t
2016 **
2017 *****************************************************************************/
2018
2019xcb_rectangle_iterator_t
2020xcb_xfixes_fetch_region_rectangles_iterator (const xcb_xfixes_fetch_region_reply_t *R /**< */);
2021
2022/**
2023 * Return the reply
2024 * @param c The connection
2025 * @param cookie The cookie
2026 * @param e The xcb_generic_error_t supplied
2027 *
2028 * Returns the reply of the request asked by
2029 *
2030 * The parameter @p e supplied to this function must be NULL if
2031 * xcb_xfixes_fetch_region_unchecked(). is used.
2032 * Otherwise, it stores the error if any.
2033 *
2034 * The returned value must be freed by the caller using free().
2035 */
2036
2037/*****************************************************************************
2038 **
2039 ** xcb_xfixes_fetch_region_reply_t * xcb_xfixes_fetch_region_reply
2040 **
2041 ** @param xcb_connection_t *c
2042 ** @param xcb_xfixes_fetch_region_cookie_t cookie
2043 ** @param xcb_generic_error_t **e
2044 ** @returns xcb_xfixes_fetch_region_reply_t *
2045 **
2046 *****************************************************************************/
2047
2048xcb_xfixes_fetch_region_reply_t *
2049xcb_xfixes_fetch_region_reply (xcb_connection_t *c /**< */,
2050 xcb_xfixes_fetch_region_cookie_t cookie /**< */,
2051 xcb_generic_error_t **e /**< */);
2052
2053/**
2054 *
2055 * @param c The connection
2056 * @return A cookie
2057 *
2058 * Delivers a request to the X server.
2059 *
2060 * This form can be used only if the request will not cause
2061 * a reply to be generated. Any returned error will be
2062 * saved for handling by xcb_request_check().
2063 */
2064
2065/*****************************************************************************
2066 **
2067 ** xcb_void_cookie_t xcb_xfixes_set_gc_clip_region_checked
2068 **
2069 ** @param xcb_connection_t *c
2070 ** @param xcb_gcontext_t gc
2071 ** @param xcb_xfixes_region_t region
2072 ** @param int16_t x_origin
2073 ** @param int16_t y_origin
2074 ** @returns xcb_void_cookie_t
2075 **
2076 *****************************************************************************/
2077
2078xcb_void_cookie_t
2079xcb_xfixes_set_gc_clip_region_checked (xcb_connection_t *c /**< */,
2080 xcb_gcontext_t gc /**< */,
2081 xcb_xfixes_region_t region /**< */,
2082 int16_t x_origin /**< */,
2083 int16_t y_origin /**< */);
2084
2085/**
2086 *
2087 * @param c The connection
2088 * @return A cookie
2089 *
2090 * Delivers a request to the X server.
2091 *
2092 */
2093
2094/*****************************************************************************
2095 **
2096 ** xcb_void_cookie_t xcb_xfixes_set_gc_clip_region
2097 **
2098 ** @param xcb_connection_t *c
2099 ** @param xcb_gcontext_t gc
2100 ** @param xcb_xfixes_region_t region
2101 ** @param int16_t x_origin
2102 ** @param int16_t y_origin
2103 ** @returns xcb_void_cookie_t
2104 **
2105 *****************************************************************************/
2106
2107xcb_void_cookie_t
2108xcb_xfixes_set_gc_clip_region (xcb_connection_t *c /**< */,
2109 xcb_gcontext_t gc /**< */,
2110 xcb_xfixes_region_t region /**< */,
2111 int16_t x_origin /**< */,
2112 int16_t y_origin /**< */);
2113
2114/**
2115 *
2116 * @param c The connection
2117 * @return A cookie
2118 *
2119 * Delivers a request to the X server.
2120 *
2121 * This form can be used only if the request will not cause
2122 * a reply to be generated. Any returned error will be
2123 * saved for handling by xcb_request_check().
2124 */
2125
2126/*****************************************************************************
2127 **
2128 ** xcb_void_cookie_t xcb_xfixes_set_window_shape_region_checked
2129 **
2130 ** @param xcb_connection_t *c
2131 ** @param xcb_window_t dest
2132 ** @param xcb_shape_kind_t dest_kind
2133 ** @param int16_t x_offset
2134 ** @param int16_t y_offset
2135 ** @param xcb_xfixes_region_t region
2136 ** @returns xcb_void_cookie_t
2137 **
2138 *****************************************************************************/
2139
2140xcb_void_cookie_t
2141xcb_xfixes_set_window_shape_region_checked (xcb_connection_t *c /**< */,
2142 xcb_window_t dest /**< */,
2143 xcb_shape_kind_t dest_kind /**< */,
2144 int16_t x_offset /**< */,
2145 int16_t y_offset /**< */,
2146 xcb_xfixes_region_t region /**< */);
2147
2148/**
2149 *
2150 * @param c The connection
2151 * @return A cookie
2152 *
2153 * Delivers a request to the X server.
2154 *
2155 */
2156
2157/*****************************************************************************
2158 **
2159 ** xcb_void_cookie_t xcb_xfixes_set_window_shape_region
2160 **
2161 ** @param xcb_connection_t *c
2162 ** @param xcb_window_t dest
2163 ** @param xcb_shape_kind_t dest_kind
2164 ** @param int16_t x_offset
2165 ** @param int16_t y_offset
2166 ** @param xcb_xfixes_region_t region
2167 ** @returns xcb_void_cookie_t
2168 **
2169 *****************************************************************************/
2170
2171xcb_void_cookie_t
2172xcb_xfixes_set_window_shape_region (xcb_connection_t *c /**< */,
2173 xcb_window_t dest /**< */,
2174 xcb_shape_kind_t dest_kind /**< */,
2175 int16_t x_offset /**< */,
2176 int16_t y_offset /**< */,
2177 xcb_xfixes_region_t region /**< */);
2178
2179/**
2180 *
2181 * @param c The connection
2182 * @return A cookie
2183 *
2184 * Delivers a request to the X server.
2185 *
2186 * This form can be used only if the request will not cause
2187 * a reply to be generated. Any returned error will be
2188 * saved for handling by xcb_request_check().
2189 */
2190
2191/*****************************************************************************
2192 **
2193 ** xcb_void_cookie_t xcb_xfixes_set_picture_clip_region_checked
2194 **
2195 ** @param xcb_connection_t *c
2196 ** @param xcb_render_picture_t picture
2197 ** @param xcb_xfixes_region_t region
2198 ** @param int16_t x_origin
2199 ** @param int16_t y_origin
2200 ** @returns xcb_void_cookie_t
2201 **
2202 *****************************************************************************/
2203
2204xcb_void_cookie_t
2205xcb_xfixes_set_picture_clip_region_checked (xcb_connection_t *c /**< */,
2206 xcb_render_picture_t picture /**< */,
2207 xcb_xfixes_region_t region /**< */,
2208 int16_t x_origin /**< */,
2209 int16_t y_origin /**< */);
2210
2211/**
2212 *
2213 * @param c The connection
2214 * @return A cookie
2215 *
2216 * Delivers a request to the X server.
2217 *
2218 */
2219
2220/*****************************************************************************
2221 **
2222 ** xcb_void_cookie_t xcb_xfixes_set_picture_clip_region
2223 **
2224 ** @param xcb_connection_t *c
2225 ** @param xcb_render_picture_t picture
2226 ** @param xcb_xfixes_region_t region
2227 ** @param int16_t x_origin
2228 ** @param int16_t y_origin
2229 ** @returns xcb_void_cookie_t
2230 **
2231 *****************************************************************************/
2232
2233xcb_void_cookie_t
2234xcb_xfixes_set_picture_clip_region (xcb_connection_t *c /**< */,
2235 xcb_render_picture_t picture /**< */,
2236 xcb_xfixes_region_t region /**< */,
2237 int16_t x_origin /**< */,
2238 int16_t y_origin /**< */);
2239
2240int
2241xcb_xfixes_set_cursor_name_sizeof (const void *_buffer /**< */);
2242
2243/**
2244 *
2245 * @param c The connection
2246 * @return A cookie
2247 *
2248 * Delivers a request to the X server.
2249 *
2250 * This form can be used only if the request will not cause
2251 * a reply to be generated. Any returned error will be
2252 * saved for handling by xcb_request_check().
2253 */
2254
2255/*****************************************************************************
2256 **
2257 ** xcb_void_cookie_t xcb_xfixes_set_cursor_name_checked
2258 **
2259 ** @param xcb_connection_t *c
2260 ** @param xcb_cursor_t cursor
2261 ** @param uint16_t nbytes
2262 ** @param const char *name
2263 ** @returns xcb_void_cookie_t
2264 **
2265 *****************************************************************************/
2266
2267xcb_void_cookie_t
2268xcb_xfixes_set_cursor_name_checked (xcb_connection_t *c /**< */,
2269 xcb_cursor_t cursor /**< */,
2270 uint16_t nbytes /**< */,
2271 const char *name /**< */);
2272
2273/**
2274 *
2275 * @param c The connection
2276 * @return A cookie
2277 *
2278 * Delivers a request to the X server.
2279 *
2280 */
2281
2282/*****************************************************************************
2283 **
2284 ** xcb_void_cookie_t xcb_xfixes_set_cursor_name
2285 **
2286 ** @param xcb_connection_t *c
2287 ** @param xcb_cursor_t cursor
2288 ** @param uint16_t nbytes
2289 ** @param const char *name
2290 ** @returns xcb_void_cookie_t
2291 **
2292 *****************************************************************************/
2293
2294xcb_void_cookie_t
2295xcb_xfixes_set_cursor_name (xcb_connection_t *c /**< */,
2296 xcb_cursor_t cursor /**< */,
2297 uint16_t nbytes /**< */,
2298 const char *name /**< */);
2299
2300int
2301xcb_xfixes_get_cursor_name_sizeof (const void *_buffer /**< */);
2302
2303/**
2304 *
2305 * @param c The connection
2306 * @return A cookie
2307 *
2308 * Delivers a request to the X server.
2309 *
2310 */
2311
2312/*****************************************************************************
2313 **
2314 ** xcb_xfixes_get_cursor_name_cookie_t xcb_xfixes_get_cursor_name
2315 **
2316 ** @param xcb_connection_t *c
2317 ** @param xcb_cursor_t cursor
2318 ** @returns xcb_xfixes_get_cursor_name_cookie_t
2319 **
2320 *****************************************************************************/
2321
2322xcb_xfixes_get_cursor_name_cookie_t
2323xcb_xfixes_get_cursor_name (xcb_connection_t *c /**< */,
2324 xcb_cursor_t cursor /**< */);
2325
2326/**
2327 *
2328 * @param c The connection
2329 * @return A cookie
2330 *
2331 * Delivers a request to the X server.
2332 *
2333 * This form can be used only if the request will cause
2334 * a reply to be generated. Any returned error will be
2335 * placed in the event queue.
2336 */
2337
2338/*****************************************************************************
2339 **
2340 ** xcb_xfixes_get_cursor_name_cookie_t xcb_xfixes_get_cursor_name_unchecked
2341 **
2342 ** @param xcb_connection_t *c
2343 ** @param xcb_cursor_t cursor
2344 ** @returns xcb_xfixes_get_cursor_name_cookie_t
2345 **
2346 *****************************************************************************/
2347
2348xcb_xfixes_get_cursor_name_cookie_t
2349xcb_xfixes_get_cursor_name_unchecked (xcb_connection_t *c /**< */,
2350 xcb_cursor_t cursor /**< */);
2351
2352
2353/*****************************************************************************
2354 **
2355 ** char * xcb_xfixes_get_cursor_name_name
2356 **
2357 ** @param const xcb_xfixes_get_cursor_name_reply_t *R
2358 ** @returns char *
2359 **
2360 *****************************************************************************/
2361
2362char *
2363xcb_xfixes_get_cursor_name_name (const xcb_xfixes_get_cursor_name_reply_t *R /**< */);
2364
2365
2366/*****************************************************************************
2367 **
2368 ** int xcb_xfixes_get_cursor_name_name_length
2369 **
2370 ** @param const xcb_xfixes_get_cursor_name_reply_t *R
2371 ** @returns int
2372 **
2373 *****************************************************************************/
2374
2375int
2376xcb_xfixes_get_cursor_name_name_length (const xcb_xfixes_get_cursor_name_reply_t *R /**< */);
2377
2378
2379/*****************************************************************************
2380 **
2381 ** xcb_generic_iterator_t xcb_xfixes_get_cursor_name_name_end
2382 **
2383 ** @param const xcb_xfixes_get_cursor_name_reply_t *R
2384 ** @returns xcb_generic_iterator_t
2385 **
2386 *****************************************************************************/
2387
2388xcb_generic_iterator_t
2389xcb_xfixes_get_cursor_name_name_end (const xcb_xfixes_get_cursor_name_reply_t *R /**< */);
2390
2391/**
2392 * Return the reply
2393 * @param c The connection
2394 * @param cookie The cookie
2395 * @param e The xcb_generic_error_t supplied
2396 *
2397 * Returns the reply of the request asked by
2398 *
2399 * The parameter @p e supplied to this function must be NULL if
2400 * xcb_xfixes_get_cursor_name_unchecked(). is used.
2401 * Otherwise, it stores the error if any.
2402 *
2403 * The returned value must be freed by the caller using free().
2404 */
2405
2406/*****************************************************************************
2407 **
2408 ** xcb_xfixes_get_cursor_name_reply_t * xcb_xfixes_get_cursor_name_reply
2409 **
2410 ** @param xcb_connection_t *c
2411 ** @param xcb_xfixes_get_cursor_name_cookie_t cookie
2412 ** @param xcb_generic_error_t **e
2413 ** @returns xcb_xfixes_get_cursor_name_reply_t *
2414 **
2415 *****************************************************************************/
2416
2417xcb_xfixes_get_cursor_name_reply_t *
2418xcb_xfixes_get_cursor_name_reply (xcb_connection_t *c /**< */,
2419 xcb_xfixes_get_cursor_name_cookie_t cookie /**< */,
2420 xcb_generic_error_t **e /**< */);
2421
2422int
2423xcb_xfixes_get_cursor_image_and_name_sizeof (const void *_buffer /**< */);
2424
2425/**
2426 *
2427 * @param c The connection
2428 * @return A cookie
2429 *
2430 * Delivers a request to the X server.
2431 *
2432 */
2433
2434/*****************************************************************************
2435 **
2436 ** xcb_xfixes_get_cursor_image_and_name_cookie_t xcb_xfixes_get_cursor_image_and_name
2437 **
2438 ** @param xcb_connection_t *c
2439 ** @returns xcb_xfixes_get_cursor_image_and_name_cookie_t
2440 **
2441 *****************************************************************************/
2442
2443xcb_xfixes_get_cursor_image_and_name_cookie_t
2444xcb_xfixes_get_cursor_image_and_name (xcb_connection_t *c /**< */);
2445
2446/**
2447 *
2448 * @param c The connection
2449 * @return A cookie
2450 *
2451 * Delivers a request to the X server.
2452 *
2453 * This form can be used only if the request will cause
2454 * a reply to be generated. Any returned error will be
2455 * placed in the event queue.
2456 */
2457
2458/*****************************************************************************
2459 **
2460 ** xcb_xfixes_get_cursor_image_and_name_cookie_t xcb_xfixes_get_cursor_image_and_name_unchecked
2461 **
2462 ** @param xcb_connection_t *c
2463 ** @returns xcb_xfixes_get_cursor_image_and_name_cookie_t
2464 **
2465 *****************************************************************************/
2466
2467xcb_xfixes_get_cursor_image_and_name_cookie_t
2468xcb_xfixes_get_cursor_image_and_name_unchecked (xcb_connection_t *c /**< */);
2469
2470
2471/*****************************************************************************
2472 **
2473 ** char * xcb_xfixes_get_cursor_image_and_name_name
2474 **
2475 ** @param const xcb_xfixes_get_cursor_image_and_name_reply_t *R
2476 ** @returns char *
2477 **
2478 *****************************************************************************/
2479
2480char *
2481xcb_xfixes_get_cursor_image_and_name_name (const xcb_xfixes_get_cursor_image_and_name_reply_t *R /**< */);
2482
2483
2484/*****************************************************************************
2485 **
2486 ** int xcb_xfixes_get_cursor_image_and_name_name_length
2487 **
2488 ** @param const xcb_xfixes_get_cursor_image_and_name_reply_t *R
2489 ** @returns int
2490 **
2491 *****************************************************************************/
2492
2493int
2494xcb_xfixes_get_cursor_image_and_name_name_length (const xcb_xfixes_get_cursor_image_and_name_reply_t *R /**< */);
2495
2496
2497/*****************************************************************************
2498 **
2499 ** xcb_generic_iterator_t xcb_xfixes_get_cursor_image_and_name_name_end
2500 **
2501 ** @param const xcb_xfixes_get_cursor_image_and_name_reply_t *R
2502 ** @returns xcb_generic_iterator_t
2503 **
2504 *****************************************************************************/
2505
2506xcb_generic_iterator_t
2507xcb_xfixes_get_cursor_image_and_name_name_end (const xcb_xfixes_get_cursor_image_and_name_reply_t *R /**< */);
2508
2509
2510/*****************************************************************************
2511 **
2512 ** uint32_t * xcb_xfixes_get_cursor_image_and_name_cursor_image
2513 **
2514 ** @param const xcb_xfixes_get_cursor_image_and_name_reply_t *R
2515 ** @returns uint32_t *
2516 **
2517 *****************************************************************************/
2518
2519uint32_t *
2520xcb_xfixes_get_cursor_image_and_name_cursor_image (const xcb_xfixes_get_cursor_image_and_name_reply_t *R /**< */);
2521
2522
2523/*****************************************************************************
2524 **
2525 ** int xcb_xfixes_get_cursor_image_and_name_cursor_image_length
2526 **
2527 ** @param const xcb_xfixes_get_cursor_image_and_name_reply_t *R
2528 ** @returns int
2529 **
2530 *****************************************************************************/
2531
2532int
2533xcb_xfixes_get_cursor_image_and_name_cursor_image_length (const xcb_xfixes_get_cursor_image_and_name_reply_t *R /**< */);
2534
2535
2536/*****************************************************************************
2537 **
2538 ** xcb_generic_iterator_t xcb_xfixes_get_cursor_image_and_name_cursor_image_end
2539 **
2540 ** @param const xcb_xfixes_get_cursor_image_and_name_reply_t *R
2541 ** @returns xcb_generic_iterator_t
2542 **
2543 *****************************************************************************/
2544
2545xcb_generic_iterator_t
2546xcb_xfixes_get_cursor_image_and_name_cursor_image_end (const xcb_xfixes_get_cursor_image_and_name_reply_t *R /**< */);
2547
2548/**
2549 * Return the reply
2550 * @param c The connection
2551 * @param cookie The cookie
2552 * @param e The xcb_generic_error_t supplied
2553 *
2554 * Returns the reply of the request asked by
2555 *
2556 * The parameter @p e supplied to this function must be NULL if
2557 * xcb_xfixes_get_cursor_image_and_name_unchecked(). is used.
2558 * Otherwise, it stores the error if any.
2559 *
2560 * The returned value must be freed by the caller using free().
2561 */
2562
2563/*****************************************************************************
2564 **
2565 ** xcb_xfixes_get_cursor_image_and_name_reply_t * xcb_xfixes_get_cursor_image_and_name_reply
2566 **
2567 ** @param xcb_connection_t *c
2568 ** @param xcb_xfixes_get_cursor_image_and_name_cookie_t cookie
2569 ** @param xcb_generic_error_t **e
2570 ** @returns xcb_xfixes_get_cursor_image_and_name_reply_t *
2571 **
2572 *****************************************************************************/
2573
2574xcb_xfixes_get_cursor_image_and_name_reply_t *
2575xcb_xfixes_get_cursor_image_and_name_reply (xcb_connection_t *c /**< */,
2576 xcb_xfixes_get_cursor_image_and_name_cookie_t cookie /**< */,
2577 xcb_generic_error_t **e /**< */);
2578
2579/**
2580 *
2581 * @param c The connection
2582 * @return A cookie
2583 *
2584 * Delivers a request to the X server.
2585 *
2586 * This form can be used only if the request will not cause
2587 * a reply to be generated. Any returned error will be
2588 * saved for handling by xcb_request_check().
2589 */
2590
2591/*****************************************************************************
2592 **
2593 ** xcb_void_cookie_t xcb_xfixes_change_cursor_checked
2594 **
2595 ** @param xcb_connection_t *c
2596 ** @param xcb_cursor_t source
2597 ** @param xcb_cursor_t destination
2598 ** @returns xcb_void_cookie_t
2599 **
2600 *****************************************************************************/
2601
2602xcb_void_cookie_t
2603xcb_xfixes_change_cursor_checked (xcb_connection_t *c /**< */,
2604 xcb_cursor_t source /**< */,
2605 xcb_cursor_t destination /**< */);
2606
2607/**
2608 *
2609 * @param c The connection
2610 * @return A cookie
2611 *
2612 * Delivers a request to the X server.
2613 *
2614 */
2615
2616/*****************************************************************************
2617 **
2618 ** xcb_void_cookie_t xcb_xfixes_change_cursor
2619 **
2620 ** @param xcb_connection_t *c
2621 ** @param xcb_cursor_t source
2622 ** @param xcb_cursor_t destination
2623 ** @returns xcb_void_cookie_t
2624 **
2625 *****************************************************************************/
2626
2627xcb_void_cookie_t
2628xcb_xfixes_change_cursor (xcb_connection_t *c /**< */,
2629 xcb_cursor_t source /**< */,
2630 xcb_cursor_t destination /**< */);
2631
2632int
2633xcb_xfixes_change_cursor_by_name_sizeof (const void *_buffer /**< */);
2634
2635/**
2636 *
2637 * @param c The connection
2638 * @return A cookie
2639 *
2640 * Delivers a request to the X server.
2641 *
2642 * This form can be used only if the request will not cause
2643 * a reply to be generated. Any returned error will be
2644 * saved for handling by xcb_request_check().
2645 */
2646
2647/*****************************************************************************
2648 **
2649 ** xcb_void_cookie_t xcb_xfixes_change_cursor_by_name_checked
2650 **
2651 ** @param xcb_connection_t *c
2652 ** @param xcb_cursor_t src
2653 ** @param uint16_t nbytes
2654 ** @param const char *name
2655 ** @returns xcb_void_cookie_t
2656 **
2657 *****************************************************************************/
2658
2659xcb_void_cookie_t
2660xcb_xfixes_change_cursor_by_name_checked (xcb_connection_t *c /**< */,
2661 xcb_cursor_t src /**< */,
2662 uint16_t nbytes /**< */,
2663 const char *name /**< */);
2664
2665/**
2666 *
2667 * @param c The connection
2668 * @return A cookie
2669 *
2670 * Delivers a request to the X server.
2671 *
2672 */
2673
2674/*****************************************************************************
2675 **
2676 ** xcb_void_cookie_t xcb_xfixes_change_cursor_by_name
2677 **
2678 ** @param xcb_connection_t *c
2679 ** @param xcb_cursor_t src
2680 ** @param uint16_t nbytes
2681 ** @param const char *name
2682 ** @returns xcb_void_cookie_t
2683 **
2684 *****************************************************************************/
2685
2686xcb_void_cookie_t
2687xcb_xfixes_change_cursor_by_name (xcb_connection_t *c /**< */,
2688 xcb_cursor_t src /**< */,
2689 uint16_t nbytes /**< */,
2690 const char *name /**< */);
2691
2692/**
2693 *
2694 * @param c The connection
2695 * @return A cookie
2696 *
2697 * Delivers a request to the X server.
2698 *
2699 * This form can be used only if the request will not cause
2700 * a reply to be generated. Any returned error will be
2701 * saved for handling by xcb_request_check().
2702 */
2703
2704/*****************************************************************************
2705 **
2706 ** xcb_void_cookie_t xcb_xfixes_expand_region_checked
2707 **
2708 ** @param xcb_connection_t *c
2709 ** @param xcb_xfixes_region_t source
2710 ** @param xcb_xfixes_region_t destination
2711 ** @param uint16_t left
2712 ** @param uint16_t right
2713 ** @param uint16_t top
2714 ** @param uint16_t bottom
2715 ** @returns xcb_void_cookie_t
2716 **
2717 *****************************************************************************/
2718
2719xcb_void_cookie_t
2720xcb_xfixes_expand_region_checked (xcb_connection_t *c /**< */,
2721 xcb_xfixes_region_t source /**< */,
2722 xcb_xfixes_region_t destination /**< */,
2723 uint16_t left /**< */,
2724 uint16_t right /**< */,
2725 uint16_t top /**< */,
2726 uint16_t bottom /**< */);
2727
2728/**
2729 *
2730 * @param c The connection
2731 * @return A cookie
2732 *
2733 * Delivers a request to the X server.
2734 *
2735 */
2736
2737/*****************************************************************************
2738 **
2739 ** xcb_void_cookie_t xcb_xfixes_expand_region
2740 **
2741 ** @param xcb_connection_t *c
2742 ** @param xcb_xfixes_region_t source
2743 ** @param xcb_xfixes_region_t destination
2744 ** @param uint16_t left
2745 ** @param uint16_t right
2746 ** @param uint16_t top
2747 ** @param uint16_t bottom
2748 ** @returns xcb_void_cookie_t
2749 **
2750 *****************************************************************************/
2751
2752xcb_void_cookie_t
2753xcb_xfixes_expand_region (xcb_connection_t *c /**< */,
2754 xcb_xfixes_region_t source /**< */,
2755 xcb_xfixes_region_t destination /**< */,
2756 uint16_t left /**< */,
2757 uint16_t right /**< */,
2758 uint16_t top /**< */,
2759 uint16_t bottom /**< */);
2760
2761/**
2762 *
2763 * @param c The connection
2764 * @return A cookie
2765 *
2766 * Delivers a request to the X server.
2767 *
2768 * This form can be used only if the request will not cause
2769 * a reply to be generated. Any returned error will be
2770 * saved for handling by xcb_request_check().
2771 */
2772
2773/*****************************************************************************
2774 **
2775 ** xcb_void_cookie_t xcb_xfixes_hide_cursor_checked
2776 **
2777 ** @param xcb_connection_t *c
2778 ** @param xcb_window_t window
2779 ** @returns xcb_void_cookie_t
2780 **
2781 *****************************************************************************/
2782
2783xcb_void_cookie_t
2784xcb_xfixes_hide_cursor_checked (xcb_connection_t *c /**< */,
2785 xcb_window_t window /**< */);
2786
2787/**
2788 *
2789 * @param c The connection
2790 * @return A cookie
2791 *
2792 * Delivers a request to the X server.
2793 *
2794 */
2795
2796/*****************************************************************************
2797 **
2798 ** xcb_void_cookie_t xcb_xfixes_hide_cursor
2799 **
2800 ** @param xcb_connection_t *c
2801 ** @param xcb_window_t window
2802 ** @returns xcb_void_cookie_t
2803 **
2804 *****************************************************************************/
2805
2806xcb_void_cookie_t
2807xcb_xfixes_hide_cursor (xcb_connection_t *c /**< */,
2808 xcb_window_t window /**< */);
2809
2810/**
2811 *
2812 * @param c The connection
2813 * @return A cookie
2814 *
2815 * Delivers a request to the X server.
2816 *
2817 * This form can be used only if the request will not cause
2818 * a reply to be generated. Any returned error will be
2819 * saved for handling by xcb_request_check().
2820 */
2821
2822/*****************************************************************************
2823 **
2824 ** xcb_void_cookie_t xcb_xfixes_show_cursor_checked
2825 **
2826 ** @param xcb_connection_t *c
2827 ** @param xcb_window_t window
2828 ** @returns xcb_void_cookie_t
2829 **
2830 *****************************************************************************/
2831
2832xcb_void_cookie_t
2833xcb_xfixes_show_cursor_checked (xcb_connection_t *c /**< */,
2834 xcb_window_t window /**< */);
2835
2836/**
2837 *
2838 * @param c The connection
2839 * @return A cookie
2840 *
2841 * Delivers a request to the X server.
2842 *
2843 */
2844
2845/*****************************************************************************
2846 **
2847 ** xcb_void_cookie_t xcb_xfixes_show_cursor
2848 **
2849 ** @param xcb_connection_t *c
2850 ** @param xcb_window_t window
2851 ** @returns xcb_void_cookie_t
2852 **
2853 *****************************************************************************/
2854
2855xcb_void_cookie_t
2856xcb_xfixes_show_cursor (xcb_connection_t *c /**< */,
2857 xcb_window_t window /**< */);
2858
2859/**
2860 * Get the next element of the iterator
2861 * @param i Pointer to a xcb_xfixes_barrier_iterator_t
2862 *
2863 * Get the next element in the iterator. The member rem is
2864 * decreased by one. The member data points to the next
2865 * element. The member index is increased by sizeof(xcb_xfixes_barrier_t)
2866 */
2867
2868/*****************************************************************************
2869 **
2870 ** void xcb_xfixes_barrier_next
2871 **
2872 ** @param xcb_xfixes_barrier_iterator_t *i
2873 ** @returns void
2874 **
2875 *****************************************************************************/
2876
2877void
2878xcb_xfixes_barrier_next (xcb_xfixes_barrier_iterator_t *i /**< */);
2879
2880/**
2881 * Return the iterator pointing to the last element
2882 * @param i An xcb_xfixes_barrier_iterator_t
2883 * @return The iterator pointing to the last element
2884 *
2885 * Set the current element in the iterator to the last element.
2886 * The member rem is set to 0. The member data points to the
2887 * last element.
2888 */
2889
2890/*****************************************************************************
2891 **
2892 ** xcb_generic_iterator_t xcb_xfixes_barrier_end
2893 **
2894 ** @param xcb_xfixes_barrier_iterator_t i
2895 ** @returns xcb_generic_iterator_t
2896 **
2897 *****************************************************************************/
2898
2899xcb_generic_iterator_t
2900xcb_xfixes_barrier_end (xcb_xfixes_barrier_iterator_t i /**< */);
2901
2902int
2903xcb_xfixes_create_pointer_barrier_sizeof (const void *_buffer /**< */);
2904
2905/**
2906 *
2907 * @param c The connection
2908 * @return A cookie
2909 *
2910 * Delivers a request to the X server.
2911 *
2912 * This form can be used only if the request will not cause
2913 * a reply to be generated. Any returned error will be
2914 * saved for handling by xcb_request_check().
2915 */
2916
2917/*****************************************************************************
2918 **
2919 ** xcb_void_cookie_t xcb_xfixes_create_pointer_barrier_checked
2920 **
2921 ** @param xcb_connection_t *c
2922 ** @param xcb_xfixes_barrier_t barrier
2923 ** @param xcb_window_t window
2924 ** @param uint16_t x1
2925 ** @param uint16_t y1
2926 ** @param uint16_t x2
2927 ** @param uint16_t y2
2928 ** @param uint32_t directions
2929 ** @param uint16_t num_devices
2930 ** @param const uint16_t *devices
2931 ** @returns xcb_void_cookie_t
2932 **
2933 *****************************************************************************/
2934
2935xcb_void_cookie_t
2936xcb_xfixes_create_pointer_barrier_checked (xcb_connection_t *c /**< */,
2937 xcb_xfixes_barrier_t barrier /**< */,
2938 xcb_window_t window /**< */,
2939 uint16_t x1 /**< */,
2940 uint16_t y1 /**< */,
2941 uint16_t x2 /**< */,
2942 uint16_t y2 /**< */,
2943 uint32_t directions /**< */,
2944 uint16_t num_devices /**< */,
2945 const uint16_t *devices /**< */);
2946
2947/**
2948 *
2949 * @param c The connection
2950 * @return A cookie
2951 *
2952 * Delivers a request to the X server.
2953 *
2954 */
2955
2956/*****************************************************************************
2957 **
2958 ** xcb_void_cookie_t xcb_xfixes_create_pointer_barrier
2959 **
2960 ** @param xcb_connection_t *c
2961 ** @param xcb_xfixes_barrier_t barrier
2962 ** @param xcb_window_t window
2963 ** @param uint16_t x1
2964 ** @param uint16_t y1
2965 ** @param uint16_t x2
2966 ** @param uint16_t y2
2967 ** @param uint32_t directions
2968 ** @param uint16_t num_devices
2969 ** @param const uint16_t *devices
2970 ** @returns xcb_void_cookie_t
2971 **
2972 *****************************************************************************/
2973
2974xcb_void_cookie_t
2975xcb_xfixes_create_pointer_barrier (xcb_connection_t *c /**< */,
2976 xcb_xfixes_barrier_t barrier /**< */,
2977 xcb_window_t window /**< */,
2978 uint16_t x1 /**< */,
2979 uint16_t y1 /**< */,
2980 uint16_t x2 /**< */,
2981 uint16_t y2 /**< */,
2982 uint32_t directions /**< */,
2983 uint16_t num_devices /**< */,
2984 const uint16_t *devices /**< */);
2985
2986/**
2987 *
2988 * @param c The connection
2989 * @return A cookie
2990 *
2991 * Delivers a request to the X server.
2992 *
2993 * This form can be used only if the request will not cause
2994 * a reply to be generated. Any returned error will be
2995 * saved for handling by xcb_request_check().
2996 */
2997
2998/*****************************************************************************
2999 **
3000 ** xcb_void_cookie_t xcb_xfixes_delete_pointer_barrier_checked
3001 **
3002 ** @param xcb_connection_t *c
3003 ** @param xcb_xfixes_barrier_t barrier
3004 ** @returns xcb_void_cookie_t
3005 **
3006 *****************************************************************************/
3007
3008xcb_void_cookie_t
3009xcb_xfixes_delete_pointer_barrier_checked (xcb_connection_t *c /**< */,
3010 xcb_xfixes_barrier_t barrier /**< */);
3011
3012/**
3013 *
3014 * @param c The connection
3015 * @return A cookie
3016 *
3017 * Delivers a request to the X server.
3018 *
3019 */
3020
3021/*****************************************************************************
3022 **
3023 ** xcb_void_cookie_t xcb_xfixes_delete_pointer_barrier
3024 **
3025 ** @param xcb_connection_t *c
3026 ** @param xcb_xfixes_barrier_t barrier
3027 ** @returns xcb_void_cookie_t
3028 **
3029 *****************************************************************************/
3030
3031xcb_void_cookie_t
3032xcb_xfixes_delete_pointer_barrier (xcb_connection_t *c /**< */,
3033 xcb_xfixes_barrier_t barrier /**< */);
3034
3035
3036#ifdef __cplusplus
3037}
3038#endif
3039
3040#endif
3041
3042/**
3043 * @}
3044 */
3045