XCB 1.13

composite.h
1 /*
2 * This file generated automatically from composite.xml by c_client.py.
3 * Edit at your peril.
4 */
5
12 #ifndef __COMPOSITE_H
13 #define __COMPOSITE_H
14
15 #include "xcb.h"
16 #include "xproto.h"
17 #include "xfixes.h"
18
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22
23 #define XCB_COMPOSITE_MAJOR_VERSION 0
24 #define XCB_COMPOSITE_MINOR_VERSION 4
25
26 extern xcb_extension_t xcb_composite_id;
27
28 typedef enum xcb_composite_redirect_t {
29 XCB_COMPOSITE_REDIRECT_AUTOMATIC = 0,
30 XCB_COMPOSITE_REDIRECT_MANUAL = 1
31 } xcb_composite_redirect_t;
32
36 typedef struct xcb_composite_query_version_cookie_t {
37 unsigned int sequence;
38 } xcb_composite_query_version_cookie_t;
39
41 #define XCB_COMPOSITE_QUERY_VERSION 0
42
46 typedef struct xcb_composite_query_version_request_t {
47 uint8_t major_opcode;
48 uint8_t minor_opcode;
49 uint16_t length;
50 uint32_t client_major_version;
51 uint32_t client_minor_version;
52 } xcb_composite_query_version_request_t;
53
57 typedef struct xcb_composite_query_version_reply_t {
58 uint8_t response_type;
59 uint8_t pad0;
60 uint16_t sequence;
61 uint32_t length;
62 uint32_t major_version;
63 uint32_t minor_version;
64 uint8_t pad1[16];
65 } xcb_composite_query_version_reply_t;
66
68 #define XCB_COMPOSITE_REDIRECT_WINDOW 1
69
73 typedef struct xcb_composite_redirect_window_request_t {
74 uint8_t major_opcode;
75 uint8_t minor_opcode;
76 uint16_t length;
77 xcb_window_t window;
78 uint8_t update;
79 uint8_t pad0[3];
80 } xcb_composite_redirect_window_request_t;
81
83 #define XCB_COMPOSITE_REDIRECT_SUBWINDOWS 2
84
88 typedef struct xcb_composite_redirect_subwindows_request_t {
89 uint8_t major_opcode;
90 uint8_t minor_opcode;
91 uint16_t length;
92 xcb_window_t window;
93 uint8_t update;
94 uint8_t pad0[3];
95 } xcb_composite_redirect_subwindows_request_t;
96
98 #define XCB_COMPOSITE_UNREDIRECT_WINDOW 3
99
103 typedef struct xcb_composite_unredirect_window_request_t {
104 uint8_t major_opcode;
105 uint8_t minor_opcode;
106 uint16_t length;
107 xcb_window_t window;
108 uint8_t update;
109 uint8_t pad0[3];
110 } xcb_composite_unredirect_window_request_t;
111
113 #define XCB_COMPOSITE_UNREDIRECT_SUBWINDOWS 4
114
118 typedef struct xcb_composite_unredirect_subwindows_request_t {
119 uint8_t major_opcode;
120 uint8_t minor_opcode;
121 uint16_t length;
122 xcb_window_t window;
123 uint8_t update;
124 uint8_t pad0[3];
125 } xcb_composite_unredirect_subwindows_request_t;
126
128 #define XCB_COMPOSITE_CREATE_REGION_FROM_BORDER_CLIP 5
129
133 typedef struct xcb_composite_create_region_from_border_clip_request_t {
134 uint8_t major_opcode;
135 uint8_t minor_opcode;
136 uint16_t length;
137 xcb_xfixes_region_t region;
138 xcb_window_t window;
139 } xcb_composite_create_region_from_border_clip_request_t;
140
142 #define XCB_COMPOSITE_NAME_WINDOW_PIXMAP 6
143
147 typedef struct xcb_composite_name_window_pixmap_request_t {
148 uint8_t major_opcode;
149 uint8_t minor_opcode;
150 uint16_t length;
151 xcb_window_t window;
152 xcb_pixmap_t pixmap;
153 } xcb_composite_name_window_pixmap_request_t;
154
158 typedef struct xcb_composite_get_overlay_window_cookie_t {
159 unsigned int sequence;
160 } xcb_composite_get_overlay_window_cookie_t;
161
163 #define XCB_COMPOSITE_GET_OVERLAY_WINDOW 7
164
168 typedef struct xcb_composite_get_overlay_window_request_t {
169 uint8_t major_opcode;
170 uint8_t minor_opcode;
171 uint16_t length;
172 xcb_window_t window;
173 } xcb_composite_get_overlay_window_request_t;
174
178 typedef struct xcb_composite_get_overlay_window_reply_t {
179 uint8_t response_type;
180 uint8_t pad0;
181 uint16_t sequence;
182 uint32_t length;
183 xcb_window_t overlay_win;
184 uint8_t pad1[20];
185 } xcb_composite_get_overlay_window_reply_t;
186
188 #define XCB_COMPOSITE_RELEASE_OVERLAY_WINDOW 8
189
193 typedef struct xcb_composite_release_overlay_window_request_t {
194 uint8_t major_opcode;
195 uint8_t minor_opcode;
196 uint16_t length;
197 xcb_window_t window;
198 } xcb_composite_release_overlay_window_request_t;
199
208 xcb_composite_query_version_cookie_t
209 xcb_composite_query_version (xcb_connection_t *c,
210 uint32_t client_major_version,
211 uint32_t client_minor_version);
212
224 xcb_composite_query_version_cookie_t
225 xcb_composite_query_version_unchecked (xcb_connection_t *c,
226 uint32_t client_major_version,
227 uint32_t client_minor_version);
228
243 xcb_composite_query_version_reply_t *
244 xcb_composite_query_version_reply (xcb_connection_t *c,
245 xcb_composite_query_version_cookie_t cookie ,
246 xcb_generic_error_t **e);
247
259 xcb_void_cookie_t
260 xcb_composite_redirect_window_checked (xcb_connection_t *c,
261 xcb_window_t window,
262 uint8_t update);
263
272 xcb_void_cookie_t
273 xcb_composite_redirect_window (xcb_connection_t *c,
274 xcb_window_t window,
275 uint8_t update);
276
288 xcb_void_cookie_t
289 xcb_composite_redirect_subwindows_checked (xcb_connection_t *c,
290 xcb_window_t window,
291 uint8_t update);
292
301 xcb_void_cookie_t
302 xcb_composite_redirect_subwindows (xcb_connection_t *c,
303 xcb_window_t window,
304 uint8_t update);
305
317 xcb_void_cookie_t
318 xcb_composite_unredirect_window_checked (xcb_connection_t *c,
319 xcb_window_t window,
320 uint8_t update);
321
330 xcb_void_cookie_t
331 xcb_composite_unredirect_window (xcb_connection_t *c,
332 xcb_window_t window,
333 uint8_t update);
334
346 xcb_void_cookie_t
347 xcb_composite_unredirect_subwindows_checked (xcb_connection_t *c,
348 xcb_window_t window,
349 uint8_t update);
350
359 xcb_void_cookie_t
360 xcb_composite_unredirect_subwindows (xcb_connection_t *c,
361 xcb_window_t window,
362 uint8_t update);
363
375 xcb_void_cookie_t
376 xcb_composite_create_region_from_border_clip_checked (xcb_connection_t *c,
377 xcb_xfixes_region_t region,
378 xcb_window_t window);
379
388 xcb_void_cookie_t
389 xcb_composite_create_region_from_border_clip (xcb_connection_t *c,
390 xcb_xfixes_region_t region,
391 xcb_window_t window);
392
404 xcb_void_cookie_t
405 xcb_composite_name_window_pixmap_checked (xcb_connection_t *c,
406 xcb_window_t window,
407 xcb_pixmap_t pixmap);
408
417 xcb_void_cookie_t
418 xcb_composite_name_window_pixmap (xcb_connection_t *c,
419 xcb_window_t window,
420 xcb_pixmap_t pixmap);
421
430 xcb_composite_get_overlay_window_cookie_t
431 xcb_composite_get_overlay_window (xcb_connection_t *c,
432 xcb_window_t window);
433
445 xcb_composite_get_overlay_window_cookie_t
446 xcb_composite_get_overlay_window_unchecked (xcb_connection_t *c,
447 xcb_window_t window);
448
463 xcb_composite_get_overlay_window_reply_t *
464 xcb_composite_get_overlay_window_reply (xcb_connection_t *c,
465 xcb_composite_get_overlay_window_cookie_t cookie ,
466 xcb_generic_error_t **e);
467
479 xcb_void_cookie_t
480 xcb_composite_release_overlay_window_checked (xcb_connection_t *c,
481 xcb_window_t window);
482
491 xcb_void_cookie_t
492 xcb_composite_release_overlay_window (xcb_connection_t *c,
493 xcb_window_t window);
494
495
496 #ifdef __cplusplus
497 }
498 #endif
499
500 #endif
501
xcb_generic_error_t
Generic error.
Definition: xcb.h:182
xcb_composite_query_version_request_t
struct xcb_composite_query_version_request_t xcb_composite_query_version_request_t
xcb_composite_query_version_request_t
xcb_composite_release_overlay_window_request_t
xcb_composite_release_overlay_window_request_t
Definition: composite.h:193
xcb_composite_unredirect_window
xcb_void_cookie_t xcb_composite_unredirect_window(xcb_connection_t *c, xcb_window_t window, uint8_t update)
Definition: composite.c:232
xcb_composite_get_overlay_window_cookie_t
xcb_composite_get_overlay_window_cookie_t
Definition: composite.h:158
xcb_composite_query_version_reply_t
struct xcb_composite_query_version_reply_t xcb_composite_query_version_reply_t
xcb_composite_query_version_reply_t
xcb_composite_query_version_cookie_t
struct xcb_composite_query_version_cookie_t xcb_composite_query_version_cookie_t
xcb_composite_query_version_cookie_t
xcb_composite_name_window_pixmap
xcb_void_cookie_t xcb_composite_name_window_pixmap(xcb_connection_t *c, xcb_window_t window, xcb_pixmap_t pixmap)
Definition: composite.c:403
xcb_composite_query_version_request_t
xcb_composite_query_version_request_t
Definition: composite.h:46
xcb_composite_query_version_cookie_t
xcb_composite_query_version_cookie_t
Definition: composite.h:36
xcb_composite_unredirect_subwindows
xcb_void_cookie_t xcb_composite_unredirect_subwindows(xcb_connection_t *c, xcb_window_t window, uint8_t update)
Definition: composite.c:290
xcb_composite_unredirect_subwindows_request_t
struct xcb_composite_unredirect_subwindows_request_t xcb_composite_unredirect_subwindows_request_t
xcb_composite_unredirect_subwindows_request_t
xcb_composite_release_overlay_window
xcb_void_cookie_t xcb_composite_release_overlay_window(xcb_connection_t *c, xcb_window_t window)
Definition: composite.c:517
xcb_composite_name_window_pixmap_request_t
struct xcb_composite_name_window_pixmap_request_t xcb_composite_name_window_pixmap_request_t
xcb_composite_name_window_pixmap_request_t
xcb_composite_release_overlay_window_checked
xcb_void_cookie_t xcb_composite_release_overlay_window_checked(xcb_connection_t *c, xcb_window_t window)
Definition: composite.c:491
xcb_composite_query_version_unchecked
xcb_composite_query_version_cookie_t xcb_composite_query_version_unchecked(xcb_connection_t *c, uint32_t client_major_version, uint32_t client_minor_version)
Definition: composite.c:51
xcb_extension_t
Definition: xcbext.h:39
xcb_composite_name_window_pixmap_request_t
xcb_composite_name_window_pixmap_request_t
Definition: composite.h:147
xcb_composite_query_version
xcb_composite_query_version_cookie_t xcb_composite_query_version(xcb_connection_t *c, uint32_t client_major_version, uint32_t client_minor_version)
Definition: composite.c:23
xcb_composite_create_region_from_border_clip
xcb_void_cookie_t xcb_composite_create_region_from_border_clip(xcb_connection_t *c, xcb_xfixes_region_t region, xcb_window_t window)
Definition: composite.c:347
xcb_composite_redirect_subwindows_request_t
xcb_composite_redirect_subwindows_request_t
Definition: composite.h:88
xcb_composite_get_overlay_window
xcb_composite_get_overlay_window_cookie_t xcb_composite_get_overlay_window(xcb_connection_t *c, xcb_window_t window)
Definition: composite.c:431
xcb_composite_release_overlay_window_request_t
struct xcb_composite_release_overlay_window_request_t xcb_composite_release_overlay_window_request_t
xcb_composite_release_overlay_window_request_t
xcb_composite_redirect_window_request_t
struct xcb_composite_redirect_window_request_t xcb_composite_redirect_window_request_t
xcb_composite_redirect_window_request_t
xcb_composite_redirect_window_request_t
xcb_composite_redirect_window_request_t
Definition: composite.h:73
xcb_composite_get_overlay_window_unchecked
xcb_composite_get_overlay_window_cookie_t xcb_composite_get_overlay_window_unchecked(xcb_connection_t *c, xcb_window_t window)
Definition: composite.c:457
xcb_composite_unredirect_subwindows_checked
xcb_void_cookie_t xcb_composite_unredirect_subwindows_checked(xcb_connection_t *c, xcb_window_t window, uint8_t update)
Definition: composite.c:261
xcb_composite_get_overlay_window_reply
xcb_composite_get_overlay_window_reply_t * xcb_composite_get_overlay_window_reply(xcb_connection_t *c, xcb_composite_get_overlay_window_cookie_t cookie, xcb_generic_error_t **e)
Definition: composite.c:483
xcb_composite_get_overlay_window_reply_t
xcb_composite_get_overlay_window_reply_t
Definition: composite.h:178
xcb_composite_redirect_subwindows_checked
xcb_void_cookie_t xcb_composite_redirect_subwindows_checked(xcb_connection_t *c, xcb_window_t window, uint8_t update)
Definition: composite.c:145
xcb_composite_get_overlay_window_cookie_t
struct xcb_composite_get_overlay_window_cookie_t xcb_composite_get_overlay_window_cookie_t
xcb_composite_get_overlay_window_cookie_t
xcb_composite_get_overlay_window_reply_t
struct xcb_composite_get_overlay_window_reply_t xcb_composite_get_overlay_window_reply_t
xcb_composite_get_overlay_window_reply_t
xcb_composite_get_overlay_window_request_t
struct xcb_composite_get_overlay_window_request_t xcb_composite_get_overlay_window_request_t
xcb_composite_get_overlay_window_request_t
xcb_composite_redirect_window
xcb_void_cookie_t xcb_composite_redirect_window(xcb_connection_t *c, xcb_window_t window, uint8_t update)
Definition: composite.c:116
xcb_composite_unredirect_window_checked
xcb_void_cookie_t xcb_composite_unredirect_window_checked(xcb_connection_t *c, xcb_window_t window, uint8_t update)
Definition: composite.c:203
xcb_composite_get_overlay_window_request_t
xcb_composite_get_overlay_window_request_t
Definition: composite.h:168
xcb_composite_unredirect_window_request_t
xcb_composite_unredirect_window_request_t
Definition: composite.h:103
xcb_composite_query_version_reply
xcb_composite_query_version_reply_t * xcb_composite_query_version_reply(xcb_connection_t *c, xcb_composite_query_version_cookie_t cookie, xcb_generic_error_t **e)
Definition: composite.c:79
xcb_composite_redirect_subwindows_request_t
struct xcb_composite_redirect_subwindows_request_t xcb_composite_redirect_subwindows_request_t
xcb_composite_redirect_subwindows_request_t
xcb_composite_redirect_window_checked
xcb_void_cookie_t xcb_composite_redirect_window_checked(xcb_connection_t *c, xcb_window_t window, uint8_t update)
Definition: composite.c:87
xcb_composite_create_region_from_border_clip_request_t
xcb_composite_create_region_from_border_clip_request_t
Definition: composite.h:133
xcb_composite_query_version_reply_t
xcb_composite_query_version_reply_t
Definition: composite.h:57
xcb_composite_name_window_pixmap_checked
xcb_void_cookie_t xcb_composite_name_window_pixmap_checked(xcb_connection_t *c, xcb_window_t window, xcb_pixmap_t pixmap)
Definition: composite.c:375
xcb.h
xcb_composite_unredirect_window_request_t
struct xcb_composite_unredirect_window_request_t xcb_composite_unredirect_window_request_t
xcb_composite_unredirect_window_request_t
xcb_connection_t
Definition: xcbint.h:195
xcb_void_cookie_t
Generic cookie.
Definition: xcb.h:199
xcb_composite_redirect_subwindows
xcb_void_cookie_t xcb_composite_redirect_subwindows(xcb_connection_t *c, xcb_window_t window, uint8_t update)
Definition: composite.c:174
xcb_composite_unredirect_subwindows_request_t
xcb_composite_unredirect_subwindows_request_t
Definition: composite.h:118
xcb_composite_create_region_from_border_clip_checked
xcb_void_cookie_t xcb_composite_create_region_from_border_clip_checked(xcb_connection_t *c, xcb_xfixes_region_t region, xcb_window_t window)
Definition: composite.c:319
xcb_composite_create_region_from_border_clip_request_t
struct xcb_composite_create_region_from_border_clip_request_t xcb_composite_create_region_from_border_clip_request_t
xcb_composite_create_region_from_border_clip_request_t