jpayne@69
|
1 /*
|
jpayne@69
|
2 * This file generated automatically from randr.xml by c_client.py.
|
jpayne@69
|
3 * Edit at your peril.
|
jpayne@69
|
4 */
|
jpayne@69
|
5
|
jpayne@69
|
6 /**
|
jpayne@69
|
7 * @defgroup XCB_RandR_API XCB RandR API
|
jpayne@69
|
8 * @brief RandR XCB Protocol Implementation.
|
jpayne@69
|
9 * @{
|
jpayne@69
|
10 **/
|
jpayne@69
|
11
|
jpayne@69
|
12 #ifndef __RANDR_H
|
jpayne@69
|
13 #define __RANDR_H
|
jpayne@69
|
14
|
jpayne@69
|
15 #include "xcb.h"
|
jpayne@69
|
16 #include "xproto.h"
|
jpayne@69
|
17 #include "render.h"
|
jpayne@69
|
18
|
jpayne@69
|
19 #ifdef __cplusplus
|
jpayne@69
|
20 extern "C" {
|
jpayne@69
|
21 #endif
|
jpayne@69
|
22
|
jpayne@69
|
23 #define XCB_RANDR_MAJOR_VERSION 1
|
jpayne@69
|
24 #define XCB_RANDR_MINOR_VERSION 6
|
jpayne@69
|
25
|
jpayne@69
|
26 extern xcb_extension_t xcb_randr_id;
|
jpayne@69
|
27
|
jpayne@69
|
28 typedef uint32_t xcb_randr_mode_t;
|
jpayne@69
|
29
|
jpayne@69
|
30 /**
|
jpayne@69
|
31 * @brief xcb_randr_mode_iterator_t
|
jpayne@69
|
32 **/
|
jpayne@69
|
33 typedef struct xcb_randr_mode_iterator_t {
|
jpayne@69
|
34 xcb_randr_mode_t *data;
|
jpayne@69
|
35 int rem;
|
jpayne@69
|
36 int index;
|
jpayne@69
|
37 } xcb_randr_mode_iterator_t;
|
jpayne@69
|
38
|
jpayne@69
|
39 typedef uint32_t xcb_randr_crtc_t;
|
jpayne@69
|
40
|
jpayne@69
|
41 /**
|
jpayne@69
|
42 * @brief xcb_randr_crtc_iterator_t
|
jpayne@69
|
43 **/
|
jpayne@69
|
44 typedef struct xcb_randr_crtc_iterator_t {
|
jpayne@69
|
45 xcb_randr_crtc_t *data;
|
jpayne@69
|
46 int rem;
|
jpayne@69
|
47 int index;
|
jpayne@69
|
48 } xcb_randr_crtc_iterator_t;
|
jpayne@69
|
49
|
jpayne@69
|
50 typedef uint32_t xcb_randr_output_t;
|
jpayne@69
|
51
|
jpayne@69
|
52 /**
|
jpayne@69
|
53 * @brief xcb_randr_output_iterator_t
|
jpayne@69
|
54 **/
|
jpayne@69
|
55 typedef struct xcb_randr_output_iterator_t {
|
jpayne@69
|
56 xcb_randr_output_t *data;
|
jpayne@69
|
57 int rem;
|
jpayne@69
|
58 int index;
|
jpayne@69
|
59 } xcb_randr_output_iterator_t;
|
jpayne@69
|
60
|
jpayne@69
|
61 typedef uint32_t xcb_randr_provider_t;
|
jpayne@69
|
62
|
jpayne@69
|
63 /**
|
jpayne@69
|
64 * @brief xcb_randr_provider_iterator_t
|
jpayne@69
|
65 **/
|
jpayne@69
|
66 typedef struct xcb_randr_provider_iterator_t {
|
jpayne@69
|
67 xcb_randr_provider_t *data;
|
jpayne@69
|
68 int rem;
|
jpayne@69
|
69 int index;
|
jpayne@69
|
70 } xcb_randr_provider_iterator_t;
|
jpayne@69
|
71
|
jpayne@69
|
72 typedef uint32_t xcb_randr_lease_t;
|
jpayne@69
|
73
|
jpayne@69
|
74 /**
|
jpayne@69
|
75 * @brief xcb_randr_lease_iterator_t
|
jpayne@69
|
76 **/
|
jpayne@69
|
77 typedef struct xcb_randr_lease_iterator_t {
|
jpayne@69
|
78 xcb_randr_lease_t *data;
|
jpayne@69
|
79 int rem;
|
jpayne@69
|
80 int index;
|
jpayne@69
|
81 } xcb_randr_lease_iterator_t;
|
jpayne@69
|
82
|
jpayne@69
|
83 /** Opcode for xcb_randr_bad_output. */
|
jpayne@69
|
84 #define XCB_RANDR_BAD_OUTPUT 0
|
jpayne@69
|
85
|
jpayne@69
|
86 /**
|
jpayne@69
|
87 * @brief xcb_randr_bad_output_error_t
|
jpayne@69
|
88 **/
|
jpayne@69
|
89 typedef struct xcb_randr_bad_output_error_t {
|
jpayne@69
|
90 uint8_t response_type;
|
jpayne@69
|
91 uint8_t error_code;
|
jpayne@69
|
92 uint16_t sequence;
|
jpayne@69
|
93 uint32_t bad_value;
|
jpayne@69
|
94 uint16_t minor_opcode;
|
jpayne@69
|
95 uint8_t major_opcode;
|
jpayne@69
|
96 } xcb_randr_bad_output_error_t;
|
jpayne@69
|
97
|
jpayne@69
|
98 /** Opcode for xcb_randr_bad_crtc. */
|
jpayne@69
|
99 #define XCB_RANDR_BAD_CRTC 1
|
jpayne@69
|
100
|
jpayne@69
|
101 /**
|
jpayne@69
|
102 * @brief xcb_randr_bad_crtc_error_t
|
jpayne@69
|
103 **/
|
jpayne@69
|
104 typedef struct xcb_randr_bad_crtc_error_t {
|
jpayne@69
|
105 uint8_t response_type;
|
jpayne@69
|
106 uint8_t error_code;
|
jpayne@69
|
107 uint16_t sequence;
|
jpayne@69
|
108 uint32_t bad_value;
|
jpayne@69
|
109 uint16_t minor_opcode;
|
jpayne@69
|
110 uint8_t major_opcode;
|
jpayne@69
|
111 } xcb_randr_bad_crtc_error_t;
|
jpayne@69
|
112
|
jpayne@69
|
113 /** Opcode for xcb_randr_bad_mode. */
|
jpayne@69
|
114 #define XCB_RANDR_BAD_MODE 2
|
jpayne@69
|
115
|
jpayne@69
|
116 /**
|
jpayne@69
|
117 * @brief xcb_randr_bad_mode_error_t
|
jpayne@69
|
118 **/
|
jpayne@69
|
119 typedef struct xcb_randr_bad_mode_error_t {
|
jpayne@69
|
120 uint8_t response_type;
|
jpayne@69
|
121 uint8_t error_code;
|
jpayne@69
|
122 uint16_t sequence;
|
jpayne@69
|
123 uint32_t bad_value;
|
jpayne@69
|
124 uint16_t minor_opcode;
|
jpayne@69
|
125 uint8_t major_opcode;
|
jpayne@69
|
126 } xcb_randr_bad_mode_error_t;
|
jpayne@69
|
127
|
jpayne@69
|
128 /** Opcode for xcb_randr_bad_provider. */
|
jpayne@69
|
129 #define XCB_RANDR_BAD_PROVIDER 3
|
jpayne@69
|
130
|
jpayne@69
|
131 /**
|
jpayne@69
|
132 * @brief xcb_randr_bad_provider_error_t
|
jpayne@69
|
133 **/
|
jpayne@69
|
134 typedef struct xcb_randr_bad_provider_error_t {
|
jpayne@69
|
135 uint8_t response_type;
|
jpayne@69
|
136 uint8_t error_code;
|
jpayne@69
|
137 uint16_t sequence;
|
jpayne@69
|
138 uint32_t bad_value;
|
jpayne@69
|
139 uint16_t minor_opcode;
|
jpayne@69
|
140 uint8_t major_opcode;
|
jpayne@69
|
141 } xcb_randr_bad_provider_error_t;
|
jpayne@69
|
142
|
jpayne@69
|
143 typedef enum xcb_randr_rotation_t {
|
jpayne@69
|
144 XCB_RANDR_ROTATION_ROTATE_0 = 1,
|
jpayne@69
|
145 XCB_RANDR_ROTATION_ROTATE_90 = 2,
|
jpayne@69
|
146 XCB_RANDR_ROTATION_ROTATE_180 = 4,
|
jpayne@69
|
147 XCB_RANDR_ROTATION_ROTATE_270 = 8,
|
jpayne@69
|
148 XCB_RANDR_ROTATION_REFLECT_X = 16,
|
jpayne@69
|
149 XCB_RANDR_ROTATION_REFLECT_Y = 32
|
jpayne@69
|
150 } xcb_randr_rotation_t;
|
jpayne@69
|
151
|
jpayne@69
|
152 /**
|
jpayne@69
|
153 * @brief xcb_randr_screen_size_t
|
jpayne@69
|
154 **/
|
jpayne@69
|
155 typedef struct xcb_randr_screen_size_t {
|
jpayne@69
|
156 uint16_t width;
|
jpayne@69
|
157 uint16_t height;
|
jpayne@69
|
158 uint16_t mwidth;
|
jpayne@69
|
159 uint16_t mheight;
|
jpayne@69
|
160 } xcb_randr_screen_size_t;
|
jpayne@69
|
161
|
jpayne@69
|
162 /**
|
jpayne@69
|
163 * @brief xcb_randr_screen_size_iterator_t
|
jpayne@69
|
164 **/
|
jpayne@69
|
165 typedef struct xcb_randr_screen_size_iterator_t {
|
jpayne@69
|
166 xcb_randr_screen_size_t *data;
|
jpayne@69
|
167 int rem;
|
jpayne@69
|
168 int index;
|
jpayne@69
|
169 } xcb_randr_screen_size_iterator_t;
|
jpayne@69
|
170
|
jpayne@69
|
171 /**
|
jpayne@69
|
172 * @brief xcb_randr_refresh_rates_t
|
jpayne@69
|
173 **/
|
jpayne@69
|
174 typedef struct xcb_randr_refresh_rates_t {
|
jpayne@69
|
175 uint16_t nRates;
|
jpayne@69
|
176 } xcb_randr_refresh_rates_t;
|
jpayne@69
|
177
|
jpayne@69
|
178 /**
|
jpayne@69
|
179 * @brief xcb_randr_refresh_rates_iterator_t
|
jpayne@69
|
180 **/
|
jpayne@69
|
181 typedef struct xcb_randr_refresh_rates_iterator_t {
|
jpayne@69
|
182 xcb_randr_refresh_rates_t *data;
|
jpayne@69
|
183 int rem;
|
jpayne@69
|
184 int index;
|
jpayne@69
|
185 } xcb_randr_refresh_rates_iterator_t;
|
jpayne@69
|
186
|
jpayne@69
|
187 /**
|
jpayne@69
|
188 * @brief xcb_randr_query_version_cookie_t
|
jpayne@69
|
189 **/
|
jpayne@69
|
190 typedef struct xcb_randr_query_version_cookie_t {
|
jpayne@69
|
191 unsigned int sequence;
|
jpayne@69
|
192 } xcb_randr_query_version_cookie_t;
|
jpayne@69
|
193
|
jpayne@69
|
194 /** Opcode for xcb_randr_query_version. */
|
jpayne@69
|
195 #define XCB_RANDR_QUERY_VERSION 0
|
jpayne@69
|
196
|
jpayne@69
|
197 /**
|
jpayne@69
|
198 * @brief xcb_randr_query_version_request_t
|
jpayne@69
|
199 **/
|
jpayne@69
|
200 typedef struct xcb_randr_query_version_request_t {
|
jpayne@69
|
201 uint8_t major_opcode;
|
jpayne@69
|
202 uint8_t minor_opcode;
|
jpayne@69
|
203 uint16_t length;
|
jpayne@69
|
204 uint32_t major_version;
|
jpayne@69
|
205 uint32_t minor_version;
|
jpayne@69
|
206 } xcb_randr_query_version_request_t;
|
jpayne@69
|
207
|
jpayne@69
|
208 /**
|
jpayne@69
|
209 * @brief xcb_randr_query_version_reply_t
|
jpayne@69
|
210 **/
|
jpayne@69
|
211 typedef struct xcb_randr_query_version_reply_t {
|
jpayne@69
|
212 uint8_t response_type;
|
jpayne@69
|
213 uint8_t pad0;
|
jpayne@69
|
214 uint16_t sequence;
|
jpayne@69
|
215 uint32_t length;
|
jpayne@69
|
216 uint32_t major_version;
|
jpayne@69
|
217 uint32_t minor_version;
|
jpayne@69
|
218 uint8_t pad1[16];
|
jpayne@69
|
219 } xcb_randr_query_version_reply_t;
|
jpayne@69
|
220
|
jpayne@69
|
221 typedef enum xcb_randr_set_config_t {
|
jpayne@69
|
222 XCB_RANDR_SET_CONFIG_SUCCESS = 0,
|
jpayne@69
|
223 XCB_RANDR_SET_CONFIG_INVALID_CONFIG_TIME = 1,
|
jpayne@69
|
224 XCB_RANDR_SET_CONFIG_INVALID_TIME = 2,
|
jpayne@69
|
225 XCB_RANDR_SET_CONFIG_FAILED = 3
|
jpayne@69
|
226 } xcb_randr_set_config_t;
|
jpayne@69
|
227
|
jpayne@69
|
228 /**
|
jpayne@69
|
229 * @brief xcb_randr_set_screen_config_cookie_t
|
jpayne@69
|
230 **/
|
jpayne@69
|
231 typedef struct xcb_randr_set_screen_config_cookie_t {
|
jpayne@69
|
232 unsigned int sequence;
|
jpayne@69
|
233 } xcb_randr_set_screen_config_cookie_t;
|
jpayne@69
|
234
|
jpayne@69
|
235 /** Opcode for xcb_randr_set_screen_config. */
|
jpayne@69
|
236 #define XCB_RANDR_SET_SCREEN_CONFIG 2
|
jpayne@69
|
237
|
jpayne@69
|
238 /**
|
jpayne@69
|
239 * @brief xcb_randr_set_screen_config_request_t
|
jpayne@69
|
240 **/
|
jpayne@69
|
241 typedef struct xcb_randr_set_screen_config_request_t {
|
jpayne@69
|
242 uint8_t major_opcode;
|
jpayne@69
|
243 uint8_t minor_opcode;
|
jpayne@69
|
244 uint16_t length;
|
jpayne@69
|
245 xcb_window_t window;
|
jpayne@69
|
246 xcb_timestamp_t timestamp;
|
jpayne@69
|
247 xcb_timestamp_t config_timestamp;
|
jpayne@69
|
248 uint16_t sizeID;
|
jpayne@69
|
249 uint16_t rotation;
|
jpayne@69
|
250 uint16_t rate;
|
jpayne@69
|
251 uint8_t pad0[2];
|
jpayne@69
|
252 } xcb_randr_set_screen_config_request_t;
|
jpayne@69
|
253
|
jpayne@69
|
254 /**
|
jpayne@69
|
255 * @brief xcb_randr_set_screen_config_reply_t
|
jpayne@69
|
256 **/
|
jpayne@69
|
257 typedef struct xcb_randr_set_screen_config_reply_t {
|
jpayne@69
|
258 uint8_t response_type;
|
jpayne@69
|
259 uint8_t status;
|
jpayne@69
|
260 uint16_t sequence;
|
jpayne@69
|
261 uint32_t length;
|
jpayne@69
|
262 xcb_timestamp_t new_timestamp;
|
jpayne@69
|
263 xcb_timestamp_t config_timestamp;
|
jpayne@69
|
264 xcb_window_t root;
|
jpayne@69
|
265 uint16_t subpixel_order;
|
jpayne@69
|
266 uint8_t pad0[10];
|
jpayne@69
|
267 } xcb_randr_set_screen_config_reply_t;
|
jpayne@69
|
268
|
jpayne@69
|
269 typedef enum xcb_randr_notify_mask_t {
|
jpayne@69
|
270 XCB_RANDR_NOTIFY_MASK_SCREEN_CHANGE = 1,
|
jpayne@69
|
271 XCB_RANDR_NOTIFY_MASK_CRTC_CHANGE = 2,
|
jpayne@69
|
272 XCB_RANDR_NOTIFY_MASK_OUTPUT_CHANGE = 4,
|
jpayne@69
|
273 XCB_RANDR_NOTIFY_MASK_OUTPUT_PROPERTY = 8,
|
jpayne@69
|
274 XCB_RANDR_NOTIFY_MASK_PROVIDER_CHANGE = 16,
|
jpayne@69
|
275 XCB_RANDR_NOTIFY_MASK_PROVIDER_PROPERTY = 32,
|
jpayne@69
|
276 XCB_RANDR_NOTIFY_MASK_RESOURCE_CHANGE = 64,
|
jpayne@69
|
277 XCB_RANDR_NOTIFY_MASK_LEASE = 128
|
jpayne@69
|
278 } xcb_randr_notify_mask_t;
|
jpayne@69
|
279
|
jpayne@69
|
280 /** Opcode for xcb_randr_select_input. */
|
jpayne@69
|
281 #define XCB_RANDR_SELECT_INPUT 4
|
jpayne@69
|
282
|
jpayne@69
|
283 /**
|
jpayne@69
|
284 * @brief xcb_randr_select_input_request_t
|
jpayne@69
|
285 **/
|
jpayne@69
|
286 typedef struct xcb_randr_select_input_request_t {
|
jpayne@69
|
287 uint8_t major_opcode;
|
jpayne@69
|
288 uint8_t minor_opcode;
|
jpayne@69
|
289 uint16_t length;
|
jpayne@69
|
290 xcb_window_t window;
|
jpayne@69
|
291 uint16_t enable;
|
jpayne@69
|
292 uint8_t pad0[2];
|
jpayne@69
|
293 } xcb_randr_select_input_request_t;
|
jpayne@69
|
294
|
jpayne@69
|
295 /**
|
jpayne@69
|
296 * @brief xcb_randr_get_screen_info_cookie_t
|
jpayne@69
|
297 **/
|
jpayne@69
|
298 typedef struct xcb_randr_get_screen_info_cookie_t {
|
jpayne@69
|
299 unsigned int sequence;
|
jpayne@69
|
300 } xcb_randr_get_screen_info_cookie_t;
|
jpayne@69
|
301
|
jpayne@69
|
302 /** Opcode for xcb_randr_get_screen_info. */
|
jpayne@69
|
303 #define XCB_RANDR_GET_SCREEN_INFO 5
|
jpayne@69
|
304
|
jpayne@69
|
305 /**
|
jpayne@69
|
306 * @brief xcb_randr_get_screen_info_request_t
|
jpayne@69
|
307 **/
|
jpayne@69
|
308 typedef struct xcb_randr_get_screen_info_request_t {
|
jpayne@69
|
309 uint8_t major_opcode;
|
jpayne@69
|
310 uint8_t minor_opcode;
|
jpayne@69
|
311 uint16_t length;
|
jpayne@69
|
312 xcb_window_t window;
|
jpayne@69
|
313 } xcb_randr_get_screen_info_request_t;
|
jpayne@69
|
314
|
jpayne@69
|
315 /**
|
jpayne@69
|
316 * @brief xcb_randr_get_screen_info_reply_t
|
jpayne@69
|
317 **/
|
jpayne@69
|
318 typedef struct xcb_randr_get_screen_info_reply_t {
|
jpayne@69
|
319 uint8_t response_type;
|
jpayne@69
|
320 uint8_t rotations;
|
jpayne@69
|
321 uint16_t sequence;
|
jpayne@69
|
322 uint32_t length;
|
jpayne@69
|
323 xcb_window_t root;
|
jpayne@69
|
324 xcb_timestamp_t timestamp;
|
jpayne@69
|
325 xcb_timestamp_t config_timestamp;
|
jpayne@69
|
326 uint16_t nSizes;
|
jpayne@69
|
327 uint16_t sizeID;
|
jpayne@69
|
328 uint16_t rotation;
|
jpayne@69
|
329 uint16_t rate;
|
jpayne@69
|
330 uint16_t nInfo;
|
jpayne@69
|
331 uint8_t pad0[2];
|
jpayne@69
|
332 } xcb_randr_get_screen_info_reply_t;
|
jpayne@69
|
333
|
jpayne@69
|
334 /**
|
jpayne@69
|
335 * @brief xcb_randr_get_screen_size_range_cookie_t
|
jpayne@69
|
336 **/
|
jpayne@69
|
337 typedef struct xcb_randr_get_screen_size_range_cookie_t {
|
jpayne@69
|
338 unsigned int sequence;
|
jpayne@69
|
339 } xcb_randr_get_screen_size_range_cookie_t;
|
jpayne@69
|
340
|
jpayne@69
|
341 /** Opcode for xcb_randr_get_screen_size_range. */
|
jpayne@69
|
342 #define XCB_RANDR_GET_SCREEN_SIZE_RANGE 6
|
jpayne@69
|
343
|
jpayne@69
|
344 /**
|
jpayne@69
|
345 * @brief xcb_randr_get_screen_size_range_request_t
|
jpayne@69
|
346 **/
|
jpayne@69
|
347 typedef struct xcb_randr_get_screen_size_range_request_t {
|
jpayne@69
|
348 uint8_t major_opcode;
|
jpayne@69
|
349 uint8_t minor_opcode;
|
jpayne@69
|
350 uint16_t length;
|
jpayne@69
|
351 xcb_window_t window;
|
jpayne@69
|
352 } xcb_randr_get_screen_size_range_request_t;
|
jpayne@69
|
353
|
jpayne@69
|
354 /**
|
jpayne@69
|
355 * @brief xcb_randr_get_screen_size_range_reply_t
|
jpayne@69
|
356 **/
|
jpayne@69
|
357 typedef struct xcb_randr_get_screen_size_range_reply_t {
|
jpayne@69
|
358 uint8_t response_type;
|
jpayne@69
|
359 uint8_t pad0;
|
jpayne@69
|
360 uint16_t sequence;
|
jpayne@69
|
361 uint32_t length;
|
jpayne@69
|
362 uint16_t min_width;
|
jpayne@69
|
363 uint16_t min_height;
|
jpayne@69
|
364 uint16_t max_width;
|
jpayne@69
|
365 uint16_t max_height;
|
jpayne@69
|
366 uint8_t pad1[16];
|
jpayne@69
|
367 } xcb_randr_get_screen_size_range_reply_t;
|
jpayne@69
|
368
|
jpayne@69
|
369 /** Opcode for xcb_randr_set_screen_size. */
|
jpayne@69
|
370 #define XCB_RANDR_SET_SCREEN_SIZE 7
|
jpayne@69
|
371
|
jpayne@69
|
372 /**
|
jpayne@69
|
373 * @brief xcb_randr_set_screen_size_request_t
|
jpayne@69
|
374 **/
|
jpayne@69
|
375 typedef struct xcb_randr_set_screen_size_request_t {
|
jpayne@69
|
376 uint8_t major_opcode;
|
jpayne@69
|
377 uint8_t minor_opcode;
|
jpayne@69
|
378 uint16_t length;
|
jpayne@69
|
379 xcb_window_t window;
|
jpayne@69
|
380 uint16_t width;
|
jpayne@69
|
381 uint16_t height;
|
jpayne@69
|
382 uint32_t mm_width;
|
jpayne@69
|
383 uint32_t mm_height;
|
jpayne@69
|
384 } xcb_randr_set_screen_size_request_t;
|
jpayne@69
|
385
|
jpayne@69
|
386 typedef enum xcb_randr_mode_flag_t {
|
jpayne@69
|
387 XCB_RANDR_MODE_FLAG_HSYNC_POSITIVE = 1,
|
jpayne@69
|
388 XCB_RANDR_MODE_FLAG_HSYNC_NEGATIVE = 2,
|
jpayne@69
|
389 XCB_RANDR_MODE_FLAG_VSYNC_POSITIVE = 4,
|
jpayne@69
|
390 XCB_RANDR_MODE_FLAG_VSYNC_NEGATIVE = 8,
|
jpayne@69
|
391 XCB_RANDR_MODE_FLAG_INTERLACE = 16,
|
jpayne@69
|
392 XCB_RANDR_MODE_FLAG_DOUBLE_SCAN = 32,
|
jpayne@69
|
393 XCB_RANDR_MODE_FLAG_CSYNC = 64,
|
jpayne@69
|
394 XCB_RANDR_MODE_FLAG_CSYNC_POSITIVE = 128,
|
jpayne@69
|
395 XCB_RANDR_MODE_FLAG_CSYNC_NEGATIVE = 256,
|
jpayne@69
|
396 XCB_RANDR_MODE_FLAG_HSKEW_PRESENT = 512,
|
jpayne@69
|
397 XCB_RANDR_MODE_FLAG_BCAST = 1024,
|
jpayne@69
|
398 XCB_RANDR_MODE_FLAG_PIXEL_MULTIPLEX = 2048,
|
jpayne@69
|
399 XCB_RANDR_MODE_FLAG_DOUBLE_CLOCK = 4096,
|
jpayne@69
|
400 XCB_RANDR_MODE_FLAG_HALVE_CLOCK = 8192
|
jpayne@69
|
401 } xcb_randr_mode_flag_t;
|
jpayne@69
|
402
|
jpayne@69
|
403 /**
|
jpayne@69
|
404 * @brief xcb_randr_mode_info_t
|
jpayne@69
|
405 **/
|
jpayne@69
|
406 typedef struct xcb_randr_mode_info_t {
|
jpayne@69
|
407 uint32_t id;
|
jpayne@69
|
408 uint16_t width;
|
jpayne@69
|
409 uint16_t height;
|
jpayne@69
|
410 uint32_t dot_clock;
|
jpayne@69
|
411 uint16_t hsync_start;
|
jpayne@69
|
412 uint16_t hsync_end;
|
jpayne@69
|
413 uint16_t htotal;
|
jpayne@69
|
414 uint16_t hskew;
|
jpayne@69
|
415 uint16_t vsync_start;
|
jpayne@69
|
416 uint16_t vsync_end;
|
jpayne@69
|
417 uint16_t vtotal;
|
jpayne@69
|
418 uint16_t name_len;
|
jpayne@69
|
419 uint32_t mode_flags;
|
jpayne@69
|
420 } xcb_randr_mode_info_t;
|
jpayne@69
|
421
|
jpayne@69
|
422 /**
|
jpayne@69
|
423 * @brief xcb_randr_mode_info_iterator_t
|
jpayne@69
|
424 **/
|
jpayne@69
|
425 typedef struct xcb_randr_mode_info_iterator_t {
|
jpayne@69
|
426 xcb_randr_mode_info_t *data;
|
jpayne@69
|
427 int rem;
|
jpayne@69
|
428 int index;
|
jpayne@69
|
429 } xcb_randr_mode_info_iterator_t;
|
jpayne@69
|
430
|
jpayne@69
|
431 /**
|
jpayne@69
|
432 * @brief xcb_randr_get_screen_resources_cookie_t
|
jpayne@69
|
433 **/
|
jpayne@69
|
434 typedef struct xcb_randr_get_screen_resources_cookie_t {
|
jpayne@69
|
435 unsigned int sequence;
|
jpayne@69
|
436 } xcb_randr_get_screen_resources_cookie_t;
|
jpayne@69
|
437
|
jpayne@69
|
438 /** Opcode for xcb_randr_get_screen_resources. */
|
jpayne@69
|
439 #define XCB_RANDR_GET_SCREEN_RESOURCES 8
|
jpayne@69
|
440
|
jpayne@69
|
441 /**
|
jpayne@69
|
442 * @brief xcb_randr_get_screen_resources_request_t
|
jpayne@69
|
443 **/
|
jpayne@69
|
444 typedef struct xcb_randr_get_screen_resources_request_t {
|
jpayne@69
|
445 uint8_t major_opcode;
|
jpayne@69
|
446 uint8_t minor_opcode;
|
jpayne@69
|
447 uint16_t length;
|
jpayne@69
|
448 xcb_window_t window;
|
jpayne@69
|
449 } xcb_randr_get_screen_resources_request_t;
|
jpayne@69
|
450
|
jpayne@69
|
451 /**
|
jpayne@69
|
452 * @brief xcb_randr_get_screen_resources_reply_t
|
jpayne@69
|
453 **/
|
jpayne@69
|
454 typedef struct xcb_randr_get_screen_resources_reply_t {
|
jpayne@69
|
455 uint8_t response_type;
|
jpayne@69
|
456 uint8_t pad0;
|
jpayne@69
|
457 uint16_t sequence;
|
jpayne@69
|
458 uint32_t length;
|
jpayne@69
|
459 xcb_timestamp_t timestamp;
|
jpayne@69
|
460 xcb_timestamp_t config_timestamp;
|
jpayne@69
|
461 uint16_t num_crtcs;
|
jpayne@69
|
462 uint16_t num_outputs;
|
jpayne@69
|
463 uint16_t num_modes;
|
jpayne@69
|
464 uint16_t names_len;
|
jpayne@69
|
465 uint8_t pad1[8];
|
jpayne@69
|
466 } xcb_randr_get_screen_resources_reply_t;
|
jpayne@69
|
467
|
jpayne@69
|
468 typedef enum xcb_randr_connection_t {
|
jpayne@69
|
469 XCB_RANDR_CONNECTION_CONNECTED = 0,
|
jpayne@69
|
470 XCB_RANDR_CONNECTION_DISCONNECTED = 1,
|
jpayne@69
|
471 XCB_RANDR_CONNECTION_UNKNOWN = 2
|
jpayne@69
|
472 } xcb_randr_connection_t;
|
jpayne@69
|
473
|
jpayne@69
|
474 /**
|
jpayne@69
|
475 * @brief xcb_randr_get_output_info_cookie_t
|
jpayne@69
|
476 **/
|
jpayne@69
|
477 typedef struct xcb_randr_get_output_info_cookie_t {
|
jpayne@69
|
478 unsigned int sequence;
|
jpayne@69
|
479 } xcb_randr_get_output_info_cookie_t;
|
jpayne@69
|
480
|
jpayne@69
|
481 /** Opcode for xcb_randr_get_output_info. */
|
jpayne@69
|
482 #define XCB_RANDR_GET_OUTPUT_INFO 9
|
jpayne@69
|
483
|
jpayne@69
|
484 /**
|
jpayne@69
|
485 * @brief xcb_randr_get_output_info_request_t
|
jpayne@69
|
486 **/
|
jpayne@69
|
487 typedef struct xcb_randr_get_output_info_request_t {
|
jpayne@69
|
488 uint8_t major_opcode;
|
jpayne@69
|
489 uint8_t minor_opcode;
|
jpayne@69
|
490 uint16_t length;
|
jpayne@69
|
491 xcb_randr_output_t output;
|
jpayne@69
|
492 xcb_timestamp_t config_timestamp;
|
jpayne@69
|
493 } xcb_randr_get_output_info_request_t;
|
jpayne@69
|
494
|
jpayne@69
|
495 /**
|
jpayne@69
|
496 * @brief xcb_randr_get_output_info_reply_t
|
jpayne@69
|
497 **/
|
jpayne@69
|
498 typedef struct xcb_randr_get_output_info_reply_t {
|
jpayne@69
|
499 uint8_t response_type;
|
jpayne@69
|
500 uint8_t status;
|
jpayne@69
|
501 uint16_t sequence;
|
jpayne@69
|
502 uint32_t length;
|
jpayne@69
|
503 xcb_timestamp_t timestamp;
|
jpayne@69
|
504 xcb_randr_crtc_t crtc;
|
jpayne@69
|
505 uint32_t mm_width;
|
jpayne@69
|
506 uint32_t mm_height;
|
jpayne@69
|
507 uint8_t connection;
|
jpayne@69
|
508 uint8_t subpixel_order;
|
jpayne@69
|
509 uint16_t num_crtcs;
|
jpayne@69
|
510 uint16_t num_modes;
|
jpayne@69
|
511 uint16_t num_preferred;
|
jpayne@69
|
512 uint16_t num_clones;
|
jpayne@69
|
513 uint16_t name_len;
|
jpayne@69
|
514 } xcb_randr_get_output_info_reply_t;
|
jpayne@69
|
515
|
jpayne@69
|
516 /**
|
jpayne@69
|
517 * @brief xcb_randr_list_output_properties_cookie_t
|
jpayne@69
|
518 **/
|
jpayne@69
|
519 typedef struct xcb_randr_list_output_properties_cookie_t {
|
jpayne@69
|
520 unsigned int sequence;
|
jpayne@69
|
521 } xcb_randr_list_output_properties_cookie_t;
|
jpayne@69
|
522
|
jpayne@69
|
523 /** Opcode for xcb_randr_list_output_properties. */
|
jpayne@69
|
524 #define XCB_RANDR_LIST_OUTPUT_PROPERTIES 10
|
jpayne@69
|
525
|
jpayne@69
|
526 /**
|
jpayne@69
|
527 * @brief xcb_randr_list_output_properties_request_t
|
jpayne@69
|
528 **/
|
jpayne@69
|
529 typedef struct xcb_randr_list_output_properties_request_t {
|
jpayne@69
|
530 uint8_t major_opcode;
|
jpayne@69
|
531 uint8_t minor_opcode;
|
jpayne@69
|
532 uint16_t length;
|
jpayne@69
|
533 xcb_randr_output_t output;
|
jpayne@69
|
534 } xcb_randr_list_output_properties_request_t;
|
jpayne@69
|
535
|
jpayne@69
|
536 /**
|
jpayne@69
|
537 * @brief xcb_randr_list_output_properties_reply_t
|
jpayne@69
|
538 **/
|
jpayne@69
|
539 typedef struct xcb_randr_list_output_properties_reply_t {
|
jpayne@69
|
540 uint8_t response_type;
|
jpayne@69
|
541 uint8_t pad0;
|
jpayne@69
|
542 uint16_t sequence;
|
jpayne@69
|
543 uint32_t length;
|
jpayne@69
|
544 uint16_t num_atoms;
|
jpayne@69
|
545 uint8_t pad1[22];
|
jpayne@69
|
546 } xcb_randr_list_output_properties_reply_t;
|
jpayne@69
|
547
|
jpayne@69
|
548 /**
|
jpayne@69
|
549 * @brief xcb_randr_query_output_property_cookie_t
|
jpayne@69
|
550 **/
|
jpayne@69
|
551 typedef struct xcb_randr_query_output_property_cookie_t {
|
jpayne@69
|
552 unsigned int sequence;
|
jpayne@69
|
553 } xcb_randr_query_output_property_cookie_t;
|
jpayne@69
|
554
|
jpayne@69
|
555 /** Opcode for xcb_randr_query_output_property. */
|
jpayne@69
|
556 #define XCB_RANDR_QUERY_OUTPUT_PROPERTY 11
|
jpayne@69
|
557
|
jpayne@69
|
558 /**
|
jpayne@69
|
559 * @brief xcb_randr_query_output_property_request_t
|
jpayne@69
|
560 **/
|
jpayne@69
|
561 typedef struct xcb_randr_query_output_property_request_t {
|
jpayne@69
|
562 uint8_t major_opcode;
|
jpayne@69
|
563 uint8_t minor_opcode;
|
jpayne@69
|
564 uint16_t length;
|
jpayne@69
|
565 xcb_randr_output_t output;
|
jpayne@69
|
566 xcb_atom_t property;
|
jpayne@69
|
567 } xcb_randr_query_output_property_request_t;
|
jpayne@69
|
568
|
jpayne@69
|
569 /**
|
jpayne@69
|
570 * @brief xcb_randr_query_output_property_reply_t
|
jpayne@69
|
571 **/
|
jpayne@69
|
572 typedef struct xcb_randr_query_output_property_reply_t {
|
jpayne@69
|
573 uint8_t response_type;
|
jpayne@69
|
574 uint8_t pad0;
|
jpayne@69
|
575 uint16_t sequence;
|
jpayne@69
|
576 uint32_t length;
|
jpayne@69
|
577 uint8_t pending;
|
jpayne@69
|
578 uint8_t range;
|
jpayne@69
|
579 uint8_t immutable;
|
jpayne@69
|
580 uint8_t pad1[21];
|
jpayne@69
|
581 } xcb_randr_query_output_property_reply_t;
|
jpayne@69
|
582
|
jpayne@69
|
583 /** Opcode for xcb_randr_configure_output_property. */
|
jpayne@69
|
584 #define XCB_RANDR_CONFIGURE_OUTPUT_PROPERTY 12
|
jpayne@69
|
585
|
jpayne@69
|
586 /**
|
jpayne@69
|
587 * @brief xcb_randr_configure_output_property_request_t
|
jpayne@69
|
588 **/
|
jpayne@69
|
589 typedef struct xcb_randr_configure_output_property_request_t {
|
jpayne@69
|
590 uint8_t major_opcode;
|
jpayne@69
|
591 uint8_t minor_opcode;
|
jpayne@69
|
592 uint16_t length;
|
jpayne@69
|
593 xcb_randr_output_t output;
|
jpayne@69
|
594 xcb_atom_t property;
|
jpayne@69
|
595 uint8_t pending;
|
jpayne@69
|
596 uint8_t range;
|
jpayne@69
|
597 uint8_t pad0[2];
|
jpayne@69
|
598 } xcb_randr_configure_output_property_request_t;
|
jpayne@69
|
599
|
jpayne@69
|
600 /** Opcode for xcb_randr_change_output_property. */
|
jpayne@69
|
601 #define XCB_RANDR_CHANGE_OUTPUT_PROPERTY 13
|
jpayne@69
|
602
|
jpayne@69
|
603 /**
|
jpayne@69
|
604 * @brief xcb_randr_change_output_property_request_t
|
jpayne@69
|
605 **/
|
jpayne@69
|
606 typedef struct xcb_randr_change_output_property_request_t {
|
jpayne@69
|
607 uint8_t major_opcode;
|
jpayne@69
|
608 uint8_t minor_opcode;
|
jpayne@69
|
609 uint16_t length;
|
jpayne@69
|
610 xcb_randr_output_t output;
|
jpayne@69
|
611 xcb_atom_t property;
|
jpayne@69
|
612 xcb_atom_t type;
|
jpayne@69
|
613 uint8_t format;
|
jpayne@69
|
614 uint8_t mode;
|
jpayne@69
|
615 uint8_t pad0[2];
|
jpayne@69
|
616 uint32_t num_units;
|
jpayne@69
|
617 } xcb_randr_change_output_property_request_t;
|
jpayne@69
|
618
|
jpayne@69
|
619 /** Opcode for xcb_randr_delete_output_property. */
|
jpayne@69
|
620 #define XCB_RANDR_DELETE_OUTPUT_PROPERTY 14
|
jpayne@69
|
621
|
jpayne@69
|
622 /**
|
jpayne@69
|
623 * @brief xcb_randr_delete_output_property_request_t
|
jpayne@69
|
624 **/
|
jpayne@69
|
625 typedef struct xcb_randr_delete_output_property_request_t {
|
jpayne@69
|
626 uint8_t major_opcode;
|
jpayne@69
|
627 uint8_t minor_opcode;
|
jpayne@69
|
628 uint16_t length;
|
jpayne@69
|
629 xcb_randr_output_t output;
|
jpayne@69
|
630 xcb_atom_t property;
|
jpayne@69
|
631 } xcb_randr_delete_output_property_request_t;
|
jpayne@69
|
632
|
jpayne@69
|
633 /**
|
jpayne@69
|
634 * @brief xcb_randr_get_output_property_cookie_t
|
jpayne@69
|
635 **/
|
jpayne@69
|
636 typedef struct xcb_randr_get_output_property_cookie_t {
|
jpayne@69
|
637 unsigned int sequence;
|
jpayne@69
|
638 } xcb_randr_get_output_property_cookie_t;
|
jpayne@69
|
639
|
jpayne@69
|
640 /** Opcode for xcb_randr_get_output_property. */
|
jpayne@69
|
641 #define XCB_RANDR_GET_OUTPUT_PROPERTY 15
|
jpayne@69
|
642
|
jpayne@69
|
643 /**
|
jpayne@69
|
644 * @brief xcb_randr_get_output_property_request_t
|
jpayne@69
|
645 **/
|
jpayne@69
|
646 typedef struct xcb_randr_get_output_property_request_t {
|
jpayne@69
|
647 uint8_t major_opcode;
|
jpayne@69
|
648 uint8_t minor_opcode;
|
jpayne@69
|
649 uint16_t length;
|
jpayne@69
|
650 xcb_randr_output_t output;
|
jpayne@69
|
651 xcb_atom_t property;
|
jpayne@69
|
652 xcb_atom_t type;
|
jpayne@69
|
653 uint32_t long_offset;
|
jpayne@69
|
654 uint32_t long_length;
|
jpayne@69
|
655 uint8_t _delete;
|
jpayne@69
|
656 uint8_t pending;
|
jpayne@69
|
657 uint8_t pad0[2];
|
jpayne@69
|
658 } xcb_randr_get_output_property_request_t;
|
jpayne@69
|
659
|
jpayne@69
|
660 /**
|
jpayne@69
|
661 * @brief xcb_randr_get_output_property_reply_t
|
jpayne@69
|
662 **/
|
jpayne@69
|
663 typedef struct xcb_randr_get_output_property_reply_t {
|
jpayne@69
|
664 uint8_t response_type;
|
jpayne@69
|
665 uint8_t format;
|
jpayne@69
|
666 uint16_t sequence;
|
jpayne@69
|
667 uint32_t length;
|
jpayne@69
|
668 xcb_atom_t type;
|
jpayne@69
|
669 uint32_t bytes_after;
|
jpayne@69
|
670 uint32_t num_items;
|
jpayne@69
|
671 uint8_t pad0[12];
|
jpayne@69
|
672 } xcb_randr_get_output_property_reply_t;
|
jpayne@69
|
673
|
jpayne@69
|
674 /**
|
jpayne@69
|
675 * @brief xcb_randr_create_mode_cookie_t
|
jpayne@69
|
676 **/
|
jpayne@69
|
677 typedef struct xcb_randr_create_mode_cookie_t {
|
jpayne@69
|
678 unsigned int sequence;
|
jpayne@69
|
679 } xcb_randr_create_mode_cookie_t;
|
jpayne@69
|
680
|
jpayne@69
|
681 /** Opcode for xcb_randr_create_mode. */
|
jpayne@69
|
682 #define XCB_RANDR_CREATE_MODE 16
|
jpayne@69
|
683
|
jpayne@69
|
684 /**
|
jpayne@69
|
685 * @brief xcb_randr_create_mode_request_t
|
jpayne@69
|
686 **/
|
jpayne@69
|
687 typedef struct xcb_randr_create_mode_request_t {
|
jpayne@69
|
688 uint8_t major_opcode;
|
jpayne@69
|
689 uint8_t minor_opcode;
|
jpayne@69
|
690 uint16_t length;
|
jpayne@69
|
691 xcb_window_t window;
|
jpayne@69
|
692 xcb_randr_mode_info_t mode_info;
|
jpayne@69
|
693 } xcb_randr_create_mode_request_t;
|
jpayne@69
|
694
|
jpayne@69
|
695 /**
|
jpayne@69
|
696 * @brief xcb_randr_create_mode_reply_t
|
jpayne@69
|
697 **/
|
jpayne@69
|
698 typedef struct xcb_randr_create_mode_reply_t {
|
jpayne@69
|
699 uint8_t response_type;
|
jpayne@69
|
700 uint8_t pad0;
|
jpayne@69
|
701 uint16_t sequence;
|
jpayne@69
|
702 uint32_t length;
|
jpayne@69
|
703 xcb_randr_mode_t mode;
|
jpayne@69
|
704 uint8_t pad1[20];
|
jpayne@69
|
705 } xcb_randr_create_mode_reply_t;
|
jpayne@69
|
706
|
jpayne@69
|
707 /** Opcode for xcb_randr_destroy_mode. */
|
jpayne@69
|
708 #define XCB_RANDR_DESTROY_MODE 17
|
jpayne@69
|
709
|
jpayne@69
|
710 /**
|
jpayne@69
|
711 * @brief xcb_randr_destroy_mode_request_t
|
jpayne@69
|
712 **/
|
jpayne@69
|
713 typedef struct xcb_randr_destroy_mode_request_t {
|
jpayne@69
|
714 uint8_t major_opcode;
|
jpayne@69
|
715 uint8_t minor_opcode;
|
jpayne@69
|
716 uint16_t length;
|
jpayne@69
|
717 xcb_randr_mode_t mode;
|
jpayne@69
|
718 } xcb_randr_destroy_mode_request_t;
|
jpayne@69
|
719
|
jpayne@69
|
720 /** Opcode for xcb_randr_add_output_mode. */
|
jpayne@69
|
721 #define XCB_RANDR_ADD_OUTPUT_MODE 18
|
jpayne@69
|
722
|
jpayne@69
|
723 /**
|
jpayne@69
|
724 * @brief xcb_randr_add_output_mode_request_t
|
jpayne@69
|
725 **/
|
jpayne@69
|
726 typedef struct xcb_randr_add_output_mode_request_t {
|
jpayne@69
|
727 uint8_t major_opcode;
|
jpayne@69
|
728 uint8_t minor_opcode;
|
jpayne@69
|
729 uint16_t length;
|
jpayne@69
|
730 xcb_randr_output_t output;
|
jpayne@69
|
731 xcb_randr_mode_t mode;
|
jpayne@69
|
732 } xcb_randr_add_output_mode_request_t;
|
jpayne@69
|
733
|
jpayne@69
|
734 /** Opcode for xcb_randr_delete_output_mode. */
|
jpayne@69
|
735 #define XCB_RANDR_DELETE_OUTPUT_MODE 19
|
jpayne@69
|
736
|
jpayne@69
|
737 /**
|
jpayne@69
|
738 * @brief xcb_randr_delete_output_mode_request_t
|
jpayne@69
|
739 **/
|
jpayne@69
|
740 typedef struct xcb_randr_delete_output_mode_request_t {
|
jpayne@69
|
741 uint8_t major_opcode;
|
jpayne@69
|
742 uint8_t minor_opcode;
|
jpayne@69
|
743 uint16_t length;
|
jpayne@69
|
744 xcb_randr_output_t output;
|
jpayne@69
|
745 xcb_randr_mode_t mode;
|
jpayne@69
|
746 } xcb_randr_delete_output_mode_request_t;
|
jpayne@69
|
747
|
jpayne@69
|
748 /**
|
jpayne@69
|
749 * @brief xcb_randr_get_crtc_info_cookie_t
|
jpayne@69
|
750 **/
|
jpayne@69
|
751 typedef struct xcb_randr_get_crtc_info_cookie_t {
|
jpayne@69
|
752 unsigned int sequence;
|
jpayne@69
|
753 } xcb_randr_get_crtc_info_cookie_t;
|
jpayne@69
|
754
|
jpayne@69
|
755 /** Opcode for xcb_randr_get_crtc_info. */
|
jpayne@69
|
756 #define XCB_RANDR_GET_CRTC_INFO 20
|
jpayne@69
|
757
|
jpayne@69
|
758 /**
|
jpayne@69
|
759 * @brief xcb_randr_get_crtc_info_request_t
|
jpayne@69
|
760 **/
|
jpayne@69
|
761 typedef struct xcb_randr_get_crtc_info_request_t {
|
jpayne@69
|
762 uint8_t major_opcode;
|
jpayne@69
|
763 uint8_t minor_opcode;
|
jpayne@69
|
764 uint16_t length;
|
jpayne@69
|
765 xcb_randr_crtc_t crtc;
|
jpayne@69
|
766 xcb_timestamp_t config_timestamp;
|
jpayne@69
|
767 } xcb_randr_get_crtc_info_request_t;
|
jpayne@69
|
768
|
jpayne@69
|
769 /**
|
jpayne@69
|
770 * @brief xcb_randr_get_crtc_info_reply_t
|
jpayne@69
|
771 **/
|
jpayne@69
|
772 typedef struct xcb_randr_get_crtc_info_reply_t {
|
jpayne@69
|
773 uint8_t response_type;
|
jpayne@69
|
774 uint8_t status;
|
jpayne@69
|
775 uint16_t sequence;
|
jpayne@69
|
776 uint32_t length;
|
jpayne@69
|
777 xcb_timestamp_t timestamp;
|
jpayne@69
|
778 int16_t x;
|
jpayne@69
|
779 int16_t y;
|
jpayne@69
|
780 uint16_t width;
|
jpayne@69
|
781 uint16_t height;
|
jpayne@69
|
782 xcb_randr_mode_t mode;
|
jpayne@69
|
783 uint16_t rotation;
|
jpayne@69
|
784 uint16_t rotations;
|
jpayne@69
|
785 uint16_t num_outputs;
|
jpayne@69
|
786 uint16_t num_possible_outputs;
|
jpayne@69
|
787 } xcb_randr_get_crtc_info_reply_t;
|
jpayne@69
|
788
|
jpayne@69
|
789 /**
|
jpayne@69
|
790 * @brief xcb_randr_set_crtc_config_cookie_t
|
jpayne@69
|
791 **/
|
jpayne@69
|
792 typedef struct xcb_randr_set_crtc_config_cookie_t {
|
jpayne@69
|
793 unsigned int sequence;
|
jpayne@69
|
794 } xcb_randr_set_crtc_config_cookie_t;
|
jpayne@69
|
795
|
jpayne@69
|
796 /** Opcode for xcb_randr_set_crtc_config. */
|
jpayne@69
|
797 #define XCB_RANDR_SET_CRTC_CONFIG 21
|
jpayne@69
|
798
|
jpayne@69
|
799 /**
|
jpayne@69
|
800 * @brief xcb_randr_set_crtc_config_request_t
|
jpayne@69
|
801 **/
|
jpayne@69
|
802 typedef struct xcb_randr_set_crtc_config_request_t {
|
jpayne@69
|
803 uint8_t major_opcode;
|
jpayne@69
|
804 uint8_t minor_opcode;
|
jpayne@69
|
805 uint16_t length;
|
jpayne@69
|
806 xcb_randr_crtc_t crtc;
|
jpayne@69
|
807 xcb_timestamp_t timestamp;
|
jpayne@69
|
808 xcb_timestamp_t config_timestamp;
|
jpayne@69
|
809 int16_t x;
|
jpayne@69
|
810 int16_t y;
|
jpayne@69
|
811 xcb_randr_mode_t mode;
|
jpayne@69
|
812 uint16_t rotation;
|
jpayne@69
|
813 uint8_t pad0[2];
|
jpayne@69
|
814 } xcb_randr_set_crtc_config_request_t;
|
jpayne@69
|
815
|
jpayne@69
|
816 /**
|
jpayne@69
|
817 * @brief xcb_randr_set_crtc_config_reply_t
|
jpayne@69
|
818 **/
|
jpayne@69
|
819 typedef struct xcb_randr_set_crtc_config_reply_t {
|
jpayne@69
|
820 uint8_t response_type;
|
jpayne@69
|
821 uint8_t status;
|
jpayne@69
|
822 uint16_t sequence;
|
jpayne@69
|
823 uint32_t length;
|
jpayne@69
|
824 xcb_timestamp_t timestamp;
|
jpayne@69
|
825 uint8_t pad0[20];
|
jpayne@69
|
826 } xcb_randr_set_crtc_config_reply_t;
|
jpayne@69
|
827
|
jpayne@69
|
828 /**
|
jpayne@69
|
829 * @brief xcb_randr_get_crtc_gamma_size_cookie_t
|
jpayne@69
|
830 **/
|
jpayne@69
|
831 typedef struct xcb_randr_get_crtc_gamma_size_cookie_t {
|
jpayne@69
|
832 unsigned int sequence;
|
jpayne@69
|
833 } xcb_randr_get_crtc_gamma_size_cookie_t;
|
jpayne@69
|
834
|
jpayne@69
|
835 /** Opcode for xcb_randr_get_crtc_gamma_size. */
|
jpayne@69
|
836 #define XCB_RANDR_GET_CRTC_GAMMA_SIZE 22
|
jpayne@69
|
837
|
jpayne@69
|
838 /**
|
jpayne@69
|
839 * @brief xcb_randr_get_crtc_gamma_size_request_t
|
jpayne@69
|
840 **/
|
jpayne@69
|
841 typedef struct xcb_randr_get_crtc_gamma_size_request_t {
|
jpayne@69
|
842 uint8_t major_opcode;
|
jpayne@69
|
843 uint8_t minor_opcode;
|
jpayne@69
|
844 uint16_t length;
|
jpayne@69
|
845 xcb_randr_crtc_t crtc;
|
jpayne@69
|
846 } xcb_randr_get_crtc_gamma_size_request_t;
|
jpayne@69
|
847
|
jpayne@69
|
848 /**
|
jpayne@69
|
849 * @brief xcb_randr_get_crtc_gamma_size_reply_t
|
jpayne@69
|
850 **/
|
jpayne@69
|
851 typedef struct xcb_randr_get_crtc_gamma_size_reply_t {
|
jpayne@69
|
852 uint8_t response_type;
|
jpayne@69
|
853 uint8_t pad0;
|
jpayne@69
|
854 uint16_t sequence;
|
jpayne@69
|
855 uint32_t length;
|
jpayne@69
|
856 uint16_t size;
|
jpayne@69
|
857 uint8_t pad1[22];
|
jpayne@69
|
858 } xcb_randr_get_crtc_gamma_size_reply_t;
|
jpayne@69
|
859
|
jpayne@69
|
860 /**
|
jpayne@69
|
861 * @brief xcb_randr_get_crtc_gamma_cookie_t
|
jpayne@69
|
862 **/
|
jpayne@69
|
863 typedef struct xcb_randr_get_crtc_gamma_cookie_t {
|
jpayne@69
|
864 unsigned int sequence;
|
jpayne@69
|
865 } xcb_randr_get_crtc_gamma_cookie_t;
|
jpayne@69
|
866
|
jpayne@69
|
867 /** Opcode for xcb_randr_get_crtc_gamma. */
|
jpayne@69
|
868 #define XCB_RANDR_GET_CRTC_GAMMA 23
|
jpayne@69
|
869
|
jpayne@69
|
870 /**
|
jpayne@69
|
871 * @brief xcb_randr_get_crtc_gamma_request_t
|
jpayne@69
|
872 **/
|
jpayne@69
|
873 typedef struct xcb_randr_get_crtc_gamma_request_t {
|
jpayne@69
|
874 uint8_t major_opcode;
|
jpayne@69
|
875 uint8_t minor_opcode;
|
jpayne@69
|
876 uint16_t length;
|
jpayne@69
|
877 xcb_randr_crtc_t crtc;
|
jpayne@69
|
878 } xcb_randr_get_crtc_gamma_request_t;
|
jpayne@69
|
879
|
jpayne@69
|
880 /**
|
jpayne@69
|
881 * @brief xcb_randr_get_crtc_gamma_reply_t
|
jpayne@69
|
882 **/
|
jpayne@69
|
883 typedef struct xcb_randr_get_crtc_gamma_reply_t {
|
jpayne@69
|
884 uint8_t response_type;
|
jpayne@69
|
885 uint8_t pad0;
|
jpayne@69
|
886 uint16_t sequence;
|
jpayne@69
|
887 uint32_t length;
|
jpayne@69
|
888 uint16_t size;
|
jpayne@69
|
889 uint8_t pad1[22];
|
jpayne@69
|
890 } xcb_randr_get_crtc_gamma_reply_t;
|
jpayne@69
|
891
|
jpayne@69
|
892 /** Opcode for xcb_randr_set_crtc_gamma. */
|
jpayne@69
|
893 #define XCB_RANDR_SET_CRTC_GAMMA 24
|
jpayne@69
|
894
|
jpayne@69
|
895 /**
|
jpayne@69
|
896 * @brief xcb_randr_set_crtc_gamma_request_t
|
jpayne@69
|
897 **/
|
jpayne@69
|
898 typedef struct xcb_randr_set_crtc_gamma_request_t {
|
jpayne@69
|
899 uint8_t major_opcode;
|
jpayne@69
|
900 uint8_t minor_opcode;
|
jpayne@69
|
901 uint16_t length;
|
jpayne@69
|
902 xcb_randr_crtc_t crtc;
|
jpayne@69
|
903 uint16_t size;
|
jpayne@69
|
904 uint8_t pad0[2];
|
jpayne@69
|
905 } xcb_randr_set_crtc_gamma_request_t;
|
jpayne@69
|
906
|
jpayne@69
|
907 /**
|
jpayne@69
|
908 * @brief xcb_randr_get_screen_resources_current_cookie_t
|
jpayne@69
|
909 **/
|
jpayne@69
|
910 typedef struct xcb_randr_get_screen_resources_current_cookie_t {
|
jpayne@69
|
911 unsigned int sequence;
|
jpayne@69
|
912 } xcb_randr_get_screen_resources_current_cookie_t;
|
jpayne@69
|
913
|
jpayne@69
|
914 /** Opcode for xcb_randr_get_screen_resources_current. */
|
jpayne@69
|
915 #define XCB_RANDR_GET_SCREEN_RESOURCES_CURRENT 25
|
jpayne@69
|
916
|
jpayne@69
|
917 /**
|
jpayne@69
|
918 * @brief xcb_randr_get_screen_resources_current_request_t
|
jpayne@69
|
919 **/
|
jpayne@69
|
920 typedef struct xcb_randr_get_screen_resources_current_request_t {
|
jpayne@69
|
921 uint8_t major_opcode;
|
jpayne@69
|
922 uint8_t minor_opcode;
|
jpayne@69
|
923 uint16_t length;
|
jpayne@69
|
924 xcb_window_t window;
|
jpayne@69
|
925 } xcb_randr_get_screen_resources_current_request_t;
|
jpayne@69
|
926
|
jpayne@69
|
927 /**
|
jpayne@69
|
928 * @brief xcb_randr_get_screen_resources_current_reply_t
|
jpayne@69
|
929 **/
|
jpayne@69
|
930 typedef struct xcb_randr_get_screen_resources_current_reply_t {
|
jpayne@69
|
931 uint8_t response_type;
|
jpayne@69
|
932 uint8_t pad0;
|
jpayne@69
|
933 uint16_t sequence;
|
jpayne@69
|
934 uint32_t length;
|
jpayne@69
|
935 xcb_timestamp_t timestamp;
|
jpayne@69
|
936 xcb_timestamp_t config_timestamp;
|
jpayne@69
|
937 uint16_t num_crtcs;
|
jpayne@69
|
938 uint16_t num_outputs;
|
jpayne@69
|
939 uint16_t num_modes;
|
jpayne@69
|
940 uint16_t names_len;
|
jpayne@69
|
941 uint8_t pad1[8];
|
jpayne@69
|
942 } xcb_randr_get_screen_resources_current_reply_t;
|
jpayne@69
|
943
|
jpayne@69
|
944 typedef enum xcb_randr_transform_t {
|
jpayne@69
|
945 XCB_RANDR_TRANSFORM_UNIT = 1,
|
jpayne@69
|
946 XCB_RANDR_TRANSFORM_SCALE_UP = 2,
|
jpayne@69
|
947 XCB_RANDR_TRANSFORM_SCALE_DOWN = 4,
|
jpayne@69
|
948 XCB_RANDR_TRANSFORM_PROJECTIVE = 8
|
jpayne@69
|
949 } xcb_randr_transform_t;
|
jpayne@69
|
950
|
jpayne@69
|
951 /** Opcode for xcb_randr_set_crtc_transform. */
|
jpayne@69
|
952 #define XCB_RANDR_SET_CRTC_TRANSFORM 26
|
jpayne@69
|
953
|
jpayne@69
|
954 /**
|
jpayne@69
|
955 * @brief xcb_randr_set_crtc_transform_request_t
|
jpayne@69
|
956 **/
|
jpayne@69
|
957 typedef struct xcb_randr_set_crtc_transform_request_t {
|
jpayne@69
|
958 uint8_t major_opcode;
|
jpayne@69
|
959 uint8_t minor_opcode;
|
jpayne@69
|
960 uint16_t length;
|
jpayne@69
|
961 xcb_randr_crtc_t crtc;
|
jpayne@69
|
962 xcb_render_transform_t transform;
|
jpayne@69
|
963 uint16_t filter_len;
|
jpayne@69
|
964 uint8_t pad0[2];
|
jpayne@69
|
965 } xcb_randr_set_crtc_transform_request_t;
|
jpayne@69
|
966
|
jpayne@69
|
967 /**
|
jpayne@69
|
968 * @brief xcb_randr_get_crtc_transform_cookie_t
|
jpayne@69
|
969 **/
|
jpayne@69
|
970 typedef struct xcb_randr_get_crtc_transform_cookie_t {
|
jpayne@69
|
971 unsigned int sequence;
|
jpayne@69
|
972 } xcb_randr_get_crtc_transform_cookie_t;
|
jpayne@69
|
973
|
jpayne@69
|
974 /** Opcode for xcb_randr_get_crtc_transform. */
|
jpayne@69
|
975 #define XCB_RANDR_GET_CRTC_TRANSFORM 27
|
jpayne@69
|
976
|
jpayne@69
|
977 /**
|
jpayne@69
|
978 * @brief xcb_randr_get_crtc_transform_request_t
|
jpayne@69
|
979 **/
|
jpayne@69
|
980 typedef struct xcb_randr_get_crtc_transform_request_t {
|
jpayne@69
|
981 uint8_t major_opcode;
|
jpayne@69
|
982 uint8_t minor_opcode;
|
jpayne@69
|
983 uint16_t length;
|
jpayne@69
|
984 xcb_randr_crtc_t crtc;
|
jpayne@69
|
985 } xcb_randr_get_crtc_transform_request_t;
|
jpayne@69
|
986
|
jpayne@69
|
987 /**
|
jpayne@69
|
988 * @brief xcb_randr_get_crtc_transform_reply_t
|
jpayne@69
|
989 **/
|
jpayne@69
|
990 typedef struct xcb_randr_get_crtc_transform_reply_t {
|
jpayne@69
|
991 uint8_t response_type;
|
jpayne@69
|
992 uint8_t pad0;
|
jpayne@69
|
993 uint16_t sequence;
|
jpayne@69
|
994 uint32_t length;
|
jpayne@69
|
995 xcb_render_transform_t pending_transform;
|
jpayne@69
|
996 uint8_t has_transforms;
|
jpayne@69
|
997 uint8_t pad1[3];
|
jpayne@69
|
998 xcb_render_transform_t current_transform;
|
jpayne@69
|
999 uint8_t pad2[4];
|
jpayne@69
|
1000 uint16_t pending_len;
|
jpayne@69
|
1001 uint16_t pending_nparams;
|
jpayne@69
|
1002 uint16_t current_len;
|
jpayne@69
|
1003 uint16_t current_nparams;
|
jpayne@69
|
1004 } xcb_randr_get_crtc_transform_reply_t;
|
jpayne@69
|
1005
|
jpayne@69
|
1006 /**
|
jpayne@69
|
1007 * @brief xcb_randr_get_panning_cookie_t
|
jpayne@69
|
1008 **/
|
jpayne@69
|
1009 typedef struct xcb_randr_get_panning_cookie_t {
|
jpayne@69
|
1010 unsigned int sequence;
|
jpayne@69
|
1011 } xcb_randr_get_panning_cookie_t;
|
jpayne@69
|
1012
|
jpayne@69
|
1013 /** Opcode for xcb_randr_get_panning. */
|
jpayne@69
|
1014 #define XCB_RANDR_GET_PANNING 28
|
jpayne@69
|
1015
|
jpayne@69
|
1016 /**
|
jpayne@69
|
1017 * @brief xcb_randr_get_panning_request_t
|
jpayne@69
|
1018 **/
|
jpayne@69
|
1019 typedef struct xcb_randr_get_panning_request_t {
|
jpayne@69
|
1020 uint8_t major_opcode;
|
jpayne@69
|
1021 uint8_t minor_opcode;
|
jpayne@69
|
1022 uint16_t length;
|
jpayne@69
|
1023 xcb_randr_crtc_t crtc;
|
jpayne@69
|
1024 } xcb_randr_get_panning_request_t;
|
jpayne@69
|
1025
|
jpayne@69
|
1026 /**
|
jpayne@69
|
1027 * @brief xcb_randr_get_panning_reply_t
|
jpayne@69
|
1028 **/
|
jpayne@69
|
1029 typedef struct xcb_randr_get_panning_reply_t {
|
jpayne@69
|
1030 uint8_t response_type;
|
jpayne@69
|
1031 uint8_t status;
|
jpayne@69
|
1032 uint16_t sequence;
|
jpayne@69
|
1033 uint32_t length;
|
jpayne@69
|
1034 xcb_timestamp_t timestamp;
|
jpayne@69
|
1035 uint16_t left;
|
jpayne@69
|
1036 uint16_t top;
|
jpayne@69
|
1037 uint16_t width;
|
jpayne@69
|
1038 uint16_t height;
|
jpayne@69
|
1039 uint16_t track_left;
|
jpayne@69
|
1040 uint16_t track_top;
|
jpayne@69
|
1041 uint16_t track_width;
|
jpayne@69
|
1042 uint16_t track_height;
|
jpayne@69
|
1043 int16_t border_left;
|
jpayne@69
|
1044 int16_t border_top;
|
jpayne@69
|
1045 int16_t border_right;
|
jpayne@69
|
1046 int16_t border_bottom;
|
jpayne@69
|
1047 } xcb_randr_get_panning_reply_t;
|
jpayne@69
|
1048
|
jpayne@69
|
1049 /**
|
jpayne@69
|
1050 * @brief xcb_randr_set_panning_cookie_t
|
jpayne@69
|
1051 **/
|
jpayne@69
|
1052 typedef struct xcb_randr_set_panning_cookie_t {
|
jpayne@69
|
1053 unsigned int sequence;
|
jpayne@69
|
1054 } xcb_randr_set_panning_cookie_t;
|
jpayne@69
|
1055
|
jpayne@69
|
1056 /** Opcode for xcb_randr_set_panning. */
|
jpayne@69
|
1057 #define XCB_RANDR_SET_PANNING 29
|
jpayne@69
|
1058
|
jpayne@69
|
1059 /**
|
jpayne@69
|
1060 * @brief xcb_randr_set_panning_request_t
|
jpayne@69
|
1061 **/
|
jpayne@69
|
1062 typedef struct xcb_randr_set_panning_request_t {
|
jpayne@69
|
1063 uint8_t major_opcode;
|
jpayne@69
|
1064 uint8_t minor_opcode;
|
jpayne@69
|
1065 uint16_t length;
|
jpayne@69
|
1066 xcb_randr_crtc_t crtc;
|
jpayne@69
|
1067 xcb_timestamp_t timestamp;
|
jpayne@69
|
1068 uint16_t left;
|
jpayne@69
|
1069 uint16_t top;
|
jpayne@69
|
1070 uint16_t width;
|
jpayne@69
|
1071 uint16_t height;
|
jpayne@69
|
1072 uint16_t track_left;
|
jpayne@69
|
1073 uint16_t track_top;
|
jpayne@69
|
1074 uint16_t track_width;
|
jpayne@69
|
1075 uint16_t track_height;
|
jpayne@69
|
1076 int16_t border_left;
|
jpayne@69
|
1077 int16_t border_top;
|
jpayne@69
|
1078 int16_t border_right;
|
jpayne@69
|
1079 int16_t border_bottom;
|
jpayne@69
|
1080 } xcb_randr_set_panning_request_t;
|
jpayne@69
|
1081
|
jpayne@69
|
1082 /**
|
jpayne@69
|
1083 * @brief xcb_randr_set_panning_reply_t
|
jpayne@69
|
1084 **/
|
jpayne@69
|
1085 typedef struct xcb_randr_set_panning_reply_t {
|
jpayne@69
|
1086 uint8_t response_type;
|
jpayne@69
|
1087 uint8_t status;
|
jpayne@69
|
1088 uint16_t sequence;
|
jpayne@69
|
1089 uint32_t length;
|
jpayne@69
|
1090 xcb_timestamp_t timestamp;
|
jpayne@69
|
1091 } xcb_randr_set_panning_reply_t;
|
jpayne@69
|
1092
|
jpayne@69
|
1093 /** Opcode for xcb_randr_set_output_primary. */
|
jpayne@69
|
1094 #define XCB_RANDR_SET_OUTPUT_PRIMARY 30
|
jpayne@69
|
1095
|
jpayne@69
|
1096 /**
|
jpayne@69
|
1097 * @brief xcb_randr_set_output_primary_request_t
|
jpayne@69
|
1098 **/
|
jpayne@69
|
1099 typedef struct xcb_randr_set_output_primary_request_t {
|
jpayne@69
|
1100 uint8_t major_opcode;
|
jpayne@69
|
1101 uint8_t minor_opcode;
|
jpayne@69
|
1102 uint16_t length;
|
jpayne@69
|
1103 xcb_window_t window;
|
jpayne@69
|
1104 xcb_randr_output_t output;
|
jpayne@69
|
1105 } xcb_randr_set_output_primary_request_t;
|
jpayne@69
|
1106
|
jpayne@69
|
1107 /**
|
jpayne@69
|
1108 * @brief xcb_randr_get_output_primary_cookie_t
|
jpayne@69
|
1109 **/
|
jpayne@69
|
1110 typedef struct xcb_randr_get_output_primary_cookie_t {
|
jpayne@69
|
1111 unsigned int sequence;
|
jpayne@69
|
1112 } xcb_randr_get_output_primary_cookie_t;
|
jpayne@69
|
1113
|
jpayne@69
|
1114 /** Opcode for xcb_randr_get_output_primary. */
|
jpayne@69
|
1115 #define XCB_RANDR_GET_OUTPUT_PRIMARY 31
|
jpayne@69
|
1116
|
jpayne@69
|
1117 /**
|
jpayne@69
|
1118 * @brief xcb_randr_get_output_primary_request_t
|
jpayne@69
|
1119 **/
|
jpayne@69
|
1120 typedef struct xcb_randr_get_output_primary_request_t {
|
jpayne@69
|
1121 uint8_t major_opcode;
|
jpayne@69
|
1122 uint8_t minor_opcode;
|
jpayne@69
|
1123 uint16_t length;
|
jpayne@69
|
1124 xcb_window_t window;
|
jpayne@69
|
1125 } xcb_randr_get_output_primary_request_t;
|
jpayne@69
|
1126
|
jpayne@69
|
1127 /**
|
jpayne@69
|
1128 * @brief xcb_randr_get_output_primary_reply_t
|
jpayne@69
|
1129 **/
|
jpayne@69
|
1130 typedef struct xcb_randr_get_output_primary_reply_t {
|
jpayne@69
|
1131 uint8_t response_type;
|
jpayne@69
|
1132 uint8_t pad0;
|
jpayne@69
|
1133 uint16_t sequence;
|
jpayne@69
|
1134 uint32_t length;
|
jpayne@69
|
1135 xcb_randr_output_t output;
|
jpayne@69
|
1136 } xcb_randr_get_output_primary_reply_t;
|
jpayne@69
|
1137
|
jpayne@69
|
1138 /**
|
jpayne@69
|
1139 * @brief xcb_randr_get_providers_cookie_t
|
jpayne@69
|
1140 **/
|
jpayne@69
|
1141 typedef struct xcb_randr_get_providers_cookie_t {
|
jpayne@69
|
1142 unsigned int sequence;
|
jpayne@69
|
1143 } xcb_randr_get_providers_cookie_t;
|
jpayne@69
|
1144
|
jpayne@69
|
1145 /** Opcode for xcb_randr_get_providers. */
|
jpayne@69
|
1146 #define XCB_RANDR_GET_PROVIDERS 32
|
jpayne@69
|
1147
|
jpayne@69
|
1148 /**
|
jpayne@69
|
1149 * @brief xcb_randr_get_providers_request_t
|
jpayne@69
|
1150 **/
|
jpayne@69
|
1151 typedef struct xcb_randr_get_providers_request_t {
|
jpayne@69
|
1152 uint8_t major_opcode;
|
jpayne@69
|
1153 uint8_t minor_opcode;
|
jpayne@69
|
1154 uint16_t length;
|
jpayne@69
|
1155 xcb_window_t window;
|
jpayne@69
|
1156 } xcb_randr_get_providers_request_t;
|
jpayne@69
|
1157
|
jpayne@69
|
1158 /**
|
jpayne@69
|
1159 * @brief xcb_randr_get_providers_reply_t
|
jpayne@69
|
1160 **/
|
jpayne@69
|
1161 typedef struct xcb_randr_get_providers_reply_t {
|
jpayne@69
|
1162 uint8_t response_type;
|
jpayne@69
|
1163 uint8_t pad0;
|
jpayne@69
|
1164 uint16_t sequence;
|
jpayne@69
|
1165 uint32_t length;
|
jpayne@69
|
1166 xcb_timestamp_t timestamp;
|
jpayne@69
|
1167 uint16_t num_providers;
|
jpayne@69
|
1168 uint8_t pad1[18];
|
jpayne@69
|
1169 } xcb_randr_get_providers_reply_t;
|
jpayne@69
|
1170
|
jpayne@69
|
1171 typedef enum xcb_randr_provider_capability_t {
|
jpayne@69
|
1172 XCB_RANDR_PROVIDER_CAPABILITY_SOURCE_OUTPUT = 1,
|
jpayne@69
|
1173 XCB_RANDR_PROVIDER_CAPABILITY_SINK_OUTPUT = 2,
|
jpayne@69
|
1174 XCB_RANDR_PROVIDER_CAPABILITY_SOURCE_OFFLOAD = 4,
|
jpayne@69
|
1175 XCB_RANDR_PROVIDER_CAPABILITY_SINK_OFFLOAD = 8
|
jpayne@69
|
1176 } xcb_randr_provider_capability_t;
|
jpayne@69
|
1177
|
jpayne@69
|
1178 /**
|
jpayne@69
|
1179 * @brief xcb_randr_get_provider_info_cookie_t
|
jpayne@69
|
1180 **/
|
jpayne@69
|
1181 typedef struct xcb_randr_get_provider_info_cookie_t {
|
jpayne@69
|
1182 unsigned int sequence;
|
jpayne@69
|
1183 } xcb_randr_get_provider_info_cookie_t;
|
jpayne@69
|
1184
|
jpayne@69
|
1185 /** Opcode for xcb_randr_get_provider_info. */
|
jpayne@69
|
1186 #define XCB_RANDR_GET_PROVIDER_INFO 33
|
jpayne@69
|
1187
|
jpayne@69
|
1188 /**
|
jpayne@69
|
1189 * @brief xcb_randr_get_provider_info_request_t
|
jpayne@69
|
1190 **/
|
jpayne@69
|
1191 typedef struct xcb_randr_get_provider_info_request_t {
|
jpayne@69
|
1192 uint8_t major_opcode;
|
jpayne@69
|
1193 uint8_t minor_opcode;
|
jpayne@69
|
1194 uint16_t length;
|
jpayne@69
|
1195 xcb_randr_provider_t provider;
|
jpayne@69
|
1196 xcb_timestamp_t config_timestamp;
|
jpayne@69
|
1197 } xcb_randr_get_provider_info_request_t;
|
jpayne@69
|
1198
|
jpayne@69
|
1199 /**
|
jpayne@69
|
1200 * @brief xcb_randr_get_provider_info_reply_t
|
jpayne@69
|
1201 **/
|
jpayne@69
|
1202 typedef struct xcb_randr_get_provider_info_reply_t {
|
jpayne@69
|
1203 uint8_t response_type;
|
jpayne@69
|
1204 uint8_t status;
|
jpayne@69
|
1205 uint16_t sequence;
|
jpayne@69
|
1206 uint32_t length;
|
jpayne@69
|
1207 xcb_timestamp_t timestamp;
|
jpayne@69
|
1208 uint32_t capabilities;
|
jpayne@69
|
1209 uint16_t num_crtcs;
|
jpayne@69
|
1210 uint16_t num_outputs;
|
jpayne@69
|
1211 uint16_t num_associated_providers;
|
jpayne@69
|
1212 uint16_t name_len;
|
jpayne@69
|
1213 uint8_t pad0[8];
|
jpayne@69
|
1214 } xcb_randr_get_provider_info_reply_t;
|
jpayne@69
|
1215
|
jpayne@69
|
1216 /** Opcode for xcb_randr_set_provider_offload_sink. */
|
jpayne@69
|
1217 #define XCB_RANDR_SET_PROVIDER_OFFLOAD_SINK 34
|
jpayne@69
|
1218
|
jpayne@69
|
1219 /**
|
jpayne@69
|
1220 * @brief xcb_randr_set_provider_offload_sink_request_t
|
jpayne@69
|
1221 **/
|
jpayne@69
|
1222 typedef struct xcb_randr_set_provider_offload_sink_request_t {
|
jpayne@69
|
1223 uint8_t major_opcode;
|
jpayne@69
|
1224 uint8_t minor_opcode;
|
jpayne@69
|
1225 uint16_t length;
|
jpayne@69
|
1226 xcb_randr_provider_t provider;
|
jpayne@69
|
1227 xcb_randr_provider_t sink_provider;
|
jpayne@69
|
1228 xcb_timestamp_t config_timestamp;
|
jpayne@69
|
1229 } xcb_randr_set_provider_offload_sink_request_t;
|
jpayne@69
|
1230
|
jpayne@69
|
1231 /** Opcode for xcb_randr_set_provider_output_source. */
|
jpayne@69
|
1232 #define XCB_RANDR_SET_PROVIDER_OUTPUT_SOURCE 35
|
jpayne@69
|
1233
|
jpayne@69
|
1234 /**
|
jpayne@69
|
1235 * @brief xcb_randr_set_provider_output_source_request_t
|
jpayne@69
|
1236 **/
|
jpayne@69
|
1237 typedef struct xcb_randr_set_provider_output_source_request_t {
|
jpayne@69
|
1238 uint8_t major_opcode;
|
jpayne@69
|
1239 uint8_t minor_opcode;
|
jpayne@69
|
1240 uint16_t length;
|
jpayne@69
|
1241 xcb_randr_provider_t provider;
|
jpayne@69
|
1242 xcb_randr_provider_t source_provider;
|
jpayne@69
|
1243 xcb_timestamp_t config_timestamp;
|
jpayne@69
|
1244 } xcb_randr_set_provider_output_source_request_t;
|
jpayne@69
|
1245
|
jpayne@69
|
1246 /**
|
jpayne@69
|
1247 * @brief xcb_randr_list_provider_properties_cookie_t
|
jpayne@69
|
1248 **/
|
jpayne@69
|
1249 typedef struct xcb_randr_list_provider_properties_cookie_t {
|
jpayne@69
|
1250 unsigned int sequence;
|
jpayne@69
|
1251 } xcb_randr_list_provider_properties_cookie_t;
|
jpayne@69
|
1252
|
jpayne@69
|
1253 /** Opcode for xcb_randr_list_provider_properties. */
|
jpayne@69
|
1254 #define XCB_RANDR_LIST_PROVIDER_PROPERTIES 36
|
jpayne@69
|
1255
|
jpayne@69
|
1256 /**
|
jpayne@69
|
1257 * @brief xcb_randr_list_provider_properties_request_t
|
jpayne@69
|
1258 **/
|
jpayne@69
|
1259 typedef struct xcb_randr_list_provider_properties_request_t {
|
jpayne@69
|
1260 uint8_t major_opcode;
|
jpayne@69
|
1261 uint8_t minor_opcode;
|
jpayne@69
|
1262 uint16_t length;
|
jpayne@69
|
1263 xcb_randr_provider_t provider;
|
jpayne@69
|
1264 } xcb_randr_list_provider_properties_request_t;
|
jpayne@69
|
1265
|
jpayne@69
|
1266 /**
|
jpayne@69
|
1267 * @brief xcb_randr_list_provider_properties_reply_t
|
jpayne@69
|
1268 **/
|
jpayne@69
|
1269 typedef struct xcb_randr_list_provider_properties_reply_t {
|
jpayne@69
|
1270 uint8_t response_type;
|
jpayne@69
|
1271 uint8_t pad0;
|
jpayne@69
|
1272 uint16_t sequence;
|
jpayne@69
|
1273 uint32_t length;
|
jpayne@69
|
1274 uint16_t num_atoms;
|
jpayne@69
|
1275 uint8_t pad1[22];
|
jpayne@69
|
1276 } xcb_randr_list_provider_properties_reply_t;
|
jpayne@69
|
1277
|
jpayne@69
|
1278 /**
|
jpayne@69
|
1279 * @brief xcb_randr_query_provider_property_cookie_t
|
jpayne@69
|
1280 **/
|
jpayne@69
|
1281 typedef struct xcb_randr_query_provider_property_cookie_t {
|
jpayne@69
|
1282 unsigned int sequence;
|
jpayne@69
|
1283 } xcb_randr_query_provider_property_cookie_t;
|
jpayne@69
|
1284
|
jpayne@69
|
1285 /** Opcode for xcb_randr_query_provider_property. */
|
jpayne@69
|
1286 #define XCB_RANDR_QUERY_PROVIDER_PROPERTY 37
|
jpayne@69
|
1287
|
jpayne@69
|
1288 /**
|
jpayne@69
|
1289 * @brief xcb_randr_query_provider_property_request_t
|
jpayne@69
|
1290 **/
|
jpayne@69
|
1291 typedef struct xcb_randr_query_provider_property_request_t {
|
jpayne@69
|
1292 uint8_t major_opcode;
|
jpayne@69
|
1293 uint8_t minor_opcode;
|
jpayne@69
|
1294 uint16_t length;
|
jpayne@69
|
1295 xcb_randr_provider_t provider;
|
jpayne@69
|
1296 xcb_atom_t property;
|
jpayne@69
|
1297 } xcb_randr_query_provider_property_request_t;
|
jpayne@69
|
1298
|
jpayne@69
|
1299 /**
|
jpayne@69
|
1300 * @brief xcb_randr_query_provider_property_reply_t
|
jpayne@69
|
1301 **/
|
jpayne@69
|
1302 typedef struct xcb_randr_query_provider_property_reply_t {
|
jpayne@69
|
1303 uint8_t response_type;
|
jpayne@69
|
1304 uint8_t pad0;
|
jpayne@69
|
1305 uint16_t sequence;
|
jpayne@69
|
1306 uint32_t length;
|
jpayne@69
|
1307 uint8_t pending;
|
jpayne@69
|
1308 uint8_t range;
|
jpayne@69
|
1309 uint8_t immutable;
|
jpayne@69
|
1310 uint8_t pad1[21];
|
jpayne@69
|
1311 } xcb_randr_query_provider_property_reply_t;
|
jpayne@69
|
1312
|
jpayne@69
|
1313 /** Opcode for xcb_randr_configure_provider_property. */
|
jpayne@69
|
1314 #define XCB_RANDR_CONFIGURE_PROVIDER_PROPERTY 38
|
jpayne@69
|
1315
|
jpayne@69
|
1316 /**
|
jpayne@69
|
1317 * @brief xcb_randr_configure_provider_property_request_t
|
jpayne@69
|
1318 **/
|
jpayne@69
|
1319 typedef struct xcb_randr_configure_provider_property_request_t {
|
jpayne@69
|
1320 uint8_t major_opcode;
|
jpayne@69
|
1321 uint8_t minor_opcode;
|
jpayne@69
|
1322 uint16_t length;
|
jpayne@69
|
1323 xcb_randr_provider_t provider;
|
jpayne@69
|
1324 xcb_atom_t property;
|
jpayne@69
|
1325 uint8_t pending;
|
jpayne@69
|
1326 uint8_t range;
|
jpayne@69
|
1327 uint8_t pad0[2];
|
jpayne@69
|
1328 } xcb_randr_configure_provider_property_request_t;
|
jpayne@69
|
1329
|
jpayne@69
|
1330 /** Opcode for xcb_randr_change_provider_property. */
|
jpayne@69
|
1331 #define XCB_RANDR_CHANGE_PROVIDER_PROPERTY 39
|
jpayne@69
|
1332
|
jpayne@69
|
1333 /**
|
jpayne@69
|
1334 * @brief xcb_randr_change_provider_property_request_t
|
jpayne@69
|
1335 **/
|
jpayne@69
|
1336 typedef struct xcb_randr_change_provider_property_request_t {
|
jpayne@69
|
1337 uint8_t major_opcode;
|
jpayne@69
|
1338 uint8_t minor_opcode;
|
jpayne@69
|
1339 uint16_t length;
|
jpayne@69
|
1340 xcb_randr_provider_t provider;
|
jpayne@69
|
1341 xcb_atom_t property;
|
jpayne@69
|
1342 xcb_atom_t type;
|
jpayne@69
|
1343 uint8_t format;
|
jpayne@69
|
1344 uint8_t mode;
|
jpayne@69
|
1345 uint8_t pad0[2];
|
jpayne@69
|
1346 uint32_t num_items;
|
jpayne@69
|
1347 } xcb_randr_change_provider_property_request_t;
|
jpayne@69
|
1348
|
jpayne@69
|
1349 /** Opcode for xcb_randr_delete_provider_property. */
|
jpayne@69
|
1350 #define XCB_RANDR_DELETE_PROVIDER_PROPERTY 40
|
jpayne@69
|
1351
|
jpayne@69
|
1352 /**
|
jpayne@69
|
1353 * @brief xcb_randr_delete_provider_property_request_t
|
jpayne@69
|
1354 **/
|
jpayne@69
|
1355 typedef struct xcb_randr_delete_provider_property_request_t {
|
jpayne@69
|
1356 uint8_t major_opcode;
|
jpayne@69
|
1357 uint8_t minor_opcode;
|
jpayne@69
|
1358 uint16_t length;
|
jpayne@69
|
1359 xcb_randr_provider_t provider;
|
jpayne@69
|
1360 xcb_atom_t property;
|
jpayne@69
|
1361 } xcb_randr_delete_provider_property_request_t;
|
jpayne@69
|
1362
|
jpayne@69
|
1363 /**
|
jpayne@69
|
1364 * @brief xcb_randr_get_provider_property_cookie_t
|
jpayne@69
|
1365 **/
|
jpayne@69
|
1366 typedef struct xcb_randr_get_provider_property_cookie_t {
|
jpayne@69
|
1367 unsigned int sequence;
|
jpayne@69
|
1368 } xcb_randr_get_provider_property_cookie_t;
|
jpayne@69
|
1369
|
jpayne@69
|
1370 /** Opcode for xcb_randr_get_provider_property. */
|
jpayne@69
|
1371 #define XCB_RANDR_GET_PROVIDER_PROPERTY 41
|
jpayne@69
|
1372
|
jpayne@69
|
1373 /**
|
jpayne@69
|
1374 * @brief xcb_randr_get_provider_property_request_t
|
jpayne@69
|
1375 **/
|
jpayne@69
|
1376 typedef struct xcb_randr_get_provider_property_request_t {
|
jpayne@69
|
1377 uint8_t major_opcode;
|
jpayne@69
|
1378 uint8_t minor_opcode;
|
jpayne@69
|
1379 uint16_t length;
|
jpayne@69
|
1380 xcb_randr_provider_t provider;
|
jpayne@69
|
1381 xcb_atom_t property;
|
jpayne@69
|
1382 xcb_atom_t type;
|
jpayne@69
|
1383 uint32_t long_offset;
|
jpayne@69
|
1384 uint32_t long_length;
|
jpayne@69
|
1385 uint8_t _delete;
|
jpayne@69
|
1386 uint8_t pending;
|
jpayne@69
|
1387 uint8_t pad0[2];
|
jpayne@69
|
1388 } xcb_randr_get_provider_property_request_t;
|
jpayne@69
|
1389
|
jpayne@69
|
1390 /**
|
jpayne@69
|
1391 * @brief xcb_randr_get_provider_property_reply_t
|
jpayne@69
|
1392 **/
|
jpayne@69
|
1393 typedef struct xcb_randr_get_provider_property_reply_t {
|
jpayne@69
|
1394 uint8_t response_type;
|
jpayne@69
|
1395 uint8_t format;
|
jpayne@69
|
1396 uint16_t sequence;
|
jpayne@69
|
1397 uint32_t length;
|
jpayne@69
|
1398 xcb_atom_t type;
|
jpayne@69
|
1399 uint32_t bytes_after;
|
jpayne@69
|
1400 uint32_t num_items;
|
jpayne@69
|
1401 uint8_t pad0[12];
|
jpayne@69
|
1402 } xcb_randr_get_provider_property_reply_t;
|
jpayne@69
|
1403
|
jpayne@69
|
1404 /** Opcode for xcb_randr_screen_change_notify. */
|
jpayne@69
|
1405 #define XCB_RANDR_SCREEN_CHANGE_NOTIFY 0
|
jpayne@69
|
1406
|
jpayne@69
|
1407 /**
|
jpayne@69
|
1408 * @brief xcb_randr_screen_change_notify_event_t
|
jpayne@69
|
1409 **/
|
jpayne@69
|
1410 typedef struct xcb_randr_screen_change_notify_event_t {
|
jpayne@69
|
1411 uint8_t response_type;
|
jpayne@69
|
1412 uint8_t rotation;
|
jpayne@69
|
1413 uint16_t sequence;
|
jpayne@69
|
1414 xcb_timestamp_t timestamp;
|
jpayne@69
|
1415 xcb_timestamp_t config_timestamp;
|
jpayne@69
|
1416 xcb_window_t root;
|
jpayne@69
|
1417 xcb_window_t request_window;
|
jpayne@69
|
1418 uint16_t sizeID;
|
jpayne@69
|
1419 uint16_t subpixel_order;
|
jpayne@69
|
1420 uint16_t width;
|
jpayne@69
|
1421 uint16_t height;
|
jpayne@69
|
1422 uint16_t mwidth;
|
jpayne@69
|
1423 uint16_t mheight;
|
jpayne@69
|
1424 } xcb_randr_screen_change_notify_event_t;
|
jpayne@69
|
1425
|
jpayne@69
|
1426 typedef enum xcb_randr_notify_t {
|
jpayne@69
|
1427 XCB_RANDR_NOTIFY_CRTC_CHANGE = 0,
|
jpayne@69
|
1428 XCB_RANDR_NOTIFY_OUTPUT_CHANGE = 1,
|
jpayne@69
|
1429 XCB_RANDR_NOTIFY_OUTPUT_PROPERTY = 2,
|
jpayne@69
|
1430 XCB_RANDR_NOTIFY_PROVIDER_CHANGE = 3,
|
jpayne@69
|
1431 XCB_RANDR_NOTIFY_PROVIDER_PROPERTY = 4,
|
jpayne@69
|
1432 XCB_RANDR_NOTIFY_RESOURCE_CHANGE = 5,
|
jpayne@69
|
1433 XCB_RANDR_NOTIFY_LEASE = 6
|
jpayne@69
|
1434 } xcb_randr_notify_t;
|
jpayne@69
|
1435
|
jpayne@69
|
1436 /**
|
jpayne@69
|
1437 * @brief xcb_randr_crtc_change_t
|
jpayne@69
|
1438 **/
|
jpayne@69
|
1439 typedef struct xcb_randr_crtc_change_t {
|
jpayne@69
|
1440 xcb_timestamp_t timestamp;
|
jpayne@69
|
1441 xcb_window_t window;
|
jpayne@69
|
1442 xcb_randr_crtc_t crtc;
|
jpayne@69
|
1443 xcb_randr_mode_t mode;
|
jpayne@69
|
1444 uint16_t rotation;
|
jpayne@69
|
1445 uint8_t pad0[2];
|
jpayne@69
|
1446 int16_t x;
|
jpayne@69
|
1447 int16_t y;
|
jpayne@69
|
1448 uint16_t width;
|
jpayne@69
|
1449 uint16_t height;
|
jpayne@69
|
1450 } xcb_randr_crtc_change_t;
|
jpayne@69
|
1451
|
jpayne@69
|
1452 /**
|
jpayne@69
|
1453 * @brief xcb_randr_crtc_change_iterator_t
|
jpayne@69
|
1454 **/
|
jpayne@69
|
1455 typedef struct xcb_randr_crtc_change_iterator_t {
|
jpayne@69
|
1456 xcb_randr_crtc_change_t *data;
|
jpayne@69
|
1457 int rem;
|
jpayne@69
|
1458 int index;
|
jpayne@69
|
1459 } xcb_randr_crtc_change_iterator_t;
|
jpayne@69
|
1460
|
jpayne@69
|
1461 /**
|
jpayne@69
|
1462 * @brief xcb_randr_output_change_t
|
jpayne@69
|
1463 **/
|
jpayne@69
|
1464 typedef struct xcb_randr_output_change_t {
|
jpayne@69
|
1465 xcb_timestamp_t timestamp;
|
jpayne@69
|
1466 xcb_timestamp_t config_timestamp;
|
jpayne@69
|
1467 xcb_window_t window;
|
jpayne@69
|
1468 xcb_randr_output_t output;
|
jpayne@69
|
1469 xcb_randr_crtc_t crtc;
|
jpayne@69
|
1470 xcb_randr_mode_t mode;
|
jpayne@69
|
1471 uint16_t rotation;
|
jpayne@69
|
1472 uint8_t connection;
|
jpayne@69
|
1473 uint8_t subpixel_order;
|
jpayne@69
|
1474 } xcb_randr_output_change_t;
|
jpayne@69
|
1475
|
jpayne@69
|
1476 /**
|
jpayne@69
|
1477 * @brief xcb_randr_output_change_iterator_t
|
jpayne@69
|
1478 **/
|
jpayne@69
|
1479 typedef struct xcb_randr_output_change_iterator_t {
|
jpayne@69
|
1480 xcb_randr_output_change_t *data;
|
jpayne@69
|
1481 int rem;
|
jpayne@69
|
1482 int index;
|
jpayne@69
|
1483 } xcb_randr_output_change_iterator_t;
|
jpayne@69
|
1484
|
jpayne@69
|
1485 /**
|
jpayne@69
|
1486 * @brief xcb_randr_output_property_t
|
jpayne@69
|
1487 **/
|
jpayne@69
|
1488 typedef struct xcb_randr_output_property_t {
|
jpayne@69
|
1489 xcb_window_t window;
|
jpayne@69
|
1490 xcb_randr_output_t output;
|
jpayne@69
|
1491 xcb_atom_t atom;
|
jpayne@69
|
1492 xcb_timestamp_t timestamp;
|
jpayne@69
|
1493 uint8_t status;
|
jpayne@69
|
1494 uint8_t pad0[11];
|
jpayne@69
|
1495 } xcb_randr_output_property_t;
|
jpayne@69
|
1496
|
jpayne@69
|
1497 /**
|
jpayne@69
|
1498 * @brief xcb_randr_output_property_iterator_t
|
jpayne@69
|
1499 **/
|
jpayne@69
|
1500 typedef struct xcb_randr_output_property_iterator_t {
|
jpayne@69
|
1501 xcb_randr_output_property_t *data;
|
jpayne@69
|
1502 int rem;
|
jpayne@69
|
1503 int index;
|
jpayne@69
|
1504 } xcb_randr_output_property_iterator_t;
|
jpayne@69
|
1505
|
jpayne@69
|
1506 /**
|
jpayne@69
|
1507 * @brief xcb_randr_provider_change_t
|
jpayne@69
|
1508 **/
|
jpayne@69
|
1509 typedef struct xcb_randr_provider_change_t {
|
jpayne@69
|
1510 xcb_timestamp_t timestamp;
|
jpayne@69
|
1511 xcb_window_t window;
|
jpayne@69
|
1512 xcb_randr_provider_t provider;
|
jpayne@69
|
1513 uint8_t pad0[16];
|
jpayne@69
|
1514 } xcb_randr_provider_change_t;
|
jpayne@69
|
1515
|
jpayne@69
|
1516 /**
|
jpayne@69
|
1517 * @brief xcb_randr_provider_change_iterator_t
|
jpayne@69
|
1518 **/
|
jpayne@69
|
1519 typedef struct xcb_randr_provider_change_iterator_t {
|
jpayne@69
|
1520 xcb_randr_provider_change_t *data;
|
jpayne@69
|
1521 int rem;
|
jpayne@69
|
1522 int index;
|
jpayne@69
|
1523 } xcb_randr_provider_change_iterator_t;
|
jpayne@69
|
1524
|
jpayne@69
|
1525 /**
|
jpayne@69
|
1526 * @brief xcb_randr_provider_property_t
|
jpayne@69
|
1527 **/
|
jpayne@69
|
1528 typedef struct xcb_randr_provider_property_t {
|
jpayne@69
|
1529 xcb_window_t window;
|
jpayne@69
|
1530 xcb_randr_provider_t provider;
|
jpayne@69
|
1531 xcb_atom_t atom;
|
jpayne@69
|
1532 xcb_timestamp_t timestamp;
|
jpayne@69
|
1533 uint8_t state;
|
jpayne@69
|
1534 uint8_t pad0[11];
|
jpayne@69
|
1535 } xcb_randr_provider_property_t;
|
jpayne@69
|
1536
|
jpayne@69
|
1537 /**
|
jpayne@69
|
1538 * @brief xcb_randr_provider_property_iterator_t
|
jpayne@69
|
1539 **/
|
jpayne@69
|
1540 typedef struct xcb_randr_provider_property_iterator_t {
|
jpayne@69
|
1541 xcb_randr_provider_property_t *data;
|
jpayne@69
|
1542 int rem;
|
jpayne@69
|
1543 int index;
|
jpayne@69
|
1544 } xcb_randr_provider_property_iterator_t;
|
jpayne@69
|
1545
|
jpayne@69
|
1546 /**
|
jpayne@69
|
1547 * @brief xcb_randr_resource_change_t
|
jpayne@69
|
1548 **/
|
jpayne@69
|
1549 typedef struct xcb_randr_resource_change_t {
|
jpayne@69
|
1550 xcb_timestamp_t timestamp;
|
jpayne@69
|
1551 xcb_window_t window;
|
jpayne@69
|
1552 uint8_t pad0[20];
|
jpayne@69
|
1553 } xcb_randr_resource_change_t;
|
jpayne@69
|
1554
|
jpayne@69
|
1555 /**
|
jpayne@69
|
1556 * @brief xcb_randr_resource_change_iterator_t
|
jpayne@69
|
1557 **/
|
jpayne@69
|
1558 typedef struct xcb_randr_resource_change_iterator_t {
|
jpayne@69
|
1559 xcb_randr_resource_change_t *data;
|
jpayne@69
|
1560 int rem;
|
jpayne@69
|
1561 int index;
|
jpayne@69
|
1562 } xcb_randr_resource_change_iterator_t;
|
jpayne@69
|
1563
|
jpayne@69
|
1564 /**
|
jpayne@69
|
1565 * @brief xcb_randr_monitor_info_t
|
jpayne@69
|
1566 **/
|
jpayne@69
|
1567 typedef struct xcb_randr_monitor_info_t {
|
jpayne@69
|
1568 xcb_atom_t name;
|
jpayne@69
|
1569 uint8_t primary;
|
jpayne@69
|
1570 uint8_t automatic;
|
jpayne@69
|
1571 uint16_t nOutput;
|
jpayne@69
|
1572 int16_t x;
|
jpayne@69
|
1573 int16_t y;
|
jpayne@69
|
1574 uint16_t width;
|
jpayne@69
|
1575 uint16_t height;
|
jpayne@69
|
1576 uint32_t width_in_millimeters;
|
jpayne@69
|
1577 uint32_t height_in_millimeters;
|
jpayne@69
|
1578 } xcb_randr_monitor_info_t;
|
jpayne@69
|
1579
|
jpayne@69
|
1580 /**
|
jpayne@69
|
1581 * @brief xcb_randr_monitor_info_iterator_t
|
jpayne@69
|
1582 **/
|
jpayne@69
|
1583 typedef struct xcb_randr_monitor_info_iterator_t {
|
jpayne@69
|
1584 xcb_randr_monitor_info_t *data;
|
jpayne@69
|
1585 int rem;
|
jpayne@69
|
1586 int index;
|
jpayne@69
|
1587 } xcb_randr_monitor_info_iterator_t;
|
jpayne@69
|
1588
|
jpayne@69
|
1589 /**
|
jpayne@69
|
1590 * @brief xcb_randr_get_monitors_cookie_t
|
jpayne@69
|
1591 **/
|
jpayne@69
|
1592 typedef struct xcb_randr_get_monitors_cookie_t {
|
jpayne@69
|
1593 unsigned int sequence;
|
jpayne@69
|
1594 } xcb_randr_get_monitors_cookie_t;
|
jpayne@69
|
1595
|
jpayne@69
|
1596 /** Opcode for xcb_randr_get_monitors. */
|
jpayne@69
|
1597 #define XCB_RANDR_GET_MONITORS 42
|
jpayne@69
|
1598
|
jpayne@69
|
1599 /**
|
jpayne@69
|
1600 * @brief xcb_randr_get_monitors_request_t
|
jpayne@69
|
1601 **/
|
jpayne@69
|
1602 typedef struct xcb_randr_get_monitors_request_t {
|
jpayne@69
|
1603 uint8_t major_opcode;
|
jpayne@69
|
1604 uint8_t minor_opcode;
|
jpayne@69
|
1605 uint16_t length;
|
jpayne@69
|
1606 xcb_window_t window;
|
jpayne@69
|
1607 uint8_t get_active;
|
jpayne@69
|
1608 } xcb_randr_get_monitors_request_t;
|
jpayne@69
|
1609
|
jpayne@69
|
1610 /**
|
jpayne@69
|
1611 * @brief xcb_randr_get_monitors_reply_t
|
jpayne@69
|
1612 **/
|
jpayne@69
|
1613 typedef struct xcb_randr_get_monitors_reply_t {
|
jpayne@69
|
1614 uint8_t response_type;
|
jpayne@69
|
1615 uint8_t pad0;
|
jpayne@69
|
1616 uint16_t sequence;
|
jpayne@69
|
1617 uint32_t length;
|
jpayne@69
|
1618 xcb_timestamp_t timestamp;
|
jpayne@69
|
1619 uint32_t nMonitors;
|
jpayne@69
|
1620 uint32_t nOutputs;
|
jpayne@69
|
1621 uint8_t pad1[12];
|
jpayne@69
|
1622 } xcb_randr_get_monitors_reply_t;
|
jpayne@69
|
1623
|
jpayne@69
|
1624 /** Opcode for xcb_randr_set_monitor. */
|
jpayne@69
|
1625 #define XCB_RANDR_SET_MONITOR 43
|
jpayne@69
|
1626
|
jpayne@69
|
1627 /**
|
jpayne@69
|
1628 * @brief xcb_randr_set_monitor_request_t
|
jpayne@69
|
1629 **/
|
jpayne@69
|
1630 typedef struct xcb_randr_set_monitor_request_t {
|
jpayne@69
|
1631 uint8_t major_opcode;
|
jpayne@69
|
1632 uint8_t minor_opcode;
|
jpayne@69
|
1633 uint16_t length;
|
jpayne@69
|
1634 xcb_window_t window;
|
jpayne@69
|
1635 } xcb_randr_set_monitor_request_t;
|
jpayne@69
|
1636
|
jpayne@69
|
1637 /** Opcode for xcb_randr_delete_monitor. */
|
jpayne@69
|
1638 #define XCB_RANDR_DELETE_MONITOR 44
|
jpayne@69
|
1639
|
jpayne@69
|
1640 /**
|
jpayne@69
|
1641 * @brief xcb_randr_delete_monitor_request_t
|
jpayne@69
|
1642 **/
|
jpayne@69
|
1643 typedef struct xcb_randr_delete_monitor_request_t {
|
jpayne@69
|
1644 uint8_t major_opcode;
|
jpayne@69
|
1645 uint8_t minor_opcode;
|
jpayne@69
|
1646 uint16_t length;
|
jpayne@69
|
1647 xcb_window_t window;
|
jpayne@69
|
1648 xcb_atom_t name;
|
jpayne@69
|
1649 } xcb_randr_delete_monitor_request_t;
|
jpayne@69
|
1650
|
jpayne@69
|
1651 /**
|
jpayne@69
|
1652 * @brief xcb_randr_create_lease_cookie_t
|
jpayne@69
|
1653 **/
|
jpayne@69
|
1654 typedef struct xcb_randr_create_lease_cookie_t {
|
jpayne@69
|
1655 unsigned int sequence;
|
jpayne@69
|
1656 } xcb_randr_create_lease_cookie_t;
|
jpayne@69
|
1657
|
jpayne@69
|
1658 /** Opcode for xcb_randr_create_lease. */
|
jpayne@69
|
1659 #define XCB_RANDR_CREATE_LEASE 45
|
jpayne@69
|
1660
|
jpayne@69
|
1661 /**
|
jpayne@69
|
1662 * @brief xcb_randr_create_lease_request_t
|
jpayne@69
|
1663 **/
|
jpayne@69
|
1664 typedef struct xcb_randr_create_lease_request_t {
|
jpayne@69
|
1665 uint8_t major_opcode;
|
jpayne@69
|
1666 uint8_t minor_opcode;
|
jpayne@69
|
1667 uint16_t length;
|
jpayne@69
|
1668 xcb_window_t window;
|
jpayne@69
|
1669 xcb_randr_lease_t lid;
|
jpayne@69
|
1670 uint16_t num_crtcs;
|
jpayne@69
|
1671 uint16_t num_outputs;
|
jpayne@69
|
1672 } xcb_randr_create_lease_request_t;
|
jpayne@69
|
1673
|
jpayne@69
|
1674 /**
|
jpayne@69
|
1675 * @brief xcb_randr_create_lease_reply_t
|
jpayne@69
|
1676 **/
|
jpayne@69
|
1677 typedef struct xcb_randr_create_lease_reply_t {
|
jpayne@69
|
1678 uint8_t response_type;
|
jpayne@69
|
1679 uint8_t nfd;
|
jpayne@69
|
1680 uint16_t sequence;
|
jpayne@69
|
1681 uint32_t length;
|
jpayne@69
|
1682 uint8_t pad0[24];
|
jpayne@69
|
1683 } xcb_randr_create_lease_reply_t;
|
jpayne@69
|
1684
|
jpayne@69
|
1685 /** Opcode for xcb_randr_free_lease. */
|
jpayne@69
|
1686 #define XCB_RANDR_FREE_LEASE 46
|
jpayne@69
|
1687
|
jpayne@69
|
1688 /**
|
jpayne@69
|
1689 * @brief xcb_randr_free_lease_request_t
|
jpayne@69
|
1690 **/
|
jpayne@69
|
1691 typedef struct xcb_randr_free_lease_request_t {
|
jpayne@69
|
1692 uint8_t major_opcode;
|
jpayne@69
|
1693 uint8_t minor_opcode;
|
jpayne@69
|
1694 uint16_t length;
|
jpayne@69
|
1695 xcb_randr_lease_t lid;
|
jpayne@69
|
1696 uint8_t terminate;
|
jpayne@69
|
1697 } xcb_randr_free_lease_request_t;
|
jpayne@69
|
1698
|
jpayne@69
|
1699 /**
|
jpayne@69
|
1700 * @brief xcb_randr_lease_notify_t
|
jpayne@69
|
1701 **/
|
jpayne@69
|
1702 typedef struct xcb_randr_lease_notify_t {
|
jpayne@69
|
1703 xcb_timestamp_t timestamp;
|
jpayne@69
|
1704 xcb_window_t window;
|
jpayne@69
|
1705 xcb_randr_lease_t lease;
|
jpayne@69
|
1706 uint8_t created;
|
jpayne@69
|
1707 uint8_t pad0[15];
|
jpayne@69
|
1708 } xcb_randr_lease_notify_t;
|
jpayne@69
|
1709
|
jpayne@69
|
1710 /**
|
jpayne@69
|
1711 * @brief xcb_randr_lease_notify_iterator_t
|
jpayne@69
|
1712 **/
|
jpayne@69
|
1713 typedef struct xcb_randr_lease_notify_iterator_t {
|
jpayne@69
|
1714 xcb_randr_lease_notify_t *data;
|
jpayne@69
|
1715 int rem;
|
jpayne@69
|
1716 int index;
|
jpayne@69
|
1717 } xcb_randr_lease_notify_iterator_t;
|
jpayne@69
|
1718
|
jpayne@69
|
1719 /**
|
jpayne@69
|
1720 * @brief xcb_randr_notify_data_t
|
jpayne@69
|
1721 **/
|
jpayne@69
|
1722 typedef union xcb_randr_notify_data_t {
|
jpayne@69
|
1723 xcb_randr_crtc_change_t cc;
|
jpayne@69
|
1724 xcb_randr_output_change_t oc;
|
jpayne@69
|
1725 xcb_randr_output_property_t op;
|
jpayne@69
|
1726 xcb_randr_provider_change_t pc;
|
jpayne@69
|
1727 xcb_randr_provider_property_t pp;
|
jpayne@69
|
1728 xcb_randr_resource_change_t rc;
|
jpayne@69
|
1729 xcb_randr_lease_notify_t lc;
|
jpayne@69
|
1730 } xcb_randr_notify_data_t;
|
jpayne@69
|
1731
|
jpayne@69
|
1732 /**
|
jpayne@69
|
1733 * @brief xcb_randr_notify_data_iterator_t
|
jpayne@69
|
1734 **/
|
jpayne@69
|
1735 typedef struct xcb_randr_notify_data_iterator_t {
|
jpayne@69
|
1736 xcb_randr_notify_data_t *data;
|
jpayne@69
|
1737 int rem;
|
jpayne@69
|
1738 int index;
|
jpayne@69
|
1739 } xcb_randr_notify_data_iterator_t;
|
jpayne@69
|
1740
|
jpayne@69
|
1741 /** Opcode for xcb_randr_notify. */
|
jpayne@69
|
1742 #define XCB_RANDR_NOTIFY 1
|
jpayne@69
|
1743
|
jpayne@69
|
1744 /**
|
jpayne@69
|
1745 * @brief xcb_randr_notify_event_t
|
jpayne@69
|
1746 **/
|
jpayne@69
|
1747 typedef struct xcb_randr_notify_event_t {
|
jpayne@69
|
1748 uint8_t response_type;
|
jpayne@69
|
1749 uint8_t subCode;
|
jpayne@69
|
1750 uint16_t sequence;
|
jpayne@69
|
1751 xcb_randr_notify_data_t u;
|
jpayne@69
|
1752 } xcb_randr_notify_event_t;
|
jpayne@69
|
1753
|
jpayne@69
|
1754 /**
|
jpayne@69
|
1755 * Get the next element of the iterator
|
jpayne@69
|
1756 * @param i Pointer to a xcb_randr_mode_iterator_t
|
jpayne@69
|
1757 *
|
jpayne@69
|
1758 * Get the next element in the iterator. The member rem is
|
jpayne@69
|
1759 * decreased by one. The member data points to the next
|
jpayne@69
|
1760 * element. The member index is increased by sizeof(xcb_randr_mode_t)
|
jpayne@69
|
1761 */
|
jpayne@69
|
1762 void
|
jpayne@69
|
1763 xcb_randr_mode_next (xcb_randr_mode_iterator_t *i);
|
jpayne@69
|
1764
|
jpayne@69
|
1765 /**
|
jpayne@69
|
1766 * Return the iterator pointing to the last element
|
jpayne@69
|
1767 * @param i An xcb_randr_mode_iterator_t
|
jpayne@69
|
1768 * @return The iterator pointing to the last element
|
jpayne@69
|
1769 *
|
jpayne@69
|
1770 * Set the current element in the iterator to the last element.
|
jpayne@69
|
1771 * The member rem is set to 0. The member data points to the
|
jpayne@69
|
1772 * last element.
|
jpayne@69
|
1773 */
|
jpayne@69
|
1774 xcb_generic_iterator_t
|
jpayne@69
|
1775 xcb_randr_mode_end (xcb_randr_mode_iterator_t i);
|
jpayne@69
|
1776
|
jpayne@69
|
1777 /**
|
jpayne@69
|
1778 * Get the next element of the iterator
|
jpayne@69
|
1779 * @param i Pointer to a xcb_randr_crtc_iterator_t
|
jpayne@69
|
1780 *
|
jpayne@69
|
1781 * Get the next element in the iterator. The member rem is
|
jpayne@69
|
1782 * decreased by one. The member data points to the next
|
jpayne@69
|
1783 * element. The member index is increased by sizeof(xcb_randr_crtc_t)
|
jpayne@69
|
1784 */
|
jpayne@69
|
1785 void
|
jpayne@69
|
1786 xcb_randr_crtc_next (xcb_randr_crtc_iterator_t *i);
|
jpayne@69
|
1787
|
jpayne@69
|
1788 /**
|
jpayne@69
|
1789 * Return the iterator pointing to the last element
|
jpayne@69
|
1790 * @param i An xcb_randr_crtc_iterator_t
|
jpayne@69
|
1791 * @return The iterator pointing to the last element
|
jpayne@69
|
1792 *
|
jpayne@69
|
1793 * Set the current element in the iterator to the last element.
|
jpayne@69
|
1794 * The member rem is set to 0. The member data points to the
|
jpayne@69
|
1795 * last element.
|
jpayne@69
|
1796 */
|
jpayne@69
|
1797 xcb_generic_iterator_t
|
jpayne@69
|
1798 xcb_randr_crtc_end (xcb_randr_crtc_iterator_t i);
|
jpayne@69
|
1799
|
jpayne@69
|
1800 /**
|
jpayne@69
|
1801 * Get the next element of the iterator
|
jpayne@69
|
1802 * @param i Pointer to a xcb_randr_output_iterator_t
|
jpayne@69
|
1803 *
|
jpayne@69
|
1804 * Get the next element in the iterator. The member rem is
|
jpayne@69
|
1805 * decreased by one. The member data points to the next
|
jpayne@69
|
1806 * element. The member index is increased by sizeof(xcb_randr_output_t)
|
jpayne@69
|
1807 */
|
jpayne@69
|
1808 void
|
jpayne@69
|
1809 xcb_randr_output_next (xcb_randr_output_iterator_t *i);
|
jpayne@69
|
1810
|
jpayne@69
|
1811 /**
|
jpayne@69
|
1812 * Return the iterator pointing to the last element
|
jpayne@69
|
1813 * @param i An xcb_randr_output_iterator_t
|
jpayne@69
|
1814 * @return The iterator pointing to the last element
|
jpayne@69
|
1815 *
|
jpayne@69
|
1816 * Set the current element in the iterator to the last element.
|
jpayne@69
|
1817 * The member rem is set to 0. The member data points to the
|
jpayne@69
|
1818 * last element.
|
jpayne@69
|
1819 */
|
jpayne@69
|
1820 xcb_generic_iterator_t
|
jpayne@69
|
1821 xcb_randr_output_end (xcb_randr_output_iterator_t i);
|
jpayne@69
|
1822
|
jpayne@69
|
1823 /**
|
jpayne@69
|
1824 * Get the next element of the iterator
|
jpayne@69
|
1825 * @param i Pointer to a xcb_randr_provider_iterator_t
|
jpayne@69
|
1826 *
|
jpayne@69
|
1827 * Get the next element in the iterator. The member rem is
|
jpayne@69
|
1828 * decreased by one. The member data points to the next
|
jpayne@69
|
1829 * element. The member index is increased by sizeof(xcb_randr_provider_t)
|
jpayne@69
|
1830 */
|
jpayne@69
|
1831 void
|
jpayne@69
|
1832 xcb_randr_provider_next (xcb_randr_provider_iterator_t *i);
|
jpayne@69
|
1833
|
jpayne@69
|
1834 /**
|
jpayne@69
|
1835 * Return the iterator pointing to the last element
|
jpayne@69
|
1836 * @param i An xcb_randr_provider_iterator_t
|
jpayne@69
|
1837 * @return The iterator pointing to the last element
|
jpayne@69
|
1838 *
|
jpayne@69
|
1839 * Set the current element in the iterator to the last element.
|
jpayne@69
|
1840 * The member rem is set to 0. The member data points to the
|
jpayne@69
|
1841 * last element.
|
jpayne@69
|
1842 */
|
jpayne@69
|
1843 xcb_generic_iterator_t
|
jpayne@69
|
1844 xcb_randr_provider_end (xcb_randr_provider_iterator_t i);
|
jpayne@69
|
1845
|
jpayne@69
|
1846 /**
|
jpayne@69
|
1847 * Get the next element of the iterator
|
jpayne@69
|
1848 * @param i Pointer to a xcb_randr_lease_iterator_t
|
jpayne@69
|
1849 *
|
jpayne@69
|
1850 * Get the next element in the iterator. The member rem is
|
jpayne@69
|
1851 * decreased by one. The member data points to the next
|
jpayne@69
|
1852 * element. The member index is increased by sizeof(xcb_randr_lease_t)
|
jpayne@69
|
1853 */
|
jpayne@69
|
1854 void
|
jpayne@69
|
1855 xcb_randr_lease_next (xcb_randr_lease_iterator_t *i);
|
jpayne@69
|
1856
|
jpayne@69
|
1857 /**
|
jpayne@69
|
1858 * Return the iterator pointing to the last element
|
jpayne@69
|
1859 * @param i An xcb_randr_lease_iterator_t
|
jpayne@69
|
1860 * @return The iterator pointing to the last element
|
jpayne@69
|
1861 *
|
jpayne@69
|
1862 * Set the current element in the iterator to the last element.
|
jpayne@69
|
1863 * The member rem is set to 0. The member data points to the
|
jpayne@69
|
1864 * last element.
|
jpayne@69
|
1865 */
|
jpayne@69
|
1866 xcb_generic_iterator_t
|
jpayne@69
|
1867 xcb_randr_lease_end (xcb_randr_lease_iterator_t i);
|
jpayne@69
|
1868
|
jpayne@69
|
1869 /**
|
jpayne@69
|
1870 * Get the next element of the iterator
|
jpayne@69
|
1871 * @param i Pointer to a xcb_randr_screen_size_iterator_t
|
jpayne@69
|
1872 *
|
jpayne@69
|
1873 * Get the next element in the iterator. The member rem is
|
jpayne@69
|
1874 * decreased by one. The member data points to the next
|
jpayne@69
|
1875 * element. The member index is increased by sizeof(xcb_randr_screen_size_t)
|
jpayne@69
|
1876 */
|
jpayne@69
|
1877 void
|
jpayne@69
|
1878 xcb_randr_screen_size_next (xcb_randr_screen_size_iterator_t *i);
|
jpayne@69
|
1879
|
jpayne@69
|
1880 /**
|
jpayne@69
|
1881 * Return the iterator pointing to the last element
|
jpayne@69
|
1882 * @param i An xcb_randr_screen_size_iterator_t
|
jpayne@69
|
1883 * @return The iterator pointing to the last element
|
jpayne@69
|
1884 *
|
jpayne@69
|
1885 * Set the current element in the iterator to the last element.
|
jpayne@69
|
1886 * The member rem is set to 0. The member data points to the
|
jpayne@69
|
1887 * last element.
|
jpayne@69
|
1888 */
|
jpayne@69
|
1889 xcb_generic_iterator_t
|
jpayne@69
|
1890 xcb_randr_screen_size_end (xcb_randr_screen_size_iterator_t i);
|
jpayne@69
|
1891
|
jpayne@69
|
1892 int
|
jpayne@69
|
1893 xcb_randr_refresh_rates_sizeof (const void *_buffer);
|
jpayne@69
|
1894
|
jpayne@69
|
1895 uint16_t *
|
jpayne@69
|
1896 xcb_randr_refresh_rates_rates (const xcb_randr_refresh_rates_t *R);
|
jpayne@69
|
1897
|
jpayne@69
|
1898 int
|
jpayne@69
|
1899 xcb_randr_refresh_rates_rates_length (const xcb_randr_refresh_rates_t *R);
|
jpayne@69
|
1900
|
jpayne@69
|
1901 xcb_generic_iterator_t
|
jpayne@69
|
1902 xcb_randr_refresh_rates_rates_end (const xcb_randr_refresh_rates_t *R);
|
jpayne@69
|
1903
|
jpayne@69
|
1904 /**
|
jpayne@69
|
1905 * Get the next element of the iterator
|
jpayne@69
|
1906 * @param i Pointer to a xcb_randr_refresh_rates_iterator_t
|
jpayne@69
|
1907 *
|
jpayne@69
|
1908 * Get the next element in the iterator. The member rem is
|
jpayne@69
|
1909 * decreased by one. The member data points to the next
|
jpayne@69
|
1910 * element. The member index is increased by sizeof(xcb_randr_refresh_rates_t)
|
jpayne@69
|
1911 */
|
jpayne@69
|
1912 void
|
jpayne@69
|
1913 xcb_randr_refresh_rates_next (xcb_randr_refresh_rates_iterator_t *i);
|
jpayne@69
|
1914
|
jpayne@69
|
1915 /**
|
jpayne@69
|
1916 * Return the iterator pointing to the last element
|
jpayne@69
|
1917 * @param i An xcb_randr_refresh_rates_iterator_t
|
jpayne@69
|
1918 * @return The iterator pointing to the last element
|
jpayne@69
|
1919 *
|
jpayne@69
|
1920 * Set the current element in the iterator to the last element.
|
jpayne@69
|
1921 * The member rem is set to 0. The member data points to the
|
jpayne@69
|
1922 * last element.
|
jpayne@69
|
1923 */
|
jpayne@69
|
1924 xcb_generic_iterator_t
|
jpayne@69
|
1925 xcb_randr_refresh_rates_end (xcb_randr_refresh_rates_iterator_t i);
|
jpayne@69
|
1926
|
jpayne@69
|
1927 /**
|
jpayne@69
|
1928 *
|
jpayne@69
|
1929 * @param c The connection
|
jpayne@69
|
1930 * @return A cookie
|
jpayne@69
|
1931 *
|
jpayne@69
|
1932 * Delivers a request to the X server.
|
jpayne@69
|
1933 *
|
jpayne@69
|
1934 */
|
jpayne@69
|
1935 xcb_randr_query_version_cookie_t
|
jpayne@69
|
1936 xcb_randr_query_version (xcb_connection_t *c,
|
jpayne@69
|
1937 uint32_t major_version,
|
jpayne@69
|
1938 uint32_t minor_version);
|
jpayne@69
|
1939
|
jpayne@69
|
1940 /**
|
jpayne@69
|
1941 *
|
jpayne@69
|
1942 * @param c The connection
|
jpayne@69
|
1943 * @return A cookie
|
jpayne@69
|
1944 *
|
jpayne@69
|
1945 * Delivers a request to the X server.
|
jpayne@69
|
1946 *
|
jpayne@69
|
1947 * This form can be used only if the request will cause
|
jpayne@69
|
1948 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1949 * placed in the event queue.
|
jpayne@69
|
1950 */
|
jpayne@69
|
1951 xcb_randr_query_version_cookie_t
|
jpayne@69
|
1952 xcb_randr_query_version_unchecked (xcb_connection_t *c,
|
jpayne@69
|
1953 uint32_t major_version,
|
jpayne@69
|
1954 uint32_t minor_version);
|
jpayne@69
|
1955
|
jpayne@69
|
1956 /**
|
jpayne@69
|
1957 * Return the reply
|
jpayne@69
|
1958 * @param c The connection
|
jpayne@69
|
1959 * @param cookie The cookie
|
jpayne@69
|
1960 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
1961 *
|
jpayne@69
|
1962 * Returns the reply of the request asked by
|
jpayne@69
|
1963 *
|
jpayne@69
|
1964 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
1965 * xcb_randr_query_version_unchecked(). is used.
|
jpayne@69
|
1966 * Otherwise, it stores the error if any.
|
jpayne@69
|
1967 *
|
jpayne@69
|
1968 * The returned value must be freed by the caller using free().
|
jpayne@69
|
1969 */
|
jpayne@69
|
1970 xcb_randr_query_version_reply_t *
|
jpayne@69
|
1971 xcb_randr_query_version_reply (xcb_connection_t *c,
|
jpayne@69
|
1972 xcb_randr_query_version_cookie_t cookie /**< */,
|
jpayne@69
|
1973 xcb_generic_error_t **e);
|
jpayne@69
|
1974
|
jpayne@69
|
1975 /**
|
jpayne@69
|
1976 *
|
jpayne@69
|
1977 * @param c The connection
|
jpayne@69
|
1978 * @return A cookie
|
jpayne@69
|
1979 *
|
jpayne@69
|
1980 * Delivers a request to the X server.
|
jpayne@69
|
1981 *
|
jpayne@69
|
1982 */
|
jpayne@69
|
1983 xcb_randr_set_screen_config_cookie_t
|
jpayne@69
|
1984 xcb_randr_set_screen_config (xcb_connection_t *c,
|
jpayne@69
|
1985 xcb_window_t window,
|
jpayne@69
|
1986 xcb_timestamp_t timestamp,
|
jpayne@69
|
1987 xcb_timestamp_t config_timestamp,
|
jpayne@69
|
1988 uint16_t sizeID,
|
jpayne@69
|
1989 uint16_t rotation,
|
jpayne@69
|
1990 uint16_t rate);
|
jpayne@69
|
1991
|
jpayne@69
|
1992 /**
|
jpayne@69
|
1993 *
|
jpayne@69
|
1994 * @param c The connection
|
jpayne@69
|
1995 * @return A cookie
|
jpayne@69
|
1996 *
|
jpayne@69
|
1997 * Delivers a request to the X server.
|
jpayne@69
|
1998 *
|
jpayne@69
|
1999 * This form can be used only if the request will cause
|
jpayne@69
|
2000 * a reply to be generated. Any returned error will be
|
jpayne@69
|
2001 * placed in the event queue.
|
jpayne@69
|
2002 */
|
jpayne@69
|
2003 xcb_randr_set_screen_config_cookie_t
|
jpayne@69
|
2004 xcb_randr_set_screen_config_unchecked (xcb_connection_t *c,
|
jpayne@69
|
2005 xcb_window_t window,
|
jpayne@69
|
2006 xcb_timestamp_t timestamp,
|
jpayne@69
|
2007 xcb_timestamp_t config_timestamp,
|
jpayne@69
|
2008 uint16_t sizeID,
|
jpayne@69
|
2009 uint16_t rotation,
|
jpayne@69
|
2010 uint16_t rate);
|
jpayne@69
|
2011
|
jpayne@69
|
2012 /**
|
jpayne@69
|
2013 * Return the reply
|
jpayne@69
|
2014 * @param c The connection
|
jpayne@69
|
2015 * @param cookie The cookie
|
jpayne@69
|
2016 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
2017 *
|
jpayne@69
|
2018 * Returns the reply of the request asked by
|
jpayne@69
|
2019 *
|
jpayne@69
|
2020 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
2021 * xcb_randr_set_screen_config_unchecked(). is used.
|
jpayne@69
|
2022 * Otherwise, it stores the error if any.
|
jpayne@69
|
2023 *
|
jpayne@69
|
2024 * The returned value must be freed by the caller using free().
|
jpayne@69
|
2025 */
|
jpayne@69
|
2026 xcb_randr_set_screen_config_reply_t *
|
jpayne@69
|
2027 xcb_randr_set_screen_config_reply (xcb_connection_t *c,
|
jpayne@69
|
2028 xcb_randr_set_screen_config_cookie_t cookie /**< */,
|
jpayne@69
|
2029 xcb_generic_error_t **e);
|
jpayne@69
|
2030
|
jpayne@69
|
2031 /**
|
jpayne@69
|
2032 *
|
jpayne@69
|
2033 * @param c The connection
|
jpayne@69
|
2034 * @return A cookie
|
jpayne@69
|
2035 *
|
jpayne@69
|
2036 * Delivers a request to the X server.
|
jpayne@69
|
2037 *
|
jpayne@69
|
2038 * This form can be used only if the request will not cause
|
jpayne@69
|
2039 * a reply to be generated. Any returned error will be
|
jpayne@69
|
2040 * saved for handling by xcb_request_check().
|
jpayne@69
|
2041 */
|
jpayne@69
|
2042 xcb_void_cookie_t
|
jpayne@69
|
2043 xcb_randr_select_input_checked (xcb_connection_t *c,
|
jpayne@69
|
2044 xcb_window_t window,
|
jpayne@69
|
2045 uint16_t enable);
|
jpayne@69
|
2046
|
jpayne@69
|
2047 /**
|
jpayne@69
|
2048 *
|
jpayne@69
|
2049 * @param c The connection
|
jpayne@69
|
2050 * @return A cookie
|
jpayne@69
|
2051 *
|
jpayne@69
|
2052 * Delivers a request to the X server.
|
jpayne@69
|
2053 *
|
jpayne@69
|
2054 */
|
jpayne@69
|
2055 xcb_void_cookie_t
|
jpayne@69
|
2056 xcb_randr_select_input (xcb_connection_t *c,
|
jpayne@69
|
2057 xcb_window_t window,
|
jpayne@69
|
2058 uint16_t enable);
|
jpayne@69
|
2059
|
jpayne@69
|
2060 int
|
jpayne@69
|
2061 xcb_randr_get_screen_info_sizeof (const void *_buffer);
|
jpayne@69
|
2062
|
jpayne@69
|
2063 /**
|
jpayne@69
|
2064 *
|
jpayne@69
|
2065 * @param c The connection
|
jpayne@69
|
2066 * @return A cookie
|
jpayne@69
|
2067 *
|
jpayne@69
|
2068 * Delivers a request to the X server.
|
jpayne@69
|
2069 *
|
jpayne@69
|
2070 */
|
jpayne@69
|
2071 xcb_randr_get_screen_info_cookie_t
|
jpayne@69
|
2072 xcb_randr_get_screen_info (xcb_connection_t *c,
|
jpayne@69
|
2073 xcb_window_t window);
|
jpayne@69
|
2074
|
jpayne@69
|
2075 /**
|
jpayne@69
|
2076 *
|
jpayne@69
|
2077 * @param c The connection
|
jpayne@69
|
2078 * @return A cookie
|
jpayne@69
|
2079 *
|
jpayne@69
|
2080 * Delivers a request to the X server.
|
jpayne@69
|
2081 *
|
jpayne@69
|
2082 * This form can be used only if the request will cause
|
jpayne@69
|
2083 * a reply to be generated. Any returned error will be
|
jpayne@69
|
2084 * placed in the event queue.
|
jpayne@69
|
2085 */
|
jpayne@69
|
2086 xcb_randr_get_screen_info_cookie_t
|
jpayne@69
|
2087 xcb_randr_get_screen_info_unchecked (xcb_connection_t *c,
|
jpayne@69
|
2088 xcb_window_t window);
|
jpayne@69
|
2089
|
jpayne@69
|
2090 xcb_randr_screen_size_t *
|
jpayne@69
|
2091 xcb_randr_get_screen_info_sizes (const xcb_randr_get_screen_info_reply_t *R);
|
jpayne@69
|
2092
|
jpayne@69
|
2093 int
|
jpayne@69
|
2094 xcb_randr_get_screen_info_sizes_length (const xcb_randr_get_screen_info_reply_t *R);
|
jpayne@69
|
2095
|
jpayne@69
|
2096 xcb_randr_screen_size_iterator_t
|
jpayne@69
|
2097 xcb_randr_get_screen_info_sizes_iterator (const xcb_randr_get_screen_info_reply_t *R);
|
jpayne@69
|
2098
|
jpayne@69
|
2099 int
|
jpayne@69
|
2100 xcb_randr_get_screen_info_rates_length (const xcb_randr_get_screen_info_reply_t *R);
|
jpayne@69
|
2101
|
jpayne@69
|
2102 xcb_randr_refresh_rates_iterator_t
|
jpayne@69
|
2103 xcb_randr_get_screen_info_rates_iterator (const xcb_randr_get_screen_info_reply_t *R);
|
jpayne@69
|
2104
|
jpayne@69
|
2105 /**
|
jpayne@69
|
2106 * Return the reply
|
jpayne@69
|
2107 * @param c The connection
|
jpayne@69
|
2108 * @param cookie The cookie
|
jpayne@69
|
2109 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
2110 *
|
jpayne@69
|
2111 * Returns the reply of the request asked by
|
jpayne@69
|
2112 *
|
jpayne@69
|
2113 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
2114 * xcb_randr_get_screen_info_unchecked(). is used.
|
jpayne@69
|
2115 * Otherwise, it stores the error if any.
|
jpayne@69
|
2116 *
|
jpayne@69
|
2117 * The returned value must be freed by the caller using free().
|
jpayne@69
|
2118 */
|
jpayne@69
|
2119 xcb_randr_get_screen_info_reply_t *
|
jpayne@69
|
2120 xcb_randr_get_screen_info_reply (xcb_connection_t *c,
|
jpayne@69
|
2121 xcb_randr_get_screen_info_cookie_t cookie /**< */,
|
jpayne@69
|
2122 xcb_generic_error_t **e);
|
jpayne@69
|
2123
|
jpayne@69
|
2124 /**
|
jpayne@69
|
2125 *
|
jpayne@69
|
2126 * @param c The connection
|
jpayne@69
|
2127 * @return A cookie
|
jpayne@69
|
2128 *
|
jpayne@69
|
2129 * Delivers a request to the X server.
|
jpayne@69
|
2130 *
|
jpayne@69
|
2131 */
|
jpayne@69
|
2132 xcb_randr_get_screen_size_range_cookie_t
|
jpayne@69
|
2133 xcb_randr_get_screen_size_range (xcb_connection_t *c,
|
jpayne@69
|
2134 xcb_window_t window);
|
jpayne@69
|
2135
|
jpayne@69
|
2136 /**
|
jpayne@69
|
2137 *
|
jpayne@69
|
2138 * @param c The connection
|
jpayne@69
|
2139 * @return A cookie
|
jpayne@69
|
2140 *
|
jpayne@69
|
2141 * Delivers a request to the X server.
|
jpayne@69
|
2142 *
|
jpayne@69
|
2143 * This form can be used only if the request will cause
|
jpayne@69
|
2144 * a reply to be generated. Any returned error will be
|
jpayne@69
|
2145 * placed in the event queue.
|
jpayne@69
|
2146 */
|
jpayne@69
|
2147 xcb_randr_get_screen_size_range_cookie_t
|
jpayne@69
|
2148 xcb_randr_get_screen_size_range_unchecked (xcb_connection_t *c,
|
jpayne@69
|
2149 xcb_window_t window);
|
jpayne@69
|
2150
|
jpayne@69
|
2151 /**
|
jpayne@69
|
2152 * Return the reply
|
jpayne@69
|
2153 * @param c The connection
|
jpayne@69
|
2154 * @param cookie The cookie
|
jpayne@69
|
2155 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
2156 *
|
jpayne@69
|
2157 * Returns the reply of the request asked by
|
jpayne@69
|
2158 *
|
jpayne@69
|
2159 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
2160 * xcb_randr_get_screen_size_range_unchecked(). is used.
|
jpayne@69
|
2161 * Otherwise, it stores the error if any.
|
jpayne@69
|
2162 *
|
jpayne@69
|
2163 * The returned value must be freed by the caller using free().
|
jpayne@69
|
2164 */
|
jpayne@69
|
2165 xcb_randr_get_screen_size_range_reply_t *
|
jpayne@69
|
2166 xcb_randr_get_screen_size_range_reply (xcb_connection_t *c,
|
jpayne@69
|
2167 xcb_randr_get_screen_size_range_cookie_t cookie /**< */,
|
jpayne@69
|
2168 xcb_generic_error_t **e);
|
jpayne@69
|
2169
|
jpayne@69
|
2170 /**
|
jpayne@69
|
2171 *
|
jpayne@69
|
2172 * @param c The connection
|
jpayne@69
|
2173 * @return A cookie
|
jpayne@69
|
2174 *
|
jpayne@69
|
2175 * Delivers a request to the X server.
|
jpayne@69
|
2176 *
|
jpayne@69
|
2177 * This form can be used only if the request will not cause
|
jpayne@69
|
2178 * a reply to be generated. Any returned error will be
|
jpayne@69
|
2179 * saved for handling by xcb_request_check().
|
jpayne@69
|
2180 */
|
jpayne@69
|
2181 xcb_void_cookie_t
|
jpayne@69
|
2182 xcb_randr_set_screen_size_checked (xcb_connection_t *c,
|
jpayne@69
|
2183 xcb_window_t window,
|
jpayne@69
|
2184 uint16_t width,
|
jpayne@69
|
2185 uint16_t height,
|
jpayne@69
|
2186 uint32_t mm_width,
|
jpayne@69
|
2187 uint32_t mm_height);
|
jpayne@69
|
2188
|
jpayne@69
|
2189 /**
|
jpayne@69
|
2190 *
|
jpayne@69
|
2191 * @param c The connection
|
jpayne@69
|
2192 * @return A cookie
|
jpayne@69
|
2193 *
|
jpayne@69
|
2194 * Delivers a request to the X server.
|
jpayne@69
|
2195 *
|
jpayne@69
|
2196 */
|
jpayne@69
|
2197 xcb_void_cookie_t
|
jpayne@69
|
2198 xcb_randr_set_screen_size (xcb_connection_t *c,
|
jpayne@69
|
2199 xcb_window_t window,
|
jpayne@69
|
2200 uint16_t width,
|
jpayne@69
|
2201 uint16_t height,
|
jpayne@69
|
2202 uint32_t mm_width,
|
jpayne@69
|
2203 uint32_t mm_height);
|
jpayne@69
|
2204
|
jpayne@69
|
2205 /**
|
jpayne@69
|
2206 * Get the next element of the iterator
|
jpayne@69
|
2207 * @param i Pointer to a xcb_randr_mode_info_iterator_t
|
jpayne@69
|
2208 *
|
jpayne@69
|
2209 * Get the next element in the iterator. The member rem is
|
jpayne@69
|
2210 * decreased by one. The member data points to the next
|
jpayne@69
|
2211 * element. The member index is increased by sizeof(xcb_randr_mode_info_t)
|
jpayne@69
|
2212 */
|
jpayne@69
|
2213 void
|
jpayne@69
|
2214 xcb_randr_mode_info_next (xcb_randr_mode_info_iterator_t *i);
|
jpayne@69
|
2215
|
jpayne@69
|
2216 /**
|
jpayne@69
|
2217 * Return the iterator pointing to the last element
|
jpayne@69
|
2218 * @param i An xcb_randr_mode_info_iterator_t
|
jpayne@69
|
2219 * @return The iterator pointing to the last element
|
jpayne@69
|
2220 *
|
jpayne@69
|
2221 * Set the current element in the iterator to the last element.
|
jpayne@69
|
2222 * The member rem is set to 0. The member data points to the
|
jpayne@69
|
2223 * last element.
|
jpayne@69
|
2224 */
|
jpayne@69
|
2225 xcb_generic_iterator_t
|
jpayne@69
|
2226 xcb_randr_mode_info_end (xcb_randr_mode_info_iterator_t i);
|
jpayne@69
|
2227
|
jpayne@69
|
2228 int
|
jpayne@69
|
2229 xcb_randr_get_screen_resources_sizeof (const void *_buffer);
|
jpayne@69
|
2230
|
jpayne@69
|
2231 /**
|
jpayne@69
|
2232 *
|
jpayne@69
|
2233 * @param c The connection
|
jpayne@69
|
2234 * @return A cookie
|
jpayne@69
|
2235 *
|
jpayne@69
|
2236 * Delivers a request to the X server.
|
jpayne@69
|
2237 *
|
jpayne@69
|
2238 */
|
jpayne@69
|
2239 xcb_randr_get_screen_resources_cookie_t
|
jpayne@69
|
2240 xcb_randr_get_screen_resources (xcb_connection_t *c,
|
jpayne@69
|
2241 xcb_window_t window);
|
jpayne@69
|
2242
|
jpayne@69
|
2243 /**
|
jpayne@69
|
2244 *
|
jpayne@69
|
2245 * @param c The connection
|
jpayne@69
|
2246 * @return A cookie
|
jpayne@69
|
2247 *
|
jpayne@69
|
2248 * Delivers a request to the X server.
|
jpayne@69
|
2249 *
|
jpayne@69
|
2250 * This form can be used only if the request will cause
|
jpayne@69
|
2251 * a reply to be generated. Any returned error will be
|
jpayne@69
|
2252 * placed in the event queue.
|
jpayne@69
|
2253 */
|
jpayne@69
|
2254 xcb_randr_get_screen_resources_cookie_t
|
jpayne@69
|
2255 xcb_randr_get_screen_resources_unchecked (xcb_connection_t *c,
|
jpayne@69
|
2256 xcb_window_t window);
|
jpayne@69
|
2257
|
jpayne@69
|
2258 xcb_randr_crtc_t *
|
jpayne@69
|
2259 xcb_randr_get_screen_resources_crtcs (const xcb_randr_get_screen_resources_reply_t *R);
|
jpayne@69
|
2260
|
jpayne@69
|
2261 int
|
jpayne@69
|
2262 xcb_randr_get_screen_resources_crtcs_length (const xcb_randr_get_screen_resources_reply_t *R);
|
jpayne@69
|
2263
|
jpayne@69
|
2264 xcb_generic_iterator_t
|
jpayne@69
|
2265 xcb_randr_get_screen_resources_crtcs_end (const xcb_randr_get_screen_resources_reply_t *R);
|
jpayne@69
|
2266
|
jpayne@69
|
2267 xcb_randr_output_t *
|
jpayne@69
|
2268 xcb_randr_get_screen_resources_outputs (const xcb_randr_get_screen_resources_reply_t *R);
|
jpayne@69
|
2269
|
jpayne@69
|
2270 int
|
jpayne@69
|
2271 xcb_randr_get_screen_resources_outputs_length (const xcb_randr_get_screen_resources_reply_t *R);
|
jpayne@69
|
2272
|
jpayne@69
|
2273 xcb_generic_iterator_t
|
jpayne@69
|
2274 xcb_randr_get_screen_resources_outputs_end (const xcb_randr_get_screen_resources_reply_t *R);
|
jpayne@69
|
2275
|
jpayne@69
|
2276 xcb_randr_mode_info_t *
|
jpayne@69
|
2277 xcb_randr_get_screen_resources_modes (const xcb_randr_get_screen_resources_reply_t *R);
|
jpayne@69
|
2278
|
jpayne@69
|
2279 int
|
jpayne@69
|
2280 xcb_randr_get_screen_resources_modes_length (const xcb_randr_get_screen_resources_reply_t *R);
|
jpayne@69
|
2281
|
jpayne@69
|
2282 xcb_randr_mode_info_iterator_t
|
jpayne@69
|
2283 xcb_randr_get_screen_resources_modes_iterator (const xcb_randr_get_screen_resources_reply_t *R);
|
jpayne@69
|
2284
|
jpayne@69
|
2285 uint8_t *
|
jpayne@69
|
2286 xcb_randr_get_screen_resources_names (const xcb_randr_get_screen_resources_reply_t *R);
|
jpayne@69
|
2287
|
jpayne@69
|
2288 int
|
jpayne@69
|
2289 xcb_randr_get_screen_resources_names_length (const xcb_randr_get_screen_resources_reply_t *R);
|
jpayne@69
|
2290
|
jpayne@69
|
2291 xcb_generic_iterator_t
|
jpayne@69
|
2292 xcb_randr_get_screen_resources_names_end (const xcb_randr_get_screen_resources_reply_t *R);
|
jpayne@69
|
2293
|
jpayne@69
|
2294 /**
|
jpayne@69
|
2295 * Return the reply
|
jpayne@69
|
2296 * @param c The connection
|
jpayne@69
|
2297 * @param cookie The cookie
|
jpayne@69
|
2298 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
2299 *
|
jpayne@69
|
2300 * Returns the reply of the request asked by
|
jpayne@69
|
2301 *
|
jpayne@69
|
2302 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
2303 * xcb_randr_get_screen_resources_unchecked(). is used.
|
jpayne@69
|
2304 * Otherwise, it stores the error if any.
|
jpayne@69
|
2305 *
|
jpayne@69
|
2306 * The returned value must be freed by the caller using free().
|
jpayne@69
|
2307 */
|
jpayne@69
|
2308 xcb_randr_get_screen_resources_reply_t *
|
jpayne@69
|
2309 xcb_randr_get_screen_resources_reply (xcb_connection_t *c,
|
jpayne@69
|
2310 xcb_randr_get_screen_resources_cookie_t cookie /**< */,
|
jpayne@69
|
2311 xcb_generic_error_t **e);
|
jpayne@69
|
2312
|
jpayne@69
|
2313 int
|
jpayne@69
|
2314 xcb_randr_get_output_info_sizeof (const void *_buffer);
|
jpayne@69
|
2315
|
jpayne@69
|
2316 /**
|
jpayne@69
|
2317 *
|
jpayne@69
|
2318 * @param c The connection
|
jpayne@69
|
2319 * @return A cookie
|
jpayne@69
|
2320 *
|
jpayne@69
|
2321 * Delivers a request to the X server.
|
jpayne@69
|
2322 *
|
jpayne@69
|
2323 */
|
jpayne@69
|
2324 xcb_randr_get_output_info_cookie_t
|
jpayne@69
|
2325 xcb_randr_get_output_info (xcb_connection_t *c,
|
jpayne@69
|
2326 xcb_randr_output_t output,
|
jpayne@69
|
2327 xcb_timestamp_t config_timestamp);
|
jpayne@69
|
2328
|
jpayne@69
|
2329 /**
|
jpayne@69
|
2330 *
|
jpayne@69
|
2331 * @param c The connection
|
jpayne@69
|
2332 * @return A cookie
|
jpayne@69
|
2333 *
|
jpayne@69
|
2334 * Delivers a request to the X server.
|
jpayne@69
|
2335 *
|
jpayne@69
|
2336 * This form can be used only if the request will cause
|
jpayne@69
|
2337 * a reply to be generated. Any returned error will be
|
jpayne@69
|
2338 * placed in the event queue.
|
jpayne@69
|
2339 */
|
jpayne@69
|
2340 xcb_randr_get_output_info_cookie_t
|
jpayne@69
|
2341 xcb_randr_get_output_info_unchecked (xcb_connection_t *c,
|
jpayne@69
|
2342 xcb_randr_output_t output,
|
jpayne@69
|
2343 xcb_timestamp_t config_timestamp);
|
jpayne@69
|
2344
|
jpayne@69
|
2345 xcb_randr_crtc_t *
|
jpayne@69
|
2346 xcb_randr_get_output_info_crtcs (const xcb_randr_get_output_info_reply_t *R);
|
jpayne@69
|
2347
|
jpayne@69
|
2348 int
|
jpayne@69
|
2349 xcb_randr_get_output_info_crtcs_length (const xcb_randr_get_output_info_reply_t *R);
|
jpayne@69
|
2350
|
jpayne@69
|
2351 xcb_generic_iterator_t
|
jpayne@69
|
2352 xcb_randr_get_output_info_crtcs_end (const xcb_randr_get_output_info_reply_t *R);
|
jpayne@69
|
2353
|
jpayne@69
|
2354 xcb_randr_mode_t *
|
jpayne@69
|
2355 xcb_randr_get_output_info_modes (const xcb_randr_get_output_info_reply_t *R);
|
jpayne@69
|
2356
|
jpayne@69
|
2357 int
|
jpayne@69
|
2358 xcb_randr_get_output_info_modes_length (const xcb_randr_get_output_info_reply_t *R);
|
jpayne@69
|
2359
|
jpayne@69
|
2360 xcb_generic_iterator_t
|
jpayne@69
|
2361 xcb_randr_get_output_info_modes_end (const xcb_randr_get_output_info_reply_t *R);
|
jpayne@69
|
2362
|
jpayne@69
|
2363 xcb_randr_output_t *
|
jpayne@69
|
2364 xcb_randr_get_output_info_clones (const xcb_randr_get_output_info_reply_t *R);
|
jpayne@69
|
2365
|
jpayne@69
|
2366 int
|
jpayne@69
|
2367 xcb_randr_get_output_info_clones_length (const xcb_randr_get_output_info_reply_t *R);
|
jpayne@69
|
2368
|
jpayne@69
|
2369 xcb_generic_iterator_t
|
jpayne@69
|
2370 xcb_randr_get_output_info_clones_end (const xcb_randr_get_output_info_reply_t *R);
|
jpayne@69
|
2371
|
jpayne@69
|
2372 uint8_t *
|
jpayne@69
|
2373 xcb_randr_get_output_info_name (const xcb_randr_get_output_info_reply_t *R);
|
jpayne@69
|
2374
|
jpayne@69
|
2375 int
|
jpayne@69
|
2376 xcb_randr_get_output_info_name_length (const xcb_randr_get_output_info_reply_t *R);
|
jpayne@69
|
2377
|
jpayne@69
|
2378 xcb_generic_iterator_t
|
jpayne@69
|
2379 xcb_randr_get_output_info_name_end (const xcb_randr_get_output_info_reply_t *R);
|
jpayne@69
|
2380
|
jpayne@69
|
2381 /**
|
jpayne@69
|
2382 * Return the reply
|
jpayne@69
|
2383 * @param c The connection
|
jpayne@69
|
2384 * @param cookie The cookie
|
jpayne@69
|
2385 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
2386 *
|
jpayne@69
|
2387 * Returns the reply of the request asked by
|
jpayne@69
|
2388 *
|
jpayne@69
|
2389 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
2390 * xcb_randr_get_output_info_unchecked(). is used.
|
jpayne@69
|
2391 * Otherwise, it stores the error if any.
|
jpayne@69
|
2392 *
|
jpayne@69
|
2393 * The returned value must be freed by the caller using free().
|
jpayne@69
|
2394 */
|
jpayne@69
|
2395 xcb_randr_get_output_info_reply_t *
|
jpayne@69
|
2396 xcb_randr_get_output_info_reply (xcb_connection_t *c,
|
jpayne@69
|
2397 xcb_randr_get_output_info_cookie_t cookie /**< */,
|
jpayne@69
|
2398 xcb_generic_error_t **e);
|
jpayne@69
|
2399
|
jpayne@69
|
2400 int
|
jpayne@69
|
2401 xcb_randr_list_output_properties_sizeof (const void *_buffer);
|
jpayne@69
|
2402
|
jpayne@69
|
2403 /**
|
jpayne@69
|
2404 *
|
jpayne@69
|
2405 * @param c The connection
|
jpayne@69
|
2406 * @return A cookie
|
jpayne@69
|
2407 *
|
jpayne@69
|
2408 * Delivers a request to the X server.
|
jpayne@69
|
2409 *
|
jpayne@69
|
2410 */
|
jpayne@69
|
2411 xcb_randr_list_output_properties_cookie_t
|
jpayne@69
|
2412 xcb_randr_list_output_properties (xcb_connection_t *c,
|
jpayne@69
|
2413 xcb_randr_output_t output);
|
jpayne@69
|
2414
|
jpayne@69
|
2415 /**
|
jpayne@69
|
2416 *
|
jpayne@69
|
2417 * @param c The connection
|
jpayne@69
|
2418 * @return A cookie
|
jpayne@69
|
2419 *
|
jpayne@69
|
2420 * Delivers a request to the X server.
|
jpayne@69
|
2421 *
|
jpayne@69
|
2422 * This form can be used only if the request will cause
|
jpayne@69
|
2423 * a reply to be generated. Any returned error will be
|
jpayne@69
|
2424 * placed in the event queue.
|
jpayne@69
|
2425 */
|
jpayne@69
|
2426 xcb_randr_list_output_properties_cookie_t
|
jpayne@69
|
2427 xcb_randr_list_output_properties_unchecked (xcb_connection_t *c,
|
jpayne@69
|
2428 xcb_randr_output_t output);
|
jpayne@69
|
2429
|
jpayne@69
|
2430 xcb_atom_t *
|
jpayne@69
|
2431 xcb_randr_list_output_properties_atoms (const xcb_randr_list_output_properties_reply_t *R);
|
jpayne@69
|
2432
|
jpayne@69
|
2433 int
|
jpayne@69
|
2434 xcb_randr_list_output_properties_atoms_length (const xcb_randr_list_output_properties_reply_t *R);
|
jpayne@69
|
2435
|
jpayne@69
|
2436 xcb_generic_iterator_t
|
jpayne@69
|
2437 xcb_randr_list_output_properties_atoms_end (const xcb_randr_list_output_properties_reply_t *R);
|
jpayne@69
|
2438
|
jpayne@69
|
2439 /**
|
jpayne@69
|
2440 * Return the reply
|
jpayne@69
|
2441 * @param c The connection
|
jpayne@69
|
2442 * @param cookie The cookie
|
jpayne@69
|
2443 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
2444 *
|
jpayne@69
|
2445 * Returns the reply of the request asked by
|
jpayne@69
|
2446 *
|
jpayne@69
|
2447 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
2448 * xcb_randr_list_output_properties_unchecked(). is used.
|
jpayne@69
|
2449 * Otherwise, it stores the error if any.
|
jpayne@69
|
2450 *
|
jpayne@69
|
2451 * The returned value must be freed by the caller using free().
|
jpayne@69
|
2452 */
|
jpayne@69
|
2453 xcb_randr_list_output_properties_reply_t *
|
jpayne@69
|
2454 xcb_randr_list_output_properties_reply (xcb_connection_t *c,
|
jpayne@69
|
2455 xcb_randr_list_output_properties_cookie_t cookie /**< */,
|
jpayne@69
|
2456 xcb_generic_error_t **e);
|
jpayne@69
|
2457
|
jpayne@69
|
2458 int
|
jpayne@69
|
2459 xcb_randr_query_output_property_sizeof (const void *_buffer);
|
jpayne@69
|
2460
|
jpayne@69
|
2461 /**
|
jpayne@69
|
2462 *
|
jpayne@69
|
2463 * @param c The connection
|
jpayne@69
|
2464 * @return A cookie
|
jpayne@69
|
2465 *
|
jpayne@69
|
2466 * Delivers a request to the X server.
|
jpayne@69
|
2467 *
|
jpayne@69
|
2468 */
|
jpayne@69
|
2469 xcb_randr_query_output_property_cookie_t
|
jpayne@69
|
2470 xcb_randr_query_output_property (xcb_connection_t *c,
|
jpayne@69
|
2471 xcb_randr_output_t output,
|
jpayne@69
|
2472 xcb_atom_t property);
|
jpayne@69
|
2473
|
jpayne@69
|
2474 /**
|
jpayne@69
|
2475 *
|
jpayne@69
|
2476 * @param c The connection
|
jpayne@69
|
2477 * @return A cookie
|
jpayne@69
|
2478 *
|
jpayne@69
|
2479 * Delivers a request to the X server.
|
jpayne@69
|
2480 *
|
jpayne@69
|
2481 * This form can be used only if the request will cause
|
jpayne@69
|
2482 * a reply to be generated. Any returned error will be
|
jpayne@69
|
2483 * placed in the event queue.
|
jpayne@69
|
2484 */
|
jpayne@69
|
2485 xcb_randr_query_output_property_cookie_t
|
jpayne@69
|
2486 xcb_randr_query_output_property_unchecked (xcb_connection_t *c,
|
jpayne@69
|
2487 xcb_randr_output_t output,
|
jpayne@69
|
2488 xcb_atom_t property);
|
jpayne@69
|
2489
|
jpayne@69
|
2490 int32_t *
|
jpayne@69
|
2491 xcb_randr_query_output_property_valid_values (const xcb_randr_query_output_property_reply_t *R);
|
jpayne@69
|
2492
|
jpayne@69
|
2493 int
|
jpayne@69
|
2494 xcb_randr_query_output_property_valid_values_length (const xcb_randr_query_output_property_reply_t *R);
|
jpayne@69
|
2495
|
jpayne@69
|
2496 xcb_generic_iterator_t
|
jpayne@69
|
2497 xcb_randr_query_output_property_valid_values_end (const xcb_randr_query_output_property_reply_t *R);
|
jpayne@69
|
2498
|
jpayne@69
|
2499 /**
|
jpayne@69
|
2500 * Return the reply
|
jpayne@69
|
2501 * @param c The connection
|
jpayne@69
|
2502 * @param cookie The cookie
|
jpayne@69
|
2503 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
2504 *
|
jpayne@69
|
2505 * Returns the reply of the request asked by
|
jpayne@69
|
2506 *
|
jpayne@69
|
2507 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
2508 * xcb_randr_query_output_property_unchecked(). is used.
|
jpayne@69
|
2509 * Otherwise, it stores the error if any.
|
jpayne@69
|
2510 *
|
jpayne@69
|
2511 * The returned value must be freed by the caller using free().
|
jpayne@69
|
2512 */
|
jpayne@69
|
2513 xcb_randr_query_output_property_reply_t *
|
jpayne@69
|
2514 xcb_randr_query_output_property_reply (xcb_connection_t *c,
|
jpayne@69
|
2515 xcb_randr_query_output_property_cookie_t cookie /**< */,
|
jpayne@69
|
2516 xcb_generic_error_t **e);
|
jpayne@69
|
2517
|
jpayne@69
|
2518 int
|
jpayne@69
|
2519 xcb_randr_configure_output_property_sizeof (const void *_buffer,
|
jpayne@69
|
2520 uint32_t values_len);
|
jpayne@69
|
2521
|
jpayne@69
|
2522 /**
|
jpayne@69
|
2523 *
|
jpayne@69
|
2524 * @param c The connection
|
jpayne@69
|
2525 * @return A cookie
|
jpayne@69
|
2526 *
|
jpayne@69
|
2527 * Delivers a request to the X server.
|
jpayne@69
|
2528 *
|
jpayne@69
|
2529 * This form can be used only if the request will not cause
|
jpayne@69
|
2530 * a reply to be generated. Any returned error will be
|
jpayne@69
|
2531 * saved for handling by xcb_request_check().
|
jpayne@69
|
2532 */
|
jpayne@69
|
2533 xcb_void_cookie_t
|
jpayne@69
|
2534 xcb_randr_configure_output_property_checked (xcb_connection_t *c,
|
jpayne@69
|
2535 xcb_randr_output_t output,
|
jpayne@69
|
2536 xcb_atom_t property,
|
jpayne@69
|
2537 uint8_t pending,
|
jpayne@69
|
2538 uint8_t range,
|
jpayne@69
|
2539 uint32_t values_len,
|
jpayne@69
|
2540 const int32_t *values);
|
jpayne@69
|
2541
|
jpayne@69
|
2542 /**
|
jpayne@69
|
2543 *
|
jpayne@69
|
2544 * @param c The connection
|
jpayne@69
|
2545 * @return A cookie
|
jpayne@69
|
2546 *
|
jpayne@69
|
2547 * Delivers a request to the X server.
|
jpayne@69
|
2548 *
|
jpayne@69
|
2549 */
|
jpayne@69
|
2550 xcb_void_cookie_t
|
jpayne@69
|
2551 xcb_randr_configure_output_property (xcb_connection_t *c,
|
jpayne@69
|
2552 xcb_randr_output_t output,
|
jpayne@69
|
2553 xcb_atom_t property,
|
jpayne@69
|
2554 uint8_t pending,
|
jpayne@69
|
2555 uint8_t range,
|
jpayne@69
|
2556 uint32_t values_len,
|
jpayne@69
|
2557 const int32_t *values);
|
jpayne@69
|
2558
|
jpayne@69
|
2559 int32_t *
|
jpayne@69
|
2560 xcb_randr_configure_output_property_values (const xcb_randr_configure_output_property_request_t *R);
|
jpayne@69
|
2561
|
jpayne@69
|
2562 int
|
jpayne@69
|
2563 xcb_randr_configure_output_property_values_length (const xcb_randr_configure_output_property_request_t *R);
|
jpayne@69
|
2564
|
jpayne@69
|
2565 xcb_generic_iterator_t
|
jpayne@69
|
2566 xcb_randr_configure_output_property_values_end (const xcb_randr_configure_output_property_request_t *R);
|
jpayne@69
|
2567
|
jpayne@69
|
2568 int
|
jpayne@69
|
2569 xcb_randr_change_output_property_sizeof (const void *_buffer);
|
jpayne@69
|
2570
|
jpayne@69
|
2571 /**
|
jpayne@69
|
2572 *
|
jpayne@69
|
2573 * @param c The connection
|
jpayne@69
|
2574 * @return A cookie
|
jpayne@69
|
2575 *
|
jpayne@69
|
2576 * Delivers a request to the X server.
|
jpayne@69
|
2577 *
|
jpayne@69
|
2578 * This form can be used only if the request will not cause
|
jpayne@69
|
2579 * a reply to be generated. Any returned error will be
|
jpayne@69
|
2580 * saved for handling by xcb_request_check().
|
jpayne@69
|
2581 */
|
jpayne@69
|
2582 xcb_void_cookie_t
|
jpayne@69
|
2583 xcb_randr_change_output_property_checked (xcb_connection_t *c,
|
jpayne@69
|
2584 xcb_randr_output_t output,
|
jpayne@69
|
2585 xcb_atom_t property,
|
jpayne@69
|
2586 xcb_atom_t type,
|
jpayne@69
|
2587 uint8_t format,
|
jpayne@69
|
2588 uint8_t mode,
|
jpayne@69
|
2589 uint32_t num_units,
|
jpayne@69
|
2590 const void *data);
|
jpayne@69
|
2591
|
jpayne@69
|
2592 /**
|
jpayne@69
|
2593 *
|
jpayne@69
|
2594 * @param c The connection
|
jpayne@69
|
2595 * @return A cookie
|
jpayne@69
|
2596 *
|
jpayne@69
|
2597 * Delivers a request to the X server.
|
jpayne@69
|
2598 *
|
jpayne@69
|
2599 */
|
jpayne@69
|
2600 xcb_void_cookie_t
|
jpayne@69
|
2601 xcb_randr_change_output_property (xcb_connection_t *c,
|
jpayne@69
|
2602 xcb_randr_output_t output,
|
jpayne@69
|
2603 xcb_atom_t property,
|
jpayne@69
|
2604 xcb_atom_t type,
|
jpayne@69
|
2605 uint8_t format,
|
jpayne@69
|
2606 uint8_t mode,
|
jpayne@69
|
2607 uint32_t num_units,
|
jpayne@69
|
2608 const void *data);
|
jpayne@69
|
2609
|
jpayne@69
|
2610 void *
|
jpayne@69
|
2611 xcb_randr_change_output_property_data (const xcb_randr_change_output_property_request_t *R);
|
jpayne@69
|
2612
|
jpayne@69
|
2613 int
|
jpayne@69
|
2614 xcb_randr_change_output_property_data_length (const xcb_randr_change_output_property_request_t *R);
|
jpayne@69
|
2615
|
jpayne@69
|
2616 xcb_generic_iterator_t
|
jpayne@69
|
2617 xcb_randr_change_output_property_data_end (const xcb_randr_change_output_property_request_t *R);
|
jpayne@69
|
2618
|
jpayne@69
|
2619 /**
|
jpayne@69
|
2620 *
|
jpayne@69
|
2621 * @param c The connection
|
jpayne@69
|
2622 * @return A cookie
|
jpayne@69
|
2623 *
|
jpayne@69
|
2624 * Delivers a request to the X server.
|
jpayne@69
|
2625 *
|
jpayne@69
|
2626 * This form can be used only if the request will not cause
|
jpayne@69
|
2627 * a reply to be generated. Any returned error will be
|
jpayne@69
|
2628 * saved for handling by xcb_request_check().
|
jpayne@69
|
2629 */
|
jpayne@69
|
2630 xcb_void_cookie_t
|
jpayne@69
|
2631 xcb_randr_delete_output_property_checked (xcb_connection_t *c,
|
jpayne@69
|
2632 xcb_randr_output_t output,
|
jpayne@69
|
2633 xcb_atom_t property);
|
jpayne@69
|
2634
|
jpayne@69
|
2635 /**
|
jpayne@69
|
2636 *
|
jpayne@69
|
2637 * @param c The connection
|
jpayne@69
|
2638 * @return A cookie
|
jpayne@69
|
2639 *
|
jpayne@69
|
2640 * Delivers a request to the X server.
|
jpayne@69
|
2641 *
|
jpayne@69
|
2642 */
|
jpayne@69
|
2643 xcb_void_cookie_t
|
jpayne@69
|
2644 xcb_randr_delete_output_property (xcb_connection_t *c,
|
jpayne@69
|
2645 xcb_randr_output_t output,
|
jpayne@69
|
2646 xcb_atom_t property);
|
jpayne@69
|
2647
|
jpayne@69
|
2648 int
|
jpayne@69
|
2649 xcb_randr_get_output_property_sizeof (const void *_buffer);
|
jpayne@69
|
2650
|
jpayne@69
|
2651 /**
|
jpayne@69
|
2652 *
|
jpayne@69
|
2653 * @param c The connection
|
jpayne@69
|
2654 * @return A cookie
|
jpayne@69
|
2655 *
|
jpayne@69
|
2656 * Delivers a request to the X server.
|
jpayne@69
|
2657 *
|
jpayne@69
|
2658 */
|
jpayne@69
|
2659 xcb_randr_get_output_property_cookie_t
|
jpayne@69
|
2660 xcb_randr_get_output_property (xcb_connection_t *c,
|
jpayne@69
|
2661 xcb_randr_output_t output,
|
jpayne@69
|
2662 xcb_atom_t property,
|
jpayne@69
|
2663 xcb_atom_t type,
|
jpayne@69
|
2664 uint32_t long_offset,
|
jpayne@69
|
2665 uint32_t long_length,
|
jpayne@69
|
2666 uint8_t _delete,
|
jpayne@69
|
2667 uint8_t pending);
|
jpayne@69
|
2668
|
jpayne@69
|
2669 /**
|
jpayne@69
|
2670 *
|
jpayne@69
|
2671 * @param c The connection
|
jpayne@69
|
2672 * @return A cookie
|
jpayne@69
|
2673 *
|
jpayne@69
|
2674 * Delivers a request to the X server.
|
jpayne@69
|
2675 *
|
jpayne@69
|
2676 * This form can be used only if the request will cause
|
jpayne@69
|
2677 * a reply to be generated. Any returned error will be
|
jpayne@69
|
2678 * placed in the event queue.
|
jpayne@69
|
2679 */
|
jpayne@69
|
2680 xcb_randr_get_output_property_cookie_t
|
jpayne@69
|
2681 xcb_randr_get_output_property_unchecked (xcb_connection_t *c,
|
jpayne@69
|
2682 xcb_randr_output_t output,
|
jpayne@69
|
2683 xcb_atom_t property,
|
jpayne@69
|
2684 xcb_atom_t type,
|
jpayne@69
|
2685 uint32_t long_offset,
|
jpayne@69
|
2686 uint32_t long_length,
|
jpayne@69
|
2687 uint8_t _delete,
|
jpayne@69
|
2688 uint8_t pending);
|
jpayne@69
|
2689
|
jpayne@69
|
2690 uint8_t *
|
jpayne@69
|
2691 xcb_randr_get_output_property_data (const xcb_randr_get_output_property_reply_t *R);
|
jpayne@69
|
2692
|
jpayne@69
|
2693 int
|
jpayne@69
|
2694 xcb_randr_get_output_property_data_length (const xcb_randr_get_output_property_reply_t *R);
|
jpayne@69
|
2695
|
jpayne@69
|
2696 xcb_generic_iterator_t
|
jpayne@69
|
2697 xcb_randr_get_output_property_data_end (const xcb_randr_get_output_property_reply_t *R);
|
jpayne@69
|
2698
|
jpayne@69
|
2699 /**
|
jpayne@69
|
2700 * Return the reply
|
jpayne@69
|
2701 * @param c The connection
|
jpayne@69
|
2702 * @param cookie The cookie
|
jpayne@69
|
2703 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
2704 *
|
jpayne@69
|
2705 * Returns the reply of the request asked by
|
jpayne@69
|
2706 *
|
jpayne@69
|
2707 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
2708 * xcb_randr_get_output_property_unchecked(). is used.
|
jpayne@69
|
2709 * Otherwise, it stores the error if any.
|
jpayne@69
|
2710 *
|
jpayne@69
|
2711 * The returned value must be freed by the caller using free().
|
jpayne@69
|
2712 */
|
jpayne@69
|
2713 xcb_randr_get_output_property_reply_t *
|
jpayne@69
|
2714 xcb_randr_get_output_property_reply (xcb_connection_t *c,
|
jpayne@69
|
2715 xcb_randr_get_output_property_cookie_t cookie /**< */,
|
jpayne@69
|
2716 xcb_generic_error_t **e);
|
jpayne@69
|
2717
|
jpayne@69
|
2718 int
|
jpayne@69
|
2719 xcb_randr_create_mode_sizeof (const void *_buffer,
|
jpayne@69
|
2720 uint32_t name_len);
|
jpayne@69
|
2721
|
jpayne@69
|
2722 /**
|
jpayne@69
|
2723 *
|
jpayne@69
|
2724 * @param c The connection
|
jpayne@69
|
2725 * @return A cookie
|
jpayne@69
|
2726 *
|
jpayne@69
|
2727 * Delivers a request to the X server.
|
jpayne@69
|
2728 *
|
jpayne@69
|
2729 */
|
jpayne@69
|
2730 xcb_randr_create_mode_cookie_t
|
jpayne@69
|
2731 xcb_randr_create_mode (xcb_connection_t *c,
|
jpayne@69
|
2732 xcb_window_t window,
|
jpayne@69
|
2733 xcb_randr_mode_info_t mode_info,
|
jpayne@69
|
2734 uint32_t name_len,
|
jpayne@69
|
2735 const char *name);
|
jpayne@69
|
2736
|
jpayne@69
|
2737 /**
|
jpayne@69
|
2738 *
|
jpayne@69
|
2739 * @param c The connection
|
jpayne@69
|
2740 * @return A cookie
|
jpayne@69
|
2741 *
|
jpayne@69
|
2742 * Delivers a request to the X server.
|
jpayne@69
|
2743 *
|
jpayne@69
|
2744 * This form can be used only if the request will cause
|
jpayne@69
|
2745 * a reply to be generated. Any returned error will be
|
jpayne@69
|
2746 * placed in the event queue.
|
jpayne@69
|
2747 */
|
jpayne@69
|
2748 xcb_randr_create_mode_cookie_t
|
jpayne@69
|
2749 xcb_randr_create_mode_unchecked (xcb_connection_t *c,
|
jpayne@69
|
2750 xcb_window_t window,
|
jpayne@69
|
2751 xcb_randr_mode_info_t mode_info,
|
jpayne@69
|
2752 uint32_t name_len,
|
jpayne@69
|
2753 const char *name);
|
jpayne@69
|
2754
|
jpayne@69
|
2755 /**
|
jpayne@69
|
2756 * Return the reply
|
jpayne@69
|
2757 * @param c The connection
|
jpayne@69
|
2758 * @param cookie The cookie
|
jpayne@69
|
2759 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
2760 *
|
jpayne@69
|
2761 * Returns the reply of the request asked by
|
jpayne@69
|
2762 *
|
jpayne@69
|
2763 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
2764 * xcb_randr_create_mode_unchecked(). is used.
|
jpayne@69
|
2765 * Otherwise, it stores the error if any.
|
jpayne@69
|
2766 *
|
jpayne@69
|
2767 * The returned value must be freed by the caller using free().
|
jpayne@69
|
2768 */
|
jpayne@69
|
2769 xcb_randr_create_mode_reply_t *
|
jpayne@69
|
2770 xcb_randr_create_mode_reply (xcb_connection_t *c,
|
jpayne@69
|
2771 xcb_randr_create_mode_cookie_t cookie /**< */,
|
jpayne@69
|
2772 xcb_generic_error_t **e);
|
jpayne@69
|
2773
|
jpayne@69
|
2774 /**
|
jpayne@69
|
2775 *
|
jpayne@69
|
2776 * @param c The connection
|
jpayne@69
|
2777 * @return A cookie
|
jpayne@69
|
2778 *
|
jpayne@69
|
2779 * Delivers a request to the X server.
|
jpayne@69
|
2780 *
|
jpayne@69
|
2781 * This form can be used only if the request will not cause
|
jpayne@69
|
2782 * a reply to be generated. Any returned error will be
|
jpayne@69
|
2783 * saved for handling by xcb_request_check().
|
jpayne@69
|
2784 */
|
jpayne@69
|
2785 xcb_void_cookie_t
|
jpayne@69
|
2786 xcb_randr_destroy_mode_checked (xcb_connection_t *c,
|
jpayne@69
|
2787 xcb_randr_mode_t mode);
|
jpayne@69
|
2788
|
jpayne@69
|
2789 /**
|
jpayne@69
|
2790 *
|
jpayne@69
|
2791 * @param c The connection
|
jpayne@69
|
2792 * @return A cookie
|
jpayne@69
|
2793 *
|
jpayne@69
|
2794 * Delivers a request to the X server.
|
jpayne@69
|
2795 *
|
jpayne@69
|
2796 */
|
jpayne@69
|
2797 xcb_void_cookie_t
|
jpayne@69
|
2798 xcb_randr_destroy_mode (xcb_connection_t *c,
|
jpayne@69
|
2799 xcb_randr_mode_t mode);
|
jpayne@69
|
2800
|
jpayne@69
|
2801 /**
|
jpayne@69
|
2802 *
|
jpayne@69
|
2803 * @param c The connection
|
jpayne@69
|
2804 * @return A cookie
|
jpayne@69
|
2805 *
|
jpayne@69
|
2806 * Delivers a request to the X server.
|
jpayne@69
|
2807 *
|
jpayne@69
|
2808 * This form can be used only if the request will not cause
|
jpayne@69
|
2809 * a reply to be generated. Any returned error will be
|
jpayne@69
|
2810 * saved for handling by xcb_request_check().
|
jpayne@69
|
2811 */
|
jpayne@69
|
2812 xcb_void_cookie_t
|
jpayne@69
|
2813 xcb_randr_add_output_mode_checked (xcb_connection_t *c,
|
jpayne@69
|
2814 xcb_randr_output_t output,
|
jpayne@69
|
2815 xcb_randr_mode_t mode);
|
jpayne@69
|
2816
|
jpayne@69
|
2817 /**
|
jpayne@69
|
2818 *
|
jpayne@69
|
2819 * @param c The connection
|
jpayne@69
|
2820 * @return A cookie
|
jpayne@69
|
2821 *
|
jpayne@69
|
2822 * Delivers a request to the X server.
|
jpayne@69
|
2823 *
|
jpayne@69
|
2824 */
|
jpayne@69
|
2825 xcb_void_cookie_t
|
jpayne@69
|
2826 xcb_randr_add_output_mode (xcb_connection_t *c,
|
jpayne@69
|
2827 xcb_randr_output_t output,
|
jpayne@69
|
2828 xcb_randr_mode_t mode);
|
jpayne@69
|
2829
|
jpayne@69
|
2830 /**
|
jpayne@69
|
2831 *
|
jpayne@69
|
2832 * @param c The connection
|
jpayne@69
|
2833 * @return A cookie
|
jpayne@69
|
2834 *
|
jpayne@69
|
2835 * Delivers a request to the X server.
|
jpayne@69
|
2836 *
|
jpayne@69
|
2837 * This form can be used only if the request will not cause
|
jpayne@69
|
2838 * a reply to be generated. Any returned error will be
|
jpayne@69
|
2839 * saved for handling by xcb_request_check().
|
jpayne@69
|
2840 */
|
jpayne@69
|
2841 xcb_void_cookie_t
|
jpayne@69
|
2842 xcb_randr_delete_output_mode_checked (xcb_connection_t *c,
|
jpayne@69
|
2843 xcb_randr_output_t output,
|
jpayne@69
|
2844 xcb_randr_mode_t mode);
|
jpayne@69
|
2845
|
jpayne@69
|
2846 /**
|
jpayne@69
|
2847 *
|
jpayne@69
|
2848 * @param c The connection
|
jpayne@69
|
2849 * @return A cookie
|
jpayne@69
|
2850 *
|
jpayne@69
|
2851 * Delivers a request to the X server.
|
jpayne@69
|
2852 *
|
jpayne@69
|
2853 */
|
jpayne@69
|
2854 xcb_void_cookie_t
|
jpayne@69
|
2855 xcb_randr_delete_output_mode (xcb_connection_t *c,
|
jpayne@69
|
2856 xcb_randr_output_t output,
|
jpayne@69
|
2857 xcb_randr_mode_t mode);
|
jpayne@69
|
2858
|
jpayne@69
|
2859 int
|
jpayne@69
|
2860 xcb_randr_get_crtc_info_sizeof (const void *_buffer);
|
jpayne@69
|
2861
|
jpayne@69
|
2862 /**
|
jpayne@69
|
2863 *
|
jpayne@69
|
2864 * @param c The connection
|
jpayne@69
|
2865 * @return A cookie
|
jpayne@69
|
2866 *
|
jpayne@69
|
2867 * Delivers a request to the X server.
|
jpayne@69
|
2868 *
|
jpayne@69
|
2869 */
|
jpayne@69
|
2870 xcb_randr_get_crtc_info_cookie_t
|
jpayne@69
|
2871 xcb_randr_get_crtc_info (xcb_connection_t *c,
|
jpayne@69
|
2872 xcb_randr_crtc_t crtc,
|
jpayne@69
|
2873 xcb_timestamp_t config_timestamp);
|
jpayne@69
|
2874
|
jpayne@69
|
2875 /**
|
jpayne@69
|
2876 *
|
jpayne@69
|
2877 * @param c The connection
|
jpayne@69
|
2878 * @return A cookie
|
jpayne@69
|
2879 *
|
jpayne@69
|
2880 * Delivers a request to the X server.
|
jpayne@69
|
2881 *
|
jpayne@69
|
2882 * This form can be used only if the request will cause
|
jpayne@69
|
2883 * a reply to be generated. Any returned error will be
|
jpayne@69
|
2884 * placed in the event queue.
|
jpayne@69
|
2885 */
|
jpayne@69
|
2886 xcb_randr_get_crtc_info_cookie_t
|
jpayne@69
|
2887 xcb_randr_get_crtc_info_unchecked (xcb_connection_t *c,
|
jpayne@69
|
2888 xcb_randr_crtc_t crtc,
|
jpayne@69
|
2889 xcb_timestamp_t config_timestamp);
|
jpayne@69
|
2890
|
jpayne@69
|
2891 xcb_randr_output_t *
|
jpayne@69
|
2892 xcb_randr_get_crtc_info_outputs (const xcb_randr_get_crtc_info_reply_t *R);
|
jpayne@69
|
2893
|
jpayne@69
|
2894 int
|
jpayne@69
|
2895 xcb_randr_get_crtc_info_outputs_length (const xcb_randr_get_crtc_info_reply_t *R);
|
jpayne@69
|
2896
|
jpayne@69
|
2897 xcb_generic_iterator_t
|
jpayne@69
|
2898 xcb_randr_get_crtc_info_outputs_end (const xcb_randr_get_crtc_info_reply_t *R);
|
jpayne@69
|
2899
|
jpayne@69
|
2900 xcb_randr_output_t *
|
jpayne@69
|
2901 xcb_randr_get_crtc_info_possible (const xcb_randr_get_crtc_info_reply_t *R);
|
jpayne@69
|
2902
|
jpayne@69
|
2903 int
|
jpayne@69
|
2904 xcb_randr_get_crtc_info_possible_length (const xcb_randr_get_crtc_info_reply_t *R);
|
jpayne@69
|
2905
|
jpayne@69
|
2906 xcb_generic_iterator_t
|
jpayne@69
|
2907 xcb_randr_get_crtc_info_possible_end (const xcb_randr_get_crtc_info_reply_t *R);
|
jpayne@69
|
2908
|
jpayne@69
|
2909 /**
|
jpayne@69
|
2910 * Return the reply
|
jpayne@69
|
2911 * @param c The connection
|
jpayne@69
|
2912 * @param cookie The cookie
|
jpayne@69
|
2913 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
2914 *
|
jpayne@69
|
2915 * Returns the reply of the request asked by
|
jpayne@69
|
2916 *
|
jpayne@69
|
2917 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
2918 * xcb_randr_get_crtc_info_unchecked(). is used.
|
jpayne@69
|
2919 * Otherwise, it stores the error if any.
|
jpayne@69
|
2920 *
|
jpayne@69
|
2921 * The returned value must be freed by the caller using free().
|
jpayne@69
|
2922 */
|
jpayne@69
|
2923 xcb_randr_get_crtc_info_reply_t *
|
jpayne@69
|
2924 xcb_randr_get_crtc_info_reply (xcb_connection_t *c,
|
jpayne@69
|
2925 xcb_randr_get_crtc_info_cookie_t cookie /**< */,
|
jpayne@69
|
2926 xcb_generic_error_t **e);
|
jpayne@69
|
2927
|
jpayne@69
|
2928 int
|
jpayne@69
|
2929 xcb_randr_set_crtc_config_sizeof (const void *_buffer,
|
jpayne@69
|
2930 uint32_t outputs_len);
|
jpayne@69
|
2931
|
jpayne@69
|
2932 /**
|
jpayne@69
|
2933 *
|
jpayne@69
|
2934 * @param c The connection
|
jpayne@69
|
2935 * @return A cookie
|
jpayne@69
|
2936 *
|
jpayne@69
|
2937 * Delivers a request to the X server.
|
jpayne@69
|
2938 *
|
jpayne@69
|
2939 */
|
jpayne@69
|
2940 xcb_randr_set_crtc_config_cookie_t
|
jpayne@69
|
2941 xcb_randr_set_crtc_config (xcb_connection_t *c,
|
jpayne@69
|
2942 xcb_randr_crtc_t crtc,
|
jpayne@69
|
2943 xcb_timestamp_t timestamp,
|
jpayne@69
|
2944 xcb_timestamp_t config_timestamp,
|
jpayne@69
|
2945 int16_t x,
|
jpayne@69
|
2946 int16_t y,
|
jpayne@69
|
2947 xcb_randr_mode_t mode,
|
jpayne@69
|
2948 uint16_t rotation,
|
jpayne@69
|
2949 uint32_t outputs_len,
|
jpayne@69
|
2950 const xcb_randr_output_t *outputs);
|
jpayne@69
|
2951
|
jpayne@69
|
2952 /**
|
jpayne@69
|
2953 *
|
jpayne@69
|
2954 * @param c The connection
|
jpayne@69
|
2955 * @return A cookie
|
jpayne@69
|
2956 *
|
jpayne@69
|
2957 * Delivers a request to the X server.
|
jpayne@69
|
2958 *
|
jpayne@69
|
2959 * This form can be used only if the request will cause
|
jpayne@69
|
2960 * a reply to be generated. Any returned error will be
|
jpayne@69
|
2961 * placed in the event queue.
|
jpayne@69
|
2962 */
|
jpayne@69
|
2963 xcb_randr_set_crtc_config_cookie_t
|
jpayne@69
|
2964 xcb_randr_set_crtc_config_unchecked (xcb_connection_t *c,
|
jpayne@69
|
2965 xcb_randr_crtc_t crtc,
|
jpayne@69
|
2966 xcb_timestamp_t timestamp,
|
jpayne@69
|
2967 xcb_timestamp_t config_timestamp,
|
jpayne@69
|
2968 int16_t x,
|
jpayne@69
|
2969 int16_t y,
|
jpayne@69
|
2970 xcb_randr_mode_t mode,
|
jpayne@69
|
2971 uint16_t rotation,
|
jpayne@69
|
2972 uint32_t outputs_len,
|
jpayne@69
|
2973 const xcb_randr_output_t *outputs);
|
jpayne@69
|
2974
|
jpayne@69
|
2975 /**
|
jpayne@69
|
2976 * Return the reply
|
jpayne@69
|
2977 * @param c The connection
|
jpayne@69
|
2978 * @param cookie The cookie
|
jpayne@69
|
2979 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
2980 *
|
jpayne@69
|
2981 * Returns the reply of the request asked by
|
jpayne@69
|
2982 *
|
jpayne@69
|
2983 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
2984 * xcb_randr_set_crtc_config_unchecked(). is used.
|
jpayne@69
|
2985 * Otherwise, it stores the error if any.
|
jpayne@69
|
2986 *
|
jpayne@69
|
2987 * The returned value must be freed by the caller using free().
|
jpayne@69
|
2988 */
|
jpayne@69
|
2989 xcb_randr_set_crtc_config_reply_t *
|
jpayne@69
|
2990 xcb_randr_set_crtc_config_reply (xcb_connection_t *c,
|
jpayne@69
|
2991 xcb_randr_set_crtc_config_cookie_t cookie /**< */,
|
jpayne@69
|
2992 xcb_generic_error_t **e);
|
jpayne@69
|
2993
|
jpayne@69
|
2994 /**
|
jpayne@69
|
2995 *
|
jpayne@69
|
2996 * @param c The connection
|
jpayne@69
|
2997 * @return A cookie
|
jpayne@69
|
2998 *
|
jpayne@69
|
2999 * Delivers a request to the X server.
|
jpayne@69
|
3000 *
|
jpayne@69
|
3001 */
|
jpayne@69
|
3002 xcb_randr_get_crtc_gamma_size_cookie_t
|
jpayne@69
|
3003 xcb_randr_get_crtc_gamma_size (xcb_connection_t *c,
|
jpayne@69
|
3004 xcb_randr_crtc_t crtc);
|
jpayne@69
|
3005
|
jpayne@69
|
3006 /**
|
jpayne@69
|
3007 *
|
jpayne@69
|
3008 * @param c The connection
|
jpayne@69
|
3009 * @return A cookie
|
jpayne@69
|
3010 *
|
jpayne@69
|
3011 * Delivers a request to the X server.
|
jpayne@69
|
3012 *
|
jpayne@69
|
3013 * This form can be used only if the request will cause
|
jpayne@69
|
3014 * a reply to be generated. Any returned error will be
|
jpayne@69
|
3015 * placed in the event queue.
|
jpayne@69
|
3016 */
|
jpayne@69
|
3017 xcb_randr_get_crtc_gamma_size_cookie_t
|
jpayne@69
|
3018 xcb_randr_get_crtc_gamma_size_unchecked (xcb_connection_t *c,
|
jpayne@69
|
3019 xcb_randr_crtc_t crtc);
|
jpayne@69
|
3020
|
jpayne@69
|
3021 /**
|
jpayne@69
|
3022 * Return the reply
|
jpayne@69
|
3023 * @param c The connection
|
jpayne@69
|
3024 * @param cookie The cookie
|
jpayne@69
|
3025 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
3026 *
|
jpayne@69
|
3027 * Returns the reply of the request asked by
|
jpayne@69
|
3028 *
|
jpayne@69
|
3029 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
3030 * xcb_randr_get_crtc_gamma_size_unchecked(). is used.
|
jpayne@69
|
3031 * Otherwise, it stores the error if any.
|
jpayne@69
|
3032 *
|
jpayne@69
|
3033 * The returned value must be freed by the caller using free().
|
jpayne@69
|
3034 */
|
jpayne@69
|
3035 xcb_randr_get_crtc_gamma_size_reply_t *
|
jpayne@69
|
3036 xcb_randr_get_crtc_gamma_size_reply (xcb_connection_t *c,
|
jpayne@69
|
3037 xcb_randr_get_crtc_gamma_size_cookie_t cookie /**< */,
|
jpayne@69
|
3038 xcb_generic_error_t **e);
|
jpayne@69
|
3039
|
jpayne@69
|
3040 int
|
jpayne@69
|
3041 xcb_randr_get_crtc_gamma_sizeof (const void *_buffer);
|
jpayne@69
|
3042
|
jpayne@69
|
3043 /**
|
jpayne@69
|
3044 *
|
jpayne@69
|
3045 * @param c The connection
|
jpayne@69
|
3046 * @return A cookie
|
jpayne@69
|
3047 *
|
jpayne@69
|
3048 * Delivers a request to the X server.
|
jpayne@69
|
3049 *
|
jpayne@69
|
3050 */
|
jpayne@69
|
3051 xcb_randr_get_crtc_gamma_cookie_t
|
jpayne@69
|
3052 xcb_randr_get_crtc_gamma (xcb_connection_t *c,
|
jpayne@69
|
3053 xcb_randr_crtc_t crtc);
|
jpayne@69
|
3054
|
jpayne@69
|
3055 /**
|
jpayne@69
|
3056 *
|
jpayne@69
|
3057 * @param c The connection
|
jpayne@69
|
3058 * @return A cookie
|
jpayne@69
|
3059 *
|
jpayne@69
|
3060 * Delivers a request to the X server.
|
jpayne@69
|
3061 *
|
jpayne@69
|
3062 * This form can be used only if the request will cause
|
jpayne@69
|
3063 * a reply to be generated. Any returned error will be
|
jpayne@69
|
3064 * placed in the event queue.
|
jpayne@69
|
3065 */
|
jpayne@69
|
3066 xcb_randr_get_crtc_gamma_cookie_t
|
jpayne@69
|
3067 xcb_randr_get_crtc_gamma_unchecked (xcb_connection_t *c,
|
jpayne@69
|
3068 xcb_randr_crtc_t crtc);
|
jpayne@69
|
3069
|
jpayne@69
|
3070 uint16_t *
|
jpayne@69
|
3071 xcb_randr_get_crtc_gamma_red (const xcb_randr_get_crtc_gamma_reply_t *R);
|
jpayne@69
|
3072
|
jpayne@69
|
3073 int
|
jpayne@69
|
3074 xcb_randr_get_crtc_gamma_red_length (const xcb_randr_get_crtc_gamma_reply_t *R);
|
jpayne@69
|
3075
|
jpayne@69
|
3076 xcb_generic_iterator_t
|
jpayne@69
|
3077 xcb_randr_get_crtc_gamma_red_end (const xcb_randr_get_crtc_gamma_reply_t *R);
|
jpayne@69
|
3078
|
jpayne@69
|
3079 uint16_t *
|
jpayne@69
|
3080 xcb_randr_get_crtc_gamma_green (const xcb_randr_get_crtc_gamma_reply_t *R);
|
jpayne@69
|
3081
|
jpayne@69
|
3082 int
|
jpayne@69
|
3083 xcb_randr_get_crtc_gamma_green_length (const xcb_randr_get_crtc_gamma_reply_t *R);
|
jpayne@69
|
3084
|
jpayne@69
|
3085 xcb_generic_iterator_t
|
jpayne@69
|
3086 xcb_randr_get_crtc_gamma_green_end (const xcb_randr_get_crtc_gamma_reply_t *R);
|
jpayne@69
|
3087
|
jpayne@69
|
3088 uint16_t *
|
jpayne@69
|
3089 xcb_randr_get_crtc_gamma_blue (const xcb_randr_get_crtc_gamma_reply_t *R);
|
jpayne@69
|
3090
|
jpayne@69
|
3091 int
|
jpayne@69
|
3092 xcb_randr_get_crtc_gamma_blue_length (const xcb_randr_get_crtc_gamma_reply_t *R);
|
jpayne@69
|
3093
|
jpayne@69
|
3094 xcb_generic_iterator_t
|
jpayne@69
|
3095 xcb_randr_get_crtc_gamma_blue_end (const xcb_randr_get_crtc_gamma_reply_t *R);
|
jpayne@69
|
3096
|
jpayne@69
|
3097 /**
|
jpayne@69
|
3098 * Return the reply
|
jpayne@69
|
3099 * @param c The connection
|
jpayne@69
|
3100 * @param cookie The cookie
|
jpayne@69
|
3101 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
3102 *
|
jpayne@69
|
3103 * Returns the reply of the request asked by
|
jpayne@69
|
3104 *
|
jpayne@69
|
3105 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
3106 * xcb_randr_get_crtc_gamma_unchecked(). is used.
|
jpayne@69
|
3107 * Otherwise, it stores the error if any.
|
jpayne@69
|
3108 *
|
jpayne@69
|
3109 * The returned value must be freed by the caller using free().
|
jpayne@69
|
3110 */
|
jpayne@69
|
3111 xcb_randr_get_crtc_gamma_reply_t *
|
jpayne@69
|
3112 xcb_randr_get_crtc_gamma_reply (xcb_connection_t *c,
|
jpayne@69
|
3113 xcb_randr_get_crtc_gamma_cookie_t cookie /**< */,
|
jpayne@69
|
3114 xcb_generic_error_t **e);
|
jpayne@69
|
3115
|
jpayne@69
|
3116 int
|
jpayne@69
|
3117 xcb_randr_set_crtc_gamma_sizeof (const void *_buffer);
|
jpayne@69
|
3118
|
jpayne@69
|
3119 /**
|
jpayne@69
|
3120 *
|
jpayne@69
|
3121 * @param c The connection
|
jpayne@69
|
3122 * @return A cookie
|
jpayne@69
|
3123 *
|
jpayne@69
|
3124 * Delivers a request to the X server.
|
jpayne@69
|
3125 *
|
jpayne@69
|
3126 * This form can be used only if the request will not cause
|
jpayne@69
|
3127 * a reply to be generated. Any returned error will be
|
jpayne@69
|
3128 * saved for handling by xcb_request_check().
|
jpayne@69
|
3129 */
|
jpayne@69
|
3130 xcb_void_cookie_t
|
jpayne@69
|
3131 xcb_randr_set_crtc_gamma_checked (xcb_connection_t *c,
|
jpayne@69
|
3132 xcb_randr_crtc_t crtc,
|
jpayne@69
|
3133 uint16_t size,
|
jpayne@69
|
3134 const uint16_t *red,
|
jpayne@69
|
3135 const uint16_t *green,
|
jpayne@69
|
3136 const uint16_t *blue);
|
jpayne@69
|
3137
|
jpayne@69
|
3138 /**
|
jpayne@69
|
3139 *
|
jpayne@69
|
3140 * @param c The connection
|
jpayne@69
|
3141 * @return A cookie
|
jpayne@69
|
3142 *
|
jpayne@69
|
3143 * Delivers a request to the X server.
|
jpayne@69
|
3144 *
|
jpayne@69
|
3145 */
|
jpayne@69
|
3146 xcb_void_cookie_t
|
jpayne@69
|
3147 xcb_randr_set_crtc_gamma (xcb_connection_t *c,
|
jpayne@69
|
3148 xcb_randr_crtc_t crtc,
|
jpayne@69
|
3149 uint16_t size,
|
jpayne@69
|
3150 const uint16_t *red,
|
jpayne@69
|
3151 const uint16_t *green,
|
jpayne@69
|
3152 const uint16_t *blue);
|
jpayne@69
|
3153
|
jpayne@69
|
3154 uint16_t *
|
jpayne@69
|
3155 xcb_randr_set_crtc_gamma_red (const xcb_randr_set_crtc_gamma_request_t *R);
|
jpayne@69
|
3156
|
jpayne@69
|
3157 int
|
jpayne@69
|
3158 xcb_randr_set_crtc_gamma_red_length (const xcb_randr_set_crtc_gamma_request_t *R);
|
jpayne@69
|
3159
|
jpayne@69
|
3160 xcb_generic_iterator_t
|
jpayne@69
|
3161 xcb_randr_set_crtc_gamma_red_end (const xcb_randr_set_crtc_gamma_request_t *R);
|
jpayne@69
|
3162
|
jpayne@69
|
3163 uint16_t *
|
jpayne@69
|
3164 xcb_randr_set_crtc_gamma_green (const xcb_randr_set_crtc_gamma_request_t *R);
|
jpayne@69
|
3165
|
jpayne@69
|
3166 int
|
jpayne@69
|
3167 xcb_randr_set_crtc_gamma_green_length (const xcb_randr_set_crtc_gamma_request_t *R);
|
jpayne@69
|
3168
|
jpayne@69
|
3169 xcb_generic_iterator_t
|
jpayne@69
|
3170 xcb_randr_set_crtc_gamma_green_end (const xcb_randr_set_crtc_gamma_request_t *R);
|
jpayne@69
|
3171
|
jpayne@69
|
3172 uint16_t *
|
jpayne@69
|
3173 xcb_randr_set_crtc_gamma_blue (const xcb_randr_set_crtc_gamma_request_t *R);
|
jpayne@69
|
3174
|
jpayne@69
|
3175 int
|
jpayne@69
|
3176 xcb_randr_set_crtc_gamma_blue_length (const xcb_randr_set_crtc_gamma_request_t *R);
|
jpayne@69
|
3177
|
jpayne@69
|
3178 xcb_generic_iterator_t
|
jpayne@69
|
3179 xcb_randr_set_crtc_gamma_blue_end (const xcb_randr_set_crtc_gamma_request_t *R);
|
jpayne@69
|
3180
|
jpayne@69
|
3181 int
|
jpayne@69
|
3182 xcb_randr_get_screen_resources_current_sizeof (const void *_buffer);
|
jpayne@69
|
3183
|
jpayne@69
|
3184 /**
|
jpayne@69
|
3185 *
|
jpayne@69
|
3186 * @param c The connection
|
jpayne@69
|
3187 * @return A cookie
|
jpayne@69
|
3188 *
|
jpayne@69
|
3189 * Delivers a request to the X server.
|
jpayne@69
|
3190 *
|
jpayne@69
|
3191 */
|
jpayne@69
|
3192 xcb_randr_get_screen_resources_current_cookie_t
|
jpayne@69
|
3193 xcb_randr_get_screen_resources_current (xcb_connection_t *c,
|
jpayne@69
|
3194 xcb_window_t window);
|
jpayne@69
|
3195
|
jpayne@69
|
3196 /**
|
jpayne@69
|
3197 *
|
jpayne@69
|
3198 * @param c The connection
|
jpayne@69
|
3199 * @return A cookie
|
jpayne@69
|
3200 *
|
jpayne@69
|
3201 * Delivers a request to the X server.
|
jpayne@69
|
3202 *
|
jpayne@69
|
3203 * This form can be used only if the request will cause
|
jpayne@69
|
3204 * a reply to be generated. Any returned error will be
|
jpayne@69
|
3205 * placed in the event queue.
|
jpayne@69
|
3206 */
|
jpayne@69
|
3207 xcb_randr_get_screen_resources_current_cookie_t
|
jpayne@69
|
3208 xcb_randr_get_screen_resources_current_unchecked (xcb_connection_t *c,
|
jpayne@69
|
3209 xcb_window_t window);
|
jpayne@69
|
3210
|
jpayne@69
|
3211 xcb_randr_crtc_t *
|
jpayne@69
|
3212 xcb_randr_get_screen_resources_current_crtcs (const xcb_randr_get_screen_resources_current_reply_t *R);
|
jpayne@69
|
3213
|
jpayne@69
|
3214 int
|
jpayne@69
|
3215 xcb_randr_get_screen_resources_current_crtcs_length (const xcb_randr_get_screen_resources_current_reply_t *R);
|
jpayne@69
|
3216
|
jpayne@69
|
3217 xcb_generic_iterator_t
|
jpayne@69
|
3218 xcb_randr_get_screen_resources_current_crtcs_end (const xcb_randr_get_screen_resources_current_reply_t *R);
|
jpayne@69
|
3219
|
jpayne@69
|
3220 xcb_randr_output_t *
|
jpayne@69
|
3221 xcb_randr_get_screen_resources_current_outputs (const xcb_randr_get_screen_resources_current_reply_t *R);
|
jpayne@69
|
3222
|
jpayne@69
|
3223 int
|
jpayne@69
|
3224 xcb_randr_get_screen_resources_current_outputs_length (const xcb_randr_get_screen_resources_current_reply_t *R);
|
jpayne@69
|
3225
|
jpayne@69
|
3226 xcb_generic_iterator_t
|
jpayne@69
|
3227 xcb_randr_get_screen_resources_current_outputs_end (const xcb_randr_get_screen_resources_current_reply_t *R);
|
jpayne@69
|
3228
|
jpayne@69
|
3229 xcb_randr_mode_info_t *
|
jpayne@69
|
3230 xcb_randr_get_screen_resources_current_modes (const xcb_randr_get_screen_resources_current_reply_t *R);
|
jpayne@69
|
3231
|
jpayne@69
|
3232 int
|
jpayne@69
|
3233 xcb_randr_get_screen_resources_current_modes_length (const xcb_randr_get_screen_resources_current_reply_t *R);
|
jpayne@69
|
3234
|
jpayne@69
|
3235 xcb_randr_mode_info_iterator_t
|
jpayne@69
|
3236 xcb_randr_get_screen_resources_current_modes_iterator (const xcb_randr_get_screen_resources_current_reply_t *R);
|
jpayne@69
|
3237
|
jpayne@69
|
3238 uint8_t *
|
jpayne@69
|
3239 xcb_randr_get_screen_resources_current_names (const xcb_randr_get_screen_resources_current_reply_t *R);
|
jpayne@69
|
3240
|
jpayne@69
|
3241 int
|
jpayne@69
|
3242 xcb_randr_get_screen_resources_current_names_length (const xcb_randr_get_screen_resources_current_reply_t *R);
|
jpayne@69
|
3243
|
jpayne@69
|
3244 xcb_generic_iterator_t
|
jpayne@69
|
3245 xcb_randr_get_screen_resources_current_names_end (const xcb_randr_get_screen_resources_current_reply_t *R);
|
jpayne@69
|
3246
|
jpayne@69
|
3247 /**
|
jpayne@69
|
3248 * Return the reply
|
jpayne@69
|
3249 * @param c The connection
|
jpayne@69
|
3250 * @param cookie The cookie
|
jpayne@69
|
3251 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
3252 *
|
jpayne@69
|
3253 * Returns the reply of the request asked by
|
jpayne@69
|
3254 *
|
jpayne@69
|
3255 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
3256 * xcb_randr_get_screen_resources_current_unchecked(). is used.
|
jpayne@69
|
3257 * Otherwise, it stores the error if any.
|
jpayne@69
|
3258 *
|
jpayne@69
|
3259 * The returned value must be freed by the caller using free().
|
jpayne@69
|
3260 */
|
jpayne@69
|
3261 xcb_randr_get_screen_resources_current_reply_t *
|
jpayne@69
|
3262 xcb_randr_get_screen_resources_current_reply (xcb_connection_t *c,
|
jpayne@69
|
3263 xcb_randr_get_screen_resources_current_cookie_t cookie /**< */,
|
jpayne@69
|
3264 xcb_generic_error_t **e);
|
jpayne@69
|
3265
|
jpayne@69
|
3266 int
|
jpayne@69
|
3267 xcb_randr_set_crtc_transform_sizeof (const void *_buffer,
|
jpayne@69
|
3268 uint32_t filter_params_len);
|
jpayne@69
|
3269
|
jpayne@69
|
3270 /**
|
jpayne@69
|
3271 *
|
jpayne@69
|
3272 * @param c The connection
|
jpayne@69
|
3273 * @return A cookie
|
jpayne@69
|
3274 *
|
jpayne@69
|
3275 * Delivers a request to the X server.
|
jpayne@69
|
3276 *
|
jpayne@69
|
3277 * This form can be used only if the request will not cause
|
jpayne@69
|
3278 * a reply to be generated. Any returned error will be
|
jpayne@69
|
3279 * saved for handling by xcb_request_check().
|
jpayne@69
|
3280 */
|
jpayne@69
|
3281 xcb_void_cookie_t
|
jpayne@69
|
3282 xcb_randr_set_crtc_transform_checked (xcb_connection_t *c,
|
jpayne@69
|
3283 xcb_randr_crtc_t crtc,
|
jpayne@69
|
3284 xcb_render_transform_t transform,
|
jpayne@69
|
3285 uint16_t filter_len,
|
jpayne@69
|
3286 const char *filter_name,
|
jpayne@69
|
3287 uint32_t filter_params_len,
|
jpayne@69
|
3288 const xcb_render_fixed_t *filter_params);
|
jpayne@69
|
3289
|
jpayne@69
|
3290 /**
|
jpayne@69
|
3291 *
|
jpayne@69
|
3292 * @param c The connection
|
jpayne@69
|
3293 * @return A cookie
|
jpayne@69
|
3294 *
|
jpayne@69
|
3295 * Delivers a request to the X server.
|
jpayne@69
|
3296 *
|
jpayne@69
|
3297 */
|
jpayne@69
|
3298 xcb_void_cookie_t
|
jpayne@69
|
3299 xcb_randr_set_crtc_transform (xcb_connection_t *c,
|
jpayne@69
|
3300 xcb_randr_crtc_t crtc,
|
jpayne@69
|
3301 xcb_render_transform_t transform,
|
jpayne@69
|
3302 uint16_t filter_len,
|
jpayne@69
|
3303 const char *filter_name,
|
jpayne@69
|
3304 uint32_t filter_params_len,
|
jpayne@69
|
3305 const xcb_render_fixed_t *filter_params);
|
jpayne@69
|
3306
|
jpayne@69
|
3307 char *
|
jpayne@69
|
3308 xcb_randr_set_crtc_transform_filter_name (const xcb_randr_set_crtc_transform_request_t *R);
|
jpayne@69
|
3309
|
jpayne@69
|
3310 int
|
jpayne@69
|
3311 xcb_randr_set_crtc_transform_filter_name_length (const xcb_randr_set_crtc_transform_request_t *R);
|
jpayne@69
|
3312
|
jpayne@69
|
3313 xcb_generic_iterator_t
|
jpayne@69
|
3314 xcb_randr_set_crtc_transform_filter_name_end (const xcb_randr_set_crtc_transform_request_t *R);
|
jpayne@69
|
3315
|
jpayne@69
|
3316 xcb_render_fixed_t *
|
jpayne@69
|
3317 xcb_randr_set_crtc_transform_filter_params (const xcb_randr_set_crtc_transform_request_t *R);
|
jpayne@69
|
3318
|
jpayne@69
|
3319 int
|
jpayne@69
|
3320 xcb_randr_set_crtc_transform_filter_params_length (const xcb_randr_set_crtc_transform_request_t *R);
|
jpayne@69
|
3321
|
jpayne@69
|
3322 xcb_generic_iterator_t
|
jpayne@69
|
3323 xcb_randr_set_crtc_transform_filter_params_end (const xcb_randr_set_crtc_transform_request_t *R);
|
jpayne@69
|
3324
|
jpayne@69
|
3325 int
|
jpayne@69
|
3326 xcb_randr_get_crtc_transform_sizeof (const void *_buffer);
|
jpayne@69
|
3327
|
jpayne@69
|
3328 /**
|
jpayne@69
|
3329 *
|
jpayne@69
|
3330 * @param c The connection
|
jpayne@69
|
3331 * @return A cookie
|
jpayne@69
|
3332 *
|
jpayne@69
|
3333 * Delivers a request to the X server.
|
jpayne@69
|
3334 *
|
jpayne@69
|
3335 */
|
jpayne@69
|
3336 xcb_randr_get_crtc_transform_cookie_t
|
jpayne@69
|
3337 xcb_randr_get_crtc_transform (xcb_connection_t *c,
|
jpayne@69
|
3338 xcb_randr_crtc_t crtc);
|
jpayne@69
|
3339
|
jpayne@69
|
3340 /**
|
jpayne@69
|
3341 *
|
jpayne@69
|
3342 * @param c The connection
|
jpayne@69
|
3343 * @return A cookie
|
jpayne@69
|
3344 *
|
jpayne@69
|
3345 * Delivers a request to the X server.
|
jpayne@69
|
3346 *
|
jpayne@69
|
3347 * This form can be used only if the request will cause
|
jpayne@69
|
3348 * a reply to be generated. Any returned error will be
|
jpayne@69
|
3349 * placed in the event queue.
|
jpayne@69
|
3350 */
|
jpayne@69
|
3351 xcb_randr_get_crtc_transform_cookie_t
|
jpayne@69
|
3352 xcb_randr_get_crtc_transform_unchecked (xcb_connection_t *c,
|
jpayne@69
|
3353 xcb_randr_crtc_t crtc);
|
jpayne@69
|
3354
|
jpayne@69
|
3355 char *
|
jpayne@69
|
3356 xcb_randr_get_crtc_transform_pending_filter_name (const xcb_randr_get_crtc_transform_reply_t *R);
|
jpayne@69
|
3357
|
jpayne@69
|
3358 int
|
jpayne@69
|
3359 xcb_randr_get_crtc_transform_pending_filter_name_length (const xcb_randr_get_crtc_transform_reply_t *R);
|
jpayne@69
|
3360
|
jpayne@69
|
3361 xcb_generic_iterator_t
|
jpayne@69
|
3362 xcb_randr_get_crtc_transform_pending_filter_name_end (const xcb_randr_get_crtc_transform_reply_t *R);
|
jpayne@69
|
3363
|
jpayne@69
|
3364 xcb_render_fixed_t *
|
jpayne@69
|
3365 xcb_randr_get_crtc_transform_pending_params (const xcb_randr_get_crtc_transform_reply_t *R);
|
jpayne@69
|
3366
|
jpayne@69
|
3367 int
|
jpayne@69
|
3368 xcb_randr_get_crtc_transform_pending_params_length (const xcb_randr_get_crtc_transform_reply_t *R);
|
jpayne@69
|
3369
|
jpayne@69
|
3370 xcb_generic_iterator_t
|
jpayne@69
|
3371 xcb_randr_get_crtc_transform_pending_params_end (const xcb_randr_get_crtc_transform_reply_t *R);
|
jpayne@69
|
3372
|
jpayne@69
|
3373 char *
|
jpayne@69
|
3374 xcb_randr_get_crtc_transform_current_filter_name (const xcb_randr_get_crtc_transform_reply_t *R);
|
jpayne@69
|
3375
|
jpayne@69
|
3376 int
|
jpayne@69
|
3377 xcb_randr_get_crtc_transform_current_filter_name_length (const xcb_randr_get_crtc_transform_reply_t *R);
|
jpayne@69
|
3378
|
jpayne@69
|
3379 xcb_generic_iterator_t
|
jpayne@69
|
3380 xcb_randr_get_crtc_transform_current_filter_name_end (const xcb_randr_get_crtc_transform_reply_t *R);
|
jpayne@69
|
3381
|
jpayne@69
|
3382 xcb_render_fixed_t *
|
jpayne@69
|
3383 xcb_randr_get_crtc_transform_current_params (const xcb_randr_get_crtc_transform_reply_t *R);
|
jpayne@69
|
3384
|
jpayne@69
|
3385 int
|
jpayne@69
|
3386 xcb_randr_get_crtc_transform_current_params_length (const xcb_randr_get_crtc_transform_reply_t *R);
|
jpayne@69
|
3387
|
jpayne@69
|
3388 xcb_generic_iterator_t
|
jpayne@69
|
3389 xcb_randr_get_crtc_transform_current_params_end (const xcb_randr_get_crtc_transform_reply_t *R);
|
jpayne@69
|
3390
|
jpayne@69
|
3391 /**
|
jpayne@69
|
3392 * Return the reply
|
jpayne@69
|
3393 * @param c The connection
|
jpayne@69
|
3394 * @param cookie The cookie
|
jpayne@69
|
3395 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
3396 *
|
jpayne@69
|
3397 * Returns the reply of the request asked by
|
jpayne@69
|
3398 *
|
jpayne@69
|
3399 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
3400 * xcb_randr_get_crtc_transform_unchecked(). is used.
|
jpayne@69
|
3401 * Otherwise, it stores the error if any.
|
jpayne@69
|
3402 *
|
jpayne@69
|
3403 * The returned value must be freed by the caller using free().
|
jpayne@69
|
3404 */
|
jpayne@69
|
3405 xcb_randr_get_crtc_transform_reply_t *
|
jpayne@69
|
3406 xcb_randr_get_crtc_transform_reply (xcb_connection_t *c,
|
jpayne@69
|
3407 xcb_randr_get_crtc_transform_cookie_t cookie /**< */,
|
jpayne@69
|
3408 xcb_generic_error_t **e);
|
jpayne@69
|
3409
|
jpayne@69
|
3410 /**
|
jpayne@69
|
3411 *
|
jpayne@69
|
3412 * @param c The connection
|
jpayne@69
|
3413 * @return A cookie
|
jpayne@69
|
3414 *
|
jpayne@69
|
3415 * Delivers a request to the X server.
|
jpayne@69
|
3416 *
|
jpayne@69
|
3417 */
|
jpayne@69
|
3418 xcb_randr_get_panning_cookie_t
|
jpayne@69
|
3419 xcb_randr_get_panning (xcb_connection_t *c,
|
jpayne@69
|
3420 xcb_randr_crtc_t crtc);
|
jpayne@69
|
3421
|
jpayne@69
|
3422 /**
|
jpayne@69
|
3423 *
|
jpayne@69
|
3424 * @param c The connection
|
jpayne@69
|
3425 * @return A cookie
|
jpayne@69
|
3426 *
|
jpayne@69
|
3427 * Delivers a request to the X server.
|
jpayne@69
|
3428 *
|
jpayne@69
|
3429 * This form can be used only if the request will cause
|
jpayne@69
|
3430 * a reply to be generated. Any returned error will be
|
jpayne@69
|
3431 * placed in the event queue.
|
jpayne@69
|
3432 */
|
jpayne@69
|
3433 xcb_randr_get_panning_cookie_t
|
jpayne@69
|
3434 xcb_randr_get_panning_unchecked (xcb_connection_t *c,
|
jpayne@69
|
3435 xcb_randr_crtc_t crtc);
|
jpayne@69
|
3436
|
jpayne@69
|
3437 /**
|
jpayne@69
|
3438 * Return the reply
|
jpayne@69
|
3439 * @param c The connection
|
jpayne@69
|
3440 * @param cookie The cookie
|
jpayne@69
|
3441 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
3442 *
|
jpayne@69
|
3443 * Returns the reply of the request asked by
|
jpayne@69
|
3444 *
|
jpayne@69
|
3445 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
3446 * xcb_randr_get_panning_unchecked(). is used.
|
jpayne@69
|
3447 * Otherwise, it stores the error if any.
|
jpayne@69
|
3448 *
|
jpayne@69
|
3449 * The returned value must be freed by the caller using free().
|
jpayne@69
|
3450 */
|
jpayne@69
|
3451 xcb_randr_get_panning_reply_t *
|
jpayne@69
|
3452 xcb_randr_get_panning_reply (xcb_connection_t *c,
|
jpayne@69
|
3453 xcb_randr_get_panning_cookie_t cookie /**< */,
|
jpayne@69
|
3454 xcb_generic_error_t **e);
|
jpayne@69
|
3455
|
jpayne@69
|
3456 /**
|
jpayne@69
|
3457 *
|
jpayne@69
|
3458 * @param c The connection
|
jpayne@69
|
3459 * @return A cookie
|
jpayne@69
|
3460 *
|
jpayne@69
|
3461 * Delivers a request to the X server.
|
jpayne@69
|
3462 *
|
jpayne@69
|
3463 */
|
jpayne@69
|
3464 xcb_randr_set_panning_cookie_t
|
jpayne@69
|
3465 xcb_randr_set_panning (xcb_connection_t *c,
|
jpayne@69
|
3466 xcb_randr_crtc_t crtc,
|
jpayne@69
|
3467 xcb_timestamp_t timestamp,
|
jpayne@69
|
3468 uint16_t left,
|
jpayne@69
|
3469 uint16_t top,
|
jpayne@69
|
3470 uint16_t width,
|
jpayne@69
|
3471 uint16_t height,
|
jpayne@69
|
3472 uint16_t track_left,
|
jpayne@69
|
3473 uint16_t track_top,
|
jpayne@69
|
3474 uint16_t track_width,
|
jpayne@69
|
3475 uint16_t track_height,
|
jpayne@69
|
3476 int16_t border_left,
|
jpayne@69
|
3477 int16_t border_top,
|
jpayne@69
|
3478 int16_t border_right,
|
jpayne@69
|
3479 int16_t border_bottom);
|
jpayne@69
|
3480
|
jpayne@69
|
3481 /**
|
jpayne@69
|
3482 *
|
jpayne@69
|
3483 * @param c The connection
|
jpayne@69
|
3484 * @return A cookie
|
jpayne@69
|
3485 *
|
jpayne@69
|
3486 * Delivers a request to the X server.
|
jpayne@69
|
3487 *
|
jpayne@69
|
3488 * This form can be used only if the request will cause
|
jpayne@69
|
3489 * a reply to be generated. Any returned error will be
|
jpayne@69
|
3490 * placed in the event queue.
|
jpayne@69
|
3491 */
|
jpayne@69
|
3492 xcb_randr_set_panning_cookie_t
|
jpayne@69
|
3493 xcb_randr_set_panning_unchecked (xcb_connection_t *c,
|
jpayne@69
|
3494 xcb_randr_crtc_t crtc,
|
jpayne@69
|
3495 xcb_timestamp_t timestamp,
|
jpayne@69
|
3496 uint16_t left,
|
jpayne@69
|
3497 uint16_t top,
|
jpayne@69
|
3498 uint16_t width,
|
jpayne@69
|
3499 uint16_t height,
|
jpayne@69
|
3500 uint16_t track_left,
|
jpayne@69
|
3501 uint16_t track_top,
|
jpayne@69
|
3502 uint16_t track_width,
|
jpayne@69
|
3503 uint16_t track_height,
|
jpayne@69
|
3504 int16_t border_left,
|
jpayne@69
|
3505 int16_t border_top,
|
jpayne@69
|
3506 int16_t border_right,
|
jpayne@69
|
3507 int16_t border_bottom);
|
jpayne@69
|
3508
|
jpayne@69
|
3509 /**
|
jpayne@69
|
3510 * Return the reply
|
jpayne@69
|
3511 * @param c The connection
|
jpayne@69
|
3512 * @param cookie The cookie
|
jpayne@69
|
3513 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
3514 *
|
jpayne@69
|
3515 * Returns the reply of the request asked by
|
jpayne@69
|
3516 *
|
jpayne@69
|
3517 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
3518 * xcb_randr_set_panning_unchecked(). is used.
|
jpayne@69
|
3519 * Otherwise, it stores the error if any.
|
jpayne@69
|
3520 *
|
jpayne@69
|
3521 * The returned value must be freed by the caller using free().
|
jpayne@69
|
3522 */
|
jpayne@69
|
3523 xcb_randr_set_panning_reply_t *
|
jpayne@69
|
3524 xcb_randr_set_panning_reply (xcb_connection_t *c,
|
jpayne@69
|
3525 xcb_randr_set_panning_cookie_t cookie /**< */,
|
jpayne@69
|
3526 xcb_generic_error_t **e);
|
jpayne@69
|
3527
|
jpayne@69
|
3528 /**
|
jpayne@69
|
3529 *
|
jpayne@69
|
3530 * @param c The connection
|
jpayne@69
|
3531 * @return A cookie
|
jpayne@69
|
3532 *
|
jpayne@69
|
3533 * Delivers a request to the X server.
|
jpayne@69
|
3534 *
|
jpayne@69
|
3535 * This form can be used only if the request will not cause
|
jpayne@69
|
3536 * a reply to be generated. Any returned error will be
|
jpayne@69
|
3537 * saved for handling by xcb_request_check().
|
jpayne@69
|
3538 */
|
jpayne@69
|
3539 xcb_void_cookie_t
|
jpayne@69
|
3540 xcb_randr_set_output_primary_checked (xcb_connection_t *c,
|
jpayne@69
|
3541 xcb_window_t window,
|
jpayne@69
|
3542 xcb_randr_output_t output);
|
jpayne@69
|
3543
|
jpayne@69
|
3544 /**
|
jpayne@69
|
3545 *
|
jpayne@69
|
3546 * @param c The connection
|
jpayne@69
|
3547 * @return A cookie
|
jpayne@69
|
3548 *
|
jpayne@69
|
3549 * Delivers a request to the X server.
|
jpayne@69
|
3550 *
|
jpayne@69
|
3551 */
|
jpayne@69
|
3552 xcb_void_cookie_t
|
jpayne@69
|
3553 xcb_randr_set_output_primary (xcb_connection_t *c,
|
jpayne@69
|
3554 xcb_window_t window,
|
jpayne@69
|
3555 xcb_randr_output_t output);
|
jpayne@69
|
3556
|
jpayne@69
|
3557 /**
|
jpayne@69
|
3558 *
|
jpayne@69
|
3559 * @param c The connection
|
jpayne@69
|
3560 * @return A cookie
|
jpayne@69
|
3561 *
|
jpayne@69
|
3562 * Delivers a request to the X server.
|
jpayne@69
|
3563 *
|
jpayne@69
|
3564 */
|
jpayne@69
|
3565 xcb_randr_get_output_primary_cookie_t
|
jpayne@69
|
3566 xcb_randr_get_output_primary (xcb_connection_t *c,
|
jpayne@69
|
3567 xcb_window_t window);
|
jpayne@69
|
3568
|
jpayne@69
|
3569 /**
|
jpayne@69
|
3570 *
|
jpayne@69
|
3571 * @param c The connection
|
jpayne@69
|
3572 * @return A cookie
|
jpayne@69
|
3573 *
|
jpayne@69
|
3574 * Delivers a request to the X server.
|
jpayne@69
|
3575 *
|
jpayne@69
|
3576 * This form can be used only if the request will cause
|
jpayne@69
|
3577 * a reply to be generated. Any returned error will be
|
jpayne@69
|
3578 * placed in the event queue.
|
jpayne@69
|
3579 */
|
jpayne@69
|
3580 xcb_randr_get_output_primary_cookie_t
|
jpayne@69
|
3581 xcb_randr_get_output_primary_unchecked (xcb_connection_t *c,
|
jpayne@69
|
3582 xcb_window_t window);
|
jpayne@69
|
3583
|
jpayne@69
|
3584 /**
|
jpayne@69
|
3585 * Return the reply
|
jpayne@69
|
3586 * @param c The connection
|
jpayne@69
|
3587 * @param cookie The cookie
|
jpayne@69
|
3588 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
3589 *
|
jpayne@69
|
3590 * Returns the reply of the request asked by
|
jpayne@69
|
3591 *
|
jpayne@69
|
3592 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
3593 * xcb_randr_get_output_primary_unchecked(). is used.
|
jpayne@69
|
3594 * Otherwise, it stores the error if any.
|
jpayne@69
|
3595 *
|
jpayne@69
|
3596 * The returned value must be freed by the caller using free().
|
jpayne@69
|
3597 */
|
jpayne@69
|
3598 xcb_randr_get_output_primary_reply_t *
|
jpayne@69
|
3599 xcb_randr_get_output_primary_reply (xcb_connection_t *c,
|
jpayne@69
|
3600 xcb_randr_get_output_primary_cookie_t cookie /**< */,
|
jpayne@69
|
3601 xcb_generic_error_t **e);
|
jpayne@69
|
3602
|
jpayne@69
|
3603 int
|
jpayne@69
|
3604 xcb_randr_get_providers_sizeof (const void *_buffer);
|
jpayne@69
|
3605
|
jpayne@69
|
3606 /**
|
jpayne@69
|
3607 *
|
jpayne@69
|
3608 * @param c The connection
|
jpayne@69
|
3609 * @return A cookie
|
jpayne@69
|
3610 *
|
jpayne@69
|
3611 * Delivers a request to the X server.
|
jpayne@69
|
3612 *
|
jpayne@69
|
3613 */
|
jpayne@69
|
3614 xcb_randr_get_providers_cookie_t
|
jpayne@69
|
3615 xcb_randr_get_providers (xcb_connection_t *c,
|
jpayne@69
|
3616 xcb_window_t window);
|
jpayne@69
|
3617
|
jpayne@69
|
3618 /**
|
jpayne@69
|
3619 *
|
jpayne@69
|
3620 * @param c The connection
|
jpayne@69
|
3621 * @return A cookie
|
jpayne@69
|
3622 *
|
jpayne@69
|
3623 * Delivers a request to the X server.
|
jpayne@69
|
3624 *
|
jpayne@69
|
3625 * This form can be used only if the request will cause
|
jpayne@69
|
3626 * a reply to be generated. Any returned error will be
|
jpayne@69
|
3627 * placed in the event queue.
|
jpayne@69
|
3628 */
|
jpayne@69
|
3629 xcb_randr_get_providers_cookie_t
|
jpayne@69
|
3630 xcb_randr_get_providers_unchecked (xcb_connection_t *c,
|
jpayne@69
|
3631 xcb_window_t window);
|
jpayne@69
|
3632
|
jpayne@69
|
3633 xcb_randr_provider_t *
|
jpayne@69
|
3634 xcb_randr_get_providers_providers (const xcb_randr_get_providers_reply_t *R);
|
jpayne@69
|
3635
|
jpayne@69
|
3636 int
|
jpayne@69
|
3637 xcb_randr_get_providers_providers_length (const xcb_randr_get_providers_reply_t *R);
|
jpayne@69
|
3638
|
jpayne@69
|
3639 xcb_generic_iterator_t
|
jpayne@69
|
3640 xcb_randr_get_providers_providers_end (const xcb_randr_get_providers_reply_t *R);
|
jpayne@69
|
3641
|
jpayne@69
|
3642 /**
|
jpayne@69
|
3643 * Return the reply
|
jpayne@69
|
3644 * @param c The connection
|
jpayne@69
|
3645 * @param cookie The cookie
|
jpayne@69
|
3646 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
3647 *
|
jpayne@69
|
3648 * Returns the reply of the request asked by
|
jpayne@69
|
3649 *
|
jpayne@69
|
3650 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
3651 * xcb_randr_get_providers_unchecked(). is used.
|
jpayne@69
|
3652 * Otherwise, it stores the error if any.
|
jpayne@69
|
3653 *
|
jpayne@69
|
3654 * The returned value must be freed by the caller using free().
|
jpayne@69
|
3655 */
|
jpayne@69
|
3656 xcb_randr_get_providers_reply_t *
|
jpayne@69
|
3657 xcb_randr_get_providers_reply (xcb_connection_t *c,
|
jpayne@69
|
3658 xcb_randr_get_providers_cookie_t cookie /**< */,
|
jpayne@69
|
3659 xcb_generic_error_t **e);
|
jpayne@69
|
3660
|
jpayne@69
|
3661 int
|
jpayne@69
|
3662 xcb_randr_get_provider_info_sizeof (const void *_buffer);
|
jpayne@69
|
3663
|
jpayne@69
|
3664 /**
|
jpayne@69
|
3665 *
|
jpayne@69
|
3666 * @param c The connection
|
jpayne@69
|
3667 * @return A cookie
|
jpayne@69
|
3668 *
|
jpayne@69
|
3669 * Delivers a request to the X server.
|
jpayne@69
|
3670 *
|
jpayne@69
|
3671 */
|
jpayne@69
|
3672 xcb_randr_get_provider_info_cookie_t
|
jpayne@69
|
3673 xcb_randr_get_provider_info (xcb_connection_t *c,
|
jpayne@69
|
3674 xcb_randr_provider_t provider,
|
jpayne@69
|
3675 xcb_timestamp_t config_timestamp);
|
jpayne@69
|
3676
|
jpayne@69
|
3677 /**
|
jpayne@69
|
3678 *
|
jpayne@69
|
3679 * @param c The connection
|
jpayne@69
|
3680 * @return A cookie
|
jpayne@69
|
3681 *
|
jpayne@69
|
3682 * Delivers a request to the X server.
|
jpayne@69
|
3683 *
|
jpayne@69
|
3684 * This form can be used only if the request will cause
|
jpayne@69
|
3685 * a reply to be generated. Any returned error will be
|
jpayne@69
|
3686 * placed in the event queue.
|
jpayne@69
|
3687 */
|
jpayne@69
|
3688 xcb_randr_get_provider_info_cookie_t
|
jpayne@69
|
3689 xcb_randr_get_provider_info_unchecked (xcb_connection_t *c,
|
jpayne@69
|
3690 xcb_randr_provider_t provider,
|
jpayne@69
|
3691 xcb_timestamp_t config_timestamp);
|
jpayne@69
|
3692
|
jpayne@69
|
3693 xcb_randr_crtc_t *
|
jpayne@69
|
3694 xcb_randr_get_provider_info_crtcs (const xcb_randr_get_provider_info_reply_t *R);
|
jpayne@69
|
3695
|
jpayne@69
|
3696 int
|
jpayne@69
|
3697 xcb_randr_get_provider_info_crtcs_length (const xcb_randr_get_provider_info_reply_t *R);
|
jpayne@69
|
3698
|
jpayne@69
|
3699 xcb_generic_iterator_t
|
jpayne@69
|
3700 xcb_randr_get_provider_info_crtcs_end (const xcb_randr_get_provider_info_reply_t *R);
|
jpayne@69
|
3701
|
jpayne@69
|
3702 xcb_randr_output_t *
|
jpayne@69
|
3703 xcb_randr_get_provider_info_outputs (const xcb_randr_get_provider_info_reply_t *R);
|
jpayne@69
|
3704
|
jpayne@69
|
3705 int
|
jpayne@69
|
3706 xcb_randr_get_provider_info_outputs_length (const xcb_randr_get_provider_info_reply_t *R);
|
jpayne@69
|
3707
|
jpayne@69
|
3708 xcb_generic_iterator_t
|
jpayne@69
|
3709 xcb_randr_get_provider_info_outputs_end (const xcb_randr_get_provider_info_reply_t *R);
|
jpayne@69
|
3710
|
jpayne@69
|
3711 xcb_randr_provider_t *
|
jpayne@69
|
3712 xcb_randr_get_provider_info_associated_providers (const xcb_randr_get_provider_info_reply_t *R);
|
jpayne@69
|
3713
|
jpayne@69
|
3714 int
|
jpayne@69
|
3715 xcb_randr_get_provider_info_associated_providers_length (const xcb_randr_get_provider_info_reply_t *R);
|
jpayne@69
|
3716
|
jpayne@69
|
3717 xcb_generic_iterator_t
|
jpayne@69
|
3718 xcb_randr_get_provider_info_associated_providers_end (const xcb_randr_get_provider_info_reply_t *R);
|
jpayne@69
|
3719
|
jpayne@69
|
3720 uint32_t *
|
jpayne@69
|
3721 xcb_randr_get_provider_info_associated_capability (const xcb_randr_get_provider_info_reply_t *R);
|
jpayne@69
|
3722
|
jpayne@69
|
3723 int
|
jpayne@69
|
3724 xcb_randr_get_provider_info_associated_capability_length (const xcb_randr_get_provider_info_reply_t *R);
|
jpayne@69
|
3725
|
jpayne@69
|
3726 xcb_generic_iterator_t
|
jpayne@69
|
3727 xcb_randr_get_provider_info_associated_capability_end (const xcb_randr_get_provider_info_reply_t *R);
|
jpayne@69
|
3728
|
jpayne@69
|
3729 char *
|
jpayne@69
|
3730 xcb_randr_get_provider_info_name (const xcb_randr_get_provider_info_reply_t *R);
|
jpayne@69
|
3731
|
jpayne@69
|
3732 int
|
jpayne@69
|
3733 xcb_randr_get_provider_info_name_length (const xcb_randr_get_provider_info_reply_t *R);
|
jpayne@69
|
3734
|
jpayne@69
|
3735 xcb_generic_iterator_t
|
jpayne@69
|
3736 xcb_randr_get_provider_info_name_end (const xcb_randr_get_provider_info_reply_t *R);
|
jpayne@69
|
3737
|
jpayne@69
|
3738 /**
|
jpayne@69
|
3739 * Return the reply
|
jpayne@69
|
3740 * @param c The connection
|
jpayne@69
|
3741 * @param cookie The cookie
|
jpayne@69
|
3742 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
3743 *
|
jpayne@69
|
3744 * Returns the reply of the request asked by
|
jpayne@69
|
3745 *
|
jpayne@69
|
3746 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
3747 * xcb_randr_get_provider_info_unchecked(). is used.
|
jpayne@69
|
3748 * Otherwise, it stores the error if any.
|
jpayne@69
|
3749 *
|
jpayne@69
|
3750 * The returned value must be freed by the caller using free().
|
jpayne@69
|
3751 */
|
jpayne@69
|
3752 xcb_randr_get_provider_info_reply_t *
|
jpayne@69
|
3753 xcb_randr_get_provider_info_reply (xcb_connection_t *c,
|
jpayne@69
|
3754 xcb_randr_get_provider_info_cookie_t cookie /**< */,
|
jpayne@69
|
3755 xcb_generic_error_t **e);
|
jpayne@69
|
3756
|
jpayne@69
|
3757 /**
|
jpayne@69
|
3758 *
|
jpayne@69
|
3759 * @param c The connection
|
jpayne@69
|
3760 * @return A cookie
|
jpayne@69
|
3761 *
|
jpayne@69
|
3762 * Delivers a request to the X server.
|
jpayne@69
|
3763 *
|
jpayne@69
|
3764 * This form can be used only if the request will not cause
|
jpayne@69
|
3765 * a reply to be generated. Any returned error will be
|
jpayne@69
|
3766 * saved for handling by xcb_request_check().
|
jpayne@69
|
3767 */
|
jpayne@69
|
3768 xcb_void_cookie_t
|
jpayne@69
|
3769 xcb_randr_set_provider_offload_sink_checked (xcb_connection_t *c,
|
jpayne@69
|
3770 xcb_randr_provider_t provider,
|
jpayne@69
|
3771 xcb_randr_provider_t sink_provider,
|
jpayne@69
|
3772 xcb_timestamp_t config_timestamp);
|
jpayne@69
|
3773
|
jpayne@69
|
3774 /**
|
jpayne@69
|
3775 *
|
jpayne@69
|
3776 * @param c The connection
|
jpayne@69
|
3777 * @return A cookie
|
jpayne@69
|
3778 *
|
jpayne@69
|
3779 * Delivers a request to the X server.
|
jpayne@69
|
3780 *
|
jpayne@69
|
3781 */
|
jpayne@69
|
3782 xcb_void_cookie_t
|
jpayne@69
|
3783 xcb_randr_set_provider_offload_sink (xcb_connection_t *c,
|
jpayne@69
|
3784 xcb_randr_provider_t provider,
|
jpayne@69
|
3785 xcb_randr_provider_t sink_provider,
|
jpayne@69
|
3786 xcb_timestamp_t config_timestamp);
|
jpayne@69
|
3787
|
jpayne@69
|
3788 /**
|
jpayne@69
|
3789 *
|
jpayne@69
|
3790 * @param c The connection
|
jpayne@69
|
3791 * @return A cookie
|
jpayne@69
|
3792 *
|
jpayne@69
|
3793 * Delivers a request to the X server.
|
jpayne@69
|
3794 *
|
jpayne@69
|
3795 * This form can be used only if the request will not cause
|
jpayne@69
|
3796 * a reply to be generated. Any returned error will be
|
jpayne@69
|
3797 * saved for handling by xcb_request_check().
|
jpayne@69
|
3798 */
|
jpayne@69
|
3799 xcb_void_cookie_t
|
jpayne@69
|
3800 xcb_randr_set_provider_output_source_checked (xcb_connection_t *c,
|
jpayne@69
|
3801 xcb_randr_provider_t provider,
|
jpayne@69
|
3802 xcb_randr_provider_t source_provider,
|
jpayne@69
|
3803 xcb_timestamp_t config_timestamp);
|
jpayne@69
|
3804
|
jpayne@69
|
3805 /**
|
jpayne@69
|
3806 *
|
jpayne@69
|
3807 * @param c The connection
|
jpayne@69
|
3808 * @return A cookie
|
jpayne@69
|
3809 *
|
jpayne@69
|
3810 * Delivers a request to the X server.
|
jpayne@69
|
3811 *
|
jpayne@69
|
3812 */
|
jpayne@69
|
3813 xcb_void_cookie_t
|
jpayne@69
|
3814 xcb_randr_set_provider_output_source (xcb_connection_t *c,
|
jpayne@69
|
3815 xcb_randr_provider_t provider,
|
jpayne@69
|
3816 xcb_randr_provider_t source_provider,
|
jpayne@69
|
3817 xcb_timestamp_t config_timestamp);
|
jpayne@69
|
3818
|
jpayne@69
|
3819 int
|
jpayne@69
|
3820 xcb_randr_list_provider_properties_sizeof (const void *_buffer);
|
jpayne@69
|
3821
|
jpayne@69
|
3822 /**
|
jpayne@69
|
3823 *
|
jpayne@69
|
3824 * @param c The connection
|
jpayne@69
|
3825 * @return A cookie
|
jpayne@69
|
3826 *
|
jpayne@69
|
3827 * Delivers a request to the X server.
|
jpayne@69
|
3828 *
|
jpayne@69
|
3829 */
|
jpayne@69
|
3830 xcb_randr_list_provider_properties_cookie_t
|
jpayne@69
|
3831 xcb_randr_list_provider_properties (xcb_connection_t *c,
|
jpayne@69
|
3832 xcb_randr_provider_t provider);
|
jpayne@69
|
3833
|
jpayne@69
|
3834 /**
|
jpayne@69
|
3835 *
|
jpayne@69
|
3836 * @param c The connection
|
jpayne@69
|
3837 * @return A cookie
|
jpayne@69
|
3838 *
|
jpayne@69
|
3839 * Delivers a request to the X server.
|
jpayne@69
|
3840 *
|
jpayne@69
|
3841 * This form can be used only if the request will cause
|
jpayne@69
|
3842 * a reply to be generated. Any returned error will be
|
jpayne@69
|
3843 * placed in the event queue.
|
jpayne@69
|
3844 */
|
jpayne@69
|
3845 xcb_randr_list_provider_properties_cookie_t
|
jpayne@69
|
3846 xcb_randr_list_provider_properties_unchecked (xcb_connection_t *c,
|
jpayne@69
|
3847 xcb_randr_provider_t provider);
|
jpayne@69
|
3848
|
jpayne@69
|
3849 xcb_atom_t *
|
jpayne@69
|
3850 xcb_randr_list_provider_properties_atoms (const xcb_randr_list_provider_properties_reply_t *R);
|
jpayne@69
|
3851
|
jpayne@69
|
3852 int
|
jpayne@69
|
3853 xcb_randr_list_provider_properties_atoms_length (const xcb_randr_list_provider_properties_reply_t *R);
|
jpayne@69
|
3854
|
jpayne@69
|
3855 xcb_generic_iterator_t
|
jpayne@69
|
3856 xcb_randr_list_provider_properties_atoms_end (const xcb_randr_list_provider_properties_reply_t *R);
|
jpayne@69
|
3857
|
jpayne@69
|
3858 /**
|
jpayne@69
|
3859 * Return the reply
|
jpayne@69
|
3860 * @param c The connection
|
jpayne@69
|
3861 * @param cookie The cookie
|
jpayne@69
|
3862 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
3863 *
|
jpayne@69
|
3864 * Returns the reply of the request asked by
|
jpayne@69
|
3865 *
|
jpayne@69
|
3866 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
3867 * xcb_randr_list_provider_properties_unchecked(). is used.
|
jpayne@69
|
3868 * Otherwise, it stores the error if any.
|
jpayne@69
|
3869 *
|
jpayne@69
|
3870 * The returned value must be freed by the caller using free().
|
jpayne@69
|
3871 */
|
jpayne@69
|
3872 xcb_randr_list_provider_properties_reply_t *
|
jpayne@69
|
3873 xcb_randr_list_provider_properties_reply (xcb_connection_t *c,
|
jpayne@69
|
3874 xcb_randr_list_provider_properties_cookie_t cookie /**< */,
|
jpayne@69
|
3875 xcb_generic_error_t **e);
|
jpayne@69
|
3876
|
jpayne@69
|
3877 int
|
jpayne@69
|
3878 xcb_randr_query_provider_property_sizeof (const void *_buffer);
|
jpayne@69
|
3879
|
jpayne@69
|
3880 /**
|
jpayne@69
|
3881 *
|
jpayne@69
|
3882 * @param c The connection
|
jpayne@69
|
3883 * @return A cookie
|
jpayne@69
|
3884 *
|
jpayne@69
|
3885 * Delivers a request to the X server.
|
jpayne@69
|
3886 *
|
jpayne@69
|
3887 */
|
jpayne@69
|
3888 xcb_randr_query_provider_property_cookie_t
|
jpayne@69
|
3889 xcb_randr_query_provider_property (xcb_connection_t *c,
|
jpayne@69
|
3890 xcb_randr_provider_t provider,
|
jpayne@69
|
3891 xcb_atom_t property);
|
jpayne@69
|
3892
|
jpayne@69
|
3893 /**
|
jpayne@69
|
3894 *
|
jpayne@69
|
3895 * @param c The connection
|
jpayne@69
|
3896 * @return A cookie
|
jpayne@69
|
3897 *
|
jpayne@69
|
3898 * Delivers a request to the X server.
|
jpayne@69
|
3899 *
|
jpayne@69
|
3900 * This form can be used only if the request will cause
|
jpayne@69
|
3901 * a reply to be generated. Any returned error will be
|
jpayne@69
|
3902 * placed in the event queue.
|
jpayne@69
|
3903 */
|
jpayne@69
|
3904 xcb_randr_query_provider_property_cookie_t
|
jpayne@69
|
3905 xcb_randr_query_provider_property_unchecked (xcb_connection_t *c,
|
jpayne@69
|
3906 xcb_randr_provider_t provider,
|
jpayne@69
|
3907 xcb_atom_t property);
|
jpayne@69
|
3908
|
jpayne@69
|
3909 int32_t *
|
jpayne@69
|
3910 xcb_randr_query_provider_property_valid_values (const xcb_randr_query_provider_property_reply_t *R);
|
jpayne@69
|
3911
|
jpayne@69
|
3912 int
|
jpayne@69
|
3913 xcb_randr_query_provider_property_valid_values_length (const xcb_randr_query_provider_property_reply_t *R);
|
jpayne@69
|
3914
|
jpayne@69
|
3915 xcb_generic_iterator_t
|
jpayne@69
|
3916 xcb_randr_query_provider_property_valid_values_end (const xcb_randr_query_provider_property_reply_t *R);
|
jpayne@69
|
3917
|
jpayne@69
|
3918 /**
|
jpayne@69
|
3919 * Return the reply
|
jpayne@69
|
3920 * @param c The connection
|
jpayne@69
|
3921 * @param cookie The cookie
|
jpayne@69
|
3922 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
3923 *
|
jpayne@69
|
3924 * Returns the reply of the request asked by
|
jpayne@69
|
3925 *
|
jpayne@69
|
3926 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
3927 * xcb_randr_query_provider_property_unchecked(). is used.
|
jpayne@69
|
3928 * Otherwise, it stores the error if any.
|
jpayne@69
|
3929 *
|
jpayne@69
|
3930 * The returned value must be freed by the caller using free().
|
jpayne@69
|
3931 */
|
jpayne@69
|
3932 xcb_randr_query_provider_property_reply_t *
|
jpayne@69
|
3933 xcb_randr_query_provider_property_reply (xcb_connection_t *c,
|
jpayne@69
|
3934 xcb_randr_query_provider_property_cookie_t cookie /**< */,
|
jpayne@69
|
3935 xcb_generic_error_t **e);
|
jpayne@69
|
3936
|
jpayne@69
|
3937 int
|
jpayne@69
|
3938 xcb_randr_configure_provider_property_sizeof (const void *_buffer,
|
jpayne@69
|
3939 uint32_t values_len);
|
jpayne@69
|
3940
|
jpayne@69
|
3941 /**
|
jpayne@69
|
3942 *
|
jpayne@69
|
3943 * @param c The connection
|
jpayne@69
|
3944 * @return A cookie
|
jpayne@69
|
3945 *
|
jpayne@69
|
3946 * Delivers a request to the X server.
|
jpayne@69
|
3947 *
|
jpayne@69
|
3948 * This form can be used only if the request will not cause
|
jpayne@69
|
3949 * a reply to be generated. Any returned error will be
|
jpayne@69
|
3950 * saved for handling by xcb_request_check().
|
jpayne@69
|
3951 */
|
jpayne@69
|
3952 xcb_void_cookie_t
|
jpayne@69
|
3953 xcb_randr_configure_provider_property_checked (xcb_connection_t *c,
|
jpayne@69
|
3954 xcb_randr_provider_t provider,
|
jpayne@69
|
3955 xcb_atom_t property,
|
jpayne@69
|
3956 uint8_t pending,
|
jpayne@69
|
3957 uint8_t range,
|
jpayne@69
|
3958 uint32_t values_len,
|
jpayne@69
|
3959 const int32_t *values);
|
jpayne@69
|
3960
|
jpayne@69
|
3961 /**
|
jpayne@69
|
3962 *
|
jpayne@69
|
3963 * @param c The connection
|
jpayne@69
|
3964 * @return A cookie
|
jpayne@69
|
3965 *
|
jpayne@69
|
3966 * Delivers a request to the X server.
|
jpayne@69
|
3967 *
|
jpayne@69
|
3968 */
|
jpayne@69
|
3969 xcb_void_cookie_t
|
jpayne@69
|
3970 xcb_randr_configure_provider_property (xcb_connection_t *c,
|
jpayne@69
|
3971 xcb_randr_provider_t provider,
|
jpayne@69
|
3972 xcb_atom_t property,
|
jpayne@69
|
3973 uint8_t pending,
|
jpayne@69
|
3974 uint8_t range,
|
jpayne@69
|
3975 uint32_t values_len,
|
jpayne@69
|
3976 const int32_t *values);
|
jpayne@69
|
3977
|
jpayne@69
|
3978 int32_t *
|
jpayne@69
|
3979 xcb_randr_configure_provider_property_values (const xcb_randr_configure_provider_property_request_t *R);
|
jpayne@69
|
3980
|
jpayne@69
|
3981 int
|
jpayne@69
|
3982 xcb_randr_configure_provider_property_values_length (const xcb_randr_configure_provider_property_request_t *R);
|
jpayne@69
|
3983
|
jpayne@69
|
3984 xcb_generic_iterator_t
|
jpayne@69
|
3985 xcb_randr_configure_provider_property_values_end (const xcb_randr_configure_provider_property_request_t *R);
|
jpayne@69
|
3986
|
jpayne@69
|
3987 int
|
jpayne@69
|
3988 xcb_randr_change_provider_property_sizeof (const void *_buffer);
|
jpayne@69
|
3989
|
jpayne@69
|
3990 /**
|
jpayne@69
|
3991 *
|
jpayne@69
|
3992 * @param c The connection
|
jpayne@69
|
3993 * @return A cookie
|
jpayne@69
|
3994 *
|
jpayne@69
|
3995 * Delivers a request to the X server.
|
jpayne@69
|
3996 *
|
jpayne@69
|
3997 * This form can be used only if the request will not cause
|
jpayne@69
|
3998 * a reply to be generated. Any returned error will be
|
jpayne@69
|
3999 * saved for handling by xcb_request_check().
|
jpayne@69
|
4000 */
|
jpayne@69
|
4001 xcb_void_cookie_t
|
jpayne@69
|
4002 xcb_randr_change_provider_property_checked (xcb_connection_t *c,
|
jpayne@69
|
4003 xcb_randr_provider_t provider,
|
jpayne@69
|
4004 xcb_atom_t property,
|
jpayne@69
|
4005 xcb_atom_t type,
|
jpayne@69
|
4006 uint8_t format,
|
jpayne@69
|
4007 uint8_t mode,
|
jpayne@69
|
4008 uint32_t num_items,
|
jpayne@69
|
4009 const void *data);
|
jpayne@69
|
4010
|
jpayne@69
|
4011 /**
|
jpayne@69
|
4012 *
|
jpayne@69
|
4013 * @param c The connection
|
jpayne@69
|
4014 * @return A cookie
|
jpayne@69
|
4015 *
|
jpayne@69
|
4016 * Delivers a request to the X server.
|
jpayne@69
|
4017 *
|
jpayne@69
|
4018 */
|
jpayne@69
|
4019 xcb_void_cookie_t
|
jpayne@69
|
4020 xcb_randr_change_provider_property (xcb_connection_t *c,
|
jpayne@69
|
4021 xcb_randr_provider_t provider,
|
jpayne@69
|
4022 xcb_atom_t property,
|
jpayne@69
|
4023 xcb_atom_t type,
|
jpayne@69
|
4024 uint8_t format,
|
jpayne@69
|
4025 uint8_t mode,
|
jpayne@69
|
4026 uint32_t num_items,
|
jpayne@69
|
4027 const void *data);
|
jpayne@69
|
4028
|
jpayne@69
|
4029 void *
|
jpayne@69
|
4030 xcb_randr_change_provider_property_data (const xcb_randr_change_provider_property_request_t *R);
|
jpayne@69
|
4031
|
jpayne@69
|
4032 int
|
jpayne@69
|
4033 xcb_randr_change_provider_property_data_length (const xcb_randr_change_provider_property_request_t *R);
|
jpayne@69
|
4034
|
jpayne@69
|
4035 xcb_generic_iterator_t
|
jpayne@69
|
4036 xcb_randr_change_provider_property_data_end (const xcb_randr_change_provider_property_request_t *R);
|
jpayne@69
|
4037
|
jpayne@69
|
4038 /**
|
jpayne@69
|
4039 *
|
jpayne@69
|
4040 * @param c The connection
|
jpayne@69
|
4041 * @return A cookie
|
jpayne@69
|
4042 *
|
jpayne@69
|
4043 * Delivers a request to the X server.
|
jpayne@69
|
4044 *
|
jpayne@69
|
4045 * This form can be used only if the request will not cause
|
jpayne@69
|
4046 * a reply to be generated. Any returned error will be
|
jpayne@69
|
4047 * saved for handling by xcb_request_check().
|
jpayne@69
|
4048 */
|
jpayne@69
|
4049 xcb_void_cookie_t
|
jpayne@69
|
4050 xcb_randr_delete_provider_property_checked (xcb_connection_t *c,
|
jpayne@69
|
4051 xcb_randr_provider_t provider,
|
jpayne@69
|
4052 xcb_atom_t property);
|
jpayne@69
|
4053
|
jpayne@69
|
4054 /**
|
jpayne@69
|
4055 *
|
jpayne@69
|
4056 * @param c The connection
|
jpayne@69
|
4057 * @return A cookie
|
jpayne@69
|
4058 *
|
jpayne@69
|
4059 * Delivers a request to the X server.
|
jpayne@69
|
4060 *
|
jpayne@69
|
4061 */
|
jpayne@69
|
4062 xcb_void_cookie_t
|
jpayne@69
|
4063 xcb_randr_delete_provider_property (xcb_connection_t *c,
|
jpayne@69
|
4064 xcb_randr_provider_t provider,
|
jpayne@69
|
4065 xcb_atom_t property);
|
jpayne@69
|
4066
|
jpayne@69
|
4067 int
|
jpayne@69
|
4068 xcb_randr_get_provider_property_sizeof (const void *_buffer);
|
jpayne@69
|
4069
|
jpayne@69
|
4070 /**
|
jpayne@69
|
4071 *
|
jpayne@69
|
4072 * @param c The connection
|
jpayne@69
|
4073 * @return A cookie
|
jpayne@69
|
4074 *
|
jpayne@69
|
4075 * Delivers a request to the X server.
|
jpayne@69
|
4076 *
|
jpayne@69
|
4077 */
|
jpayne@69
|
4078 xcb_randr_get_provider_property_cookie_t
|
jpayne@69
|
4079 xcb_randr_get_provider_property (xcb_connection_t *c,
|
jpayne@69
|
4080 xcb_randr_provider_t provider,
|
jpayne@69
|
4081 xcb_atom_t property,
|
jpayne@69
|
4082 xcb_atom_t type,
|
jpayne@69
|
4083 uint32_t long_offset,
|
jpayne@69
|
4084 uint32_t long_length,
|
jpayne@69
|
4085 uint8_t _delete,
|
jpayne@69
|
4086 uint8_t pending);
|
jpayne@69
|
4087
|
jpayne@69
|
4088 /**
|
jpayne@69
|
4089 *
|
jpayne@69
|
4090 * @param c The connection
|
jpayne@69
|
4091 * @return A cookie
|
jpayne@69
|
4092 *
|
jpayne@69
|
4093 * Delivers a request to the X server.
|
jpayne@69
|
4094 *
|
jpayne@69
|
4095 * This form can be used only if the request will cause
|
jpayne@69
|
4096 * a reply to be generated. Any returned error will be
|
jpayne@69
|
4097 * placed in the event queue.
|
jpayne@69
|
4098 */
|
jpayne@69
|
4099 xcb_randr_get_provider_property_cookie_t
|
jpayne@69
|
4100 xcb_randr_get_provider_property_unchecked (xcb_connection_t *c,
|
jpayne@69
|
4101 xcb_randr_provider_t provider,
|
jpayne@69
|
4102 xcb_atom_t property,
|
jpayne@69
|
4103 xcb_atom_t type,
|
jpayne@69
|
4104 uint32_t long_offset,
|
jpayne@69
|
4105 uint32_t long_length,
|
jpayne@69
|
4106 uint8_t _delete,
|
jpayne@69
|
4107 uint8_t pending);
|
jpayne@69
|
4108
|
jpayne@69
|
4109 void *
|
jpayne@69
|
4110 xcb_randr_get_provider_property_data (const xcb_randr_get_provider_property_reply_t *R);
|
jpayne@69
|
4111
|
jpayne@69
|
4112 int
|
jpayne@69
|
4113 xcb_randr_get_provider_property_data_length (const xcb_randr_get_provider_property_reply_t *R);
|
jpayne@69
|
4114
|
jpayne@69
|
4115 xcb_generic_iterator_t
|
jpayne@69
|
4116 xcb_randr_get_provider_property_data_end (const xcb_randr_get_provider_property_reply_t *R);
|
jpayne@69
|
4117
|
jpayne@69
|
4118 /**
|
jpayne@69
|
4119 * Return the reply
|
jpayne@69
|
4120 * @param c The connection
|
jpayne@69
|
4121 * @param cookie The cookie
|
jpayne@69
|
4122 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
4123 *
|
jpayne@69
|
4124 * Returns the reply of the request asked by
|
jpayne@69
|
4125 *
|
jpayne@69
|
4126 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
4127 * xcb_randr_get_provider_property_unchecked(). is used.
|
jpayne@69
|
4128 * Otherwise, it stores the error if any.
|
jpayne@69
|
4129 *
|
jpayne@69
|
4130 * The returned value must be freed by the caller using free().
|
jpayne@69
|
4131 */
|
jpayne@69
|
4132 xcb_randr_get_provider_property_reply_t *
|
jpayne@69
|
4133 xcb_randr_get_provider_property_reply (xcb_connection_t *c,
|
jpayne@69
|
4134 xcb_randr_get_provider_property_cookie_t cookie /**< */,
|
jpayne@69
|
4135 xcb_generic_error_t **e);
|
jpayne@69
|
4136
|
jpayne@69
|
4137 /**
|
jpayne@69
|
4138 * Get the next element of the iterator
|
jpayne@69
|
4139 * @param i Pointer to a xcb_randr_crtc_change_iterator_t
|
jpayne@69
|
4140 *
|
jpayne@69
|
4141 * Get the next element in the iterator. The member rem is
|
jpayne@69
|
4142 * decreased by one. The member data points to the next
|
jpayne@69
|
4143 * element. The member index is increased by sizeof(xcb_randr_crtc_change_t)
|
jpayne@69
|
4144 */
|
jpayne@69
|
4145 void
|
jpayne@69
|
4146 xcb_randr_crtc_change_next (xcb_randr_crtc_change_iterator_t *i);
|
jpayne@69
|
4147
|
jpayne@69
|
4148 /**
|
jpayne@69
|
4149 * Return the iterator pointing to the last element
|
jpayne@69
|
4150 * @param i An xcb_randr_crtc_change_iterator_t
|
jpayne@69
|
4151 * @return The iterator pointing to the last element
|
jpayne@69
|
4152 *
|
jpayne@69
|
4153 * Set the current element in the iterator to the last element.
|
jpayne@69
|
4154 * The member rem is set to 0. The member data points to the
|
jpayne@69
|
4155 * last element.
|
jpayne@69
|
4156 */
|
jpayne@69
|
4157 xcb_generic_iterator_t
|
jpayne@69
|
4158 xcb_randr_crtc_change_end (xcb_randr_crtc_change_iterator_t i);
|
jpayne@69
|
4159
|
jpayne@69
|
4160 /**
|
jpayne@69
|
4161 * Get the next element of the iterator
|
jpayne@69
|
4162 * @param i Pointer to a xcb_randr_output_change_iterator_t
|
jpayne@69
|
4163 *
|
jpayne@69
|
4164 * Get the next element in the iterator. The member rem is
|
jpayne@69
|
4165 * decreased by one. The member data points to the next
|
jpayne@69
|
4166 * element. The member index is increased by sizeof(xcb_randr_output_change_t)
|
jpayne@69
|
4167 */
|
jpayne@69
|
4168 void
|
jpayne@69
|
4169 xcb_randr_output_change_next (xcb_randr_output_change_iterator_t *i);
|
jpayne@69
|
4170
|
jpayne@69
|
4171 /**
|
jpayne@69
|
4172 * Return the iterator pointing to the last element
|
jpayne@69
|
4173 * @param i An xcb_randr_output_change_iterator_t
|
jpayne@69
|
4174 * @return The iterator pointing to the last element
|
jpayne@69
|
4175 *
|
jpayne@69
|
4176 * Set the current element in the iterator to the last element.
|
jpayne@69
|
4177 * The member rem is set to 0. The member data points to the
|
jpayne@69
|
4178 * last element.
|
jpayne@69
|
4179 */
|
jpayne@69
|
4180 xcb_generic_iterator_t
|
jpayne@69
|
4181 xcb_randr_output_change_end (xcb_randr_output_change_iterator_t i);
|
jpayne@69
|
4182
|
jpayne@69
|
4183 /**
|
jpayne@69
|
4184 * Get the next element of the iterator
|
jpayne@69
|
4185 * @param i Pointer to a xcb_randr_output_property_iterator_t
|
jpayne@69
|
4186 *
|
jpayne@69
|
4187 * Get the next element in the iterator. The member rem is
|
jpayne@69
|
4188 * decreased by one. The member data points to the next
|
jpayne@69
|
4189 * element. The member index is increased by sizeof(xcb_randr_output_property_t)
|
jpayne@69
|
4190 */
|
jpayne@69
|
4191 void
|
jpayne@69
|
4192 xcb_randr_output_property_next (xcb_randr_output_property_iterator_t *i);
|
jpayne@69
|
4193
|
jpayne@69
|
4194 /**
|
jpayne@69
|
4195 * Return the iterator pointing to the last element
|
jpayne@69
|
4196 * @param i An xcb_randr_output_property_iterator_t
|
jpayne@69
|
4197 * @return The iterator pointing to the last element
|
jpayne@69
|
4198 *
|
jpayne@69
|
4199 * Set the current element in the iterator to the last element.
|
jpayne@69
|
4200 * The member rem is set to 0. The member data points to the
|
jpayne@69
|
4201 * last element.
|
jpayne@69
|
4202 */
|
jpayne@69
|
4203 xcb_generic_iterator_t
|
jpayne@69
|
4204 xcb_randr_output_property_end (xcb_randr_output_property_iterator_t i);
|
jpayne@69
|
4205
|
jpayne@69
|
4206 /**
|
jpayne@69
|
4207 * Get the next element of the iterator
|
jpayne@69
|
4208 * @param i Pointer to a xcb_randr_provider_change_iterator_t
|
jpayne@69
|
4209 *
|
jpayne@69
|
4210 * Get the next element in the iterator. The member rem is
|
jpayne@69
|
4211 * decreased by one. The member data points to the next
|
jpayne@69
|
4212 * element. The member index is increased by sizeof(xcb_randr_provider_change_t)
|
jpayne@69
|
4213 */
|
jpayne@69
|
4214 void
|
jpayne@69
|
4215 xcb_randr_provider_change_next (xcb_randr_provider_change_iterator_t *i);
|
jpayne@69
|
4216
|
jpayne@69
|
4217 /**
|
jpayne@69
|
4218 * Return the iterator pointing to the last element
|
jpayne@69
|
4219 * @param i An xcb_randr_provider_change_iterator_t
|
jpayne@69
|
4220 * @return The iterator pointing to the last element
|
jpayne@69
|
4221 *
|
jpayne@69
|
4222 * Set the current element in the iterator to the last element.
|
jpayne@69
|
4223 * The member rem is set to 0. The member data points to the
|
jpayne@69
|
4224 * last element.
|
jpayne@69
|
4225 */
|
jpayne@69
|
4226 xcb_generic_iterator_t
|
jpayne@69
|
4227 xcb_randr_provider_change_end (xcb_randr_provider_change_iterator_t i);
|
jpayne@69
|
4228
|
jpayne@69
|
4229 /**
|
jpayne@69
|
4230 * Get the next element of the iterator
|
jpayne@69
|
4231 * @param i Pointer to a xcb_randr_provider_property_iterator_t
|
jpayne@69
|
4232 *
|
jpayne@69
|
4233 * Get the next element in the iterator. The member rem is
|
jpayne@69
|
4234 * decreased by one. The member data points to the next
|
jpayne@69
|
4235 * element. The member index is increased by sizeof(xcb_randr_provider_property_t)
|
jpayne@69
|
4236 */
|
jpayne@69
|
4237 void
|
jpayne@69
|
4238 xcb_randr_provider_property_next (xcb_randr_provider_property_iterator_t *i);
|
jpayne@69
|
4239
|
jpayne@69
|
4240 /**
|
jpayne@69
|
4241 * Return the iterator pointing to the last element
|
jpayne@69
|
4242 * @param i An xcb_randr_provider_property_iterator_t
|
jpayne@69
|
4243 * @return The iterator pointing to the last element
|
jpayne@69
|
4244 *
|
jpayne@69
|
4245 * Set the current element in the iterator to the last element.
|
jpayne@69
|
4246 * The member rem is set to 0. The member data points to the
|
jpayne@69
|
4247 * last element.
|
jpayne@69
|
4248 */
|
jpayne@69
|
4249 xcb_generic_iterator_t
|
jpayne@69
|
4250 xcb_randr_provider_property_end (xcb_randr_provider_property_iterator_t i);
|
jpayne@69
|
4251
|
jpayne@69
|
4252 /**
|
jpayne@69
|
4253 * Get the next element of the iterator
|
jpayne@69
|
4254 * @param i Pointer to a xcb_randr_resource_change_iterator_t
|
jpayne@69
|
4255 *
|
jpayne@69
|
4256 * Get the next element in the iterator. The member rem is
|
jpayne@69
|
4257 * decreased by one. The member data points to the next
|
jpayne@69
|
4258 * element. The member index is increased by sizeof(xcb_randr_resource_change_t)
|
jpayne@69
|
4259 */
|
jpayne@69
|
4260 void
|
jpayne@69
|
4261 xcb_randr_resource_change_next (xcb_randr_resource_change_iterator_t *i);
|
jpayne@69
|
4262
|
jpayne@69
|
4263 /**
|
jpayne@69
|
4264 * Return the iterator pointing to the last element
|
jpayne@69
|
4265 * @param i An xcb_randr_resource_change_iterator_t
|
jpayne@69
|
4266 * @return The iterator pointing to the last element
|
jpayne@69
|
4267 *
|
jpayne@69
|
4268 * Set the current element in the iterator to the last element.
|
jpayne@69
|
4269 * The member rem is set to 0. The member data points to the
|
jpayne@69
|
4270 * last element.
|
jpayne@69
|
4271 */
|
jpayne@69
|
4272 xcb_generic_iterator_t
|
jpayne@69
|
4273 xcb_randr_resource_change_end (xcb_randr_resource_change_iterator_t i);
|
jpayne@69
|
4274
|
jpayne@69
|
4275 int
|
jpayne@69
|
4276 xcb_randr_monitor_info_sizeof (const void *_buffer);
|
jpayne@69
|
4277
|
jpayne@69
|
4278 xcb_randr_output_t *
|
jpayne@69
|
4279 xcb_randr_monitor_info_outputs (const xcb_randr_monitor_info_t *R);
|
jpayne@69
|
4280
|
jpayne@69
|
4281 int
|
jpayne@69
|
4282 xcb_randr_monitor_info_outputs_length (const xcb_randr_monitor_info_t *R);
|
jpayne@69
|
4283
|
jpayne@69
|
4284 xcb_generic_iterator_t
|
jpayne@69
|
4285 xcb_randr_monitor_info_outputs_end (const xcb_randr_monitor_info_t *R);
|
jpayne@69
|
4286
|
jpayne@69
|
4287 /**
|
jpayne@69
|
4288 * Get the next element of the iterator
|
jpayne@69
|
4289 * @param i Pointer to a xcb_randr_monitor_info_iterator_t
|
jpayne@69
|
4290 *
|
jpayne@69
|
4291 * Get the next element in the iterator. The member rem is
|
jpayne@69
|
4292 * decreased by one. The member data points to the next
|
jpayne@69
|
4293 * element. The member index is increased by sizeof(xcb_randr_monitor_info_t)
|
jpayne@69
|
4294 */
|
jpayne@69
|
4295 void
|
jpayne@69
|
4296 xcb_randr_monitor_info_next (xcb_randr_monitor_info_iterator_t *i);
|
jpayne@69
|
4297
|
jpayne@69
|
4298 /**
|
jpayne@69
|
4299 * Return the iterator pointing to the last element
|
jpayne@69
|
4300 * @param i An xcb_randr_monitor_info_iterator_t
|
jpayne@69
|
4301 * @return The iterator pointing to the last element
|
jpayne@69
|
4302 *
|
jpayne@69
|
4303 * Set the current element in the iterator to the last element.
|
jpayne@69
|
4304 * The member rem is set to 0. The member data points to the
|
jpayne@69
|
4305 * last element.
|
jpayne@69
|
4306 */
|
jpayne@69
|
4307 xcb_generic_iterator_t
|
jpayne@69
|
4308 xcb_randr_monitor_info_end (xcb_randr_monitor_info_iterator_t i);
|
jpayne@69
|
4309
|
jpayne@69
|
4310 int
|
jpayne@69
|
4311 xcb_randr_get_monitors_sizeof (const void *_buffer);
|
jpayne@69
|
4312
|
jpayne@69
|
4313 /**
|
jpayne@69
|
4314 *
|
jpayne@69
|
4315 * @param c The connection
|
jpayne@69
|
4316 * @return A cookie
|
jpayne@69
|
4317 *
|
jpayne@69
|
4318 * Delivers a request to the X server.
|
jpayne@69
|
4319 *
|
jpayne@69
|
4320 */
|
jpayne@69
|
4321 xcb_randr_get_monitors_cookie_t
|
jpayne@69
|
4322 xcb_randr_get_monitors (xcb_connection_t *c,
|
jpayne@69
|
4323 xcb_window_t window,
|
jpayne@69
|
4324 uint8_t get_active);
|
jpayne@69
|
4325
|
jpayne@69
|
4326 /**
|
jpayne@69
|
4327 *
|
jpayne@69
|
4328 * @param c The connection
|
jpayne@69
|
4329 * @return A cookie
|
jpayne@69
|
4330 *
|
jpayne@69
|
4331 * Delivers a request to the X server.
|
jpayne@69
|
4332 *
|
jpayne@69
|
4333 * This form can be used only if the request will cause
|
jpayne@69
|
4334 * a reply to be generated. Any returned error will be
|
jpayne@69
|
4335 * placed in the event queue.
|
jpayne@69
|
4336 */
|
jpayne@69
|
4337 xcb_randr_get_monitors_cookie_t
|
jpayne@69
|
4338 xcb_randr_get_monitors_unchecked (xcb_connection_t *c,
|
jpayne@69
|
4339 xcb_window_t window,
|
jpayne@69
|
4340 uint8_t get_active);
|
jpayne@69
|
4341
|
jpayne@69
|
4342 int
|
jpayne@69
|
4343 xcb_randr_get_monitors_monitors_length (const xcb_randr_get_monitors_reply_t *R);
|
jpayne@69
|
4344
|
jpayne@69
|
4345 xcb_randr_monitor_info_iterator_t
|
jpayne@69
|
4346 xcb_randr_get_monitors_monitors_iterator (const xcb_randr_get_monitors_reply_t *R);
|
jpayne@69
|
4347
|
jpayne@69
|
4348 /**
|
jpayne@69
|
4349 * Return the reply
|
jpayne@69
|
4350 * @param c The connection
|
jpayne@69
|
4351 * @param cookie The cookie
|
jpayne@69
|
4352 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
4353 *
|
jpayne@69
|
4354 * Returns the reply of the request asked by
|
jpayne@69
|
4355 *
|
jpayne@69
|
4356 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
4357 * xcb_randr_get_monitors_unchecked(). is used.
|
jpayne@69
|
4358 * Otherwise, it stores the error if any.
|
jpayne@69
|
4359 *
|
jpayne@69
|
4360 * The returned value must be freed by the caller using free().
|
jpayne@69
|
4361 */
|
jpayne@69
|
4362 xcb_randr_get_monitors_reply_t *
|
jpayne@69
|
4363 xcb_randr_get_monitors_reply (xcb_connection_t *c,
|
jpayne@69
|
4364 xcb_randr_get_monitors_cookie_t cookie /**< */,
|
jpayne@69
|
4365 xcb_generic_error_t **e);
|
jpayne@69
|
4366
|
jpayne@69
|
4367 int
|
jpayne@69
|
4368 xcb_randr_set_monitor_sizeof (const void *_buffer);
|
jpayne@69
|
4369
|
jpayne@69
|
4370 /**
|
jpayne@69
|
4371 *
|
jpayne@69
|
4372 * @param c The connection
|
jpayne@69
|
4373 * @return A cookie
|
jpayne@69
|
4374 *
|
jpayne@69
|
4375 * Delivers a request to the X server.
|
jpayne@69
|
4376 *
|
jpayne@69
|
4377 * This form can be used only if the request will not cause
|
jpayne@69
|
4378 * a reply to be generated. Any returned error will be
|
jpayne@69
|
4379 * saved for handling by xcb_request_check().
|
jpayne@69
|
4380 */
|
jpayne@69
|
4381 xcb_void_cookie_t
|
jpayne@69
|
4382 xcb_randr_set_monitor_checked (xcb_connection_t *c,
|
jpayne@69
|
4383 xcb_window_t window,
|
jpayne@69
|
4384 xcb_randr_monitor_info_t *monitorinfo);
|
jpayne@69
|
4385
|
jpayne@69
|
4386 /**
|
jpayne@69
|
4387 *
|
jpayne@69
|
4388 * @param c The connection
|
jpayne@69
|
4389 * @return A cookie
|
jpayne@69
|
4390 *
|
jpayne@69
|
4391 * Delivers a request to the X server.
|
jpayne@69
|
4392 *
|
jpayne@69
|
4393 */
|
jpayne@69
|
4394 xcb_void_cookie_t
|
jpayne@69
|
4395 xcb_randr_set_monitor (xcb_connection_t *c,
|
jpayne@69
|
4396 xcb_window_t window,
|
jpayne@69
|
4397 xcb_randr_monitor_info_t *monitorinfo);
|
jpayne@69
|
4398
|
jpayne@69
|
4399 xcb_randr_monitor_info_t *
|
jpayne@69
|
4400 xcb_randr_set_monitor_monitorinfo (const xcb_randr_set_monitor_request_t *R);
|
jpayne@69
|
4401
|
jpayne@69
|
4402 /**
|
jpayne@69
|
4403 *
|
jpayne@69
|
4404 * @param c The connection
|
jpayne@69
|
4405 * @return A cookie
|
jpayne@69
|
4406 *
|
jpayne@69
|
4407 * Delivers a request to the X server.
|
jpayne@69
|
4408 *
|
jpayne@69
|
4409 * This form can be used only if the request will not cause
|
jpayne@69
|
4410 * a reply to be generated. Any returned error will be
|
jpayne@69
|
4411 * saved for handling by xcb_request_check().
|
jpayne@69
|
4412 */
|
jpayne@69
|
4413 xcb_void_cookie_t
|
jpayne@69
|
4414 xcb_randr_delete_monitor_checked (xcb_connection_t *c,
|
jpayne@69
|
4415 xcb_window_t window,
|
jpayne@69
|
4416 xcb_atom_t name);
|
jpayne@69
|
4417
|
jpayne@69
|
4418 /**
|
jpayne@69
|
4419 *
|
jpayne@69
|
4420 * @param c The connection
|
jpayne@69
|
4421 * @return A cookie
|
jpayne@69
|
4422 *
|
jpayne@69
|
4423 * Delivers a request to the X server.
|
jpayne@69
|
4424 *
|
jpayne@69
|
4425 */
|
jpayne@69
|
4426 xcb_void_cookie_t
|
jpayne@69
|
4427 xcb_randr_delete_monitor (xcb_connection_t *c,
|
jpayne@69
|
4428 xcb_window_t window,
|
jpayne@69
|
4429 xcb_atom_t name);
|
jpayne@69
|
4430
|
jpayne@69
|
4431 int
|
jpayne@69
|
4432 xcb_randr_create_lease_sizeof (const void *_buffer);
|
jpayne@69
|
4433
|
jpayne@69
|
4434 /**
|
jpayne@69
|
4435 *
|
jpayne@69
|
4436 * @param c The connection
|
jpayne@69
|
4437 * @return A cookie
|
jpayne@69
|
4438 *
|
jpayne@69
|
4439 * Delivers a request to the X server.
|
jpayne@69
|
4440 *
|
jpayne@69
|
4441 */
|
jpayne@69
|
4442 xcb_randr_create_lease_cookie_t
|
jpayne@69
|
4443 xcb_randr_create_lease (xcb_connection_t *c,
|
jpayne@69
|
4444 xcb_window_t window,
|
jpayne@69
|
4445 xcb_randr_lease_t lid,
|
jpayne@69
|
4446 uint16_t num_crtcs,
|
jpayne@69
|
4447 uint16_t num_outputs,
|
jpayne@69
|
4448 const xcb_randr_crtc_t *crtcs,
|
jpayne@69
|
4449 const xcb_randr_output_t *outputs);
|
jpayne@69
|
4450
|
jpayne@69
|
4451 /**
|
jpayne@69
|
4452 *
|
jpayne@69
|
4453 * @param c The connection
|
jpayne@69
|
4454 * @return A cookie
|
jpayne@69
|
4455 *
|
jpayne@69
|
4456 * Delivers a request to the X server.
|
jpayne@69
|
4457 *
|
jpayne@69
|
4458 * This form can be used only if the request will cause
|
jpayne@69
|
4459 * a reply to be generated. Any returned error will be
|
jpayne@69
|
4460 * placed in the event queue.
|
jpayne@69
|
4461 */
|
jpayne@69
|
4462 xcb_randr_create_lease_cookie_t
|
jpayne@69
|
4463 xcb_randr_create_lease_unchecked (xcb_connection_t *c,
|
jpayne@69
|
4464 xcb_window_t window,
|
jpayne@69
|
4465 xcb_randr_lease_t lid,
|
jpayne@69
|
4466 uint16_t num_crtcs,
|
jpayne@69
|
4467 uint16_t num_outputs,
|
jpayne@69
|
4468 const xcb_randr_crtc_t *crtcs,
|
jpayne@69
|
4469 const xcb_randr_output_t *outputs);
|
jpayne@69
|
4470
|
jpayne@69
|
4471 /**
|
jpayne@69
|
4472 * Return the reply
|
jpayne@69
|
4473 * @param c The connection
|
jpayne@69
|
4474 * @param cookie The cookie
|
jpayne@69
|
4475 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
4476 *
|
jpayne@69
|
4477 * Returns the reply of the request asked by
|
jpayne@69
|
4478 *
|
jpayne@69
|
4479 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
4480 * xcb_randr_create_lease_unchecked(). is used.
|
jpayne@69
|
4481 * Otherwise, it stores the error if any.
|
jpayne@69
|
4482 *
|
jpayne@69
|
4483 * The returned value must be freed by the caller using free().
|
jpayne@69
|
4484 */
|
jpayne@69
|
4485 xcb_randr_create_lease_reply_t *
|
jpayne@69
|
4486 xcb_randr_create_lease_reply (xcb_connection_t *c,
|
jpayne@69
|
4487 xcb_randr_create_lease_cookie_t cookie /**< */,
|
jpayne@69
|
4488 xcb_generic_error_t **e);
|
jpayne@69
|
4489
|
jpayne@69
|
4490 /**
|
jpayne@69
|
4491 * Return the reply fds
|
jpayne@69
|
4492 * @param c The connection
|
jpayne@69
|
4493 * @param reply The reply
|
jpayne@69
|
4494 *
|
jpayne@69
|
4495 * Returns a pointer to the array of reply fds of the reply.
|
jpayne@69
|
4496 *
|
jpayne@69
|
4497 * The returned value points into the reply and must not be free().
|
jpayne@69
|
4498 * The fds are not managed by xcb. You must close() them before freeing the reply.
|
jpayne@69
|
4499 */
|
jpayne@69
|
4500 int *
|
jpayne@69
|
4501 xcb_randr_create_lease_reply_fds (xcb_connection_t *c /**< */,
|
jpayne@69
|
4502 xcb_randr_create_lease_reply_t *reply);
|
jpayne@69
|
4503
|
jpayne@69
|
4504 /**
|
jpayne@69
|
4505 *
|
jpayne@69
|
4506 * @param c The connection
|
jpayne@69
|
4507 * @return A cookie
|
jpayne@69
|
4508 *
|
jpayne@69
|
4509 * Delivers a request to the X server.
|
jpayne@69
|
4510 *
|
jpayne@69
|
4511 * This form can be used only if the request will not cause
|
jpayne@69
|
4512 * a reply to be generated. Any returned error will be
|
jpayne@69
|
4513 * saved for handling by xcb_request_check().
|
jpayne@69
|
4514 */
|
jpayne@69
|
4515 xcb_void_cookie_t
|
jpayne@69
|
4516 xcb_randr_free_lease_checked (xcb_connection_t *c,
|
jpayne@69
|
4517 xcb_randr_lease_t lid,
|
jpayne@69
|
4518 uint8_t terminate);
|
jpayne@69
|
4519
|
jpayne@69
|
4520 /**
|
jpayne@69
|
4521 *
|
jpayne@69
|
4522 * @param c The connection
|
jpayne@69
|
4523 * @return A cookie
|
jpayne@69
|
4524 *
|
jpayne@69
|
4525 * Delivers a request to the X server.
|
jpayne@69
|
4526 *
|
jpayne@69
|
4527 */
|
jpayne@69
|
4528 xcb_void_cookie_t
|
jpayne@69
|
4529 xcb_randr_free_lease (xcb_connection_t *c,
|
jpayne@69
|
4530 xcb_randr_lease_t lid,
|
jpayne@69
|
4531 uint8_t terminate);
|
jpayne@69
|
4532
|
jpayne@69
|
4533 /**
|
jpayne@69
|
4534 * Get the next element of the iterator
|
jpayne@69
|
4535 * @param i Pointer to a xcb_randr_lease_notify_iterator_t
|
jpayne@69
|
4536 *
|
jpayne@69
|
4537 * Get the next element in the iterator. The member rem is
|
jpayne@69
|
4538 * decreased by one. The member data points to the next
|
jpayne@69
|
4539 * element. The member index is increased by sizeof(xcb_randr_lease_notify_t)
|
jpayne@69
|
4540 */
|
jpayne@69
|
4541 void
|
jpayne@69
|
4542 xcb_randr_lease_notify_next (xcb_randr_lease_notify_iterator_t *i);
|
jpayne@69
|
4543
|
jpayne@69
|
4544 /**
|
jpayne@69
|
4545 * Return the iterator pointing to the last element
|
jpayne@69
|
4546 * @param i An xcb_randr_lease_notify_iterator_t
|
jpayne@69
|
4547 * @return The iterator pointing to the last element
|
jpayne@69
|
4548 *
|
jpayne@69
|
4549 * Set the current element in the iterator to the last element.
|
jpayne@69
|
4550 * The member rem is set to 0. The member data points to the
|
jpayne@69
|
4551 * last element.
|
jpayne@69
|
4552 */
|
jpayne@69
|
4553 xcb_generic_iterator_t
|
jpayne@69
|
4554 xcb_randr_lease_notify_end (xcb_randr_lease_notify_iterator_t i);
|
jpayne@69
|
4555
|
jpayne@69
|
4556 /**
|
jpayne@69
|
4557 * Get the next element of the iterator
|
jpayne@69
|
4558 * @param i Pointer to a xcb_randr_notify_data_iterator_t
|
jpayne@69
|
4559 *
|
jpayne@69
|
4560 * Get the next element in the iterator. The member rem is
|
jpayne@69
|
4561 * decreased by one. The member data points to the next
|
jpayne@69
|
4562 * element. The member index is increased by sizeof(xcb_randr_notify_data_t)
|
jpayne@69
|
4563 */
|
jpayne@69
|
4564 void
|
jpayne@69
|
4565 xcb_randr_notify_data_next (xcb_randr_notify_data_iterator_t *i);
|
jpayne@69
|
4566
|
jpayne@69
|
4567 /**
|
jpayne@69
|
4568 * Return the iterator pointing to the last element
|
jpayne@69
|
4569 * @param i An xcb_randr_notify_data_iterator_t
|
jpayne@69
|
4570 * @return The iterator pointing to the last element
|
jpayne@69
|
4571 *
|
jpayne@69
|
4572 * Set the current element in the iterator to the last element.
|
jpayne@69
|
4573 * The member rem is set to 0. The member data points to the
|
jpayne@69
|
4574 * last element.
|
jpayne@69
|
4575 */
|
jpayne@69
|
4576 xcb_generic_iterator_t
|
jpayne@69
|
4577 xcb_randr_notify_data_end (xcb_randr_notify_data_iterator_t i);
|
jpayne@69
|
4578
|
jpayne@69
|
4579
|
jpayne@69
|
4580 #ifdef __cplusplus
|
jpayne@69
|
4581 }
|
jpayne@69
|
4582 #endif
|
jpayne@69
|
4583
|
jpayne@69
|
4584 #endif
|
jpayne@69
|
4585
|
jpayne@69
|
4586 /**
|
jpayne@69
|
4587 * @}
|
jpayne@69
|
4588 */
|