XCB: composite.h Source File

XCB 1.17.0

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
20extern "C" {
21#endif
22
23#define XCB_COMPOSITE_MAJOR_VERSION 0
24#define XCB_COMPOSITE_MINOR_VERSION 4
25
26extern xcb_extension_t xcb_composite_id;
27
28typedef 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
212 xcb_composite_query_version_cookie_t
213 xcb_composite_query_version (xcb_connection_t *c,
214 uint32_t client_major_version,
215 uint32_t client_minor_version);
216
232 xcb_composite_query_version_cookie_t
233 xcb_composite_query_version_unchecked (xcb_connection_t *c,
234 uint32_t client_major_version,
235 uint32_t client_minor_version);
236
251 xcb_composite_query_version_reply_t *
252 xcb_composite_query_version_reply (xcb_connection_t *c,
253 xcb_composite_query_version_cookie_t cookie ,
254 xcb_generic_error_t **e);
255
278 xcb_void_cookie_t
279 xcb_composite_redirect_window_checked (xcb_connection_t *c,
280 xcb_window_t window,
281 uint8_t update);
282
302 xcb_void_cookie_t
303 xcb_composite_redirect_window (xcb_connection_t *c,
304 xcb_window_t window,
305 uint8_t update);
306
327 xcb_void_cookie_t
328 xcb_composite_redirect_subwindows_checked (xcb_connection_t *c,
329 xcb_window_t window,
330 uint8_t update);
331
349 xcb_void_cookie_t
350 xcb_composite_redirect_subwindows (xcb_connection_t *c,
351 xcb_window_t window,
352 uint8_t update);
353
372 xcb_void_cookie_t
373 xcb_composite_unredirect_window_checked (xcb_connection_t *c,
374 xcb_window_t window,
375 uint8_t update);
376
392 xcb_void_cookie_t
393 xcb_composite_unredirect_window (xcb_connection_t *c,
394 xcb_window_t window,
395 uint8_t update);
396
415 xcb_void_cookie_t
416 xcb_composite_unredirect_subwindows_checked (xcb_connection_t *c,
417 xcb_window_t window,
418 uint8_t update);
419
435 xcb_void_cookie_t
436 xcb_composite_unredirect_subwindows (xcb_connection_t *c,
437 xcb_window_t window,
438 uint8_t update);
439
451 xcb_void_cookie_t
452 xcb_composite_create_region_from_border_clip_checked (xcb_connection_t *c,
453 xcb_xfixes_region_t region,
454 xcb_window_t window);
455
464 xcb_void_cookie_t
465 xcb_composite_create_region_from_border_clip (xcb_connection_t *c,
466 xcb_xfixes_region_t region,
467 xcb_window_t window);
468
480 xcb_void_cookie_t
481 xcb_composite_name_window_pixmap_checked (xcb_connection_t *c,
482 xcb_window_t window,
483 xcb_pixmap_t pixmap);
484
493 xcb_void_cookie_t
494 xcb_composite_name_window_pixmap (xcb_connection_t *c,
495 xcb_window_t window,
496 xcb_pixmap_t pixmap);
497
506 xcb_composite_get_overlay_window_cookie_t
507 xcb_composite_get_overlay_window (xcb_connection_t *c,
508 xcb_window_t window);
509
521 xcb_composite_get_overlay_window_cookie_t
522 xcb_composite_get_overlay_window_unchecked (xcb_connection_t *c,
523 xcb_window_t window);
524
539 xcb_composite_get_overlay_window_reply_t *
540 xcb_composite_get_overlay_window_reply (xcb_connection_t *c,
541 xcb_composite_get_overlay_window_cookie_t cookie ,
542 xcb_generic_error_t **e);
543
555 xcb_void_cookie_t
556 xcb_composite_release_overlay_window_checked (xcb_connection_t *c,
557 xcb_window_t window);
558
567 xcb_void_cookie_t
568 xcb_composite_release_overlay_window (xcb_connection_t *c,
569 xcb_window_t window);
570
571
572#ifdef __cplusplus
573}
574#endif
575
576#endif
577
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)
Redirect all current and future children of ‘window’
Definition: composite.c:145
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_composite_unredirect_subwindows
xcb_void_cookie_t xcb_composite_unredirect_subwindows(xcb_connection_t *c, xcb_window_t window, uint8_t update)
Terminate redirection of the specified window’s children.
Definition: composite.c:290
xcb_composite_redirect_window
xcb_void_cookie_t xcb_composite_redirect_window(xcb_connection_t *c, xcb_window_t window, uint8_t update)
Redirect the hierarchy starting at "window" to off-screen storage.
Definition: composite.c:116
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_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_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_unredirect_subwindows_checked
xcb_void_cookie_t xcb_composite_unredirect_subwindows_checked(xcb_connection_t *c, xcb_window_t window, uint8_t update)
Terminate redirection of the specified window’s children.
Definition: composite.c:261
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_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)
Negotiate the version of Composite.
Definition: composite.c:23
xcb_composite_unredirect_window
xcb_void_cookie_t xcb_composite_unredirect_window(xcb_connection_t *c, xcb_window_t window, uint8_t update)
Terminate redirection of the specified window.
Definition: composite.c:232
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_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_unredirect_window_checked
xcb_void_cookie_t xcb_composite_unredirect_window_checked(xcb_connection_t *c, xcb_window_t window, uint8_t update)
Terminate redirection of the specified window.
Definition: composite.c:203
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)
Negotiate the version of Composite.
Definition: composite.c:51
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_redirect_subwindows
xcb_void_cookie_t xcb_composite_redirect_subwindows(xcb_connection_t *c, xcb_window_t window, uint8_t update)
Redirect all current and future children of ‘window’
Definition: composite.c:174
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)
Redirect the hierarchy starting at "window" to off-screen storage.
Definition: composite.c:87
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_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_create_region_from_border_clip_request_t
xcb_composite_create_region_from_border_clip_request_t
Definition: composite.h:133
xcb_composite_get_overlay_window_cookie_t
xcb_composite_get_overlay_window_cookie_t
Definition: composite.h:158
xcb_composite_get_overlay_window_reply_t
xcb_composite_get_overlay_window_reply_t
Definition: composite.h:178
xcb_composite_get_overlay_window_request_t
xcb_composite_get_overlay_window_request_t
Definition: composite.h:168
xcb_composite_name_window_pixmap_request_t
xcb_composite_name_window_pixmap_request_t
Definition: composite.h:147
xcb_composite_query_version_cookie_t
xcb_composite_query_version_cookie_t
Definition: composite.h:36
xcb_composite_query_version_reply_t
xcb_composite_query_version_reply_t
Definition: composite.h:57
xcb_composite_query_version_request_t
xcb_composite_query_version_request_t
Definition: composite.h:46
xcb_composite_redirect_subwindows_request_t
xcb_composite_redirect_subwindows_request_t
Definition: composite.h:88
xcb_composite_redirect_window_request_t
xcb_composite_redirect_window_request_t
Definition: composite.h:73
xcb_composite_release_overlay_window_request_t
xcb_composite_release_overlay_window_request_t
Definition: composite.h:193
xcb_composite_unredirect_subwindows_request_t
xcb_composite_unredirect_subwindows_request_t
Definition: composite.h:118
xcb_composite_unredirect_window_request_t
xcb_composite_unredirect_window_request_t
Definition: composite.h:103
xcb_connection_t
Definition: xcbint.h:208
xcb_extension_t
Definition: xcbext.h:39
xcb_generic_error_t
Generic error.
Definition: xcb.h:186
xcb_void_cookie_t
Generic cookie.
Definition: xcb.h:203
xcb.h