xref: /minix3/external/mit/xorg/lib/libxcb/files/xfixes.h (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1971bb1a5SLionel Sambuc /*
2971bb1a5SLionel Sambuc  * This file generated automatically from xfixes.xml by c_client.py.
3971bb1a5SLionel Sambuc  * Edit at your peril.
4971bb1a5SLionel Sambuc  */
5971bb1a5SLionel Sambuc 
6971bb1a5SLionel Sambuc /**
7971bb1a5SLionel Sambuc  * @defgroup XCB_XFixes_API XCB XFixes API
8971bb1a5SLionel Sambuc  * @brief XFixes XCB Protocol Implementation.
9971bb1a5SLionel Sambuc  * @{
10971bb1a5SLionel Sambuc  **/
11971bb1a5SLionel Sambuc 
12971bb1a5SLionel Sambuc #ifndef __XFIXES_H
13971bb1a5SLionel Sambuc #define __XFIXES_H
14971bb1a5SLionel Sambuc 
15971bb1a5SLionel Sambuc #include "xcb.h"
16971bb1a5SLionel Sambuc #include "xproto.h"
17971bb1a5SLionel Sambuc #include "render.h"
18971bb1a5SLionel Sambuc #include "shape.h"
19971bb1a5SLionel Sambuc 
20971bb1a5SLionel Sambuc #ifdef __cplusplus
21971bb1a5SLionel Sambuc extern "C" {
22971bb1a5SLionel Sambuc #endif
23971bb1a5SLionel Sambuc 
24*0a6a1f1dSLionel Sambuc #define XCB_XFIXES_MAJOR_VERSION 5
25971bb1a5SLionel Sambuc #define XCB_XFIXES_MINOR_VERSION 0
26971bb1a5SLionel Sambuc 
27971bb1a5SLionel Sambuc extern xcb_extension_t xcb_xfixes_id;
28971bb1a5SLionel Sambuc 
29971bb1a5SLionel Sambuc /**
30971bb1a5SLionel Sambuc  * @brief xcb_xfixes_query_version_cookie_t
31971bb1a5SLionel Sambuc  **/
32971bb1a5SLionel Sambuc typedef struct xcb_xfixes_query_version_cookie_t {
33971bb1a5SLionel Sambuc     unsigned int sequence; /**<  */
34971bb1a5SLionel Sambuc } xcb_xfixes_query_version_cookie_t;
35971bb1a5SLionel Sambuc 
36971bb1a5SLionel Sambuc /** Opcode for xcb_xfixes_query_version. */
37971bb1a5SLionel Sambuc #define XCB_XFIXES_QUERY_VERSION 0
38971bb1a5SLionel Sambuc 
39971bb1a5SLionel Sambuc /**
40971bb1a5SLionel Sambuc  * @brief xcb_xfixes_query_version_request_t
41971bb1a5SLionel Sambuc  **/
42971bb1a5SLionel Sambuc typedef struct xcb_xfixes_query_version_request_t {
43971bb1a5SLionel Sambuc     uint8_t  major_opcode; /**<  */
44971bb1a5SLionel Sambuc     uint8_t  minor_opcode; /**<  */
45971bb1a5SLionel Sambuc     uint16_t length; /**<  */
46971bb1a5SLionel Sambuc     uint32_t client_major_version; /**<  */
47971bb1a5SLionel Sambuc     uint32_t client_minor_version; /**<  */
48971bb1a5SLionel Sambuc } xcb_xfixes_query_version_request_t;
49971bb1a5SLionel Sambuc 
50971bb1a5SLionel Sambuc /**
51971bb1a5SLionel Sambuc  * @brief xcb_xfixes_query_version_reply_t
52971bb1a5SLionel Sambuc  **/
53971bb1a5SLionel Sambuc typedef struct xcb_xfixes_query_version_reply_t {
54971bb1a5SLionel Sambuc     uint8_t  response_type; /**<  */
55971bb1a5SLionel Sambuc     uint8_t  pad0; /**<  */
56971bb1a5SLionel Sambuc     uint16_t sequence; /**<  */
57971bb1a5SLionel Sambuc     uint32_t length; /**<  */
58971bb1a5SLionel Sambuc     uint32_t major_version; /**<  */
59971bb1a5SLionel Sambuc     uint32_t minor_version; /**<  */
60971bb1a5SLionel Sambuc     uint8_t  pad1[16]; /**<  */
61971bb1a5SLionel Sambuc } xcb_xfixes_query_version_reply_t;
62971bb1a5SLionel Sambuc 
63971bb1a5SLionel Sambuc typedef enum xcb_xfixes_save_set_mode_t {
64*0a6a1f1dSLionel Sambuc     XCB_XFIXES_SAVE_SET_MODE_INSERT = 0,
65*0a6a1f1dSLionel Sambuc     XCB_XFIXES_SAVE_SET_MODE_DELETE = 1
66971bb1a5SLionel Sambuc } xcb_xfixes_save_set_mode_t;
67971bb1a5SLionel Sambuc 
68971bb1a5SLionel Sambuc typedef enum xcb_xfixes_save_set_target_t {
69*0a6a1f1dSLionel Sambuc     XCB_XFIXES_SAVE_SET_TARGET_NEAREST = 0,
70*0a6a1f1dSLionel Sambuc     XCB_XFIXES_SAVE_SET_TARGET_ROOT = 1
71971bb1a5SLionel Sambuc } xcb_xfixes_save_set_target_t;
72971bb1a5SLionel Sambuc 
73971bb1a5SLionel Sambuc typedef enum xcb_xfixes_save_set_mapping_t {
74*0a6a1f1dSLionel Sambuc     XCB_XFIXES_SAVE_SET_MAPPING_MAP = 0,
75*0a6a1f1dSLionel Sambuc     XCB_XFIXES_SAVE_SET_MAPPING_UNMAP = 1
76971bb1a5SLionel Sambuc } xcb_xfixes_save_set_mapping_t;
77971bb1a5SLionel Sambuc 
78971bb1a5SLionel Sambuc /** Opcode for xcb_xfixes_change_save_set. */
79971bb1a5SLionel Sambuc #define XCB_XFIXES_CHANGE_SAVE_SET 1
80971bb1a5SLionel Sambuc 
81971bb1a5SLionel Sambuc /**
82971bb1a5SLionel Sambuc  * @brief xcb_xfixes_change_save_set_request_t
83971bb1a5SLionel Sambuc  **/
84971bb1a5SLionel Sambuc typedef struct xcb_xfixes_change_save_set_request_t {
85971bb1a5SLionel Sambuc     uint8_t      major_opcode; /**<  */
86971bb1a5SLionel Sambuc     uint8_t      minor_opcode; /**<  */
87971bb1a5SLionel Sambuc     uint16_t     length; /**<  */
88971bb1a5SLionel Sambuc     uint8_t      mode; /**<  */
89971bb1a5SLionel Sambuc     uint8_t      target; /**<  */
90971bb1a5SLionel Sambuc     uint8_t      map; /**<  */
91971bb1a5SLionel Sambuc     uint8_t      pad0; /**<  */
92971bb1a5SLionel Sambuc     xcb_window_t window; /**<  */
93971bb1a5SLionel Sambuc } xcb_xfixes_change_save_set_request_t;
94971bb1a5SLionel Sambuc 
95971bb1a5SLionel Sambuc typedef enum xcb_xfixes_selection_event_t {
96*0a6a1f1dSLionel Sambuc     XCB_XFIXES_SELECTION_EVENT_SET_SELECTION_OWNER = 0,
97*0a6a1f1dSLionel Sambuc     XCB_XFIXES_SELECTION_EVENT_SELECTION_WINDOW_DESTROY = 1,
98*0a6a1f1dSLionel Sambuc     XCB_XFIXES_SELECTION_EVENT_SELECTION_CLIENT_CLOSE = 2
99971bb1a5SLionel Sambuc } xcb_xfixes_selection_event_t;
100971bb1a5SLionel Sambuc 
101971bb1a5SLionel Sambuc typedef enum xcb_xfixes_selection_event_mask_t {
102971bb1a5SLionel Sambuc     XCB_XFIXES_SELECTION_EVENT_MASK_SET_SELECTION_OWNER = 1,
103971bb1a5SLionel Sambuc     XCB_XFIXES_SELECTION_EVENT_MASK_SELECTION_WINDOW_DESTROY = 2,
104971bb1a5SLionel Sambuc     XCB_XFIXES_SELECTION_EVENT_MASK_SELECTION_CLIENT_CLOSE = 4
105971bb1a5SLionel Sambuc } xcb_xfixes_selection_event_mask_t;
106971bb1a5SLionel Sambuc 
107971bb1a5SLionel Sambuc /** Opcode for xcb_xfixes_selection_notify. */
108971bb1a5SLionel Sambuc #define XCB_XFIXES_SELECTION_NOTIFY 0
109971bb1a5SLionel Sambuc 
110971bb1a5SLionel Sambuc /**
111971bb1a5SLionel Sambuc  * @brief xcb_xfixes_selection_notify_event_t
112971bb1a5SLionel Sambuc  **/
113971bb1a5SLionel Sambuc typedef struct xcb_xfixes_selection_notify_event_t {
114971bb1a5SLionel Sambuc     uint8_t         response_type; /**<  */
115971bb1a5SLionel Sambuc     uint8_t         subtype; /**<  */
116971bb1a5SLionel Sambuc     uint16_t        sequence; /**<  */
117971bb1a5SLionel Sambuc     xcb_window_t    window; /**<  */
118971bb1a5SLionel Sambuc     xcb_window_t    owner; /**<  */
119971bb1a5SLionel Sambuc     xcb_atom_t      selection; /**<  */
120971bb1a5SLionel Sambuc     xcb_timestamp_t timestamp; /**<  */
121971bb1a5SLionel Sambuc     xcb_timestamp_t selection_timestamp; /**<  */
122971bb1a5SLionel Sambuc     uint8_t         pad0[8]; /**<  */
123971bb1a5SLionel Sambuc } xcb_xfixes_selection_notify_event_t;
124971bb1a5SLionel Sambuc 
125971bb1a5SLionel Sambuc /** Opcode for xcb_xfixes_select_selection_input. */
126971bb1a5SLionel Sambuc #define XCB_XFIXES_SELECT_SELECTION_INPUT 2
127971bb1a5SLionel Sambuc 
128971bb1a5SLionel Sambuc /**
129971bb1a5SLionel Sambuc  * @brief xcb_xfixes_select_selection_input_request_t
130971bb1a5SLionel Sambuc  **/
131971bb1a5SLionel Sambuc typedef struct xcb_xfixes_select_selection_input_request_t {
132971bb1a5SLionel Sambuc     uint8_t      major_opcode; /**<  */
133971bb1a5SLionel Sambuc     uint8_t      minor_opcode; /**<  */
134971bb1a5SLionel Sambuc     uint16_t     length; /**<  */
135971bb1a5SLionel Sambuc     xcb_window_t window; /**<  */
136971bb1a5SLionel Sambuc     xcb_atom_t   selection; /**<  */
137971bb1a5SLionel Sambuc     uint32_t     event_mask; /**<  */
138971bb1a5SLionel Sambuc } xcb_xfixes_select_selection_input_request_t;
139971bb1a5SLionel Sambuc 
140971bb1a5SLionel Sambuc typedef enum xcb_xfixes_cursor_notify_t {
141*0a6a1f1dSLionel Sambuc     XCB_XFIXES_CURSOR_NOTIFY_DISPLAY_CURSOR = 0
142971bb1a5SLionel Sambuc } xcb_xfixes_cursor_notify_t;
143971bb1a5SLionel Sambuc 
144971bb1a5SLionel Sambuc typedef enum xcb_xfixes_cursor_notify_mask_t {
145971bb1a5SLionel Sambuc     XCB_XFIXES_CURSOR_NOTIFY_MASK_DISPLAY_CURSOR = 1
146971bb1a5SLionel Sambuc } xcb_xfixes_cursor_notify_mask_t;
147971bb1a5SLionel Sambuc 
148971bb1a5SLionel Sambuc /** Opcode for xcb_xfixes_cursor_notify. */
149971bb1a5SLionel Sambuc #define XCB_XFIXES_CURSOR_NOTIFY 1
150971bb1a5SLionel Sambuc 
151971bb1a5SLionel Sambuc /**
152971bb1a5SLionel Sambuc  * @brief xcb_xfixes_cursor_notify_event_t
153971bb1a5SLionel Sambuc  **/
154971bb1a5SLionel Sambuc typedef struct xcb_xfixes_cursor_notify_event_t {
155971bb1a5SLionel Sambuc     uint8_t         response_type; /**<  */
156971bb1a5SLionel Sambuc     uint8_t         subtype; /**<  */
157971bb1a5SLionel Sambuc     uint16_t        sequence; /**<  */
158971bb1a5SLionel Sambuc     xcb_window_t    window; /**<  */
159971bb1a5SLionel Sambuc     uint32_t        cursor_serial; /**<  */
160971bb1a5SLionel Sambuc     xcb_timestamp_t timestamp; /**<  */
161971bb1a5SLionel Sambuc     xcb_atom_t      name; /**<  */
162971bb1a5SLionel Sambuc     uint8_t         pad0[12]; /**<  */
163971bb1a5SLionel Sambuc } xcb_xfixes_cursor_notify_event_t;
164971bb1a5SLionel Sambuc 
165971bb1a5SLionel Sambuc /** Opcode for xcb_xfixes_select_cursor_input. */
166971bb1a5SLionel Sambuc #define XCB_XFIXES_SELECT_CURSOR_INPUT 3
167971bb1a5SLionel Sambuc 
168971bb1a5SLionel Sambuc /**
169971bb1a5SLionel Sambuc  * @brief xcb_xfixes_select_cursor_input_request_t
170971bb1a5SLionel Sambuc  **/
171971bb1a5SLionel Sambuc typedef struct xcb_xfixes_select_cursor_input_request_t {
172971bb1a5SLionel Sambuc     uint8_t      major_opcode; /**<  */
173971bb1a5SLionel Sambuc     uint8_t      minor_opcode; /**<  */
174971bb1a5SLionel Sambuc     uint16_t     length; /**<  */
175971bb1a5SLionel Sambuc     xcb_window_t window; /**<  */
176971bb1a5SLionel Sambuc     uint32_t     event_mask; /**<  */
177971bb1a5SLionel Sambuc } xcb_xfixes_select_cursor_input_request_t;
178971bb1a5SLionel Sambuc 
179971bb1a5SLionel Sambuc /**
180971bb1a5SLionel Sambuc  * @brief xcb_xfixes_get_cursor_image_cookie_t
181971bb1a5SLionel Sambuc  **/
182971bb1a5SLionel Sambuc typedef struct xcb_xfixes_get_cursor_image_cookie_t {
183971bb1a5SLionel Sambuc     unsigned int sequence; /**<  */
184971bb1a5SLionel Sambuc } xcb_xfixes_get_cursor_image_cookie_t;
185971bb1a5SLionel Sambuc 
186971bb1a5SLionel Sambuc /** Opcode for xcb_xfixes_get_cursor_image. */
187971bb1a5SLionel Sambuc #define XCB_XFIXES_GET_CURSOR_IMAGE 4
188971bb1a5SLionel Sambuc 
189971bb1a5SLionel Sambuc /**
190971bb1a5SLionel Sambuc  * @brief xcb_xfixes_get_cursor_image_request_t
191971bb1a5SLionel Sambuc  **/
192971bb1a5SLionel Sambuc typedef struct xcb_xfixes_get_cursor_image_request_t {
193971bb1a5SLionel Sambuc     uint8_t  major_opcode; /**<  */
194971bb1a5SLionel Sambuc     uint8_t  minor_opcode; /**<  */
195971bb1a5SLionel Sambuc     uint16_t length; /**<  */
196971bb1a5SLionel Sambuc } xcb_xfixes_get_cursor_image_request_t;
197971bb1a5SLionel Sambuc 
198971bb1a5SLionel Sambuc /**
199971bb1a5SLionel Sambuc  * @brief xcb_xfixes_get_cursor_image_reply_t
200971bb1a5SLionel Sambuc  **/
201971bb1a5SLionel Sambuc typedef struct xcb_xfixes_get_cursor_image_reply_t {
202971bb1a5SLionel Sambuc     uint8_t  response_type; /**<  */
203971bb1a5SLionel Sambuc     uint8_t  pad0; /**<  */
204971bb1a5SLionel Sambuc     uint16_t sequence; /**<  */
205971bb1a5SLionel Sambuc     uint32_t length; /**<  */
206971bb1a5SLionel Sambuc     int16_t  x; /**<  */
207971bb1a5SLionel Sambuc     int16_t  y; /**<  */
208971bb1a5SLionel Sambuc     uint16_t width; /**<  */
209971bb1a5SLionel Sambuc     uint16_t height; /**<  */
210971bb1a5SLionel Sambuc     uint16_t xhot; /**<  */
211971bb1a5SLionel Sambuc     uint16_t yhot; /**<  */
212971bb1a5SLionel Sambuc     uint32_t cursor_serial; /**<  */
213971bb1a5SLionel Sambuc     uint8_t  pad1[8]; /**<  */
214971bb1a5SLionel Sambuc } xcb_xfixes_get_cursor_image_reply_t;
215971bb1a5SLionel Sambuc 
216971bb1a5SLionel Sambuc typedef uint32_t xcb_xfixes_region_t;
217971bb1a5SLionel Sambuc 
218971bb1a5SLionel Sambuc /**
219971bb1a5SLionel Sambuc  * @brief xcb_xfixes_region_iterator_t
220971bb1a5SLionel Sambuc  **/
221971bb1a5SLionel Sambuc typedef struct xcb_xfixes_region_iterator_t {
222971bb1a5SLionel Sambuc     xcb_xfixes_region_t *data; /**<  */
223971bb1a5SLionel Sambuc     int                  rem; /**<  */
224971bb1a5SLionel Sambuc     int                  index; /**<  */
225971bb1a5SLionel Sambuc } xcb_xfixes_region_iterator_t;
226971bb1a5SLionel Sambuc 
227971bb1a5SLionel Sambuc /** Opcode for xcb_xfixes_bad_region. */
228971bb1a5SLionel Sambuc #define XCB_XFIXES_BAD_REGION 0
229971bb1a5SLionel Sambuc 
230971bb1a5SLionel Sambuc /**
231971bb1a5SLionel Sambuc  * @brief xcb_xfixes_bad_region_error_t
232971bb1a5SLionel Sambuc  **/
233971bb1a5SLionel Sambuc typedef struct xcb_xfixes_bad_region_error_t {
234971bb1a5SLionel Sambuc     uint8_t  response_type; /**<  */
235971bb1a5SLionel Sambuc     uint8_t  error_code; /**<  */
236971bb1a5SLionel Sambuc     uint16_t sequence; /**<  */
237971bb1a5SLionel Sambuc } xcb_xfixes_bad_region_error_t;
238971bb1a5SLionel Sambuc 
239971bb1a5SLionel Sambuc typedef enum xcb_xfixes_region_enum_t {
240*0a6a1f1dSLionel Sambuc     XCB_XFIXES_REGION_NONE = 0
241971bb1a5SLionel Sambuc } xcb_xfixes_region_enum_t;
242971bb1a5SLionel Sambuc 
243971bb1a5SLionel Sambuc /** Opcode for xcb_xfixes_create_region. */
244971bb1a5SLionel Sambuc #define XCB_XFIXES_CREATE_REGION 5
245971bb1a5SLionel Sambuc 
246971bb1a5SLionel Sambuc /**
247971bb1a5SLionel Sambuc  * @brief xcb_xfixes_create_region_request_t
248971bb1a5SLionel Sambuc  **/
249971bb1a5SLionel Sambuc typedef struct xcb_xfixes_create_region_request_t {
250971bb1a5SLionel Sambuc     uint8_t             major_opcode; /**<  */
251971bb1a5SLionel Sambuc     uint8_t             minor_opcode; /**<  */
252971bb1a5SLionel Sambuc     uint16_t            length; /**<  */
253971bb1a5SLionel Sambuc     xcb_xfixes_region_t region; /**<  */
254971bb1a5SLionel Sambuc } xcb_xfixes_create_region_request_t;
255971bb1a5SLionel Sambuc 
256971bb1a5SLionel Sambuc /** Opcode for xcb_xfixes_create_region_from_bitmap. */
257971bb1a5SLionel Sambuc #define XCB_XFIXES_CREATE_REGION_FROM_BITMAP 6
258971bb1a5SLionel Sambuc 
259971bb1a5SLionel Sambuc /**
260971bb1a5SLionel Sambuc  * @brief xcb_xfixes_create_region_from_bitmap_request_t
261971bb1a5SLionel Sambuc  **/
262971bb1a5SLionel Sambuc typedef struct xcb_xfixes_create_region_from_bitmap_request_t {
263971bb1a5SLionel Sambuc     uint8_t             major_opcode; /**<  */
264971bb1a5SLionel Sambuc     uint8_t             minor_opcode; /**<  */
265971bb1a5SLionel Sambuc     uint16_t            length; /**<  */
266971bb1a5SLionel Sambuc     xcb_xfixes_region_t region; /**<  */
267971bb1a5SLionel Sambuc     xcb_pixmap_t        bitmap; /**<  */
268971bb1a5SLionel Sambuc } xcb_xfixes_create_region_from_bitmap_request_t;
269971bb1a5SLionel Sambuc 
270971bb1a5SLionel Sambuc /** Opcode for xcb_xfixes_create_region_from_window. */
271971bb1a5SLionel Sambuc #define XCB_XFIXES_CREATE_REGION_FROM_WINDOW 7
272971bb1a5SLionel Sambuc 
273971bb1a5SLionel Sambuc /**
274971bb1a5SLionel Sambuc  * @brief xcb_xfixes_create_region_from_window_request_t
275971bb1a5SLionel Sambuc  **/
276971bb1a5SLionel Sambuc typedef struct xcb_xfixes_create_region_from_window_request_t {
277971bb1a5SLionel Sambuc     uint8_t             major_opcode; /**<  */
278971bb1a5SLionel Sambuc     uint8_t             minor_opcode; /**<  */
279971bb1a5SLionel Sambuc     uint16_t            length; /**<  */
280971bb1a5SLionel Sambuc     xcb_xfixes_region_t region; /**<  */
281971bb1a5SLionel Sambuc     xcb_window_t        window; /**<  */
282971bb1a5SLionel Sambuc     xcb_shape_kind_t    kind; /**<  */
283971bb1a5SLionel Sambuc     uint8_t             pad0[3]; /**<  */
284971bb1a5SLionel Sambuc } xcb_xfixes_create_region_from_window_request_t;
285971bb1a5SLionel Sambuc 
286971bb1a5SLionel Sambuc /** Opcode for xcb_xfixes_create_region_from_gc. */
287971bb1a5SLionel Sambuc #define XCB_XFIXES_CREATE_REGION_FROM_GC 8
288971bb1a5SLionel Sambuc 
289971bb1a5SLionel Sambuc /**
290971bb1a5SLionel Sambuc  * @brief xcb_xfixes_create_region_from_gc_request_t
291971bb1a5SLionel Sambuc  **/
292971bb1a5SLionel Sambuc typedef struct xcb_xfixes_create_region_from_gc_request_t {
293971bb1a5SLionel Sambuc     uint8_t             major_opcode; /**<  */
294971bb1a5SLionel Sambuc     uint8_t             minor_opcode; /**<  */
295971bb1a5SLionel Sambuc     uint16_t            length; /**<  */
296971bb1a5SLionel Sambuc     xcb_xfixes_region_t region; /**<  */
297971bb1a5SLionel Sambuc     xcb_gcontext_t      gc; /**<  */
298971bb1a5SLionel Sambuc } xcb_xfixes_create_region_from_gc_request_t;
299971bb1a5SLionel Sambuc 
300971bb1a5SLionel Sambuc /** Opcode for xcb_xfixes_create_region_from_picture. */
301971bb1a5SLionel Sambuc #define XCB_XFIXES_CREATE_REGION_FROM_PICTURE 9
302971bb1a5SLionel Sambuc 
303971bb1a5SLionel Sambuc /**
304971bb1a5SLionel Sambuc  * @brief xcb_xfixes_create_region_from_picture_request_t
305971bb1a5SLionel Sambuc  **/
306971bb1a5SLionel Sambuc typedef struct xcb_xfixes_create_region_from_picture_request_t {
307971bb1a5SLionel Sambuc     uint8_t              major_opcode; /**<  */
308971bb1a5SLionel Sambuc     uint8_t              minor_opcode; /**<  */
309971bb1a5SLionel Sambuc     uint16_t             length; /**<  */
310971bb1a5SLionel Sambuc     xcb_xfixes_region_t  region; /**<  */
311971bb1a5SLionel Sambuc     xcb_render_picture_t picture; /**<  */
312971bb1a5SLionel Sambuc } xcb_xfixes_create_region_from_picture_request_t;
313971bb1a5SLionel Sambuc 
314971bb1a5SLionel Sambuc /** Opcode for xcb_xfixes_destroy_region. */
315971bb1a5SLionel Sambuc #define XCB_XFIXES_DESTROY_REGION 10
316971bb1a5SLionel Sambuc 
317971bb1a5SLionel Sambuc /**
318971bb1a5SLionel Sambuc  * @brief xcb_xfixes_destroy_region_request_t
319971bb1a5SLionel Sambuc  **/
320971bb1a5SLionel Sambuc typedef struct xcb_xfixes_destroy_region_request_t {
321971bb1a5SLionel Sambuc     uint8_t             major_opcode; /**<  */
322971bb1a5SLionel Sambuc     uint8_t             minor_opcode; /**<  */
323971bb1a5SLionel Sambuc     uint16_t            length; /**<  */
324971bb1a5SLionel Sambuc     xcb_xfixes_region_t region; /**<  */
325971bb1a5SLionel Sambuc } xcb_xfixes_destroy_region_request_t;
326971bb1a5SLionel Sambuc 
327971bb1a5SLionel Sambuc /** Opcode for xcb_xfixes_set_region. */
328971bb1a5SLionel Sambuc #define XCB_XFIXES_SET_REGION 11
329971bb1a5SLionel Sambuc 
330971bb1a5SLionel Sambuc /**
331971bb1a5SLionel Sambuc  * @brief xcb_xfixes_set_region_request_t
332971bb1a5SLionel Sambuc  **/
333971bb1a5SLionel Sambuc typedef struct xcb_xfixes_set_region_request_t {
334971bb1a5SLionel Sambuc     uint8_t             major_opcode; /**<  */
335971bb1a5SLionel Sambuc     uint8_t             minor_opcode; /**<  */
336971bb1a5SLionel Sambuc     uint16_t            length; /**<  */
337971bb1a5SLionel Sambuc     xcb_xfixes_region_t region; /**<  */
338971bb1a5SLionel Sambuc } xcb_xfixes_set_region_request_t;
339971bb1a5SLionel Sambuc 
340971bb1a5SLionel Sambuc /** Opcode for xcb_xfixes_copy_region. */
341971bb1a5SLionel Sambuc #define XCB_XFIXES_COPY_REGION 12
342971bb1a5SLionel Sambuc 
343971bb1a5SLionel Sambuc /**
344971bb1a5SLionel Sambuc  * @brief xcb_xfixes_copy_region_request_t
345971bb1a5SLionel Sambuc  **/
346971bb1a5SLionel Sambuc typedef struct xcb_xfixes_copy_region_request_t {
347971bb1a5SLionel Sambuc     uint8_t             major_opcode; /**<  */
348971bb1a5SLionel Sambuc     uint8_t             minor_opcode; /**<  */
349971bb1a5SLionel Sambuc     uint16_t            length; /**<  */
350971bb1a5SLionel Sambuc     xcb_xfixes_region_t source; /**<  */
351971bb1a5SLionel Sambuc     xcb_xfixes_region_t destination; /**<  */
352971bb1a5SLionel Sambuc } xcb_xfixes_copy_region_request_t;
353971bb1a5SLionel Sambuc 
354971bb1a5SLionel Sambuc /** Opcode for xcb_xfixes_union_region. */
355971bb1a5SLionel Sambuc #define XCB_XFIXES_UNION_REGION 13
356971bb1a5SLionel Sambuc 
357971bb1a5SLionel Sambuc /**
358971bb1a5SLionel Sambuc  * @brief xcb_xfixes_union_region_request_t
359971bb1a5SLionel Sambuc  **/
360971bb1a5SLionel Sambuc typedef struct xcb_xfixes_union_region_request_t {
361971bb1a5SLionel Sambuc     uint8_t             major_opcode; /**<  */
362971bb1a5SLionel Sambuc     uint8_t             minor_opcode; /**<  */
363971bb1a5SLionel Sambuc     uint16_t            length; /**<  */
364971bb1a5SLionel Sambuc     xcb_xfixes_region_t source1; /**<  */
365971bb1a5SLionel Sambuc     xcb_xfixes_region_t source2; /**<  */
366971bb1a5SLionel Sambuc     xcb_xfixes_region_t destination; /**<  */
367971bb1a5SLionel Sambuc } xcb_xfixes_union_region_request_t;
368971bb1a5SLionel Sambuc 
369971bb1a5SLionel Sambuc /** Opcode for xcb_xfixes_intersect_region. */
370971bb1a5SLionel Sambuc #define XCB_XFIXES_INTERSECT_REGION 14
371971bb1a5SLionel Sambuc 
372971bb1a5SLionel Sambuc /**
373971bb1a5SLionel Sambuc  * @brief xcb_xfixes_intersect_region_request_t
374971bb1a5SLionel Sambuc  **/
375971bb1a5SLionel Sambuc typedef struct xcb_xfixes_intersect_region_request_t {
376971bb1a5SLionel Sambuc     uint8_t             major_opcode; /**<  */
377971bb1a5SLionel Sambuc     uint8_t             minor_opcode; /**<  */
378971bb1a5SLionel Sambuc     uint16_t            length; /**<  */
379971bb1a5SLionel Sambuc     xcb_xfixes_region_t source1; /**<  */
380971bb1a5SLionel Sambuc     xcb_xfixes_region_t source2; /**<  */
381971bb1a5SLionel Sambuc     xcb_xfixes_region_t destination; /**<  */
382971bb1a5SLionel Sambuc } xcb_xfixes_intersect_region_request_t;
383971bb1a5SLionel Sambuc 
384971bb1a5SLionel Sambuc /** Opcode for xcb_xfixes_subtract_region. */
385971bb1a5SLionel Sambuc #define XCB_XFIXES_SUBTRACT_REGION 15
386971bb1a5SLionel Sambuc 
387971bb1a5SLionel Sambuc /**
388971bb1a5SLionel Sambuc  * @brief xcb_xfixes_subtract_region_request_t
389971bb1a5SLionel Sambuc  **/
390971bb1a5SLionel Sambuc typedef struct xcb_xfixes_subtract_region_request_t {
391971bb1a5SLionel Sambuc     uint8_t             major_opcode; /**<  */
392971bb1a5SLionel Sambuc     uint8_t             minor_opcode; /**<  */
393971bb1a5SLionel Sambuc     uint16_t            length; /**<  */
394971bb1a5SLionel Sambuc     xcb_xfixes_region_t source1; /**<  */
395971bb1a5SLionel Sambuc     xcb_xfixes_region_t source2; /**<  */
396971bb1a5SLionel Sambuc     xcb_xfixes_region_t destination; /**<  */
397971bb1a5SLionel Sambuc } xcb_xfixes_subtract_region_request_t;
398971bb1a5SLionel Sambuc 
399971bb1a5SLionel Sambuc /** Opcode for xcb_xfixes_invert_region. */
400971bb1a5SLionel Sambuc #define XCB_XFIXES_INVERT_REGION 16
401971bb1a5SLionel Sambuc 
402971bb1a5SLionel Sambuc /**
403971bb1a5SLionel Sambuc  * @brief xcb_xfixes_invert_region_request_t
404971bb1a5SLionel Sambuc  **/
405971bb1a5SLionel Sambuc typedef struct xcb_xfixes_invert_region_request_t {
406971bb1a5SLionel Sambuc     uint8_t             major_opcode; /**<  */
407971bb1a5SLionel Sambuc     uint8_t             minor_opcode; /**<  */
408971bb1a5SLionel Sambuc     uint16_t            length; /**<  */
409971bb1a5SLionel Sambuc     xcb_xfixes_region_t source; /**<  */
410971bb1a5SLionel Sambuc     xcb_rectangle_t     bounds; /**<  */
411971bb1a5SLionel Sambuc     xcb_xfixes_region_t destination; /**<  */
412971bb1a5SLionel Sambuc } xcb_xfixes_invert_region_request_t;
413971bb1a5SLionel Sambuc 
414971bb1a5SLionel Sambuc /** Opcode for xcb_xfixes_translate_region. */
415971bb1a5SLionel Sambuc #define XCB_XFIXES_TRANSLATE_REGION 17
416971bb1a5SLionel Sambuc 
417971bb1a5SLionel Sambuc /**
418971bb1a5SLionel Sambuc  * @brief xcb_xfixes_translate_region_request_t
419971bb1a5SLionel Sambuc  **/
420971bb1a5SLionel Sambuc typedef struct xcb_xfixes_translate_region_request_t {
421971bb1a5SLionel Sambuc     uint8_t             major_opcode; /**<  */
422971bb1a5SLionel Sambuc     uint8_t             minor_opcode; /**<  */
423971bb1a5SLionel Sambuc     uint16_t            length; /**<  */
424971bb1a5SLionel Sambuc     xcb_xfixes_region_t region; /**<  */
425971bb1a5SLionel Sambuc     int16_t             dx; /**<  */
426971bb1a5SLionel Sambuc     int16_t             dy; /**<  */
427971bb1a5SLionel Sambuc } xcb_xfixes_translate_region_request_t;
428971bb1a5SLionel Sambuc 
429971bb1a5SLionel Sambuc /** Opcode for xcb_xfixes_region_extents. */
430971bb1a5SLionel Sambuc #define XCB_XFIXES_REGION_EXTENTS 18
431971bb1a5SLionel Sambuc 
432971bb1a5SLionel Sambuc /**
433971bb1a5SLionel Sambuc  * @brief xcb_xfixes_region_extents_request_t
434971bb1a5SLionel Sambuc  **/
435971bb1a5SLionel Sambuc typedef struct xcb_xfixes_region_extents_request_t {
436971bb1a5SLionel Sambuc     uint8_t             major_opcode; /**<  */
437971bb1a5SLionel Sambuc     uint8_t             minor_opcode; /**<  */
438971bb1a5SLionel Sambuc     uint16_t            length; /**<  */
439971bb1a5SLionel Sambuc     xcb_xfixes_region_t source; /**<  */
440971bb1a5SLionel Sambuc     xcb_xfixes_region_t destination; /**<  */
441971bb1a5SLionel Sambuc } xcb_xfixes_region_extents_request_t;
442971bb1a5SLionel Sambuc 
443971bb1a5SLionel Sambuc /**
444971bb1a5SLionel Sambuc  * @brief xcb_xfixes_fetch_region_cookie_t
445971bb1a5SLionel Sambuc  **/
446971bb1a5SLionel Sambuc typedef struct xcb_xfixes_fetch_region_cookie_t {
447971bb1a5SLionel Sambuc     unsigned int sequence; /**<  */
448971bb1a5SLionel Sambuc } xcb_xfixes_fetch_region_cookie_t;
449971bb1a5SLionel Sambuc 
450971bb1a5SLionel Sambuc /** Opcode for xcb_xfixes_fetch_region. */
451971bb1a5SLionel Sambuc #define XCB_XFIXES_FETCH_REGION 19
452971bb1a5SLionel Sambuc 
453971bb1a5SLionel Sambuc /**
454971bb1a5SLionel Sambuc  * @brief xcb_xfixes_fetch_region_request_t
455971bb1a5SLionel Sambuc  **/
456971bb1a5SLionel Sambuc typedef struct xcb_xfixes_fetch_region_request_t {
457971bb1a5SLionel Sambuc     uint8_t             major_opcode; /**<  */
458971bb1a5SLionel Sambuc     uint8_t             minor_opcode; /**<  */
459971bb1a5SLionel Sambuc     uint16_t            length; /**<  */
460971bb1a5SLionel Sambuc     xcb_xfixes_region_t region; /**<  */
461971bb1a5SLionel Sambuc } xcb_xfixes_fetch_region_request_t;
462971bb1a5SLionel Sambuc 
463971bb1a5SLionel Sambuc /**
464971bb1a5SLionel Sambuc  * @brief xcb_xfixes_fetch_region_reply_t
465971bb1a5SLionel Sambuc  **/
466971bb1a5SLionel Sambuc typedef struct xcb_xfixes_fetch_region_reply_t {
467971bb1a5SLionel Sambuc     uint8_t         response_type; /**<  */
468971bb1a5SLionel Sambuc     uint8_t         pad0; /**<  */
469971bb1a5SLionel Sambuc     uint16_t        sequence; /**<  */
470971bb1a5SLionel Sambuc     uint32_t        length; /**<  */
471971bb1a5SLionel Sambuc     xcb_rectangle_t extents; /**<  */
472971bb1a5SLionel Sambuc     uint8_t         pad1[16]; /**<  */
473971bb1a5SLionel Sambuc } xcb_xfixes_fetch_region_reply_t;
474971bb1a5SLionel Sambuc 
475971bb1a5SLionel Sambuc /** Opcode for xcb_xfixes_set_gc_clip_region. */
476971bb1a5SLionel Sambuc #define XCB_XFIXES_SET_GC_CLIP_REGION 20
477971bb1a5SLionel Sambuc 
478971bb1a5SLionel Sambuc /**
479971bb1a5SLionel Sambuc  * @brief xcb_xfixes_set_gc_clip_region_request_t
480971bb1a5SLionel Sambuc  **/
481971bb1a5SLionel Sambuc typedef struct xcb_xfixes_set_gc_clip_region_request_t {
482971bb1a5SLionel Sambuc     uint8_t             major_opcode; /**<  */
483971bb1a5SLionel Sambuc     uint8_t             minor_opcode; /**<  */
484971bb1a5SLionel Sambuc     uint16_t            length; /**<  */
485971bb1a5SLionel Sambuc     xcb_gcontext_t      gc; /**<  */
486971bb1a5SLionel Sambuc     xcb_xfixes_region_t region; /**<  */
487971bb1a5SLionel Sambuc     int16_t             x_origin; /**<  */
488971bb1a5SLionel Sambuc     int16_t             y_origin; /**<  */
489971bb1a5SLionel Sambuc } xcb_xfixes_set_gc_clip_region_request_t;
490971bb1a5SLionel Sambuc 
491971bb1a5SLionel Sambuc /** Opcode for xcb_xfixes_set_window_shape_region. */
492971bb1a5SLionel Sambuc #define XCB_XFIXES_SET_WINDOW_SHAPE_REGION 21
493971bb1a5SLionel Sambuc 
494971bb1a5SLionel Sambuc /**
495971bb1a5SLionel Sambuc  * @brief xcb_xfixes_set_window_shape_region_request_t
496971bb1a5SLionel Sambuc  **/
497971bb1a5SLionel Sambuc typedef struct xcb_xfixes_set_window_shape_region_request_t {
498971bb1a5SLionel Sambuc     uint8_t             major_opcode; /**<  */
499971bb1a5SLionel Sambuc     uint8_t             minor_opcode; /**<  */
500971bb1a5SLionel Sambuc     uint16_t            length; /**<  */
501971bb1a5SLionel Sambuc     xcb_window_t        dest; /**<  */
502971bb1a5SLionel Sambuc     xcb_shape_kind_t    dest_kind; /**<  */
503971bb1a5SLionel Sambuc     uint8_t             pad0[3]; /**<  */
504971bb1a5SLionel Sambuc     int16_t             x_offset; /**<  */
505971bb1a5SLionel Sambuc     int16_t             y_offset; /**<  */
506971bb1a5SLionel Sambuc     xcb_xfixes_region_t region; /**<  */
507971bb1a5SLionel Sambuc } xcb_xfixes_set_window_shape_region_request_t;
508971bb1a5SLionel Sambuc 
509971bb1a5SLionel Sambuc /** Opcode for xcb_xfixes_set_picture_clip_region. */
510971bb1a5SLionel Sambuc #define XCB_XFIXES_SET_PICTURE_CLIP_REGION 22
511971bb1a5SLionel Sambuc 
512971bb1a5SLionel Sambuc /**
513971bb1a5SLionel Sambuc  * @brief xcb_xfixes_set_picture_clip_region_request_t
514971bb1a5SLionel Sambuc  **/
515971bb1a5SLionel Sambuc typedef struct xcb_xfixes_set_picture_clip_region_request_t {
516971bb1a5SLionel Sambuc     uint8_t              major_opcode; /**<  */
517971bb1a5SLionel Sambuc     uint8_t              minor_opcode; /**<  */
518971bb1a5SLionel Sambuc     uint16_t             length; /**<  */
519971bb1a5SLionel Sambuc     xcb_render_picture_t picture; /**<  */
520971bb1a5SLionel Sambuc     xcb_xfixes_region_t  region; /**<  */
521971bb1a5SLionel Sambuc     int16_t              x_origin; /**<  */
522971bb1a5SLionel Sambuc     int16_t              y_origin; /**<  */
523971bb1a5SLionel Sambuc } xcb_xfixes_set_picture_clip_region_request_t;
524971bb1a5SLionel Sambuc 
525971bb1a5SLionel Sambuc /** Opcode for xcb_xfixes_set_cursor_name. */
526971bb1a5SLionel Sambuc #define XCB_XFIXES_SET_CURSOR_NAME 23
527971bb1a5SLionel Sambuc 
528971bb1a5SLionel Sambuc /**
529971bb1a5SLionel Sambuc  * @brief xcb_xfixes_set_cursor_name_request_t
530971bb1a5SLionel Sambuc  **/
531971bb1a5SLionel Sambuc typedef struct xcb_xfixes_set_cursor_name_request_t {
532971bb1a5SLionel Sambuc     uint8_t      major_opcode; /**<  */
533971bb1a5SLionel Sambuc     uint8_t      minor_opcode; /**<  */
534971bb1a5SLionel Sambuc     uint16_t     length; /**<  */
535971bb1a5SLionel Sambuc     xcb_cursor_t cursor; /**<  */
536971bb1a5SLionel Sambuc     uint16_t     nbytes; /**<  */
537971bb1a5SLionel Sambuc     uint8_t      pad0[2]; /**<  */
538971bb1a5SLionel Sambuc } xcb_xfixes_set_cursor_name_request_t;
539971bb1a5SLionel Sambuc 
540971bb1a5SLionel Sambuc /**
541971bb1a5SLionel Sambuc  * @brief xcb_xfixes_get_cursor_name_cookie_t
542971bb1a5SLionel Sambuc  **/
543971bb1a5SLionel Sambuc typedef struct xcb_xfixes_get_cursor_name_cookie_t {
544971bb1a5SLionel Sambuc     unsigned int sequence; /**<  */
545971bb1a5SLionel Sambuc } xcb_xfixes_get_cursor_name_cookie_t;
546971bb1a5SLionel Sambuc 
547971bb1a5SLionel Sambuc /** Opcode for xcb_xfixes_get_cursor_name. */
548971bb1a5SLionel Sambuc #define XCB_XFIXES_GET_CURSOR_NAME 24
549971bb1a5SLionel Sambuc 
550971bb1a5SLionel Sambuc /**
551971bb1a5SLionel Sambuc  * @brief xcb_xfixes_get_cursor_name_request_t
552971bb1a5SLionel Sambuc  **/
553971bb1a5SLionel Sambuc typedef struct xcb_xfixes_get_cursor_name_request_t {
554971bb1a5SLionel Sambuc     uint8_t      major_opcode; /**<  */
555971bb1a5SLionel Sambuc     uint8_t      minor_opcode; /**<  */
556971bb1a5SLionel Sambuc     uint16_t     length; /**<  */
557971bb1a5SLionel Sambuc     xcb_cursor_t cursor; /**<  */
558971bb1a5SLionel Sambuc } xcb_xfixes_get_cursor_name_request_t;
559971bb1a5SLionel Sambuc 
560971bb1a5SLionel Sambuc /**
561971bb1a5SLionel Sambuc  * @brief xcb_xfixes_get_cursor_name_reply_t
562971bb1a5SLionel Sambuc  **/
563971bb1a5SLionel Sambuc typedef struct xcb_xfixes_get_cursor_name_reply_t {
564971bb1a5SLionel Sambuc     uint8_t    response_type; /**<  */
565971bb1a5SLionel Sambuc     uint8_t    pad0; /**<  */
566971bb1a5SLionel Sambuc     uint16_t   sequence; /**<  */
567971bb1a5SLionel Sambuc     uint32_t   length; /**<  */
568971bb1a5SLionel Sambuc     xcb_atom_t atom; /**<  */
569971bb1a5SLionel Sambuc     uint16_t   nbytes; /**<  */
570971bb1a5SLionel Sambuc     uint8_t    pad1[18]; /**<  */
571971bb1a5SLionel Sambuc } xcb_xfixes_get_cursor_name_reply_t;
572971bb1a5SLionel Sambuc 
573971bb1a5SLionel Sambuc /**
574971bb1a5SLionel Sambuc  * @brief xcb_xfixes_get_cursor_image_and_name_cookie_t
575971bb1a5SLionel Sambuc  **/
576971bb1a5SLionel Sambuc typedef struct xcb_xfixes_get_cursor_image_and_name_cookie_t {
577971bb1a5SLionel Sambuc     unsigned int sequence; /**<  */
578971bb1a5SLionel Sambuc } xcb_xfixes_get_cursor_image_and_name_cookie_t;
579971bb1a5SLionel Sambuc 
580971bb1a5SLionel Sambuc /** Opcode for xcb_xfixes_get_cursor_image_and_name. */
581971bb1a5SLionel Sambuc #define XCB_XFIXES_GET_CURSOR_IMAGE_AND_NAME 25
582971bb1a5SLionel Sambuc 
583971bb1a5SLionel Sambuc /**
584971bb1a5SLionel Sambuc  * @brief xcb_xfixes_get_cursor_image_and_name_request_t
585971bb1a5SLionel Sambuc  **/
586971bb1a5SLionel Sambuc typedef struct xcb_xfixes_get_cursor_image_and_name_request_t {
587971bb1a5SLionel Sambuc     uint8_t  major_opcode; /**<  */
588971bb1a5SLionel Sambuc     uint8_t  minor_opcode; /**<  */
589971bb1a5SLionel Sambuc     uint16_t length; /**<  */
590971bb1a5SLionel Sambuc } xcb_xfixes_get_cursor_image_and_name_request_t;
591971bb1a5SLionel Sambuc 
592971bb1a5SLionel Sambuc /**
593971bb1a5SLionel Sambuc  * @brief xcb_xfixes_get_cursor_image_and_name_reply_t
594971bb1a5SLionel Sambuc  **/
595971bb1a5SLionel Sambuc typedef struct xcb_xfixes_get_cursor_image_and_name_reply_t {
596971bb1a5SLionel Sambuc     uint8_t    response_type; /**<  */
597971bb1a5SLionel Sambuc     uint8_t    pad0; /**<  */
598971bb1a5SLionel Sambuc     uint16_t   sequence; /**<  */
599971bb1a5SLionel Sambuc     uint32_t   length; /**<  */
600971bb1a5SLionel Sambuc     int16_t    x; /**<  */
601971bb1a5SLionel Sambuc     int16_t    y; /**<  */
602971bb1a5SLionel Sambuc     uint16_t   width; /**<  */
603971bb1a5SLionel Sambuc     uint16_t   height; /**<  */
604971bb1a5SLionel Sambuc     uint16_t   xhot; /**<  */
605971bb1a5SLionel Sambuc     uint16_t   yhot; /**<  */
606971bb1a5SLionel Sambuc     uint32_t   cursor_serial; /**<  */
607971bb1a5SLionel Sambuc     xcb_atom_t cursor_atom; /**<  */
608971bb1a5SLionel Sambuc     uint16_t   nbytes; /**<  */
609971bb1a5SLionel Sambuc     uint8_t    pad1[2]; /**<  */
610971bb1a5SLionel Sambuc } xcb_xfixes_get_cursor_image_and_name_reply_t;
611971bb1a5SLionel Sambuc 
612971bb1a5SLionel Sambuc /** Opcode for xcb_xfixes_change_cursor. */
613971bb1a5SLionel Sambuc #define XCB_XFIXES_CHANGE_CURSOR 26
614971bb1a5SLionel Sambuc 
615971bb1a5SLionel Sambuc /**
616971bb1a5SLionel Sambuc  * @brief xcb_xfixes_change_cursor_request_t
617971bb1a5SLionel Sambuc  **/
618971bb1a5SLionel Sambuc typedef struct xcb_xfixes_change_cursor_request_t {
619971bb1a5SLionel Sambuc     uint8_t      major_opcode; /**<  */
620971bb1a5SLionel Sambuc     uint8_t      minor_opcode; /**<  */
621971bb1a5SLionel Sambuc     uint16_t     length; /**<  */
622971bb1a5SLionel Sambuc     xcb_cursor_t source; /**<  */
623971bb1a5SLionel Sambuc     xcb_cursor_t destination; /**<  */
624971bb1a5SLionel Sambuc } xcb_xfixes_change_cursor_request_t;
625971bb1a5SLionel Sambuc 
626971bb1a5SLionel Sambuc /** Opcode for xcb_xfixes_change_cursor_by_name. */
627971bb1a5SLionel Sambuc #define XCB_XFIXES_CHANGE_CURSOR_BY_NAME 27
628971bb1a5SLionel Sambuc 
629971bb1a5SLionel Sambuc /**
630971bb1a5SLionel Sambuc  * @brief xcb_xfixes_change_cursor_by_name_request_t
631971bb1a5SLionel Sambuc  **/
632971bb1a5SLionel Sambuc typedef struct xcb_xfixes_change_cursor_by_name_request_t {
633971bb1a5SLionel Sambuc     uint8_t      major_opcode; /**<  */
634971bb1a5SLionel Sambuc     uint8_t      minor_opcode; /**<  */
635971bb1a5SLionel Sambuc     uint16_t     length; /**<  */
636971bb1a5SLionel Sambuc     xcb_cursor_t src; /**<  */
637971bb1a5SLionel Sambuc     uint16_t     nbytes; /**<  */
638971bb1a5SLionel Sambuc     uint8_t      pad0[2]; /**<  */
639971bb1a5SLionel Sambuc } xcb_xfixes_change_cursor_by_name_request_t;
640971bb1a5SLionel Sambuc 
641971bb1a5SLionel Sambuc /** Opcode for xcb_xfixes_expand_region. */
642971bb1a5SLionel Sambuc #define XCB_XFIXES_EXPAND_REGION 28
643971bb1a5SLionel Sambuc 
644971bb1a5SLionel Sambuc /**
645971bb1a5SLionel Sambuc  * @brief xcb_xfixes_expand_region_request_t
646971bb1a5SLionel Sambuc  **/
647971bb1a5SLionel Sambuc typedef struct xcb_xfixes_expand_region_request_t {
648971bb1a5SLionel Sambuc     uint8_t             major_opcode; /**<  */
649971bb1a5SLionel Sambuc     uint8_t             minor_opcode; /**<  */
650971bb1a5SLionel Sambuc     uint16_t            length; /**<  */
651971bb1a5SLionel Sambuc     xcb_xfixes_region_t source; /**<  */
652971bb1a5SLionel Sambuc     xcb_xfixes_region_t destination; /**<  */
653971bb1a5SLionel Sambuc     uint16_t            left; /**<  */
654971bb1a5SLionel Sambuc     uint16_t            right; /**<  */
655971bb1a5SLionel Sambuc     uint16_t            top; /**<  */
656971bb1a5SLionel Sambuc     uint16_t            bottom; /**<  */
657971bb1a5SLionel Sambuc } xcb_xfixes_expand_region_request_t;
658971bb1a5SLionel Sambuc 
659971bb1a5SLionel Sambuc /** Opcode for xcb_xfixes_hide_cursor. */
660971bb1a5SLionel Sambuc #define XCB_XFIXES_HIDE_CURSOR 29
661971bb1a5SLionel Sambuc 
662971bb1a5SLionel Sambuc /**
663971bb1a5SLionel Sambuc  * @brief xcb_xfixes_hide_cursor_request_t
664971bb1a5SLionel Sambuc  **/
665971bb1a5SLionel Sambuc typedef struct xcb_xfixes_hide_cursor_request_t {
666971bb1a5SLionel Sambuc     uint8_t      major_opcode; /**<  */
667971bb1a5SLionel Sambuc     uint8_t      minor_opcode; /**<  */
668971bb1a5SLionel Sambuc     uint16_t     length; /**<  */
669971bb1a5SLionel Sambuc     xcb_window_t window; /**<  */
670971bb1a5SLionel Sambuc } xcb_xfixes_hide_cursor_request_t;
671971bb1a5SLionel Sambuc 
672971bb1a5SLionel Sambuc /** Opcode for xcb_xfixes_show_cursor. */
673971bb1a5SLionel Sambuc #define XCB_XFIXES_SHOW_CURSOR 30
674971bb1a5SLionel Sambuc 
675971bb1a5SLionel Sambuc /**
676971bb1a5SLionel Sambuc  * @brief xcb_xfixes_show_cursor_request_t
677971bb1a5SLionel Sambuc  **/
678971bb1a5SLionel Sambuc typedef struct xcb_xfixes_show_cursor_request_t {
679971bb1a5SLionel Sambuc     uint8_t      major_opcode; /**<  */
680971bb1a5SLionel Sambuc     uint8_t      minor_opcode; /**<  */
681971bb1a5SLionel Sambuc     uint16_t     length; /**<  */
682971bb1a5SLionel Sambuc     xcb_window_t window; /**<  */
683971bb1a5SLionel Sambuc } xcb_xfixes_show_cursor_request_t;
684971bb1a5SLionel Sambuc 
685*0a6a1f1dSLionel Sambuc typedef uint32_t xcb_xfixes_barrier_t;
686*0a6a1f1dSLionel Sambuc 
687*0a6a1f1dSLionel Sambuc /**
688*0a6a1f1dSLionel Sambuc  * @brief xcb_xfixes_barrier_iterator_t
689*0a6a1f1dSLionel Sambuc  **/
690*0a6a1f1dSLionel Sambuc typedef struct xcb_xfixes_barrier_iterator_t {
691*0a6a1f1dSLionel Sambuc     xcb_xfixes_barrier_t *data; /**<  */
692*0a6a1f1dSLionel Sambuc     int                   rem; /**<  */
693*0a6a1f1dSLionel Sambuc     int                   index; /**<  */
694*0a6a1f1dSLionel Sambuc } xcb_xfixes_barrier_iterator_t;
695*0a6a1f1dSLionel Sambuc 
696*0a6a1f1dSLionel Sambuc typedef enum xcb_xfixes_barrier_directions_t {
697*0a6a1f1dSLionel Sambuc     XCB_XFIXES_BARRIER_DIRECTIONS_POSITIVE_X = 1,
698*0a6a1f1dSLionel Sambuc     XCB_XFIXES_BARRIER_DIRECTIONS_POSITIVE_Y = 2,
699*0a6a1f1dSLionel Sambuc     XCB_XFIXES_BARRIER_DIRECTIONS_NEGATIVE_X = 4,
700*0a6a1f1dSLionel Sambuc     XCB_XFIXES_BARRIER_DIRECTIONS_NEGATIVE_Y = 8
701*0a6a1f1dSLionel Sambuc } xcb_xfixes_barrier_directions_t;
702*0a6a1f1dSLionel Sambuc 
703*0a6a1f1dSLionel Sambuc /** Opcode for xcb_xfixes_create_pointer_barrier. */
704*0a6a1f1dSLionel Sambuc #define XCB_XFIXES_CREATE_POINTER_BARRIER 31
705*0a6a1f1dSLionel Sambuc 
706*0a6a1f1dSLionel Sambuc /**
707*0a6a1f1dSLionel Sambuc  * @brief xcb_xfixes_create_pointer_barrier_request_t
708*0a6a1f1dSLionel Sambuc  **/
709*0a6a1f1dSLionel Sambuc typedef struct xcb_xfixes_create_pointer_barrier_request_t {
710*0a6a1f1dSLionel Sambuc     uint8_t              major_opcode; /**<  */
711*0a6a1f1dSLionel Sambuc     uint8_t              minor_opcode; /**<  */
712*0a6a1f1dSLionel Sambuc     uint16_t             length; /**<  */
713*0a6a1f1dSLionel Sambuc     xcb_xfixes_barrier_t barrier; /**<  */
714*0a6a1f1dSLionel Sambuc     xcb_window_t         window; /**<  */
715*0a6a1f1dSLionel Sambuc     uint16_t             x1; /**<  */
716*0a6a1f1dSLionel Sambuc     uint16_t             y1; /**<  */
717*0a6a1f1dSLionel Sambuc     uint16_t             x2; /**<  */
718*0a6a1f1dSLionel Sambuc     uint16_t             y2; /**<  */
719*0a6a1f1dSLionel Sambuc     uint32_t             directions; /**<  */
720*0a6a1f1dSLionel Sambuc     uint8_t              pad0[2]; /**<  */
721*0a6a1f1dSLionel Sambuc     uint16_t             num_devices; /**<  */
722*0a6a1f1dSLionel Sambuc } xcb_xfixes_create_pointer_barrier_request_t;
723*0a6a1f1dSLionel Sambuc 
724*0a6a1f1dSLionel Sambuc /** Opcode for xcb_xfixes_delete_pointer_barrier. */
725*0a6a1f1dSLionel Sambuc #define XCB_XFIXES_DELETE_POINTER_BARRIER 32
726*0a6a1f1dSLionel Sambuc 
727*0a6a1f1dSLionel Sambuc /**
728*0a6a1f1dSLionel Sambuc  * @brief xcb_xfixes_delete_pointer_barrier_request_t
729*0a6a1f1dSLionel Sambuc  **/
730*0a6a1f1dSLionel Sambuc typedef struct xcb_xfixes_delete_pointer_barrier_request_t {
731*0a6a1f1dSLionel Sambuc     uint8_t              major_opcode; /**<  */
732*0a6a1f1dSLionel Sambuc     uint8_t              minor_opcode; /**<  */
733*0a6a1f1dSLionel Sambuc     uint16_t             length; /**<  */
734*0a6a1f1dSLionel Sambuc     xcb_xfixes_barrier_t barrier; /**<  */
735*0a6a1f1dSLionel Sambuc } xcb_xfixes_delete_pointer_barrier_request_t;
736*0a6a1f1dSLionel Sambuc 
737971bb1a5SLionel Sambuc /**
738971bb1a5SLionel Sambuc  *
739971bb1a5SLionel Sambuc  * @param c The connection
740971bb1a5SLionel Sambuc  * @return A cookie
741971bb1a5SLionel Sambuc  *
742971bb1a5SLionel Sambuc  * Delivers a request to the X server.
743971bb1a5SLionel Sambuc  *
744971bb1a5SLionel Sambuc  */
745971bb1a5SLionel Sambuc xcb_xfixes_query_version_cookie_t
746971bb1a5SLionel Sambuc xcb_xfixes_query_version (xcb_connection_t *c  /**< */,
747971bb1a5SLionel Sambuc                           uint32_t          client_major_version  /**< */,
748971bb1a5SLionel Sambuc                           uint32_t          client_minor_version  /**< */);
749971bb1a5SLionel Sambuc 
750971bb1a5SLionel Sambuc /**
751971bb1a5SLionel Sambuc  *
752971bb1a5SLionel Sambuc  * @param c The connection
753971bb1a5SLionel Sambuc  * @return A cookie
754971bb1a5SLionel Sambuc  *
755971bb1a5SLionel Sambuc  * Delivers a request to the X server.
756971bb1a5SLionel Sambuc  *
757971bb1a5SLionel Sambuc  * This form can be used only if the request will cause
758971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
759971bb1a5SLionel Sambuc  * placed in the event queue.
760971bb1a5SLionel Sambuc  */
761971bb1a5SLionel Sambuc xcb_xfixes_query_version_cookie_t
762971bb1a5SLionel Sambuc xcb_xfixes_query_version_unchecked (xcb_connection_t *c  /**< */,
763971bb1a5SLionel Sambuc                                     uint32_t          client_major_version  /**< */,
764971bb1a5SLionel Sambuc                                     uint32_t          client_minor_version  /**< */);
765971bb1a5SLionel Sambuc 
766971bb1a5SLionel Sambuc /**
767971bb1a5SLionel Sambuc  * Return the reply
768971bb1a5SLionel Sambuc  * @param c      The connection
769971bb1a5SLionel Sambuc  * @param cookie The cookie
770971bb1a5SLionel Sambuc  * @param e      The xcb_generic_error_t supplied
771971bb1a5SLionel Sambuc  *
772971bb1a5SLionel Sambuc  * Returns the reply of the request asked by
773971bb1a5SLionel Sambuc  *
774971bb1a5SLionel Sambuc  * The parameter @p e supplied to this function must be NULL if
775971bb1a5SLionel Sambuc  * xcb_xfixes_query_version_unchecked(). is used.
776971bb1a5SLionel Sambuc  * Otherwise, it stores the error if any.
777971bb1a5SLionel Sambuc  *
778971bb1a5SLionel Sambuc  * The returned value must be freed by the caller using free().
779971bb1a5SLionel Sambuc  */
780971bb1a5SLionel Sambuc xcb_xfixes_query_version_reply_t *
781971bb1a5SLionel Sambuc xcb_xfixes_query_version_reply (xcb_connection_t                   *c  /**< */,
782971bb1a5SLionel Sambuc                                 xcb_xfixes_query_version_cookie_t   cookie  /**< */,
783971bb1a5SLionel Sambuc                                 xcb_generic_error_t               **e  /**< */);
784971bb1a5SLionel Sambuc 
785971bb1a5SLionel Sambuc /**
786971bb1a5SLionel Sambuc  *
787971bb1a5SLionel Sambuc  * @param c The connection
788971bb1a5SLionel Sambuc  * @return A cookie
789971bb1a5SLionel Sambuc  *
790971bb1a5SLionel Sambuc  * Delivers a request to the X server.
791971bb1a5SLionel Sambuc  *
792971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
793971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
794971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
795971bb1a5SLionel Sambuc  */
796971bb1a5SLionel Sambuc xcb_void_cookie_t
797971bb1a5SLionel Sambuc xcb_xfixes_change_save_set_checked (xcb_connection_t *c  /**< */,
798971bb1a5SLionel Sambuc                                     uint8_t           mode  /**< */,
799971bb1a5SLionel Sambuc                                     uint8_t           target  /**< */,
800971bb1a5SLionel Sambuc                                     uint8_t           map  /**< */,
801971bb1a5SLionel Sambuc                                     xcb_window_t      window  /**< */);
802971bb1a5SLionel Sambuc 
803971bb1a5SLionel Sambuc /**
804971bb1a5SLionel Sambuc  *
805971bb1a5SLionel Sambuc  * @param c The connection
806971bb1a5SLionel Sambuc  * @return A cookie
807971bb1a5SLionel Sambuc  *
808971bb1a5SLionel Sambuc  * Delivers a request to the X server.
809971bb1a5SLionel Sambuc  *
810971bb1a5SLionel Sambuc  */
811971bb1a5SLionel Sambuc xcb_void_cookie_t
812971bb1a5SLionel Sambuc xcb_xfixes_change_save_set (xcb_connection_t *c  /**< */,
813971bb1a5SLionel Sambuc                             uint8_t           mode  /**< */,
814971bb1a5SLionel Sambuc                             uint8_t           target  /**< */,
815971bb1a5SLionel Sambuc                             uint8_t           map  /**< */,
816971bb1a5SLionel Sambuc                             xcb_window_t      window  /**< */);
817971bb1a5SLionel Sambuc 
818971bb1a5SLionel Sambuc /**
819971bb1a5SLionel Sambuc  *
820971bb1a5SLionel Sambuc  * @param c The connection
821971bb1a5SLionel Sambuc  * @return A cookie
822971bb1a5SLionel Sambuc  *
823971bb1a5SLionel Sambuc  * Delivers a request to the X server.
824971bb1a5SLionel Sambuc  *
825971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
826971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
827971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
828971bb1a5SLionel Sambuc  */
829971bb1a5SLionel Sambuc xcb_void_cookie_t
830971bb1a5SLionel Sambuc xcb_xfixes_select_selection_input_checked (xcb_connection_t *c  /**< */,
831971bb1a5SLionel Sambuc                                            xcb_window_t      window  /**< */,
832971bb1a5SLionel Sambuc                                            xcb_atom_t        selection  /**< */,
833971bb1a5SLionel Sambuc                                            uint32_t          event_mask  /**< */);
834971bb1a5SLionel Sambuc 
835971bb1a5SLionel Sambuc /**
836971bb1a5SLionel Sambuc  *
837971bb1a5SLionel Sambuc  * @param c The connection
838971bb1a5SLionel Sambuc  * @return A cookie
839971bb1a5SLionel Sambuc  *
840971bb1a5SLionel Sambuc  * Delivers a request to the X server.
841971bb1a5SLionel Sambuc  *
842971bb1a5SLionel Sambuc  */
843971bb1a5SLionel Sambuc xcb_void_cookie_t
844971bb1a5SLionel Sambuc xcb_xfixes_select_selection_input (xcb_connection_t *c  /**< */,
845971bb1a5SLionel Sambuc                                    xcb_window_t      window  /**< */,
846971bb1a5SLionel Sambuc                                    xcb_atom_t        selection  /**< */,
847971bb1a5SLionel Sambuc                                    uint32_t          event_mask  /**< */);
848971bb1a5SLionel Sambuc 
849971bb1a5SLionel Sambuc /**
850971bb1a5SLionel Sambuc  *
851971bb1a5SLionel Sambuc  * @param c The connection
852971bb1a5SLionel Sambuc  * @return A cookie
853971bb1a5SLionel Sambuc  *
854971bb1a5SLionel Sambuc  * Delivers a request to the X server.
855971bb1a5SLionel Sambuc  *
856971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
857971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
858971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
859971bb1a5SLionel Sambuc  */
860971bb1a5SLionel Sambuc xcb_void_cookie_t
861971bb1a5SLionel Sambuc xcb_xfixes_select_cursor_input_checked (xcb_connection_t *c  /**< */,
862971bb1a5SLionel Sambuc                                         xcb_window_t      window  /**< */,
863971bb1a5SLionel Sambuc                                         uint32_t          event_mask  /**< */);
864971bb1a5SLionel Sambuc 
865971bb1a5SLionel Sambuc /**
866971bb1a5SLionel Sambuc  *
867971bb1a5SLionel Sambuc  * @param c The connection
868971bb1a5SLionel Sambuc  * @return A cookie
869971bb1a5SLionel Sambuc  *
870971bb1a5SLionel Sambuc  * Delivers a request to the X server.
871971bb1a5SLionel Sambuc  *
872971bb1a5SLionel Sambuc  */
873971bb1a5SLionel Sambuc xcb_void_cookie_t
874971bb1a5SLionel Sambuc xcb_xfixes_select_cursor_input (xcb_connection_t *c  /**< */,
875971bb1a5SLionel Sambuc                                 xcb_window_t      window  /**< */,
876971bb1a5SLionel Sambuc                                 uint32_t          event_mask  /**< */);
877971bb1a5SLionel Sambuc 
878971bb1a5SLionel Sambuc int
879971bb1a5SLionel Sambuc xcb_xfixes_get_cursor_image_sizeof (const void  *_buffer  /**< */);
880971bb1a5SLionel Sambuc 
881971bb1a5SLionel Sambuc /**
882971bb1a5SLionel Sambuc  *
883971bb1a5SLionel Sambuc  * @param c The connection
884971bb1a5SLionel Sambuc  * @return A cookie
885971bb1a5SLionel Sambuc  *
886971bb1a5SLionel Sambuc  * Delivers a request to the X server.
887971bb1a5SLionel Sambuc  *
888971bb1a5SLionel Sambuc  */
889971bb1a5SLionel Sambuc xcb_xfixes_get_cursor_image_cookie_t
890971bb1a5SLionel Sambuc xcb_xfixes_get_cursor_image (xcb_connection_t *c  /**< */);
891971bb1a5SLionel Sambuc 
892971bb1a5SLionel Sambuc /**
893971bb1a5SLionel Sambuc  *
894971bb1a5SLionel Sambuc  * @param c The connection
895971bb1a5SLionel Sambuc  * @return A cookie
896971bb1a5SLionel Sambuc  *
897971bb1a5SLionel Sambuc  * Delivers a request to the X server.
898971bb1a5SLionel Sambuc  *
899971bb1a5SLionel Sambuc  * This form can be used only if the request will cause
900971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
901971bb1a5SLionel Sambuc  * placed in the event queue.
902971bb1a5SLionel Sambuc  */
903971bb1a5SLionel Sambuc xcb_xfixes_get_cursor_image_cookie_t
904971bb1a5SLionel Sambuc xcb_xfixes_get_cursor_image_unchecked (xcb_connection_t *c  /**< */);
905971bb1a5SLionel Sambuc 
906971bb1a5SLionel Sambuc uint32_t *
907971bb1a5SLionel Sambuc xcb_xfixes_get_cursor_image_cursor_image (const xcb_xfixes_get_cursor_image_reply_t *R  /**< */);
908971bb1a5SLionel Sambuc 
909971bb1a5SLionel Sambuc int
910971bb1a5SLionel Sambuc xcb_xfixes_get_cursor_image_cursor_image_length (const xcb_xfixes_get_cursor_image_reply_t *R  /**< */);
911971bb1a5SLionel Sambuc 
912971bb1a5SLionel Sambuc xcb_generic_iterator_t
913971bb1a5SLionel Sambuc xcb_xfixes_get_cursor_image_cursor_image_end (const xcb_xfixes_get_cursor_image_reply_t *R  /**< */);
914971bb1a5SLionel Sambuc 
915971bb1a5SLionel Sambuc /**
916971bb1a5SLionel Sambuc  * Return the reply
917971bb1a5SLionel Sambuc  * @param c      The connection
918971bb1a5SLionel Sambuc  * @param cookie The cookie
919971bb1a5SLionel Sambuc  * @param e      The xcb_generic_error_t supplied
920971bb1a5SLionel Sambuc  *
921971bb1a5SLionel Sambuc  * Returns the reply of the request asked by
922971bb1a5SLionel Sambuc  *
923971bb1a5SLionel Sambuc  * The parameter @p e supplied to this function must be NULL if
924971bb1a5SLionel Sambuc  * xcb_xfixes_get_cursor_image_unchecked(). is used.
925971bb1a5SLionel Sambuc  * Otherwise, it stores the error if any.
926971bb1a5SLionel Sambuc  *
927971bb1a5SLionel Sambuc  * The returned value must be freed by the caller using free().
928971bb1a5SLionel Sambuc  */
929971bb1a5SLionel Sambuc xcb_xfixes_get_cursor_image_reply_t *
930971bb1a5SLionel Sambuc xcb_xfixes_get_cursor_image_reply (xcb_connection_t                      *c  /**< */,
931971bb1a5SLionel Sambuc                                    xcb_xfixes_get_cursor_image_cookie_t   cookie  /**< */,
932971bb1a5SLionel Sambuc                                    xcb_generic_error_t                  **e  /**< */);
933971bb1a5SLionel Sambuc 
934971bb1a5SLionel Sambuc /**
935971bb1a5SLionel Sambuc  * Get the next element of the iterator
936971bb1a5SLionel Sambuc  * @param i Pointer to a xcb_xfixes_region_iterator_t
937971bb1a5SLionel Sambuc  *
938971bb1a5SLionel Sambuc  * Get the next element in the iterator. The member rem is
939971bb1a5SLionel Sambuc  * decreased by one. The member data points to the next
940971bb1a5SLionel Sambuc  * element. The member index is increased by sizeof(xcb_xfixes_region_t)
941971bb1a5SLionel Sambuc  */
942971bb1a5SLionel Sambuc void
943971bb1a5SLionel Sambuc xcb_xfixes_region_next (xcb_xfixes_region_iterator_t *i  /**< */);
944971bb1a5SLionel Sambuc 
945971bb1a5SLionel Sambuc /**
946971bb1a5SLionel Sambuc  * Return the iterator pointing to the last element
947971bb1a5SLionel Sambuc  * @param i An xcb_xfixes_region_iterator_t
948971bb1a5SLionel Sambuc  * @return  The iterator pointing to the last element
949971bb1a5SLionel Sambuc  *
950971bb1a5SLionel Sambuc  * Set the current element in the iterator to the last element.
951971bb1a5SLionel Sambuc  * The member rem is set to 0. The member data points to the
952971bb1a5SLionel Sambuc  * last element.
953971bb1a5SLionel Sambuc  */
954971bb1a5SLionel Sambuc xcb_generic_iterator_t
955971bb1a5SLionel Sambuc xcb_xfixes_region_end (xcb_xfixes_region_iterator_t i  /**< */);
956971bb1a5SLionel Sambuc 
957971bb1a5SLionel Sambuc int
958971bb1a5SLionel Sambuc xcb_xfixes_create_region_sizeof (const void  *_buffer  /**< */,
959971bb1a5SLionel Sambuc                                  uint32_t     rectangles_len  /**< */);
960971bb1a5SLionel Sambuc 
961971bb1a5SLionel Sambuc /**
962971bb1a5SLionel Sambuc  *
963971bb1a5SLionel Sambuc  * @param c The connection
964971bb1a5SLionel Sambuc  * @return A cookie
965971bb1a5SLionel Sambuc  *
966971bb1a5SLionel Sambuc  * Delivers a request to the X server.
967971bb1a5SLionel Sambuc  *
968971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
969971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
970971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
971971bb1a5SLionel Sambuc  */
972971bb1a5SLionel Sambuc xcb_void_cookie_t
973971bb1a5SLionel Sambuc xcb_xfixes_create_region_checked (xcb_connection_t      *c  /**< */,
974971bb1a5SLionel Sambuc                                   xcb_xfixes_region_t    region  /**< */,
975971bb1a5SLionel Sambuc                                   uint32_t               rectangles_len  /**< */,
976971bb1a5SLionel Sambuc                                   const xcb_rectangle_t *rectangles  /**< */);
977971bb1a5SLionel Sambuc 
978971bb1a5SLionel Sambuc /**
979971bb1a5SLionel Sambuc  *
980971bb1a5SLionel Sambuc  * @param c The connection
981971bb1a5SLionel Sambuc  * @return A cookie
982971bb1a5SLionel Sambuc  *
983971bb1a5SLionel Sambuc  * Delivers a request to the X server.
984971bb1a5SLionel Sambuc  *
985971bb1a5SLionel Sambuc  */
986971bb1a5SLionel Sambuc xcb_void_cookie_t
987971bb1a5SLionel Sambuc xcb_xfixes_create_region (xcb_connection_t      *c  /**< */,
988971bb1a5SLionel Sambuc                           xcb_xfixes_region_t    region  /**< */,
989971bb1a5SLionel Sambuc                           uint32_t               rectangles_len  /**< */,
990971bb1a5SLionel Sambuc                           const xcb_rectangle_t *rectangles  /**< */);
991971bb1a5SLionel Sambuc 
992971bb1a5SLionel Sambuc /**
993971bb1a5SLionel Sambuc  *
994971bb1a5SLionel Sambuc  * @param c The connection
995971bb1a5SLionel Sambuc  * @return A cookie
996971bb1a5SLionel Sambuc  *
997971bb1a5SLionel Sambuc  * Delivers a request to the X server.
998971bb1a5SLionel Sambuc  *
999971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
1000971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1001971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
1002971bb1a5SLionel Sambuc  */
1003971bb1a5SLionel Sambuc xcb_void_cookie_t
1004971bb1a5SLionel Sambuc xcb_xfixes_create_region_from_bitmap_checked (xcb_connection_t    *c  /**< */,
1005971bb1a5SLionel Sambuc                                               xcb_xfixes_region_t  region  /**< */,
1006971bb1a5SLionel Sambuc                                               xcb_pixmap_t         bitmap  /**< */);
1007971bb1a5SLionel Sambuc 
1008971bb1a5SLionel Sambuc /**
1009971bb1a5SLionel Sambuc  *
1010971bb1a5SLionel Sambuc  * @param c The connection
1011971bb1a5SLionel Sambuc  * @return A cookie
1012971bb1a5SLionel Sambuc  *
1013971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1014971bb1a5SLionel Sambuc  *
1015971bb1a5SLionel Sambuc  */
1016971bb1a5SLionel Sambuc xcb_void_cookie_t
1017971bb1a5SLionel Sambuc xcb_xfixes_create_region_from_bitmap (xcb_connection_t    *c  /**< */,
1018971bb1a5SLionel Sambuc                                       xcb_xfixes_region_t  region  /**< */,
1019971bb1a5SLionel Sambuc                                       xcb_pixmap_t         bitmap  /**< */);
1020971bb1a5SLionel Sambuc 
1021971bb1a5SLionel Sambuc /**
1022971bb1a5SLionel Sambuc  *
1023971bb1a5SLionel Sambuc  * @param c The connection
1024971bb1a5SLionel Sambuc  * @return A cookie
1025971bb1a5SLionel Sambuc  *
1026971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1027971bb1a5SLionel Sambuc  *
1028971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
1029971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1030971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
1031971bb1a5SLionel Sambuc  */
1032971bb1a5SLionel Sambuc xcb_void_cookie_t
1033971bb1a5SLionel Sambuc xcb_xfixes_create_region_from_window_checked (xcb_connection_t    *c  /**< */,
1034971bb1a5SLionel Sambuc                                               xcb_xfixes_region_t  region  /**< */,
1035971bb1a5SLionel Sambuc                                               xcb_window_t         window  /**< */,
1036971bb1a5SLionel Sambuc                                               xcb_shape_kind_t     kind  /**< */);
1037971bb1a5SLionel Sambuc 
1038971bb1a5SLionel Sambuc /**
1039971bb1a5SLionel Sambuc  *
1040971bb1a5SLionel Sambuc  * @param c The connection
1041971bb1a5SLionel Sambuc  * @return A cookie
1042971bb1a5SLionel Sambuc  *
1043971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1044971bb1a5SLionel Sambuc  *
1045971bb1a5SLionel Sambuc  */
1046971bb1a5SLionel Sambuc xcb_void_cookie_t
1047971bb1a5SLionel Sambuc xcb_xfixes_create_region_from_window (xcb_connection_t    *c  /**< */,
1048971bb1a5SLionel Sambuc                                       xcb_xfixes_region_t  region  /**< */,
1049971bb1a5SLionel Sambuc                                       xcb_window_t         window  /**< */,
1050971bb1a5SLionel Sambuc                                       xcb_shape_kind_t     kind  /**< */);
1051971bb1a5SLionel Sambuc 
1052971bb1a5SLionel Sambuc /**
1053971bb1a5SLionel Sambuc  *
1054971bb1a5SLionel Sambuc  * @param c The connection
1055971bb1a5SLionel Sambuc  * @return A cookie
1056971bb1a5SLionel Sambuc  *
1057971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1058971bb1a5SLionel Sambuc  *
1059971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
1060971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1061971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
1062971bb1a5SLionel Sambuc  */
1063971bb1a5SLionel Sambuc xcb_void_cookie_t
1064971bb1a5SLionel Sambuc xcb_xfixes_create_region_from_gc_checked (xcb_connection_t    *c  /**< */,
1065971bb1a5SLionel Sambuc                                           xcb_xfixes_region_t  region  /**< */,
1066971bb1a5SLionel Sambuc                                           xcb_gcontext_t       gc  /**< */);
1067971bb1a5SLionel Sambuc 
1068971bb1a5SLionel Sambuc /**
1069971bb1a5SLionel Sambuc  *
1070971bb1a5SLionel Sambuc  * @param c The connection
1071971bb1a5SLionel Sambuc  * @return A cookie
1072971bb1a5SLionel Sambuc  *
1073971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1074971bb1a5SLionel Sambuc  *
1075971bb1a5SLionel Sambuc  */
1076971bb1a5SLionel Sambuc xcb_void_cookie_t
1077971bb1a5SLionel Sambuc xcb_xfixes_create_region_from_gc (xcb_connection_t    *c  /**< */,
1078971bb1a5SLionel Sambuc                                   xcb_xfixes_region_t  region  /**< */,
1079971bb1a5SLionel Sambuc                                   xcb_gcontext_t       gc  /**< */);
1080971bb1a5SLionel Sambuc 
1081971bb1a5SLionel Sambuc /**
1082971bb1a5SLionel Sambuc  *
1083971bb1a5SLionel Sambuc  * @param c The connection
1084971bb1a5SLionel Sambuc  * @return A cookie
1085971bb1a5SLionel Sambuc  *
1086971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1087971bb1a5SLionel Sambuc  *
1088971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
1089971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1090971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
1091971bb1a5SLionel Sambuc  */
1092971bb1a5SLionel Sambuc xcb_void_cookie_t
1093971bb1a5SLionel Sambuc xcb_xfixes_create_region_from_picture_checked (xcb_connection_t     *c  /**< */,
1094971bb1a5SLionel Sambuc                                                xcb_xfixes_region_t   region  /**< */,
1095971bb1a5SLionel Sambuc                                                xcb_render_picture_t  picture  /**< */);
1096971bb1a5SLionel Sambuc 
1097971bb1a5SLionel Sambuc /**
1098971bb1a5SLionel Sambuc  *
1099971bb1a5SLionel Sambuc  * @param c The connection
1100971bb1a5SLionel Sambuc  * @return A cookie
1101971bb1a5SLionel Sambuc  *
1102971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1103971bb1a5SLionel Sambuc  *
1104971bb1a5SLionel Sambuc  */
1105971bb1a5SLionel Sambuc xcb_void_cookie_t
1106971bb1a5SLionel Sambuc xcb_xfixes_create_region_from_picture (xcb_connection_t     *c  /**< */,
1107971bb1a5SLionel Sambuc                                        xcb_xfixes_region_t   region  /**< */,
1108971bb1a5SLionel Sambuc                                        xcb_render_picture_t  picture  /**< */);
1109971bb1a5SLionel Sambuc 
1110971bb1a5SLionel Sambuc /**
1111971bb1a5SLionel Sambuc  *
1112971bb1a5SLionel Sambuc  * @param c The connection
1113971bb1a5SLionel Sambuc  * @return A cookie
1114971bb1a5SLionel Sambuc  *
1115971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1116971bb1a5SLionel Sambuc  *
1117971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
1118971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1119971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
1120971bb1a5SLionel Sambuc  */
1121971bb1a5SLionel Sambuc xcb_void_cookie_t
1122971bb1a5SLionel Sambuc xcb_xfixes_destroy_region_checked (xcb_connection_t    *c  /**< */,
1123971bb1a5SLionel Sambuc                                    xcb_xfixes_region_t  region  /**< */);
1124971bb1a5SLionel Sambuc 
1125971bb1a5SLionel Sambuc /**
1126971bb1a5SLionel Sambuc  *
1127971bb1a5SLionel Sambuc  * @param c The connection
1128971bb1a5SLionel Sambuc  * @return A cookie
1129971bb1a5SLionel Sambuc  *
1130971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1131971bb1a5SLionel Sambuc  *
1132971bb1a5SLionel Sambuc  */
1133971bb1a5SLionel Sambuc xcb_void_cookie_t
1134971bb1a5SLionel Sambuc xcb_xfixes_destroy_region (xcb_connection_t    *c  /**< */,
1135971bb1a5SLionel Sambuc                            xcb_xfixes_region_t  region  /**< */);
1136971bb1a5SLionel Sambuc 
1137971bb1a5SLionel Sambuc int
1138971bb1a5SLionel Sambuc xcb_xfixes_set_region_sizeof (const void  *_buffer  /**< */,
1139971bb1a5SLionel Sambuc                               uint32_t     rectangles_len  /**< */);
1140971bb1a5SLionel Sambuc 
1141971bb1a5SLionel Sambuc /**
1142971bb1a5SLionel Sambuc  *
1143971bb1a5SLionel Sambuc  * @param c The connection
1144971bb1a5SLionel Sambuc  * @return A cookie
1145971bb1a5SLionel Sambuc  *
1146971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1147971bb1a5SLionel Sambuc  *
1148971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
1149971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1150971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
1151971bb1a5SLionel Sambuc  */
1152971bb1a5SLionel Sambuc xcb_void_cookie_t
1153971bb1a5SLionel Sambuc xcb_xfixes_set_region_checked (xcb_connection_t      *c  /**< */,
1154971bb1a5SLionel Sambuc                                xcb_xfixes_region_t    region  /**< */,
1155971bb1a5SLionel Sambuc                                uint32_t               rectangles_len  /**< */,
1156971bb1a5SLionel Sambuc                                const xcb_rectangle_t *rectangles  /**< */);
1157971bb1a5SLionel Sambuc 
1158971bb1a5SLionel Sambuc /**
1159971bb1a5SLionel Sambuc  *
1160971bb1a5SLionel Sambuc  * @param c The connection
1161971bb1a5SLionel Sambuc  * @return A cookie
1162971bb1a5SLionel Sambuc  *
1163971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1164971bb1a5SLionel Sambuc  *
1165971bb1a5SLionel Sambuc  */
1166971bb1a5SLionel Sambuc xcb_void_cookie_t
1167971bb1a5SLionel Sambuc xcb_xfixes_set_region (xcb_connection_t      *c  /**< */,
1168971bb1a5SLionel Sambuc                        xcb_xfixes_region_t    region  /**< */,
1169971bb1a5SLionel Sambuc                        uint32_t               rectangles_len  /**< */,
1170971bb1a5SLionel Sambuc                        const xcb_rectangle_t *rectangles  /**< */);
1171971bb1a5SLionel Sambuc 
1172971bb1a5SLionel Sambuc /**
1173971bb1a5SLionel Sambuc  *
1174971bb1a5SLionel Sambuc  * @param c The connection
1175971bb1a5SLionel Sambuc  * @return A cookie
1176971bb1a5SLionel Sambuc  *
1177971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1178971bb1a5SLionel Sambuc  *
1179971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
1180971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1181971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
1182971bb1a5SLionel Sambuc  */
1183971bb1a5SLionel Sambuc xcb_void_cookie_t
1184971bb1a5SLionel Sambuc xcb_xfixes_copy_region_checked (xcb_connection_t    *c  /**< */,
1185971bb1a5SLionel Sambuc                                 xcb_xfixes_region_t  source  /**< */,
1186971bb1a5SLionel Sambuc                                 xcb_xfixes_region_t  destination  /**< */);
1187971bb1a5SLionel Sambuc 
1188971bb1a5SLionel Sambuc /**
1189971bb1a5SLionel Sambuc  *
1190971bb1a5SLionel Sambuc  * @param c The connection
1191971bb1a5SLionel Sambuc  * @return A cookie
1192971bb1a5SLionel Sambuc  *
1193971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1194971bb1a5SLionel Sambuc  *
1195971bb1a5SLionel Sambuc  */
1196971bb1a5SLionel Sambuc xcb_void_cookie_t
1197971bb1a5SLionel Sambuc xcb_xfixes_copy_region (xcb_connection_t    *c  /**< */,
1198971bb1a5SLionel Sambuc                         xcb_xfixes_region_t  source  /**< */,
1199971bb1a5SLionel Sambuc                         xcb_xfixes_region_t  destination  /**< */);
1200971bb1a5SLionel Sambuc 
1201971bb1a5SLionel Sambuc /**
1202971bb1a5SLionel Sambuc  *
1203971bb1a5SLionel Sambuc  * @param c The connection
1204971bb1a5SLionel Sambuc  * @return A cookie
1205971bb1a5SLionel Sambuc  *
1206971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1207971bb1a5SLionel Sambuc  *
1208971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
1209971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1210971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
1211971bb1a5SLionel Sambuc  */
1212971bb1a5SLionel Sambuc xcb_void_cookie_t
1213971bb1a5SLionel Sambuc xcb_xfixes_union_region_checked (xcb_connection_t    *c  /**< */,
1214971bb1a5SLionel Sambuc                                  xcb_xfixes_region_t  source1  /**< */,
1215971bb1a5SLionel Sambuc                                  xcb_xfixes_region_t  source2  /**< */,
1216971bb1a5SLionel Sambuc                                  xcb_xfixes_region_t  destination  /**< */);
1217971bb1a5SLionel Sambuc 
1218971bb1a5SLionel Sambuc /**
1219971bb1a5SLionel Sambuc  *
1220971bb1a5SLionel Sambuc  * @param c The connection
1221971bb1a5SLionel Sambuc  * @return A cookie
1222971bb1a5SLionel Sambuc  *
1223971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1224971bb1a5SLionel Sambuc  *
1225971bb1a5SLionel Sambuc  */
1226971bb1a5SLionel Sambuc xcb_void_cookie_t
1227971bb1a5SLionel Sambuc xcb_xfixes_union_region (xcb_connection_t    *c  /**< */,
1228971bb1a5SLionel Sambuc                          xcb_xfixes_region_t  source1  /**< */,
1229971bb1a5SLionel Sambuc                          xcb_xfixes_region_t  source2  /**< */,
1230971bb1a5SLionel Sambuc                          xcb_xfixes_region_t  destination  /**< */);
1231971bb1a5SLionel Sambuc 
1232971bb1a5SLionel Sambuc /**
1233971bb1a5SLionel Sambuc  *
1234971bb1a5SLionel Sambuc  * @param c The connection
1235971bb1a5SLionel Sambuc  * @return A cookie
1236971bb1a5SLionel Sambuc  *
1237971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1238971bb1a5SLionel Sambuc  *
1239971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
1240971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1241971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
1242971bb1a5SLionel Sambuc  */
1243971bb1a5SLionel Sambuc xcb_void_cookie_t
1244971bb1a5SLionel Sambuc xcb_xfixes_intersect_region_checked (xcb_connection_t    *c  /**< */,
1245971bb1a5SLionel Sambuc                                      xcb_xfixes_region_t  source1  /**< */,
1246971bb1a5SLionel Sambuc                                      xcb_xfixes_region_t  source2  /**< */,
1247971bb1a5SLionel Sambuc                                      xcb_xfixes_region_t  destination  /**< */);
1248971bb1a5SLionel Sambuc 
1249971bb1a5SLionel Sambuc /**
1250971bb1a5SLionel Sambuc  *
1251971bb1a5SLionel Sambuc  * @param c The connection
1252971bb1a5SLionel Sambuc  * @return A cookie
1253971bb1a5SLionel Sambuc  *
1254971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1255971bb1a5SLionel Sambuc  *
1256971bb1a5SLionel Sambuc  */
1257971bb1a5SLionel Sambuc xcb_void_cookie_t
1258971bb1a5SLionel Sambuc xcb_xfixes_intersect_region (xcb_connection_t    *c  /**< */,
1259971bb1a5SLionel Sambuc                              xcb_xfixes_region_t  source1  /**< */,
1260971bb1a5SLionel Sambuc                              xcb_xfixes_region_t  source2  /**< */,
1261971bb1a5SLionel Sambuc                              xcb_xfixes_region_t  destination  /**< */);
1262971bb1a5SLionel Sambuc 
1263971bb1a5SLionel Sambuc /**
1264971bb1a5SLionel Sambuc  *
1265971bb1a5SLionel Sambuc  * @param c The connection
1266971bb1a5SLionel Sambuc  * @return A cookie
1267971bb1a5SLionel Sambuc  *
1268971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1269971bb1a5SLionel Sambuc  *
1270971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
1271971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1272971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
1273971bb1a5SLionel Sambuc  */
1274971bb1a5SLionel Sambuc xcb_void_cookie_t
1275971bb1a5SLionel Sambuc xcb_xfixes_subtract_region_checked (xcb_connection_t    *c  /**< */,
1276971bb1a5SLionel Sambuc                                     xcb_xfixes_region_t  source1  /**< */,
1277971bb1a5SLionel Sambuc                                     xcb_xfixes_region_t  source2  /**< */,
1278971bb1a5SLionel Sambuc                                     xcb_xfixes_region_t  destination  /**< */);
1279971bb1a5SLionel Sambuc 
1280971bb1a5SLionel Sambuc /**
1281971bb1a5SLionel Sambuc  *
1282971bb1a5SLionel Sambuc  * @param c The connection
1283971bb1a5SLionel Sambuc  * @return A cookie
1284971bb1a5SLionel Sambuc  *
1285971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1286971bb1a5SLionel Sambuc  *
1287971bb1a5SLionel Sambuc  */
1288971bb1a5SLionel Sambuc xcb_void_cookie_t
1289971bb1a5SLionel Sambuc xcb_xfixes_subtract_region (xcb_connection_t    *c  /**< */,
1290971bb1a5SLionel Sambuc                             xcb_xfixes_region_t  source1  /**< */,
1291971bb1a5SLionel Sambuc                             xcb_xfixes_region_t  source2  /**< */,
1292971bb1a5SLionel Sambuc                             xcb_xfixes_region_t  destination  /**< */);
1293971bb1a5SLionel Sambuc 
1294971bb1a5SLionel Sambuc /**
1295971bb1a5SLionel Sambuc  *
1296971bb1a5SLionel Sambuc  * @param c The connection
1297971bb1a5SLionel Sambuc  * @return A cookie
1298971bb1a5SLionel Sambuc  *
1299971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1300971bb1a5SLionel Sambuc  *
1301971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
1302971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1303971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
1304971bb1a5SLionel Sambuc  */
1305971bb1a5SLionel Sambuc xcb_void_cookie_t
1306971bb1a5SLionel Sambuc xcb_xfixes_invert_region_checked (xcb_connection_t    *c  /**< */,
1307971bb1a5SLionel Sambuc                                   xcb_xfixes_region_t  source  /**< */,
1308971bb1a5SLionel Sambuc                                   xcb_rectangle_t      bounds  /**< */,
1309971bb1a5SLionel Sambuc                                   xcb_xfixes_region_t  destination  /**< */);
1310971bb1a5SLionel Sambuc 
1311971bb1a5SLionel Sambuc /**
1312971bb1a5SLionel Sambuc  *
1313971bb1a5SLionel Sambuc  * @param c The connection
1314971bb1a5SLionel Sambuc  * @return A cookie
1315971bb1a5SLionel Sambuc  *
1316971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1317971bb1a5SLionel Sambuc  *
1318971bb1a5SLionel Sambuc  */
1319971bb1a5SLionel Sambuc xcb_void_cookie_t
1320971bb1a5SLionel Sambuc xcb_xfixes_invert_region (xcb_connection_t    *c  /**< */,
1321971bb1a5SLionel Sambuc                           xcb_xfixes_region_t  source  /**< */,
1322971bb1a5SLionel Sambuc                           xcb_rectangle_t      bounds  /**< */,
1323971bb1a5SLionel Sambuc                           xcb_xfixes_region_t  destination  /**< */);
1324971bb1a5SLionel Sambuc 
1325971bb1a5SLionel Sambuc /**
1326971bb1a5SLionel Sambuc  *
1327971bb1a5SLionel Sambuc  * @param c The connection
1328971bb1a5SLionel Sambuc  * @return A cookie
1329971bb1a5SLionel Sambuc  *
1330971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1331971bb1a5SLionel Sambuc  *
1332971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
1333971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1334971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
1335971bb1a5SLionel Sambuc  */
1336971bb1a5SLionel Sambuc xcb_void_cookie_t
1337971bb1a5SLionel Sambuc xcb_xfixes_translate_region_checked (xcb_connection_t    *c  /**< */,
1338971bb1a5SLionel Sambuc                                      xcb_xfixes_region_t  region  /**< */,
1339971bb1a5SLionel Sambuc                                      int16_t              dx  /**< */,
1340971bb1a5SLionel Sambuc                                      int16_t              dy  /**< */);
1341971bb1a5SLionel Sambuc 
1342971bb1a5SLionel Sambuc /**
1343971bb1a5SLionel Sambuc  *
1344971bb1a5SLionel Sambuc  * @param c The connection
1345971bb1a5SLionel Sambuc  * @return A cookie
1346971bb1a5SLionel Sambuc  *
1347971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1348971bb1a5SLionel Sambuc  *
1349971bb1a5SLionel Sambuc  */
1350971bb1a5SLionel Sambuc xcb_void_cookie_t
1351971bb1a5SLionel Sambuc xcb_xfixes_translate_region (xcb_connection_t    *c  /**< */,
1352971bb1a5SLionel Sambuc                              xcb_xfixes_region_t  region  /**< */,
1353971bb1a5SLionel Sambuc                              int16_t              dx  /**< */,
1354971bb1a5SLionel Sambuc                              int16_t              dy  /**< */);
1355971bb1a5SLionel Sambuc 
1356971bb1a5SLionel Sambuc /**
1357971bb1a5SLionel Sambuc  *
1358971bb1a5SLionel Sambuc  * @param c The connection
1359971bb1a5SLionel Sambuc  * @return A cookie
1360971bb1a5SLionel Sambuc  *
1361971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1362971bb1a5SLionel Sambuc  *
1363971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
1364971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1365971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
1366971bb1a5SLionel Sambuc  */
1367971bb1a5SLionel Sambuc xcb_void_cookie_t
1368971bb1a5SLionel Sambuc xcb_xfixes_region_extents_checked (xcb_connection_t    *c  /**< */,
1369971bb1a5SLionel Sambuc                                    xcb_xfixes_region_t  source  /**< */,
1370971bb1a5SLionel Sambuc                                    xcb_xfixes_region_t  destination  /**< */);
1371971bb1a5SLionel Sambuc 
1372971bb1a5SLionel Sambuc /**
1373971bb1a5SLionel Sambuc  *
1374971bb1a5SLionel Sambuc  * @param c The connection
1375971bb1a5SLionel Sambuc  * @return A cookie
1376971bb1a5SLionel Sambuc  *
1377971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1378971bb1a5SLionel Sambuc  *
1379971bb1a5SLionel Sambuc  */
1380971bb1a5SLionel Sambuc xcb_void_cookie_t
1381971bb1a5SLionel Sambuc xcb_xfixes_region_extents (xcb_connection_t    *c  /**< */,
1382971bb1a5SLionel Sambuc                            xcb_xfixes_region_t  source  /**< */,
1383971bb1a5SLionel Sambuc                            xcb_xfixes_region_t  destination  /**< */);
1384971bb1a5SLionel Sambuc 
1385971bb1a5SLionel Sambuc int
1386971bb1a5SLionel Sambuc xcb_xfixes_fetch_region_sizeof (const void  *_buffer  /**< */);
1387971bb1a5SLionel Sambuc 
1388971bb1a5SLionel Sambuc /**
1389971bb1a5SLionel Sambuc  *
1390971bb1a5SLionel Sambuc  * @param c The connection
1391971bb1a5SLionel Sambuc  * @return A cookie
1392971bb1a5SLionel Sambuc  *
1393971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1394971bb1a5SLionel Sambuc  *
1395971bb1a5SLionel Sambuc  */
1396971bb1a5SLionel Sambuc xcb_xfixes_fetch_region_cookie_t
1397971bb1a5SLionel Sambuc xcb_xfixes_fetch_region (xcb_connection_t    *c  /**< */,
1398971bb1a5SLionel Sambuc                          xcb_xfixes_region_t  region  /**< */);
1399971bb1a5SLionel Sambuc 
1400971bb1a5SLionel Sambuc /**
1401971bb1a5SLionel Sambuc  *
1402971bb1a5SLionel Sambuc  * @param c The connection
1403971bb1a5SLionel Sambuc  * @return A cookie
1404971bb1a5SLionel Sambuc  *
1405971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1406971bb1a5SLionel Sambuc  *
1407971bb1a5SLionel Sambuc  * This form can be used only if the request will cause
1408971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1409971bb1a5SLionel Sambuc  * placed in the event queue.
1410971bb1a5SLionel Sambuc  */
1411971bb1a5SLionel Sambuc xcb_xfixes_fetch_region_cookie_t
1412971bb1a5SLionel Sambuc xcb_xfixes_fetch_region_unchecked (xcb_connection_t    *c  /**< */,
1413971bb1a5SLionel Sambuc                                    xcb_xfixes_region_t  region  /**< */);
1414971bb1a5SLionel Sambuc 
1415971bb1a5SLionel Sambuc xcb_rectangle_t *
1416971bb1a5SLionel Sambuc xcb_xfixes_fetch_region_rectangles (const xcb_xfixes_fetch_region_reply_t *R  /**< */);
1417971bb1a5SLionel Sambuc 
1418971bb1a5SLionel Sambuc int
1419971bb1a5SLionel Sambuc xcb_xfixes_fetch_region_rectangles_length (const xcb_xfixes_fetch_region_reply_t *R  /**< */);
1420971bb1a5SLionel Sambuc 
1421971bb1a5SLionel Sambuc xcb_rectangle_iterator_t
1422971bb1a5SLionel Sambuc xcb_xfixes_fetch_region_rectangles_iterator (const xcb_xfixes_fetch_region_reply_t *R  /**< */);
1423971bb1a5SLionel Sambuc 
1424971bb1a5SLionel Sambuc /**
1425971bb1a5SLionel Sambuc  * Return the reply
1426971bb1a5SLionel Sambuc  * @param c      The connection
1427971bb1a5SLionel Sambuc  * @param cookie The cookie
1428971bb1a5SLionel Sambuc  * @param e      The xcb_generic_error_t supplied
1429971bb1a5SLionel Sambuc  *
1430971bb1a5SLionel Sambuc  * Returns the reply of the request asked by
1431971bb1a5SLionel Sambuc  *
1432971bb1a5SLionel Sambuc  * The parameter @p e supplied to this function must be NULL if
1433971bb1a5SLionel Sambuc  * xcb_xfixes_fetch_region_unchecked(). is used.
1434971bb1a5SLionel Sambuc  * Otherwise, it stores the error if any.
1435971bb1a5SLionel Sambuc  *
1436971bb1a5SLionel Sambuc  * The returned value must be freed by the caller using free().
1437971bb1a5SLionel Sambuc  */
1438971bb1a5SLionel Sambuc xcb_xfixes_fetch_region_reply_t *
1439971bb1a5SLionel Sambuc xcb_xfixes_fetch_region_reply (xcb_connection_t                  *c  /**< */,
1440971bb1a5SLionel Sambuc                                xcb_xfixes_fetch_region_cookie_t   cookie  /**< */,
1441971bb1a5SLionel Sambuc                                xcb_generic_error_t              **e  /**< */);
1442971bb1a5SLionel Sambuc 
1443971bb1a5SLionel Sambuc /**
1444971bb1a5SLionel Sambuc  *
1445971bb1a5SLionel Sambuc  * @param c The connection
1446971bb1a5SLionel Sambuc  * @return A cookie
1447971bb1a5SLionel Sambuc  *
1448971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1449971bb1a5SLionel Sambuc  *
1450971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
1451971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1452971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
1453971bb1a5SLionel Sambuc  */
1454971bb1a5SLionel Sambuc xcb_void_cookie_t
1455971bb1a5SLionel Sambuc xcb_xfixes_set_gc_clip_region_checked (xcb_connection_t    *c  /**< */,
1456971bb1a5SLionel Sambuc                                        xcb_gcontext_t       gc  /**< */,
1457971bb1a5SLionel Sambuc                                        xcb_xfixes_region_t  region  /**< */,
1458971bb1a5SLionel Sambuc                                        int16_t              x_origin  /**< */,
1459971bb1a5SLionel Sambuc                                        int16_t              y_origin  /**< */);
1460971bb1a5SLionel Sambuc 
1461971bb1a5SLionel Sambuc /**
1462971bb1a5SLionel Sambuc  *
1463971bb1a5SLionel Sambuc  * @param c The connection
1464971bb1a5SLionel Sambuc  * @return A cookie
1465971bb1a5SLionel Sambuc  *
1466971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1467971bb1a5SLionel Sambuc  *
1468971bb1a5SLionel Sambuc  */
1469971bb1a5SLionel Sambuc xcb_void_cookie_t
1470971bb1a5SLionel Sambuc xcb_xfixes_set_gc_clip_region (xcb_connection_t    *c  /**< */,
1471971bb1a5SLionel Sambuc                                xcb_gcontext_t       gc  /**< */,
1472971bb1a5SLionel Sambuc                                xcb_xfixes_region_t  region  /**< */,
1473971bb1a5SLionel Sambuc                                int16_t              x_origin  /**< */,
1474971bb1a5SLionel Sambuc                                int16_t              y_origin  /**< */);
1475971bb1a5SLionel Sambuc 
1476971bb1a5SLionel Sambuc /**
1477971bb1a5SLionel Sambuc  *
1478971bb1a5SLionel Sambuc  * @param c The connection
1479971bb1a5SLionel Sambuc  * @return A cookie
1480971bb1a5SLionel Sambuc  *
1481971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1482971bb1a5SLionel Sambuc  *
1483971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
1484971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1485971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
1486971bb1a5SLionel Sambuc  */
1487971bb1a5SLionel Sambuc xcb_void_cookie_t
1488971bb1a5SLionel Sambuc xcb_xfixes_set_window_shape_region_checked (xcb_connection_t    *c  /**< */,
1489971bb1a5SLionel Sambuc                                             xcb_window_t         dest  /**< */,
1490971bb1a5SLionel Sambuc                                             xcb_shape_kind_t     dest_kind  /**< */,
1491971bb1a5SLionel Sambuc                                             int16_t              x_offset  /**< */,
1492971bb1a5SLionel Sambuc                                             int16_t              y_offset  /**< */,
1493971bb1a5SLionel Sambuc                                             xcb_xfixes_region_t  region  /**< */);
1494971bb1a5SLionel Sambuc 
1495971bb1a5SLionel Sambuc /**
1496971bb1a5SLionel Sambuc  *
1497971bb1a5SLionel Sambuc  * @param c The connection
1498971bb1a5SLionel Sambuc  * @return A cookie
1499971bb1a5SLionel Sambuc  *
1500971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1501971bb1a5SLionel Sambuc  *
1502971bb1a5SLionel Sambuc  */
1503971bb1a5SLionel Sambuc xcb_void_cookie_t
1504971bb1a5SLionel Sambuc xcb_xfixes_set_window_shape_region (xcb_connection_t    *c  /**< */,
1505971bb1a5SLionel Sambuc                                     xcb_window_t         dest  /**< */,
1506971bb1a5SLionel Sambuc                                     xcb_shape_kind_t     dest_kind  /**< */,
1507971bb1a5SLionel Sambuc                                     int16_t              x_offset  /**< */,
1508971bb1a5SLionel Sambuc                                     int16_t              y_offset  /**< */,
1509971bb1a5SLionel Sambuc                                     xcb_xfixes_region_t  region  /**< */);
1510971bb1a5SLionel Sambuc 
1511971bb1a5SLionel Sambuc /**
1512971bb1a5SLionel Sambuc  *
1513971bb1a5SLionel Sambuc  * @param c The connection
1514971bb1a5SLionel Sambuc  * @return A cookie
1515971bb1a5SLionel Sambuc  *
1516971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1517971bb1a5SLionel Sambuc  *
1518971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
1519971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1520971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
1521971bb1a5SLionel Sambuc  */
1522971bb1a5SLionel Sambuc xcb_void_cookie_t
1523971bb1a5SLionel Sambuc xcb_xfixes_set_picture_clip_region_checked (xcb_connection_t     *c  /**< */,
1524971bb1a5SLionel Sambuc                                             xcb_render_picture_t  picture  /**< */,
1525971bb1a5SLionel Sambuc                                             xcb_xfixes_region_t   region  /**< */,
1526971bb1a5SLionel Sambuc                                             int16_t               x_origin  /**< */,
1527971bb1a5SLionel Sambuc                                             int16_t               y_origin  /**< */);
1528971bb1a5SLionel Sambuc 
1529971bb1a5SLionel Sambuc /**
1530971bb1a5SLionel Sambuc  *
1531971bb1a5SLionel Sambuc  * @param c The connection
1532971bb1a5SLionel Sambuc  * @return A cookie
1533971bb1a5SLionel Sambuc  *
1534971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1535971bb1a5SLionel Sambuc  *
1536971bb1a5SLionel Sambuc  */
1537971bb1a5SLionel Sambuc xcb_void_cookie_t
1538971bb1a5SLionel Sambuc xcb_xfixes_set_picture_clip_region (xcb_connection_t     *c  /**< */,
1539971bb1a5SLionel Sambuc                                     xcb_render_picture_t  picture  /**< */,
1540971bb1a5SLionel Sambuc                                     xcb_xfixes_region_t   region  /**< */,
1541971bb1a5SLionel Sambuc                                     int16_t               x_origin  /**< */,
1542971bb1a5SLionel Sambuc                                     int16_t               y_origin  /**< */);
1543971bb1a5SLionel Sambuc 
1544971bb1a5SLionel Sambuc int
1545971bb1a5SLionel Sambuc xcb_xfixes_set_cursor_name_sizeof (const void  *_buffer  /**< */);
1546971bb1a5SLionel Sambuc 
1547971bb1a5SLionel Sambuc /**
1548971bb1a5SLionel Sambuc  *
1549971bb1a5SLionel Sambuc  * @param c The connection
1550971bb1a5SLionel Sambuc  * @return A cookie
1551971bb1a5SLionel Sambuc  *
1552971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1553971bb1a5SLionel Sambuc  *
1554971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
1555971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1556971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
1557971bb1a5SLionel Sambuc  */
1558971bb1a5SLionel Sambuc xcb_void_cookie_t
1559971bb1a5SLionel Sambuc xcb_xfixes_set_cursor_name_checked (xcb_connection_t *c  /**< */,
1560971bb1a5SLionel Sambuc                                     xcb_cursor_t      cursor  /**< */,
1561971bb1a5SLionel Sambuc                                     uint16_t          nbytes  /**< */,
1562971bb1a5SLionel Sambuc                                     const char       *name  /**< */);
1563971bb1a5SLionel Sambuc 
1564971bb1a5SLionel Sambuc /**
1565971bb1a5SLionel Sambuc  *
1566971bb1a5SLionel Sambuc  * @param c The connection
1567971bb1a5SLionel Sambuc  * @return A cookie
1568971bb1a5SLionel Sambuc  *
1569971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1570971bb1a5SLionel Sambuc  *
1571971bb1a5SLionel Sambuc  */
1572971bb1a5SLionel Sambuc xcb_void_cookie_t
1573971bb1a5SLionel Sambuc xcb_xfixes_set_cursor_name (xcb_connection_t *c  /**< */,
1574971bb1a5SLionel Sambuc                             xcb_cursor_t      cursor  /**< */,
1575971bb1a5SLionel Sambuc                             uint16_t          nbytes  /**< */,
1576971bb1a5SLionel Sambuc                             const char       *name  /**< */);
1577971bb1a5SLionel Sambuc 
1578971bb1a5SLionel Sambuc int
1579971bb1a5SLionel Sambuc xcb_xfixes_get_cursor_name_sizeof (const void  *_buffer  /**< */);
1580971bb1a5SLionel Sambuc 
1581971bb1a5SLionel Sambuc /**
1582971bb1a5SLionel Sambuc  *
1583971bb1a5SLionel Sambuc  * @param c The connection
1584971bb1a5SLionel Sambuc  * @return A cookie
1585971bb1a5SLionel Sambuc  *
1586971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1587971bb1a5SLionel Sambuc  *
1588971bb1a5SLionel Sambuc  */
1589971bb1a5SLionel Sambuc xcb_xfixes_get_cursor_name_cookie_t
1590971bb1a5SLionel Sambuc xcb_xfixes_get_cursor_name (xcb_connection_t *c  /**< */,
1591971bb1a5SLionel Sambuc                             xcb_cursor_t      cursor  /**< */);
1592971bb1a5SLionel Sambuc 
1593971bb1a5SLionel Sambuc /**
1594971bb1a5SLionel Sambuc  *
1595971bb1a5SLionel Sambuc  * @param c The connection
1596971bb1a5SLionel Sambuc  * @return A cookie
1597971bb1a5SLionel Sambuc  *
1598971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1599971bb1a5SLionel Sambuc  *
1600971bb1a5SLionel Sambuc  * This form can be used only if the request will cause
1601971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1602971bb1a5SLionel Sambuc  * placed in the event queue.
1603971bb1a5SLionel Sambuc  */
1604971bb1a5SLionel Sambuc xcb_xfixes_get_cursor_name_cookie_t
1605971bb1a5SLionel Sambuc xcb_xfixes_get_cursor_name_unchecked (xcb_connection_t *c  /**< */,
1606971bb1a5SLionel Sambuc                                       xcb_cursor_t      cursor  /**< */);
1607971bb1a5SLionel Sambuc 
1608971bb1a5SLionel Sambuc char *
1609971bb1a5SLionel Sambuc xcb_xfixes_get_cursor_name_name (const xcb_xfixes_get_cursor_name_reply_t *R  /**< */);
1610971bb1a5SLionel Sambuc 
1611971bb1a5SLionel Sambuc int
1612971bb1a5SLionel Sambuc xcb_xfixes_get_cursor_name_name_length (const xcb_xfixes_get_cursor_name_reply_t *R  /**< */);
1613971bb1a5SLionel Sambuc 
1614971bb1a5SLionel Sambuc xcb_generic_iterator_t
1615971bb1a5SLionel Sambuc xcb_xfixes_get_cursor_name_name_end (const xcb_xfixes_get_cursor_name_reply_t *R  /**< */);
1616971bb1a5SLionel Sambuc 
1617971bb1a5SLionel Sambuc /**
1618971bb1a5SLionel Sambuc  * Return the reply
1619971bb1a5SLionel Sambuc  * @param c      The connection
1620971bb1a5SLionel Sambuc  * @param cookie The cookie
1621971bb1a5SLionel Sambuc  * @param e      The xcb_generic_error_t supplied
1622971bb1a5SLionel Sambuc  *
1623971bb1a5SLionel Sambuc  * Returns the reply of the request asked by
1624971bb1a5SLionel Sambuc  *
1625971bb1a5SLionel Sambuc  * The parameter @p e supplied to this function must be NULL if
1626971bb1a5SLionel Sambuc  * xcb_xfixes_get_cursor_name_unchecked(). is used.
1627971bb1a5SLionel Sambuc  * Otherwise, it stores the error if any.
1628971bb1a5SLionel Sambuc  *
1629971bb1a5SLionel Sambuc  * The returned value must be freed by the caller using free().
1630971bb1a5SLionel Sambuc  */
1631971bb1a5SLionel Sambuc xcb_xfixes_get_cursor_name_reply_t *
1632971bb1a5SLionel Sambuc xcb_xfixes_get_cursor_name_reply (xcb_connection_t                     *c  /**< */,
1633971bb1a5SLionel Sambuc                                   xcb_xfixes_get_cursor_name_cookie_t   cookie  /**< */,
1634971bb1a5SLionel Sambuc                                   xcb_generic_error_t                 **e  /**< */);
1635971bb1a5SLionel Sambuc 
1636971bb1a5SLionel Sambuc int
1637971bb1a5SLionel Sambuc xcb_xfixes_get_cursor_image_and_name_sizeof (const void  *_buffer  /**< */);
1638971bb1a5SLionel Sambuc 
1639971bb1a5SLionel Sambuc /**
1640971bb1a5SLionel Sambuc  *
1641971bb1a5SLionel Sambuc  * @param c The connection
1642971bb1a5SLionel Sambuc  * @return A cookie
1643971bb1a5SLionel Sambuc  *
1644971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1645971bb1a5SLionel Sambuc  *
1646971bb1a5SLionel Sambuc  */
1647971bb1a5SLionel Sambuc xcb_xfixes_get_cursor_image_and_name_cookie_t
1648971bb1a5SLionel Sambuc xcb_xfixes_get_cursor_image_and_name (xcb_connection_t *c  /**< */);
1649971bb1a5SLionel Sambuc 
1650971bb1a5SLionel Sambuc /**
1651971bb1a5SLionel Sambuc  *
1652971bb1a5SLionel Sambuc  * @param c The connection
1653971bb1a5SLionel Sambuc  * @return A cookie
1654971bb1a5SLionel Sambuc  *
1655971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1656971bb1a5SLionel Sambuc  *
1657971bb1a5SLionel Sambuc  * This form can be used only if the request will cause
1658971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1659971bb1a5SLionel Sambuc  * placed in the event queue.
1660971bb1a5SLionel Sambuc  */
1661971bb1a5SLionel Sambuc xcb_xfixes_get_cursor_image_and_name_cookie_t
1662971bb1a5SLionel Sambuc xcb_xfixes_get_cursor_image_and_name_unchecked (xcb_connection_t *c  /**< */);
1663971bb1a5SLionel Sambuc 
1664971bb1a5SLionel Sambuc char *
1665971bb1a5SLionel Sambuc xcb_xfixes_get_cursor_image_and_name_name (const xcb_xfixes_get_cursor_image_and_name_reply_t *R  /**< */);
1666971bb1a5SLionel Sambuc 
1667971bb1a5SLionel Sambuc int
1668971bb1a5SLionel Sambuc xcb_xfixes_get_cursor_image_and_name_name_length (const xcb_xfixes_get_cursor_image_and_name_reply_t *R  /**< */);
1669971bb1a5SLionel Sambuc 
1670971bb1a5SLionel Sambuc xcb_generic_iterator_t
1671971bb1a5SLionel Sambuc xcb_xfixes_get_cursor_image_and_name_name_end (const xcb_xfixes_get_cursor_image_and_name_reply_t *R  /**< */);
1672971bb1a5SLionel Sambuc 
1673971bb1a5SLionel Sambuc uint32_t *
1674971bb1a5SLionel Sambuc xcb_xfixes_get_cursor_image_and_name_cursor_image (const xcb_xfixes_get_cursor_image_and_name_reply_t *R  /**< */);
1675971bb1a5SLionel Sambuc 
1676971bb1a5SLionel Sambuc int
1677971bb1a5SLionel Sambuc xcb_xfixes_get_cursor_image_and_name_cursor_image_length (const xcb_xfixes_get_cursor_image_and_name_reply_t *R  /**< */);
1678971bb1a5SLionel Sambuc 
1679971bb1a5SLionel Sambuc xcb_generic_iterator_t
1680971bb1a5SLionel Sambuc xcb_xfixes_get_cursor_image_and_name_cursor_image_end (const xcb_xfixes_get_cursor_image_and_name_reply_t *R  /**< */);
1681971bb1a5SLionel Sambuc 
1682971bb1a5SLionel Sambuc /**
1683971bb1a5SLionel Sambuc  * Return the reply
1684971bb1a5SLionel Sambuc  * @param c      The connection
1685971bb1a5SLionel Sambuc  * @param cookie The cookie
1686971bb1a5SLionel Sambuc  * @param e      The xcb_generic_error_t supplied
1687971bb1a5SLionel Sambuc  *
1688971bb1a5SLionel Sambuc  * Returns the reply of the request asked by
1689971bb1a5SLionel Sambuc  *
1690971bb1a5SLionel Sambuc  * The parameter @p e supplied to this function must be NULL if
1691971bb1a5SLionel Sambuc  * xcb_xfixes_get_cursor_image_and_name_unchecked(). is used.
1692971bb1a5SLionel Sambuc  * Otherwise, it stores the error if any.
1693971bb1a5SLionel Sambuc  *
1694971bb1a5SLionel Sambuc  * The returned value must be freed by the caller using free().
1695971bb1a5SLionel Sambuc  */
1696971bb1a5SLionel Sambuc xcb_xfixes_get_cursor_image_and_name_reply_t *
1697971bb1a5SLionel Sambuc xcb_xfixes_get_cursor_image_and_name_reply (xcb_connection_t                               *c  /**< */,
1698971bb1a5SLionel Sambuc                                             xcb_xfixes_get_cursor_image_and_name_cookie_t   cookie  /**< */,
1699971bb1a5SLionel Sambuc                                             xcb_generic_error_t                           **e  /**< */);
1700971bb1a5SLionel Sambuc 
1701971bb1a5SLionel Sambuc /**
1702971bb1a5SLionel Sambuc  *
1703971bb1a5SLionel Sambuc  * @param c The connection
1704971bb1a5SLionel Sambuc  * @return A cookie
1705971bb1a5SLionel Sambuc  *
1706971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1707971bb1a5SLionel Sambuc  *
1708971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
1709971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1710971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
1711971bb1a5SLionel Sambuc  */
1712971bb1a5SLionel Sambuc xcb_void_cookie_t
1713971bb1a5SLionel Sambuc xcb_xfixes_change_cursor_checked (xcb_connection_t *c  /**< */,
1714971bb1a5SLionel Sambuc                                   xcb_cursor_t      source  /**< */,
1715971bb1a5SLionel Sambuc                                   xcb_cursor_t      destination  /**< */);
1716971bb1a5SLionel Sambuc 
1717971bb1a5SLionel Sambuc /**
1718971bb1a5SLionel Sambuc  *
1719971bb1a5SLionel Sambuc  * @param c The connection
1720971bb1a5SLionel Sambuc  * @return A cookie
1721971bb1a5SLionel Sambuc  *
1722971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1723971bb1a5SLionel Sambuc  *
1724971bb1a5SLionel Sambuc  */
1725971bb1a5SLionel Sambuc xcb_void_cookie_t
1726971bb1a5SLionel Sambuc xcb_xfixes_change_cursor (xcb_connection_t *c  /**< */,
1727971bb1a5SLionel Sambuc                           xcb_cursor_t      source  /**< */,
1728971bb1a5SLionel Sambuc                           xcb_cursor_t      destination  /**< */);
1729971bb1a5SLionel Sambuc 
1730971bb1a5SLionel Sambuc int
1731971bb1a5SLionel Sambuc xcb_xfixes_change_cursor_by_name_sizeof (const void  *_buffer  /**< */);
1732971bb1a5SLionel Sambuc 
1733971bb1a5SLionel Sambuc /**
1734971bb1a5SLionel Sambuc  *
1735971bb1a5SLionel Sambuc  * @param c The connection
1736971bb1a5SLionel Sambuc  * @return A cookie
1737971bb1a5SLionel Sambuc  *
1738971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1739971bb1a5SLionel Sambuc  *
1740971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
1741971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1742971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
1743971bb1a5SLionel Sambuc  */
1744971bb1a5SLionel Sambuc xcb_void_cookie_t
1745971bb1a5SLionel Sambuc xcb_xfixes_change_cursor_by_name_checked (xcb_connection_t *c  /**< */,
1746971bb1a5SLionel Sambuc                                           xcb_cursor_t      src  /**< */,
1747971bb1a5SLionel Sambuc                                           uint16_t          nbytes  /**< */,
1748971bb1a5SLionel Sambuc                                           const char       *name  /**< */);
1749971bb1a5SLionel Sambuc 
1750971bb1a5SLionel Sambuc /**
1751971bb1a5SLionel Sambuc  *
1752971bb1a5SLionel Sambuc  * @param c The connection
1753971bb1a5SLionel Sambuc  * @return A cookie
1754971bb1a5SLionel Sambuc  *
1755971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1756971bb1a5SLionel Sambuc  *
1757971bb1a5SLionel Sambuc  */
1758971bb1a5SLionel Sambuc xcb_void_cookie_t
1759971bb1a5SLionel Sambuc xcb_xfixes_change_cursor_by_name (xcb_connection_t *c  /**< */,
1760971bb1a5SLionel Sambuc                                   xcb_cursor_t      src  /**< */,
1761971bb1a5SLionel Sambuc                                   uint16_t          nbytes  /**< */,
1762971bb1a5SLionel Sambuc                                   const char       *name  /**< */);
1763971bb1a5SLionel Sambuc 
1764971bb1a5SLionel Sambuc /**
1765971bb1a5SLionel Sambuc  *
1766971bb1a5SLionel Sambuc  * @param c The connection
1767971bb1a5SLionel Sambuc  * @return A cookie
1768971bb1a5SLionel Sambuc  *
1769971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1770971bb1a5SLionel Sambuc  *
1771971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
1772971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1773971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
1774971bb1a5SLionel Sambuc  */
1775971bb1a5SLionel Sambuc xcb_void_cookie_t
1776971bb1a5SLionel Sambuc xcb_xfixes_expand_region_checked (xcb_connection_t    *c  /**< */,
1777971bb1a5SLionel Sambuc                                   xcb_xfixes_region_t  source  /**< */,
1778971bb1a5SLionel Sambuc                                   xcb_xfixes_region_t  destination  /**< */,
1779971bb1a5SLionel Sambuc                                   uint16_t             left  /**< */,
1780971bb1a5SLionel Sambuc                                   uint16_t             right  /**< */,
1781971bb1a5SLionel Sambuc                                   uint16_t             top  /**< */,
1782971bb1a5SLionel Sambuc                                   uint16_t             bottom  /**< */);
1783971bb1a5SLionel Sambuc 
1784971bb1a5SLionel Sambuc /**
1785971bb1a5SLionel Sambuc  *
1786971bb1a5SLionel Sambuc  * @param c The connection
1787971bb1a5SLionel Sambuc  * @return A cookie
1788971bb1a5SLionel Sambuc  *
1789971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1790971bb1a5SLionel Sambuc  *
1791971bb1a5SLionel Sambuc  */
1792971bb1a5SLionel Sambuc xcb_void_cookie_t
1793971bb1a5SLionel Sambuc xcb_xfixes_expand_region (xcb_connection_t    *c  /**< */,
1794971bb1a5SLionel Sambuc                           xcb_xfixes_region_t  source  /**< */,
1795971bb1a5SLionel Sambuc                           xcb_xfixes_region_t  destination  /**< */,
1796971bb1a5SLionel Sambuc                           uint16_t             left  /**< */,
1797971bb1a5SLionel Sambuc                           uint16_t             right  /**< */,
1798971bb1a5SLionel Sambuc                           uint16_t             top  /**< */,
1799971bb1a5SLionel Sambuc                           uint16_t             bottom  /**< */);
1800971bb1a5SLionel Sambuc 
1801971bb1a5SLionel Sambuc /**
1802971bb1a5SLionel Sambuc  *
1803971bb1a5SLionel Sambuc  * @param c The connection
1804971bb1a5SLionel Sambuc  * @return A cookie
1805971bb1a5SLionel Sambuc  *
1806971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1807971bb1a5SLionel Sambuc  *
1808971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
1809971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1810971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
1811971bb1a5SLionel Sambuc  */
1812971bb1a5SLionel Sambuc xcb_void_cookie_t
1813971bb1a5SLionel Sambuc xcb_xfixes_hide_cursor_checked (xcb_connection_t *c  /**< */,
1814971bb1a5SLionel Sambuc                                 xcb_window_t      window  /**< */);
1815971bb1a5SLionel Sambuc 
1816971bb1a5SLionel Sambuc /**
1817971bb1a5SLionel Sambuc  *
1818971bb1a5SLionel Sambuc  * @param c The connection
1819971bb1a5SLionel Sambuc  * @return A cookie
1820971bb1a5SLionel Sambuc  *
1821971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1822971bb1a5SLionel Sambuc  *
1823971bb1a5SLionel Sambuc  */
1824971bb1a5SLionel Sambuc xcb_void_cookie_t
1825971bb1a5SLionel Sambuc xcb_xfixes_hide_cursor (xcb_connection_t *c  /**< */,
1826971bb1a5SLionel Sambuc                         xcb_window_t      window  /**< */);
1827971bb1a5SLionel Sambuc 
1828971bb1a5SLionel Sambuc /**
1829971bb1a5SLionel Sambuc  *
1830971bb1a5SLionel Sambuc  * @param c The connection
1831971bb1a5SLionel Sambuc  * @return A cookie
1832971bb1a5SLionel Sambuc  *
1833971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1834971bb1a5SLionel Sambuc  *
1835971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
1836971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1837971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
1838971bb1a5SLionel Sambuc  */
1839971bb1a5SLionel Sambuc xcb_void_cookie_t
1840971bb1a5SLionel Sambuc xcb_xfixes_show_cursor_checked (xcb_connection_t *c  /**< */,
1841971bb1a5SLionel Sambuc                                 xcb_window_t      window  /**< */);
1842971bb1a5SLionel Sambuc 
1843971bb1a5SLionel Sambuc /**
1844971bb1a5SLionel Sambuc  *
1845971bb1a5SLionel Sambuc  * @param c The connection
1846971bb1a5SLionel Sambuc  * @return A cookie
1847971bb1a5SLionel Sambuc  *
1848971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1849971bb1a5SLionel Sambuc  *
1850971bb1a5SLionel Sambuc  */
1851971bb1a5SLionel Sambuc xcb_void_cookie_t
1852971bb1a5SLionel Sambuc xcb_xfixes_show_cursor (xcb_connection_t *c  /**< */,
1853971bb1a5SLionel Sambuc                         xcb_window_t      window  /**< */);
1854971bb1a5SLionel Sambuc 
1855*0a6a1f1dSLionel Sambuc /**
1856*0a6a1f1dSLionel Sambuc  * Get the next element of the iterator
1857*0a6a1f1dSLionel Sambuc  * @param i Pointer to a xcb_xfixes_barrier_iterator_t
1858*0a6a1f1dSLionel Sambuc  *
1859*0a6a1f1dSLionel Sambuc  * Get the next element in the iterator. The member rem is
1860*0a6a1f1dSLionel Sambuc  * decreased by one. The member data points to the next
1861*0a6a1f1dSLionel Sambuc  * element. The member index is increased by sizeof(xcb_xfixes_barrier_t)
1862*0a6a1f1dSLionel Sambuc  */
1863*0a6a1f1dSLionel Sambuc void
1864*0a6a1f1dSLionel Sambuc xcb_xfixes_barrier_next (xcb_xfixes_barrier_iterator_t *i  /**< */);
1865*0a6a1f1dSLionel Sambuc 
1866*0a6a1f1dSLionel Sambuc /**
1867*0a6a1f1dSLionel Sambuc  * Return the iterator pointing to the last element
1868*0a6a1f1dSLionel Sambuc  * @param i An xcb_xfixes_barrier_iterator_t
1869*0a6a1f1dSLionel Sambuc  * @return  The iterator pointing to the last element
1870*0a6a1f1dSLionel Sambuc  *
1871*0a6a1f1dSLionel Sambuc  * Set the current element in the iterator to the last element.
1872*0a6a1f1dSLionel Sambuc  * The member rem is set to 0. The member data points to the
1873*0a6a1f1dSLionel Sambuc  * last element.
1874*0a6a1f1dSLionel Sambuc  */
1875*0a6a1f1dSLionel Sambuc xcb_generic_iterator_t
1876*0a6a1f1dSLionel Sambuc xcb_xfixes_barrier_end (xcb_xfixes_barrier_iterator_t i  /**< */);
1877*0a6a1f1dSLionel Sambuc 
1878*0a6a1f1dSLionel Sambuc int
1879*0a6a1f1dSLionel Sambuc xcb_xfixes_create_pointer_barrier_sizeof (const void  *_buffer  /**< */);
1880*0a6a1f1dSLionel Sambuc 
1881*0a6a1f1dSLionel Sambuc /**
1882*0a6a1f1dSLionel Sambuc  *
1883*0a6a1f1dSLionel Sambuc  * @param c The connection
1884*0a6a1f1dSLionel Sambuc  * @return A cookie
1885*0a6a1f1dSLionel Sambuc  *
1886*0a6a1f1dSLionel Sambuc  * Delivers a request to the X server.
1887*0a6a1f1dSLionel Sambuc  *
1888*0a6a1f1dSLionel Sambuc  * This form can be used only if the request will not cause
1889*0a6a1f1dSLionel Sambuc  * a reply to be generated. Any returned error will be
1890*0a6a1f1dSLionel Sambuc  * saved for handling by xcb_request_check().
1891*0a6a1f1dSLionel Sambuc  */
1892*0a6a1f1dSLionel Sambuc xcb_void_cookie_t
1893*0a6a1f1dSLionel Sambuc xcb_xfixes_create_pointer_barrier_checked (xcb_connection_t     *c  /**< */,
1894*0a6a1f1dSLionel Sambuc                                            xcb_xfixes_barrier_t  barrier  /**< */,
1895*0a6a1f1dSLionel Sambuc                                            xcb_window_t          window  /**< */,
1896*0a6a1f1dSLionel Sambuc                                            uint16_t              x1  /**< */,
1897*0a6a1f1dSLionel Sambuc                                            uint16_t              y1  /**< */,
1898*0a6a1f1dSLionel Sambuc                                            uint16_t              x2  /**< */,
1899*0a6a1f1dSLionel Sambuc                                            uint16_t              y2  /**< */,
1900*0a6a1f1dSLionel Sambuc                                            uint32_t              directions  /**< */,
1901*0a6a1f1dSLionel Sambuc                                            uint16_t              num_devices  /**< */,
1902*0a6a1f1dSLionel Sambuc                                            const uint16_t       *devices  /**< */);
1903*0a6a1f1dSLionel Sambuc 
1904*0a6a1f1dSLionel Sambuc /**
1905*0a6a1f1dSLionel Sambuc  *
1906*0a6a1f1dSLionel Sambuc  * @param c The connection
1907*0a6a1f1dSLionel Sambuc  * @return A cookie
1908*0a6a1f1dSLionel Sambuc  *
1909*0a6a1f1dSLionel Sambuc  * Delivers a request to the X server.
1910*0a6a1f1dSLionel Sambuc  *
1911*0a6a1f1dSLionel Sambuc  */
1912*0a6a1f1dSLionel Sambuc xcb_void_cookie_t
1913*0a6a1f1dSLionel Sambuc xcb_xfixes_create_pointer_barrier (xcb_connection_t     *c  /**< */,
1914*0a6a1f1dSLionel Sambuc                                    xcb_xfixes_barrier_t  barrier  /**< */,
1915*0a6a1f1dSLionel Sambuc                                    xcb_window_t          window  /**< */,
1916*0a6a1f1dSLionel Sambuc                                    uint16_t              x1  /**< */,
1917*0a6a1f1dSLionel Sambuc                                    uint16_t              y1  /**< */,
1918*0a6a1f1dSLionel Sambuc                                    uint16_t              x2  /**< */,
1919*0a6a1f1dSLionel Sambuc                                    uint16_t              y2  /**< */,
1920*0a6a1f1dSLionel Sambuc                                    uint32_t              directions  /**< */,
1921*0a6a1f1dSLionel Sambuc                                    uint16_t              num_devices  /**< */,
1922*0a6a1f1dSLionel Sambuc                                    const uint16_t       *devices  /**< */);
1923*0a6a1f1dSLionel Sambuc 
1924*0a6a1f1dSLionel Sambuc /**
1925*0a6a1f1dSLionel Sambuc  *
1926*0a6a1f1dSLionel Sambuc  * @param c The connection
1927*0a6a1f1dSLionel Sambuc  * @return A cookie
1928*0a6a1f1dSLionel Sambuc  *
1929*0a6a1f1dSLionel Sambuc  * Delivers a request to the X server.
1930*0a6a1f1dSLionel Sambuc  *
1931*0a6a1f1dSLionel Sambuc  * This form can be used only if the request will not cause
1932*0a6a1f1dSLionel Sambuc  * a reply to be generated. Any returned error will be
1933*0a6a1f1dSLionel Sambuc  * saved for handling by xcb_request_check().
1934*0a6a1f1dSLionel Sambuc  */
1935*0a6a1f1dSLionel Sambuc xcb_void_cookie_t
1936*0a6a1f1dSLionel Sambuc xcb_xfixes_delete_pointer_barrier_checked (xcb_connection_t     *c  /**< */,
1937*0a6a1f1dSLionel Sambuc                                            xcb_xfixes_barrier_t  barrier  /**< */);
1938*0a6a1f1dSLionel Sambuc 
1939*0a6a1f1dSLionel Sambuc /**
1940*0a6a1f1dSLionel Sambuc  *
1941*0a6a1f1dSLionel Sambuc  * @param c The connection
1942*0a6a1f1dSLionel Sambuc  * @return A cookie
1943*0a6a1f1dSLionel Sambuc  *
1944*0a6a1f1dSLionel Sambuc  * Delivers a request to the X server.
1945*0a6a1f1dSLionel Sambuc  *
1946*0a6a1f1dSLionel Sambuc  */
1947*0a6a1f1dSLionel Sambuc xcb_void_cookie_t
1948*0a6a1f1dSLionel Sambuc xcb_xfixes_delete_pointer_barrier (xcb_connection_t     *c  /**< */,
1949*0a6a1f1dSLionel Sambuc                                    xcb_xfixes_barrier_t  barrier  /**< */);
1950*0a6a1f1dSLionel Sambuc 
1951971bb1a5SLionel Sambuc 
1952971bb1a5SLionel Sambuc #ifdef __cplusplus
1953971bb1a5SLionel Sambuc }
1954971bb1a5SLionel Sambuc #endif
1955971bb1a5SLionel Sambuc 
1956971bb1a5SLionel Sambuc #endif
1957971bb1a5SLionel Sambuc 
1958971bb1a5SLionel Sambuc /**
1959971bb1a5SLionel Sambuc  * @}
1960971bb1a5SLionel Sambuc  */
1961