xref: /minix3/external/mit/xorg/lib/libxcb/files/composite.h (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1971bb1a5SLionel Sambuc /*
2971bb1a5SLionel Sambuc  * This file generated automatically from composite.xml by c_client.py.
3971bb1a5SLionel Sambuc  * Edit at your peril.
4971bb1a5SLionel Sambuc  */
5971bb1a5SLionel Sambuc 
6971bb1a5SLionel Sambuc /**
7971bb1a5SLionel Sambuc  * @defgroup XCB_Composite_API XCB Composite API
8971bb1a5SLionel Sambuc  * @brief Composite XCB Protocol Implementation.
9971bb1a5SLionel Sambuc  * @{
10971bb1a5SLionel Sambuc  **/
11971bb1a5SLionel Sambuc 
12971bb1a5SLionel Sambuc #ifndef __COMPOSITE_H
13971bb1a5SLionel Sambuc #define __COMPOSITE_H
14971bb1a5SLionel Sambuc 
15971bb1a5SLionel Sambuc #include "xcb.h"
16971bb1a5SLionel Sambuc #include "xproto.h"
17971bb1a5SLionel Sambuc #include "xfixes.h"
18971bb1a5SLionel Sambuc 
19971bb1a5SLionel Sambuc #ifdef __cplusplus
20971bb1a5SLionel Sambuc extern "C" {
21971bb1a5SLionel Sambuc #endif
22971bb1a5SLionel Sambuc 
23971bb1a5SLionel Sambuc #define XCB_COMPOSITE_MAJOR_VERSION 0
24*0a6a1f1dSLionel Sambuc #define XCB_COMPOSITE_MINOR_VERSION 4
25971bb1a5SLionel Sambuc 
26971bb1a5SLionel Sambuc extern xcb_extension_t xcb_composite_id;
27971bb1a5SLionel Sambuc 
28971bb1a5SLionel Sambuc typedef enum xcb_composite_redirect_t {
29*0a6a1f1dSLionel Sambuc     XCB_COMPOSITE_REDIRECT_AUTOMATIC = 0,
30*0a6a1f1dSLionel Sambuc     XCB_COMPOSITE_REDIRECT_MANUAL = 1
31971bb1a5SLionel Sambuc } xcb_composite_redirect_t;
32971bb1a5SLionel Sambuc 
33971bb1a5SLionel Sambuc /**
34971bb1a5SLionel Sambuc  * @brief xcb_composite_query_version_cookie_t
35971bb1a5SLionel Sambuc  **/
36971bb1a5SLionel Sambuc typedef struct xcb_composite_query_version_cookie_t {
37971bb1a5SLionel Sambuc     unsigned int sequence; /**<  */
38971bb1a5SLionel Sambuc } xcb_composite_query_version_cookie_t;
39971bb1a5SLionel Sambuc 
40971bb1a5SLionel Sambuc /** Opcode for xcb_composite_query_version. */
41971bb1a5SLionel Sambuc #define XCB_COMPOSITE_QUERY_VERSION 0
42971bb1a5SLionel Sambuc 
43971bb1a5SLionel Sambuc /**
44971bb1a5SLionel Sambuc  * @brief xcb_composite_query_version_request_t
45971bb1a5SLionel Sambuc  **/
46971bb1a5SLionel Sambuc typedef struct xcb_composite_query_version_request_t {
47971bb1a5SLionel Sambuc     uint8_t  major_opcode; /**<  */
48971bb1a5SLionel Sambuc     uint8_t  minor_opcode; /**<  */
49971bb1a5SLionel Sambuc     uint16_t length; /**<  */
50971bb1a5SLionel Sambuc     uint32_t client_major_version; /**<  */
51971bb1a5SLionel Sambuc     uint32_t client_minor_version; /**<  */
52971bb1a5SLionel Sambuc } xcb_composite_query_version_request_t;
53971bb1a5SLionel Sambuc 
54971bb1a5SLionel Sambuc /**
55971bb1a5SLionel Sambuc  * @brief xcb_composite_query_version_reply_t
56971bb1a5SLionel Sambuc  **/
57971bb1a5SLionel Sambuc typedef struct xcb_composite_query_version_reply_t {
58971bb1a5SLionel Sambuc     uint8_t  response_type; /**<  */
59971bb1a5SLionel Sambuc     uint8_t  pad0; /**<  */
60971bb1a5SLionel Sambuc     uint16_t sequence; /**<  */
61971bb1a5SLionel Sambuc     uint32_t length; /**<  */
62971bb1a5SLionel Sambuc     uint32_t major_version; /**<  */
63971bb1a5SLionel Sambuc     uint32_t minor_version; /**<  */
64971bb1a5SLionel Sambuc     uint8_t  pad1[16]; /**<  */
65971bb1a5SLionel Sambuc } xcb_composite_query_version_reply_t;
66971bb1a5SLionel Sambuc 
67971bb1a5SLionel Sambuc /** Opcode for xcb_composite_redirect_window. */
68971bb1a5SLionel Sambuc #define XCB_COMPOSITE_REDIRECT_WINDOW 1
69971bb1a5SLionel Sambuc 
70971bb1a5SLionel Sambuc /**
71971bb1a5SLionel Sambuc  * @brief xcb_composite_redirect_window_request_t
72971bb1a5SLionel Sambuc  **/
73971bb1a5SLionel Sambuc typedef struct xcb_composite_redirect_window_request_t {
74971bb1a5SLionel Sambuc     uint8_t      major_opcode; /**<  */
75971bb1a5SLionel Sambuc     uint8_t      minor_opcode; /**<  */
76971bb1a5SLionel Sambuc     uint16_t     length; /**<  */
77971bb1a5SLionel Sambuc     xcb_window_t window; /**<  */
78971bb1a5SLionel Sambuc     uint8_t      update; /**<  */
79971bb1a5SLionel Sambuc     uint8_t      pad0[3]; /**<  */
80971bb1a5SLionel Sambuc } xcb_composite_redirect_window_request_t;
81971bb1a5SLionel Sambuc 
82971bb1a5SLionel Sambuc /** Opcode for xcb_composite_redirect_subwindows. */
83971bb1a5SLionel Sambuc #define XCB_COMPOSITE_REDIRECT_SUBWINDOWS 2
84971bb1a5SLionel Sambuc 
85971bb1a5SLionel Sambuc /**
86971bb1a5SLionel Sambuc  * @brief xcb_composite_redirect_subwindows_request_t
87971bb1a5SLionel Sambuc  **/
88971bb1a5SLionel Sambuc typedef struct xcb_composite_redirect_subwindows_request_t {
89971bb1a5SLionel Sambuc     uint8_t      major_opcode; /**<  */
90971bb1a5SLionel Sambuc     uint8_t      minor_opcode; /**<  */
91971bb1a5SLionel Sambuc     uint16_t     length; /**<  */
92971bb1a5SLionel Sambuc     xcb_window_t window; /**<  */
93971bb1a5SLionel Sambuc     uint8_t      update; /**<  */
94971bb1a5SLionel Sambuc     uint8_t      pad0[3]; /**<  */
95971bb1a5SLionel Sambuc } xcb_composite_redirect_subwindows_request_t;
96971bb1a5SLionel Sambuc 
97971bb1a5SLionel Sambuc /** Opcode for xcb_composite_unredirect_window. */
98971bb1a5SLionel Sambuc #define XCB_COMPOSITE_UNREDIRECT_WINDOW 3
99971bb1a5SLionel Sambuc 
100971bb1a5SLionel Sambuc /**
101971bb1a5SLionel Sambuc  * @brief xcb_composite_unredirect_window_request_t
102971bb1a5SLionel Sambuc  **/
103971bb1a5SLionel Sambuc typedef struct xcb_composite_unredirect_window_request_t {
104971bb1a5SLionel Sambuc     uint8_t      major_opcode; /**<  */
105971bb1a5SLionel Sambuc     uint8_t      minor_opcode; /**<  */
106971bb1a5SLionel Sambuc     uint16_t     length; /**<  */
107971bb1a5SLionel Sambuc     xcb_window_t window; /**<  */
108971bb1a5SLionel Sambuc     uint8_t      update; /**<  */
109971bb1a5SLionel Sambuc     uint8_t      pad0[3]; /**<  */
110971bb1a5SLionel Sambuc } xcb_composite_unredirect_window_request_t;
111971bb1a5SLionel Sambuc 
112971bb1a5SLionel Sambuc /** Opcode for xcb_composite_unredirect_subwindows. */
113971bb1a5SLionel Sambuc #define XCB_COMPOSITE_UNREDIRECT_SUBWINDOWS 4
114971bb1a5SLionel Sambuc 
115971bb1a5SLionel Sambuc /**
116971bb1a5SLionel Sambuc  * @brief xcb_composite_unredirect_subwindows_request_t
117971bb1a5SLionel Sambuc  **/
118971bb1a5SLionel Sambuc typedef struct xcb_composite_unredirect_subwindows_request_t {
119971bb1a5SLionel Sambuc     uint8_t      major_opcode; /**<  */
120971bb1a5SLionel Sambuc     uint8_t      minor_opcode; /**<  */
121971bb1a5SLionel Sambuc     uint16_t     length; /**<  */
122971bb1a5SLionel Sambuc     xcb_window_t window; /**<  */
123971bb1a5SLionel Sambuc     uint8_t      update; /**<  */
124971bb1a5SLionel Sambuc     uint8_t      pad0[3]; /**<  */
125971bb1a5SLionel Sambuc } xcb_composite_unredirect_subwindows_request_t;
126971bb1a5SLionel Sambuc 
127971bb1a5SLionel Sambuc /** Opcode for xcb_composite_create_region_from_border_clip. */
128971bb1a5SLionel Sambuc #define XCB_COMPOSITE_CREATE_REGION_FROM_BORDER_CLIP 5
129971bb1a5SLionel Sambuc 
130971bb1a5SLionel Sambuc /**
131971bb1a5SLionel Sambuc  * @brief xcb_composite_create_region_from_border_clip_request_t
132971bb1a5SLionel Sambuc  **/
133971bb1a5SLionel Sambuc typedef struct xcb_composite_create_region_from_border_clip_request_t {
134971bb1a5SLionel Sambuc     uint8_t             major_opcode; /**<  */
135971bb1a5SLionel Sambuc     uint8_t             minor_opcode; /**<  */
136971bb1a5SLionel Sambuc     uint16_t            length; /**<  */
137971bb1a5SLionel Sambuc     xcb_xfixes_region_t region; /**<  */
138971bb1a5SLionel Sambuc     xcb_window_t        window; /**<  */
139971bb1a5SLionel Sambuc } xcb_composite_create_region_from_border_clip_request_t;
140971bb1a5SLionel Sambuc 
141971bb1a5SLionel Sambuc /** Opcode for xcb_composite_name_window_pixmap. */
142971bb1a5SLionel Sambuc #define XCB_COMPOSITE_NAME_WINDOW_PIXMAP 6
143971bb1a5SLionel Sambuc 
144971bb1a5SLionel Sambuc /**
145971bb1a5SLionel Sambuc  * @brief xcb_composite_name_window_pixmap_request_t
146971bb1a5SLionel Sambuc  **/
147971bb1a5SLionel Sambuc typedef struct xcb_composite_name_window_pixmap_request_t {
148971bb1a5SLionel Sambuc     uint8_t      major_opcode; /**<  */
149971bb1a5SLionel Sambuc     uint8_t      minor_opcode; /**<  */
150971bb1a5SLionel Sambuc     uint16_t     length; /**<  */
151971bb1a5SLionel Sambuc     xcb_window_t window; /**<  */
152971bb1a5SLionel Sambuc     xcb_pixmap_t pixmap; /**<  */
153971bb1a5SLionel Sambuc } xcb_composite_name_window_pixmap_request_t;
154971bb1a5SLionel Sambuc 
155971bb1a5SLionel Sambuc /**
156971bb1a5SLionel Sambuc  * @brief xcb_composite_get_overlay_window_cookie_t
157971bb1a5SLionel Sambuc  **/
158971bb1a5SLionel Sambuc typedef struct xcb_composite_get_overlay_window_cookie_t {
159971bb1a5SLionel Sambuc     unsigned int sequence; /**<  */
160971bb1a5SLionel Sambuc } xcb_composite_get_overlay_window_cookie_t;
161971bb1a5SLionel Sambuc 
162971bb1a5SLionel Sambuc /** Opcode for xcb_composite_get_overlay_window. */
163971bb1a5SLionel Sambuc #define XCB_COMPOSITE_GET_OVERLAY_WINDOW 7
164971bb1a5SLionel Sambuc 
165971bb1a5SLionel Sambuc /**
166971bb1a5SLionel Sambuc  * @brief xcb_composite_get_overlay_window_request_t
167971bb1a5SLionel Sambuc  **/
168971bb1a5SLionel Sambuc typedef struct xcb_composite_get_overlay_window_request_t {
169971bb1a5SLionel Sambuc     uint8_t      major_opcode; /**<  */
170971bb1a5SLionel Sambuc     uint8_t      minor_opcode; /**<  */
171971bb1a5SLionel Sambuc     uint16_t     length; /**<  */
172971bb1a5SLionel Sambuc     xcb_window_t window; /**<  */
173971bb1a5SLionel Sambuc } xcb_composite_get_overlay_window_request_t;
174971bb1a5SLionel Sambuc 
175971bb1a5SLionel Sambuc /**
176971bb1a5SLionel Sambuc  * @brief xcb_composite_get_overlay_window_reply_t
177971bb1a5SLionel Sambuc  **/
178971bb1a5SLionel Sambuc typedef struct xcb_composite_get_overlay_window_reply_t {
179971bb1a5SLionel Sambuc     uint8_t      response_type; /**<  */
180971bb1a5SLionel Sambuc     uint8_t      pad0; /**<  */
181971bb1a5SLionel Sambuc     uint16_t     sequence; /**<  */
182971bb1a5SLionel Sambuc     uint32_t     length; /**<  */
183971bb1a5SLionel Sambuc     xcb_window_t overlay_win; /**<  */
184971bb1a5SLionel Sambuc     uint8_t      pad1[20]; /**<  */
185971bb1a5SLionel Sambuc } xcb_composite_get_overlay_window_reply_t;
186971bb1a5SLionel Sambuc 
187971bb1a5SLionel Sambuc /** Opcode for xcb_composite_release_overlay_window. */
188971bb1a5SLionel Sambuc #define XCB_COMPOSITE_RELEASE_OVERLAY_WINDOW 8
189971bb1a5SLionel Sambuc 
190971bb1a5SLionel Sambuc /**
191971bb1a5SLionel Sambuc  * @brief xcb_composite_release_overlay_window_request_t
192971bb1a5SLionel Sambuc  **/
193971bb1a5SLionel Sambuc typedef struct xcb_composite_release_overlay_window_request_t {
194971bb1a5SLionel Sambuc     uint8_t      major_opcode; /**<  */
195971bb1a5SLionel Sambuc     uint8_t      minor_opcode; /**<  */
196971bb1a5SLionel Sambuc     uint16_t     length; /**<  */
197971bb1a5SLionel Sambuc     xcb_window_t window; /**<  */
198971bb1a5SLionel Sambuc } xcb_composite_release_overlay_window_request_t;
199971bb1a5SLionel Sambuc 
200971bb1a5SLionel Sambuc /**
201971bb1a5SLionel Sambuc  *
202971bb1a5SLionel Sambuc  * @param c The connection
203971bb1a5SLionel Sambuc  * @return A cookie
204971bb1a5SLionel Sambuc  *
205971bb1a5SLionel Sambuc  * Delivers a request to the X server.
206971bb1a5SLionel Sambuc  *
207971bb1a5SLionel Sambuc  */
208971bb1a5SLionel Sambuc xcb_composite_query_version_cookie_t
209971bb1a5SLionel Sambuc xcb_composite_query_version (xcb_connection_t *c  /**< */,
210971bb1a5SLionel Sambuc                              uint32_t          client_major_version  /**< */,
211971bb1a5SLionel Sambuc                              uint32_t          client_minor_version  /**< */);
212971bb1a5SLionel Sambuc 
213971bb1a5SLionel Sambuc /**
214971bb1a5SLionel Sambuc  *
215971bb1a5SLionel Sambuc  * @param c The connection
216971bb1a5SLionel Sambuc  * @return A cookie
217971bb1a5SLionel Sambuc  *
218971bb1a5SLionel Sambuc  * Delivers a request to the X server.
219971bb1a5SLionel Sambuc  *
220971bb1a5SLionel Sambuc  * This form can be used only if the request will cause
221971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
222971bb1a5SLionel Sambuc  * placed in the event queue.
223971bb1a5SLionel Sambuc  */
224971bb1a5SLionel Sambuc xcb_composite_query_version_cookie_t
225971bb1a5SLionel Sambuc xcb_composite_query_version_unchecked (xcb_connection_t *c  /**< */,
226971bb1a5SLionel Sambuc                                        uint32_t          client_major_version  /**< */,
227971bb1a5SLionel Sambuc                                        uint32_t          client_minor_version  /**< */);
228971bb1a5SLionel Sambuc 
229971bb1a5SLionel Sambuc /**
230971bb1a5SLionel Sambuc  * Return the reply
231971bb1a5SLionel Sambuc  * @param c      The connection
232971bb1a5SLionel Sambuc  * @param cookie The cookie
233971bb1a5SLionel Sambuc  * @param e      The xcb_generic_error_t supplied
234971bb1a5SLionel Sambuc  *
235971bb1a5SLionel Sambuc  * Returns the reply of the request asked by
236971bb1a5SLionel Sambuc  *
237971bb1a5SLionel Sambuc  * The parameter @p e supplied to this function must be NULL if
238971bb1a5SLionel Sambuc  * xcb_composite_query_version_unchecked(). is used.
239971bb1a5SLionel Sambuc  * Otherwise, it stores the error if any.
240971bb1a5SLionel Sambuc  *
241971bb1a5SLionel Sambuc  * The returned value must be freed by the caller using free().
242971bb1a5SLionel Sambuc  */
243971bb1a5SLionel Sambuc xcb_composite_query_version_reply_t *
244971bb1a5SLionel Sambuc xcb_composite_query_version_reply (xcb_connection_t                      *c  /**< */,
245971bb1a5SLionel Sambuc                                    xcb_composite_query_version_cookie_t   cookie  /**< */,
246971bb1a5SLionel Sambuc                                    xcb_generic_error_t                  **e  /**< */);
247971bb1a5SLionel Sambuc 
248971bb1a5SLionel Sambuc /**
249971bb1a5SLionel Sambuc  *
250971bb1a5SLionel Sambuc  * @param c The connection
251971bb1a5SLionel Sambuc  * @return A cookie
252971bb1a5SLionel Sambuc  *
253971bb1a5SLionel Sambuc  * Delivers a request to the X server.
254971bb1a5SLionel Sambuc  *
255971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
256971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
257971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
258971bb1a5SLionel Sambuc  */
259971bb1a5SLionel Sambuc xcb_void_cookie_t
260971bb1a5SLionel Sambuc xcb_composite_redirect_window_checked (xcb_connection_t *c  /**< */,
261971bb1a5SLionel Sambuc                                        xcb_window_t      window  /**< */,
262971bb1a5SLionel Sambuc                                        uint8_t           update  /**< */);
263971bb1a5SLionel Sambuc 
264971bb1a5SLionel Sambuc /**
265971bb1a5SLionel Sambuc  *
266971bb1a5SLionel Sambuc  * @param c The connection
267971bb1a5SLionel Sambuc  * @return A cookie
268971bb1a5SLionel Sambuc  *
269971bb1a5SLionel Sambuc  * Delivers a request to the X server.
270971bb1a5SLionel Sambuc  *
271971bb1a5SLionel Sambuc  */
272971bb1a5SLionel Sambuc xcb_void_cookie_t
273971bb1a5SLionel Sambuc xcb_composite_redirect_window (xcb_connection_t *c  /**< */,
274971bb1a5SLionel Sambuc                                xcb_window_t      window  /**< */,
275971bb1a5SLionel Sambuc                                uint8_t           update  /**< */);
276971bb1a5SLionel Sambuc 
277971bb1a5SLionel Sambuc /**
278971bb1a5SLionel Sambuc  *
279971bb1a5SLionel Sambuc  * @param c The connection
280971bb1a5SLionel Sambuc  * @return A cookie
281971bb1a5SLionel Sambuc  *
282971bb1a5SLionel Sambuc  * Delivers a request to the X server.
283971bb1a5SLionel Sambuc  *
284971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
285971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
286971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
287971bb1a5SLionel Sambuc  */
288971bb1a5SLionel Sambuc xcb_void_cookie_t
289971bb1a5SLionel Sambuc xcb_composite_redirect_subwindows_checked (xcb_connection_t *c  /**< */,
290971bb1a5SLionel Sambuc                                            xcb_window_t      window  /**< */,
291971bb1a5SLionel Sambuc                                            uint8_t           update  /**< */);
292971bb1a5SLionel Sambuc 
293971bb1a5SLionel Sambuc /**
294971bb1a5SLionel Sambuc  *
295971bb1a5SLionel Sambuc  * @param c The connection
296971bb1a5SLionel Sambuc  * @return A cookie
297971bb1a5SLionel Sambuc  *
298971bb1a5SLionel Sambuc  * Delivers a request to the X server.
299971bb1a5SLionel Sambuc  *
300971bb1a5SLionel Sambuc  */
301971bb1a5SLionel Sambuc xcb_void_cookie_t
302971bb1a5SLionel Sambuc xcb_composite_redirect_subwindows (xcb_connection_t *c  /**< */,
303971bb1a5SLionel Sambuc                                    xcb_window_t      window  /**< */,
304971bb1a5SLionel Sambuc                                    uint8_t           update  /**< */);
305971bb1a5SLionel Sambuc 
306971bb1a5SLionel Sambuc /**
307971bb1a5SLionel Sambuc  *
308971bb1a5SLionel Sambuc  * @param c The connection
309971bb1a5SLionel Sambuc  * @return A cookie
310971bb1a5SLionel Sambuc  *
311971bb1a5SLionel Sambuc  * Delivers a request to the X server.
312971bb1a5SLionel Sambuc  *
313971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
314971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
315971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
316971bb1a5SLionel Sambuc  */
317971bb1a5SLionel Sambuc xcb_void_cookie_t
318971bb1a5SLionel Sambuc xcb_composite_unredirect_window_checked (xcb_connection_t *c  /**< */,
319971bb1a5SLionel Sambuc                                          xcb_window_t      window  /**< */,
320971bb1a5SLionel Sambuc                                          uint8_t           update  /**< */);
321971bb1a5SLionel Sambuc 
322971bb1a5SLionel Sambuc /**
323971bb1a5SLionel Sambuc  *
324971bb1a5SLionel Sambuc  * @param c The connection
325971bb1a5SLionel Sambuc  * @return A cookie
326971bb1a5SLionel Sambuc  *
327971bb1a5SLionel Sambuc  * Delivers a request to the X server.
328971bb1a5SLionel Sambuc  *
329971bb1a5SLionel Sambuc  */
330971bb1a5SLionel Sambuc xcb_void_cookie_t
331971bb1a5SLionel Sambuc xcb_composite_unredirect_window (xcb_connection_t *c  /**< */,
332971bb1a5SLionel Sambuc                                  xcb_window_t      window  /**< */,
333971bb1a5SLionel Sambuc                                  uint8_t           update  /**< */);
334971bb1a5SLionel Sambuc 
335971bb1a5SLionel Sambuc /**
336971bb1a5SLionel Sambuc  *
337971bb1a5SLionel Sambuc  * @param c The connection
338971bb1a5SLionel Sambuc  * @return A cookie
339971bb1a5SLionel Sambuc  *
340971bb1a5SLionel Sambuc  * Delivers a request to the X server.
341971bb1a5SLionel Sambuc  *
342971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
343971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
344971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
345971bb1a5SLionel Sambuc  */
346971bb1a5SLionel Sambuc xcb_void_cookie_t
347971bb1a5SLionel Sambuc xcb_composite_unredirect_subwindows_checked (xcb_connection_t *c  /**< */,
348971bb1a5SLionel Sambuc                                              xcb_window_t      window  /**< */,
349971bb1a5SLionel Sambuc                                              uint8_t           update  /**< */);
350971bb1a5SLionel Sambuc 
351971bb1a5SLionel Sambuc /**
352971bb1a5SLionel Sambuc  *
353971bb1a5SLionel Sambuc  * @param c The connection
354971bb1a5SLionel Sambuc  * @return A cookie
355971bb1a5SLionel Sambuc  *
356971bb1a5SLionel Sambuc  * Delivers a request to the X server.
357971bb1a5SLionel Sambuc  *
358971bb1a5SLionel Sambuc  */
359971bb1a5SLionel Sambuc xcb_void_cookie_t
360971bb1a5SLionel Sambuc xcb_composite_unredirect_subwindows (xcb_connection_t *c  /**< */,
361971bb1a5SLionel Sambuc                                      xcb_window_t      window  /**< */,
362971bb1a5SLionel Sambuc                                      uint8_t           update  /**< */);
363971bb1a5SLionel Sambuc 
364971bb1a5SLionel Sambuc /**
365971bb1a5SLionel Sambuc  *
366971bb1a5SLionel Sambuc  * @param c The connection
367971bb1a5SLionel Sambuc  * @return A cookie
368971bb1a5SLionel Sambuc  *
369971bb1a5SLionel Sambuc  * Delivers a request to the X server.
370971bb1a5SLionel Sambuc  *
371971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
372971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
373971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
374971bb1a5SLionel Sambuc  */
375971bb1a5SLionel Sambuc xcb_void_cookie_t
376971bb1a5SLionel Sambuc xcb_composite_create_region_from_border_clip_checked (xcb_connection_t    *c  /**< */,
377971bb1a5SLionel Sambuc                                                       xcb_xfixes_region_t  region  /**< */,
378971bb1a5SLionel Sambuc                                                       xcb_window_t         window  /**< */);
379971bb1a5SLionel Sambuc 
380971bb1a5SLionel Sambuc /**
381971bb1a5SLionel Sambuc  *
382971bb1a5SLionel Sambuc  * @param c The connection
383971bb1a5SLionel Sambuc  * @return A cookie
384971bb1a5SLionel Sambuc  *
385971bb1a5SLionel Sambuc  * Delivers a request to the X server.
386971bb1a5SLionel Sambuc  *
387971bb1a5SLionel Sambuc  */
388971bb1a5SLionel Sambuc xcb_void_cookie_t
389971bb1a5SLionel Sambuc xcb_composite_create_region_from_border_clip (xcb_connection_t    *c  /**< */,
390971bb1a5SLionel Sambuc                                               xcb_xfixes_region_t  region  /**< */,
391971bb1a5SLionel Sambuc                                               xcb_window_t         window  /**< */);
392971bb1a5SLionel Sambuc 
393971bb1a5SLionel Sambuc /**
394971bb1a5SLionel Sambuc  *
395971bb1a5SLionel Sambuc  * @param c The connection
396971bb1a5SLionel Sambuc  * @return A cookie
397971bb1a5SLionel Sambuc  *
398971bb1a5SLionel Sambuc  * Delivers a request to the X server.
399971bb1a5SLionel Sambuc  *
400971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
401971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
402971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
403971bb1a5SLionel Sambuc  */
404971bb1a5SLionel Sambuc xcb_void_cookie_t
405971bb1a5SLionel Sambuc xcb_composite_name_window_pixmap_checked (xcb_connection_t *c  /**< */,
406971bb1a5SLionel Sambuc                                           xcb_window_t      window  /**< */,
407971bb1a5SLionel Sambuc                                           xcb_pixmap_t      pixmap  /**< */);
408971bb1a5SLionel Sambuc 
409971bb1a5SLionel Sambuc /**
410971bb1a5SLionel Sambuc  *
411971bb1a5SLionel Sambuc  * @param c The connection
412971bb1a5SLionel Sambuc  * @return A cookie
413971bb1a5SLionel Sambuc  *
414971bb1a5SLionel Sambuc  * Delivers a request to the X server.
415971bb1a5SLionel Sambuc  *
416971bb1a5SLionel Sambuc  */
417971bb1a5SLionel Sambuc xcb_void_cookie_t
418971bb1a5SLionel Sambuc xcb_composite_name_window_pixmap (xcb_connection_t *c  /**< */,
419971bb1a5SLionel Sambuc                                   xcb_window_t      window  /**< */,
420971bb1a5SLionel Sambuc                                   xcb_pixmap_t      pixmap  /**< */);
421971bb1a5SLionel Sambuc 
422971bb1a5SLionel Sambuc /**
423971bb1a5SLionel Sambuc  *
424971bb1a5SLionel Sambuc  * @param c The connection
425971bb1a5SLionel Sambuc  * @return A cookie
426971bb1a5SLionel Sambuc  *
427971bb1a5SLionel Sambuc  * Delivers a request to the X server.
428971bb1a5SLionel Sambuc  *
429971bb1a5SLionel Sambuc  */
430971bb1a5SLionel Sambuc xcb_composite_get_overlay_window_cookie_t
431971bb1a5SLionel Sambuc xcb_composite_get_overlay_window (xcb_connection_t *c  /**< */,
432971bb1a5SLionel Sambuc                                   xcb_window_t      window  /**< */);
433971bb1a5SLionel Sambuc 
434971bb1a5SLionel Sambuc /**
435971bb1a5SLionel Sambuc  *
436971bb1a5SLionel Sambuc  * @param c The connection
437971bb1a5SLionel Sambuc  * @return A cookie
438971bb1a5SLionel Sambuc  *
439971bb1a5SLionel Sambuc  * Delivers a request to the X server.
440971bb1a5SLionel Sambuc  *
441971bb1a5SLionel Sambuc  * This form can be used only if the request will cause
442971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
443971bb1a5SLionel Sambuc  * placed in the event queue.
444971bb1a5SLionel Sambuc  */
445971bb1a5SLionel Sambuc xcb_composite_get_overlay_window_cookie_t
446971bb1a5SLionel Sambuc xcb_composite_get_overlay_window_unchecked (xcb_connection_t *c  /**< */,
447971bb1a5SLionel Sambuc                                             xcb_window_t      window  /**< */);
448971bb1a5SLionel Sambuc 
449971bb1a5SLionel Sambuc /**
450971bb1a5SLionel Sambuc  * Return the reply
451971bb1a5SLionel Sambuc  * @param c      The connection
452971bb1a5SLionel Sambuc  * @param cookie The cookie
453971bb1a5SLionel Sambuc  * @param e      The xcb_generic_error_t supplied
454971bb1a5SLionel Sambuc  *
455971bb1a5SLionel Sambuc  * Returns the reply of the request asked by
456971bb1a5SLionel Sambuc  *
457971bb1a5SLionel Sambuc  * The parameter @p e supplied to this function must be NULL if
458971bb1a5SLionel Sambuc  * xcb_composite_get_overlay_window_unchecked(). is used.
459971bb1a5SLionel Sambuc  * Otherwise, it stores the error if any.
460971bb1a5SLionel Sambuc  *
461971bb1a5SLionel Sambuc  * The returned value must be freed by the caller using free().
462971bb1a5SLionel Sambuc  */
463971bb1a5SLionel Sambuc xcb_composite_get_overlay_window_reply_t *
464971bb1a5SLionel Sambuc xcb_composite_get_overlay_window_reply (xcb_connection_t                           *c  /**< */,
465971bb1a5SLionel Sambuc                                         xcb_composite_get_overlay_window_cookie_t   cookie  /**< */,
466971bb1a5SLionel Sambuc                                         xcb_generic_error_t                       **e  /**< */);
467971bb1a5SLionel Sambuc 
468971bb1a5SLionel Sambuc /**
469971bb1a5SLionel Sambuc  *
470971bb1a5SLionel Sambuc  * @param c The connection
471971bb1a5SLionel Sambuc  * @return A cookie
472971bb1a5SLionel Sambuc  *
473971bb1a5SLionel Sambuc  * Delivers a request to the X server.
474971bb1a5SLionel Sambuc  *
475971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
476971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
477971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
478971bb1a5SLionel Sambuc  */
479971bb1a5SLionel Sambuc xcb_void_cookie_t
480971bb1a5SLionel Sambuc xcb_composite_release_overlay_window_checked (xcb_connection_t *c  /**< */,
481971bb1a5SLionel Sambuc                                               xcb_window_t      window  /**< */);
482971bb1a5SLionel Sambuc 
483971bb1a5SLionel Sambuc /**
484971bb1a5SLionel Sambuc  *
485971bb1a5SLionel Sambuc  * @param c The connection
486971bb1a5SLionel Sambuc  * @return A cookie
487971bb1a5SLionel Sambuc  *
488971bb1a5SLionel Sambuc  * Delivers a request to the X server.
489971bb1a5SLionel Sambuc  *
490971bb1a5SLionel Sambuc  */
491971bb1a5SLionel Sambuc xcb_void_cookie_t
492971bb1a5SLionel Sambuc xcb_composite_release_overlay_window (xcb_connection_t *c  /**< */,
493971bb1a5SLionel Sambuc                                       xcb_window_t      window  /**< */);
494971bb1a5SLionel Sambuc 
495971bb1a5SLionel Sambuc 
496971bb1a5SLionel Sambuc #ifdef __cplusplus
497971bb1a5SLionel Sambuc }
498971bb1a5SLionel Sambuc #endif
499971bb1a5SLionel Sambuc 
500971bb1a5SLionel Sambuc #endif
501971bb1a5SLionel Sambuc 
502971bb1a5SLionel Sambuc /**
503971bb1a5SLionel Sambuc  * @}
504971bb1a5SLionel Sambuc  */
505