2 * This file generated automatically from randr.xml by c_client.py.
7 * @defgroup XCB_RandR_API XCB RandR API
8 * @brief RandR XCB Protocol Implementation.
23 #define XCB_RANDR_MAJOR_VERSION 1
24 #define XCB_RANDR_MINOR_VERSION 4
26 extern xcb_extension_t xcb_randr_id
;
28 typedef uint32_t xcb_randr_mode_t
;
31 * @brief xcb_randr_mode_iterator_t
33 typedef struct xcb_randr_mode_iterator_t
{
34 xcb_randr_mode_t
*data
; /**< */
37 } xcb_randr_mode_iterator_t
;
39 typedef uint32_t xcb_randr_crtc_t
;
42 * @brief xcb_randr_crtc_iterator_t
44 typedef struct xcb_randr_crtc_iterator_t
{
45 xcb_randr_crtc_t
*data
; /**< */
48 } xcb_randr_crtc_iterator_t
;
50 typedef uint32_t xcb_randr_output_t
;
53 * @brief xcb_randr_output_iterator_t
55 typedef struct xcb_randr_output_iterator_t
{
56 xcb_randr_output_t
*data
; /**< */
59 } xcb_randr_output_iterator_t
;
61 typedef uint32_t xcb_randr_provider_t
;
64 * @brief xcb_randr_provider_iterator_t
66 typedef struct xcb_randr_provider_iterator_t
{
67 xcb_randr_provider_t
*data
; /**< */
70 } xcb_randr_provider_iterator_t
;
72 /** Opcode for xcb_randr_bad_output. */
73 #define XCB_RANDR_BAD_OUTPUT 0
76 * @brief xcb_randr_bad_output_error_t
78 typedef struct xcb_randr_bad_output_error_t
{
79 uint8_t response_type
; /**< */
80 uint8_t error_code
; /**< */
81 uint16_t sequence
; /**< */
82 } xcb_randr_bad_output_error_t
;
84 /** Opcode for xcb_randr_bad_crtc. */
85 #define XCB_RANDR_BAD_CRTC 1
88 * @brief xcb_randr_bad_crtc_error_t
90 typedef struct xcb_randr_bad_crtc_error_t
{
91 uint8_t response_type
; /**< */
92 uint8_t error_code
; /**< */
93 uint16_t sequence
; /**< */
94 } xcb_randr_bad_crtc_error_t
;
96 /** Opcode for xcb_randr_bad_mode. */
97 #define XCB_RANDR_BAD_MODE 2
100 * @brief xcb_randr_bad_mode_error_t
102 typedef struct xcb_randr_bad_mode_error_t
{
103 uint8_t response_type
; /**< */
104 uint8_t error_code
; /**< */
105 uint16_t sequence
; /**< */
106 } xcb_randr_bad_mode_error_t
;
108 /** Opcode for xcb_randr_bad_provider. */
109 #define XCB_RANDR_BAD_PROVIDER 3
112 * @brief xcb_randr_bad_provider_error_t
114 typedef struct xcb_randr_bad_provider_error_t
{
115 uint8_t response_type
; /**< */
116 uint8_t error_code
; /**< */
117 uint16_t sequence
; /**< */
118 } xcb_randr_bad_provider_error_t
;
120 typedef enum xcb_randr_rotation_t
{
121 XCB_RANDR_ROTATION_ROTATE_0
= 1,
122 XCB_RANDR_ROTATION_ROTATE_90
= 2,
123 XCB_RANDR_ROTATION_ROTATE_180
= 4,
124 XCB_RANDR_ROTATION_ROTATE_270
= 8,
125 XCB_RANDR_ROTATION_REFLECT_X
= 16,
126 XCB_RANDR_ROTATION_REFLECT_Y
= 32
127 } xcb_randr_rotation_t
;
130 * @brief xcb_randr_screen_size_t
132 typedef struct xcb_randr_screen_size_t
{
133 uint16_t width
; /**< */
134 uint16_t height
; /**< */
135 uint16_t mwidth
; /**< */
136 uint16_t mheight
; /**< */
137 } xcb_randr_screen_size_t
;
140 * @brief xcb_randr_screen_size_iterator_t
142 typedef struct xcb_randr_screen_size_iterator_t
{
143 xcb_randr_screen_size_t
*data
; /**< */
146 } xcb_randr_screen_size_iterator_t
;
149 * @brief xcb_randr_refresh_rates_t
151 typedef struct xcb_randr_refresh_rates_t
{
152 uint16_t nRates
; /**< */
153 } xcb_randr_refresh_rates_t
;
156 * @brief xcb_randr_refresh_rates_iterator_t
158 typedef struct xcb_randr_refresh_rates_iterator_t
{
159 xcb_randr_refresh_rates_t
*data
; /**< */
162 } xcb_randr_refresh_rates_iterator_t
;
165 * @brief xcb_randr_query_version_cookie_t
167 typedef struct xcb_randr_query_version_cookie_t
{
168 unsigned int sequence
; /**< */
169 } xcb_randr_query_version_cookie_t
;
171 /** Opcode for xcb_randr_query_version. */
172 #define XCB_RANDR_QUERY_VERSION 0
175 * @brief xcb_randr_query_version_request_t
177 typedef struct xcb_randr_query_version_request_t
{
178 uint8_t major_opcode
; /**< */
179 uint8_t minor_opcode
; /**< */
180 uint16_t length
; /**< */
181 uint32_t major_version
; /**< */
182 uint32_t minor_version
; /**< */
183 } xcb_randr_query_version_request_t
;
186 * @brief xcb_randr_query_version_reply_t
188 typedef struct xcb_randr_query_version_reply_t
{
189 uint8_t response_type
; /**< */
190 uint8_t pad0
; /**< */
191 uint16_t sequence
; /**< */
192 uint32_t length
; /**< */
193 uint32_t major_version
; /**< */
194 uint32_t minor_version
; /**< */
195 uint8_t pad1
[16]; /**< */
196 } xcb_randr_query_version_reply_t
;
198 typedef enum xcb_randr_set_config_t
{
199 XCB_RANDR_SET_CONFIG_SUCCESS
= 0,
200 XCB_RANDR_SET_CONFIG_INVALID_CONFIG_TIME
= 1,
201 XCB_RANDR_SET_CONFIG_INVALID_TIME
= 2,
202 XCB_RANDR_SET_CONFIG_FAILED
= 3
203 } xcb_randr_set_config_t
;
206 * @brief xcb_randr_set_screen_config_cookie_t
208 typedef struct xcb_randr_set_screen_config_cookie_t
{
209 unsigned int sequence
; /**< */
210 } xcb_randr_set_screen_config_cookie_t
;
212 /** Opcode for xcb_randr_set_screen_config. */
213 #define XCB_RANDR_SET_SCREEN_CONFIG 2
216 * @brief xcb_randr_set_screen_config_request_t
218 typedef struct xcb_randr_set_screen_config_request_t
{
219 uint8_t major_opcode
; /**< */
220 uint8_t minor_opcode
; /**< */
221 uint16_t length
; /**< */
222 xcb_window_t window
; /**< */
223 xcb_timestamp_t timestamp
; /**< */
224 xcb_timestamp_t config_timestamp
; /**< */
225 uint16_t sizeID
; /**< */
226 uint16_t rotation
; /**< */
227 uint16_t rate
; /**< */
228 uint8_t pad0
[2]; /**< */
229 } xcb_randr_set_screen_config_request_t
;
232 * @brief xcb_randr_set_screen_config_reply_t
234 typedef struct xcb_randr_set_screen_config_reply_t
{
235 uint8_t response_type
; /**< */
236 uint8_t status
; /**< */
237 uint16_t sequence
; /**< */
238 uint32_t length
; /**< */
239 xcb_timestamp_t new_timestamp
; /**< */
240 xcb_timestamp_t config_timestamp
; /**< */
241 xcb_window_t root
; /**< */
242 uint16_t subpixel_order
; /**< */
243 uint8_t pad0
[10]; /**< */
244 } xcb_randr_set_screen_config_reply_t
;
246 typedef enum xcb_randr_notify_mask_t
{
247 XCB_RANDR_NOTIFY_MASK_SCREEN_CHANGE
= 1,
248 XCB_RANDR_NOTIFY_MASK_CRTC_CHANGE
= 2,
249 XCB_RANDR_NOTIFY_MASK_OUTPUT_CHANGE
= 4,
250 XCB_RANDR_NOTIFY_MASK_OUTPUT_PROPERTY
= 8,
251 XCB_RANDR_NOTIFY_MASK_PROVIDER_CHANGE
= 16,
252 XCB_RANDR_NOTIFY_MASK_PROVIDER_PROPERTY
= 32,
253 XCB_RANDR_NOTIFY_MASK_RESOURCE_CHANGE
= 64
254 } xcb_randr_notify_mask_t
;
256 /** Opcode for xcb_randr_select_input. */
257 #define XCB_RANDR_SELECT_INPUT 4
260 * @brief xcb_randr_select_input_request_t
262 typedef struct xcb_randr_select_input_request_t
{
263 uint8_t major_opcode
; /**< */
264 uint8_t minor_opcode
; /**< */
265 uint16_t length
; /**< */
266 xcb_window_t window
; /**< */
267 uint16_t enable
; /**< */
268 uint8_t pad0
[2]; /**< */
269 } xcb_randr_select_input_request_t
;
272 * @brief xcb_randr_get_screen_info_cookie_t
274 typedef struct xcb_randr_get_screen_info_cookie_t
{
275 unsigned int sequence
; /**< */
276 } xcb_randr_get_screen_info_cookie_t
;
278 /** Opcode for xcb_randr_get_screen_info. */
279 #define XCB_RANDR_GET_SCREEN_INFO 5
282 * @brief xcb_randr_get_screen_info_request_t
284 typedef struct xcb_randr_get_screen_info_request_t
{
285 uint8_t major_opcode
; /**< */
286 uint8_t minor_opcode
; /**< */
287 uint16_t length
; /**< */
288 xcb_window_t window
; /**< */
289 } xcb_randr_get_screen_info_request_t
;
292 * @brief xcb_randr_get_screen_info_reply_t
294 typedef struct xcb_randr_get_screen_info_reply_t
{
295 uint8_t response_type
; /**< */
296 uint8_t rotations
; /**< */
297 uint16_t sequence
; /**< */
298 uint32_t length
; /**< */
299 xcb_window_t root
; /**< */
300 xcb_timestamp_t timestamp
; /**< */
301 xcb_timestamp_t config_timestamp
; /**< */
302 uint16_t nSizes
; /**< */
303 uint16_t sizeID
; /**< */
304 uint16_t rotation
; /**< */
305 uint16_t rate
; /**< */
306 uint16_t nInfo
; /**< */
307 uint8_t pad0
[2]; /**< */
308 } xcb_randr_get_screen_info_reply_t
;
311 * @brief xcb_randr_get_screen_size_range_cookie_t
313 typedef struct xcb_randr_get_screen_size_range_cookie_t
{
314 unsigned int sequence
; /**< */
315 } xcb_randr_get_screen_size_range_cookie_t
;
317 /** Opcode for xcb_randr_get_screen_size_range. */
318 #define XCB_RANDR_GET_SCREEN_SIZE_RANGE 6
321 * @brief xcb_randr_get_screen_size_range_request_t
323 typedef struct xcb_randr_get_screen_size_range_request_t
{
324 uint8_t major_opcode
; /**< */
325 uint8_t minor_opcode
; /**< */
326 uint16_t length
; /**< */
327 xcb_window_t window
; /**< */
328 } xcb_randr_get_screen_size_range_request_t
;
331 * @brief xcb_randr_get_screen_size_range_reply_t
333 typedef struct xcb_randr_get_screen_size_range_reply_t
{
334 uint8_t response_type
; /**< */
335 uint8_t pad0
; /**< */
336 uint16_t sequence
; /**< */
337 uint32_t length
; /**< */
338 uint16_t min_width
; /**< */
339 uint16_t min_height
; /**< */
340 uint16_t max_width
; /**< */
341 uint16_t max_height
; /**< */
342 uint8_t pad1
[16]; /**< */
343 } xcb_randr_get_screen_size_range_reply_t
;
345 /** Opcode for xcb_randr_set_screen_size. */
346 #define XCB_RANDR_SET_SCREEN_SIZE 7
349 * @brief xcb_randr_set_screen_size_request_t
351 typedef struct xcb_randr_set_screen_size_request_t
{
352 uint8_t major_opcode
; /**< */
353 uint8_t minor_opcode
; /**< */
354 uint16_t length
; /**< */
355 xcb_window_t window
; /**< */
356 uint16_t width
; /**< */
357 uint16_t height
; /**< */
358 uint32_t mm_width
; /**< */
359 uint32_t mm_height
; /**< */
360 } xcb_randr_set_screen_size_request_t
;
362 typedef enum xcb_randr_mode_flag_t
{
363 XCB_RANDR_MODE_FLAG_HSYNC_POSITIVE
= 1,
364 XCB_RANDR_MODE_FLAG_HSYNC_NEGATIVE
= 2,
365 XCB_RANDR_MODE_FLAG_VSYNC_POSITIVE
= 4,
366 XCB_RANDR_MODE_FLAG_VSYNC_NEGATIVE
= 8,
367 XCB_RANDR_MODE_FLAG_INTERLACE
= 16,
368 XCB_RANDR_MODE_FLAG_DOUBLE_SCAN
= 32,
369 XCB_RANDR_MODE_FLAG_CSYNC
= 64,
370 XCB_RANDR_MODE_FLAG_CSYNC_POSITIVE
= 128,
371 XCB_RANDR_MODE_FLAG_CSYNC_NEGATIVE
= 256,
372 XCB_RANDR_MODE_FLAG_HSKEW_PRESENT
= 512,
373 XCB_RANDR_MODE_FLAG_BCAST
= 1024,
374 XCB_RANDR_MODE_FLAG_PIXEL_MULTIPLEX
= 2048,
375 XCB_RANDR_MODE_FLAG_DOUBLE_CLOCK
= 4096,
376 XCB_RANDR_MODE_FLAG_HALVE_CLOCK
= 8192
377 } xcb_randr_mode_flag_t
;
380 * @brief xcb_randr_mode_info_t
382 typedef struct xcb_randr_mode_info_t
{
384 uint16_t width
; /**< */
385 uint16_t height
; /**< */
386 uint32_t dot_clock
; /**< */
387 uint16_t hsync_start
; /**< */
388 uint16_t hsync_end
; /**< */
389 uint16_t htotal
; /**< */
390 uint16_t hskew
; /**< */
391 uint16_t vsync_start
; /**< */
392 uint16_t vsync_end
; /**< */
393 uint16_t vtotal
; /**< */
394 uint16_t name_len
; /**< */
395 uint32_t mode_flags
; /**< */
396 } xcb_randr_mode_info_t
;
399 * @brief xcb_randr_mode_info_iterator_t
401 typedef struct xcb_randr_mode_info_iterator_t
{
402 xcb_randr_mode_info_t
*data
; /**< */
405 } xcb_randr_mode_info_iterator_t
;
408 * @brief xcb_randr_get_screen_resources_cookie_t
410 typedef struct xcb_randr_get_screen_resources_cookie_t
{
411 unsigned int sequence
; /**< */
412 } xcb_randr_get_screen_resources_cookie_t
;
414 /** Opcode for xcb_randr_get_screen_resources. */
415 #define XCB_RANDR_GET_SCREEN_RESOURCES 8
418 * @brief xcb_randr_get_screen_resources_request_t
420 typedef struct xcb_randr_get_screen_resources_request_t
{
421 uint8_t major_opcode
; /**< */
422 uint8_t minor_opcode
; /**< */
423 uint16_t length
; /**< */
424 xcb_window_t window
; /**< */
425 } xcb_randr_get_screen_resources_request_t
;
428 * @brief xcb_randr_get_screen_resources_reply_t
430 typedef struct xcb_randr_get_screen_resources_reply_t
{
431 uint8_t response_type
; /**< */
432 uint8_t pad0
; /**< */
433 uint16_t sequence
; /**< */
434 uint32_t length
; /**< */
435 xcb_timestamp_t timestamp
; /**< */
436 xcb_timestamp_t config_timestamp
; /**< */
437 uint16_t num_crtcs
; /**< */
438 uint16_t num_outputs
; /**< */
439 uint16_t num_modes
; /**< */
440 uint16_t names_len
; /**< */
441 uint8_t pad1
[8]; /**< */
442 } xcb_randr_get_screen_resources_reply_t
;
444 typedef enum xcb_randr_connection_t
{
445 XCB_RANDR_CONNECTION_CONNECTED
= 0,
446 XCB_RANDR_CONNECTION_DISCONNECTED
= 1,
447 XCB_RANDR_CONNECTION_UNKNOWN
= 2
448 } xcb_randr_connection_t
;
451 * @brief xcb_randr_get_output_info_cookie_t
453 typedef struct xcb_randr_get_output_info_cookie_t
{
454 unsigned int sequence
; /**< */
455 } xcb_randr_get_output_info_cookie_t
;
457 /** Opcode for xcb_randr_get_output_info. */
458 #define XCB_RANDR_GET_OUTPUT_INFO 9
461 * @brief xcb_randr_get_output_info_request_t
463 typedef struct xcb_randr_get_output_info_request_t
{
464 uint8_t major_opcode
; /**< */
465 uint8_t minor_opcode
; /**< */
466 uint16_t length
; /**< */
467 xcb_randr_output_t output
; /**< */
468 xcb_timestamp_t config_timestamp
; /**< */
469 } xcb_randr_get_output_info_request_t
;
472 * @brief xcb_randr_get_output_info_reply_t
474 typedef struct xcb_randr_get_output_info_reply_t
{
475 uint8_t response_type
; /**< */
476 uint8_t status
; /**< */
477 uint16_t sequence
; /**< */
478 uint32_t length
; /**< */
479 xcb_timestamp_t timestamp
; /**< */
480 xcb_randr_crtc_t crtc
; /**< */
481 uint32_t mm_width
; /**< */
482 uint32_t mm_height
; /**< */
483 uint8_t connection
; /**< */
484 uint8_t subpixel_order
; /**< */
485 uint16_t num_crtcs
; /**< */
486 uint16_t num_modes
; /**< */
487 uint16_t num_preferred
; /**< */
488 uint16_t num_clones
; /**< */
489 uint16_t name_len
; /**< */
490 } xcb_randr_get_output_info_reply_t
;
493 * @brief xcb_randr_list_output_properties_cookie_t
495 typedef struct xcb_randr_list_output_properties_cookie_t
{
496 unsigned int sequence
; /**< */
497 } xcb_randr_list_output_properties_cookie_t
;
499 /** Opcode for xcb_randr_list_output_properties. */
500 #define XCB_RANDR_LIST_OUTPUT_PROPERTIES 10
503 * @brief xcb_randr_list_output_properties_request_t
505 typedef struct xcb_randr_list_output_properties_request_t
{
506 uint8_t major_opcode
; /**< */
507 uint8_t minor_opcode
; /**< */
508 uint16_t length
; /**< */
509 xcb_randr_output_t output
; /**< */
510 } xcb_randr_list_output_properties_request_t
;
513 * @brief xcb_randr_list_output_properties_reply_t
515 typedef struct xcb_randr_list_output_properties_reply_t
{
516 uint8_t response_type
; /**< */
517 uint8_t pad0
; /**< */
518 uint16_t sequence
; /**< */
519 uint32_t length
; /**< */
520 uint16_t num_atoms
; /**< */
521 uint8_t pad1
[22]; /**< */
522 } xcb_randr_list_output_properties_reply_t
;
525 * @brief xcb_randr_query_output_property_cookie_t
527 typedef struct xcb_randr_query_output_property_cookie_t
{
528 unsigned int sequence
; /**< */
529 } xcb_randr_query_output_property_cookie_t
;
531 /** Opcode for xcb_randr_query_output_property. */
532 #define XCB_RANDR_QUERY_OUTPUT_PROPERTY 11
535 * @brief xcb_randr_query_output_property_request_t
537 typedef struct xcb_randr_query_output_property_request_t
{
538 uint8_t major_opcode
; /**< */
539 uint8_t minor_opcode
; /**< */
540 uint16_t length
; /**< */
541 xcb_randr_output_t output
; /**< */
542 xcb_atom_t property
; /**< */
543 } xcb_randr_query_output_property_request_t
;
546 * @brief xcb_randr_query_output_property_reply_t
548 typedef struct xcb_randr_query_output_property_reply_t
{
549 uint8_t response_type
; /**< */
550 uint8_t pad0
; /**< */
551 uint16_t sequence
; /**< */
552 uint32_t length
; /**< */
553 uint8_t pending
; /**< */
554 uint8_t range
; /**< */
555 uint8_t immutable
; /**< */
556 uint8_t pad1
[21]; /**< */
557 } xcb_randr_query_output_property_reply_t
;
559 /** Opcode for xcb_randr_configure_output_property. */
560 #define XCB_RANDR_CONFIGURE_OUTPUT_PROPERTY 12
563 * @brief xcb_randr_configure_output_property_request_t
565 typedef struct xcb_randr_configure_output_property_request_t
{
566 uint8_t major_opcode
; /**< */
567 uint8_t minor_opcode
; /**< */
568 uint16_t length
; /**< */
569 xcb_randr_output_t output
; /**< */
570 xcb_atom_t property
; /**< */
571 uint8_t pending
; /**< */
572 uint8_t range
; /**< */
573 uint8_t pad0
[2]; /**< */
574 } xcb_randr_configure_output_property_request_t
;
576 /** Opcode for xcb_randr_change_output_property. */
577 #define XCB_RANDR_CHANGE_OUTPUT_PROPERTY 13
580 * @brief xcb_randr_change_output_property_request_t
582 typedef struct xcb_randr_change_output_property_request_t
{
583 uint8_t major_opcode
; /**< */
584 uint8_t minor_opcode
; /**< */
585 uint16_t length
; /**< */
586 xcb_randr_output_t output
; /**< */
587 xcb_atom_t property
; /**< */
588 xcb_atom_t type
; /**< */
589 uint8_t format
; /**< */
590 uint8_t mode
; /**< */
591 uint8_t pad0
[2]; /**< */
592 uint32_t num_units
; /**< */
593 } xcb_randr_change_output_property_request_t
;
595 /** Opcode for xcb_randr_delete_output_property. */
596 #define XCB_RANDR_DELETE_OUTPUT_PROPERTY 14
599 * @brief xcb_randr_delete_output_property_request_t
601 typedef struct xcb_randr_delete_output_property_request_t
{
602 uint8_t major_opcode
; /**< */
603 uint8_t minor_opcode
; /**< */
604 uint16_t length
; /**< */
605 xcb_randr_output_t output
; /**< */
606 xcb_atom_t property
; /**< */
607 } xcb_randr_delete_output_property_request_t
;
610 * @brief xcb_randr_get_output_property_cookie_t
612 typedef struct xcb_randr_get_output_property_cookie_t
{
613 unsigned int sequence
; /**< */
614 } xcb_randr_get_output_property_cookie_t
;
616 /** Opcode for xcb_randr_get_output_property. */
617 #define XCB_RANDR_GET_OUTPUT_PROPERTY 15
620 * @brief xcb_randr_get_output_property_request_t
622 typedef struct xcb_randr_get_output_property_request_t
{
623 uint8_t major_opcode
; /**< */
624 uint8_t minor_opcode
; /**< */
625 uint16_t length
; /**< */
626 xcb_randr_output_t output
; /**< */
627 xcb_atom_t property
; /**< */
628 xcb_atom_t type
; /**< */
629 uint32_t long_offset
; /**< */
630 uint32_t long_length
; /**< */
631 uint8_t _delete
; /**< */
632 uint8_t pending
; /**< */
633 uint8_t pad0
[2]; /**< */
634 } xcb_randr_get_output_property_request_t
;
637 * @brief xcb_randr_get_output_property_reply_t
639 typedef struct xcb_randr_get_output_property_reply_t
{
640 uint8_t response_type
; /**< */
641 uint8_t format
; /**< */
642 uint16_t sequence
; /**< */
643 uint32_t length
; /**< */
644 xcb_atom_t type
; /**< */
645 uint32_t bytes_after
; /**< */
646 uint32_t num_items
; /**< */
647 uint8_t pad0
[12]; /**< */
648 } xcb_randr_get_output_property_reply_t
;
651 * @brief xcb_randr_create_mode_cookie_t
653 typedef struct xcb_randr_create_mode_cookie_t
{
654 unsigned int sequence
; /**< */
655 } xcb_randr_create_mode_cookie_t
;
657 /** Opcode for xcb_randr_create_mode. */
658 #define XCB_RANDR_CREATE_MODE 16
661 * @brief xcb_randr_create_mode_request_t
663 typedef struct xcb_randr_create_mode_request_t
{
664 uint8_t major_opcode
; /**< */
665 uint8_t minor_opcode
; /**< */
666 uint16_t length
; /**< */
667 xcb_window_t window
; /**< */
668 xcb_randr_mode_info_t mode_info
; /**< */
669 } xcb_randr_create_mode_request_t
;
672 * @brief xcb_randr_create_mode_reply_t
674 typedef struct xcb_randr_create_mode_reply_t
{
675 uint8_t response_type
; /**< */
676 uint8_t pad0
; /**< */
677 uint16_t sequence
; /**< */
678 uint32_t length
; /**< */
679 xcb_randr_mode_t mode
; /**< */
680 uint8_t pad1
[20]; /**< */
681 } xcb_randr_create_mode_reply_t
;
683 /** Opcode for xcb_randr_destroy_mode. */
684 #define XCB_RANDR_DESTROY_MODE 17
687 * @brief xcb_randr_destroy_mode_request_t
689 typedef struct xcb_randr_destroy_mode_request_t
{
690 uint8_t major_opcode
; /**< */
691 uint8_t minor_opcode
; /**< */
692 uint16_t length
; /**< */
693 xcb_randr_mode_t mode
; /**< */
694 } xcb_randr_destroy_mode_request_t
;
696 /** Opcode for xcb_randr_add_output_mode. */
697 #define XCB_RANDR_ADD_OUTPUT_MODE 18
700 * @brief xcb_randr_add_output_mode_request_t
702 typedef struct xcb_randr_add_output_mode_request_t
{
703 uint8_t major_opcode
; /**< */
704 uint8_t minor_opcode
; /**< */
705 uint16_t length
; /**< */
706 xcb_randr_output_t output
; /**< */
707 xcb_randr_mode_t mode
; /**< */
708 } xcb_randr_add_output_mode_request_t
;
710 /** Opcode for xcb_randr_delete_output_mode. */
711 #define XCB_RANDR_DELETE_OUTPUT_MODE 19
714 * @brief xcb_randr_delete_output_mode_request_t
716 typedef struct xcb_randr_delete_output_mode_request_t
{
717 uint8_t major_opcode
; /**< */
718 uint8_t minor_opcode
; /**< */
719 uint16_t length
; /**< */
720 xcb_randr_output_t output
; /**< */
721 xcb_randr_mode_t mode
; /**< */
722 } xcb_randr_delete_output_mode_request_t
;
725 * @brief xcb_randr_get_crtc_info_cookie_t
727 typedef struct xcb_randr_get_crtc_info_cookie_t
{
728 unsigned int sequence
; /**< */
729 } xcb_randr_get_crtc_info_cookie_t
;
731 /** Opcode for xcb_randr_get_crtc_info. */
732 #define XCB_RANDR_GET_CRTC_INFO 20
735 * @brief xcb_randr_get_crtc_info_request_t
737 typedef struct xcb_randr_get_crtc_info_request_t
{
738 uint8_t major_opcode
; /**< */
739 uint8_t minor_opcode
; /**< */
740 uint16_t length
; /**< */
741 xcb_randr_crtc_t crtc
; /**< */
742 xcb_timestamp_t config_timestamp
; /**< */
743 } xcb_randr_get_crtc_info_request_t
;
746 * @brief xcb_randr_get_crtc_info_reply_t
748 typedef struct xcb_randr_get_crtc_info_reply_t
{
749 uint8_t response_type
; /**< */
750 uint8_t status
; /**< */
751 uint16_t sequence
; /**< */
752 uint32_t length
; /**< */
753 xcb_timestamp_t timestamp
; /**< */
756 uint16_t width
; /**< */
757 uint16_t height
; /**< */
758 xcb_randr_mode_t mode
; /**< */
759 uint16_t rotation
; /**< */
760 uint16_t rotations
; /**< */
761 uint16_t num_outputs
; /**< */
762 uint16_t num_possible_outputs
; /**< */
763 } xcb_randr_get_crtc_info_reply_t
;
766 * @brief xcb_randr_set_crtc_config_cookie_t
768 typedef struct xcb_randr_set_crtc_config_cookie_t
{
769 unsigned int sequence
; /**< */
770 } xcb_randr_set_crtc_config_cookie_t
;
772 /** Opcode for xcb_randr_set_crtc_config. */
773 #define XCB_RANDR_SET_CRTC_CONFIG 21
776 * @brief xcb_randr_set_crtc_config_request_t
778 typedef struct xcb_randr_set_crtc_config_request_t
{
779 uint8_t major_opcode
; /**< */
780 uint8_t minor_opcode
; /**< */
781 uint16_t length
; /**< */
782 xcb_randr_crtc_t crtc
; /**< */
783 xcb_timestamp_t timestamp
; /**< */
784 xcb_timestamp_t config_timestamp
; /**< */
787 xcb_randr_mode_t mode
; /**< */
788 uint16_t rotation
; /**< */
789 uint8_t pad0
[2]; /**< */
790 } xcb_randr_set_crtc_config_request_t
;
793 * @brief xcb_randr_set_crtc_config_reply_t
795 typedef struct xcb_randr_set_crtc_config_reply_t
{
796 uint8_t response_type
; /**< */
797 uint8_t status
; /**< */
798 uint16_t sequence
; /**< */
799 uint32_t length
; /**< */
800 xcb_timestamp_t timestamp
; /**< */
801 uint8_t pad0
[20]; /**< */
802 } xcb_randr_set_crtc_config_reply_t
;
805 * @brief xcb_randr_get_crtc_gamma_size_cookie_t
807 typedef struct xcb_randr_get_crtc_gamma_size_cookie_t
{
808 unsigned int sequence
; /**< */
809 } xcb_randr_get_crtc_gamma_size_cookie_t
;
811 /** Opcode for xcb_randr_get_crtc_gamma_size. */
812 #define XCB_RANDR_GET_CRTC_GAMMA_SIZE 22
815 * @brief xcb_randr_get_crtc_gamma_size_request_t
817 typedef struct xcb_randr_get_crtc_gamma_size_request_t
{
818 uint8_t major_opcode
; /**< */
819 uint8_t minor_opcode
; /**< */
820 uint16_t length
; /**< */
821 xcb_randr_crtc_t crtc
; /**< */
822 } xcb_randr_get_crtc_gamma_size_request_t
;
825 * @brief xcb_randr_get_crtc_gamma_size_reply_t
827 typedef struct xcb_randr_get_crtc_gamma_size_reply_t
{
828 uint8_t response_type
; /**< */
829 uint8_t pad0
; /**< */
830 uint16_t sequence
; /**< */
831 uint32_t length
; /**< */
832 uint16_t size
; /**< */
833 uint8_t pad1
[22]; /**< */
834 } xcb_randr_get_crtc_gamma_size_reply_t
;
837 * @brief xcb_randr_get_crtc_gamma_cookie_t
839 typedef struct xcb_randr_get_crtc_gamma_cookie_t
{
840 unsigned int sequence
; /**< */
841 } xcb_randr_get_crtc_gamma_cookie_t
;
843 /** Opcode for xcb_randr_get_crtc_gamma. */
844 #define XCB_RANDR_GET_CRTC_GAMMA 23
847 * @brief xcb_randr_get_crtc_gamma_request_t
849 typedef struct xcb_randr_get_crtc_gamma_request_t
{
850 uint8_t major_opcode
; /**< */
851 uint8_t minor_opcode
; /**< */
852 uint16_t length
; /**< */
853 xcb_randr_crtc_t crtc
; /**< */
854 } xcb_randr_get_crtc_gamma_request_t
;
857 * @brief xcb_randr_get_crtc_gamma_reply_t
859 typedef struct xcb_randr_get_crtc_gamma_reply_t
{
860 uint8_t response_type
; /**< */
861 uint8_t pad0
; /**< */
862 uint16_t sequence
; /**< */
863 uint32_t length
; /**< */
864 uint16_t size
; /**< */
865 uint8_t pad1
[22]; /**< */
866 } xcb_randr_get_crtc_gamma_reply_t
;
868 /** Opcode for xcb_randr_set_crtc_gamma. */
869 #define XCB_RANDR_SET_CRTC_GAMMA 24
872 * @brief xcb_randr_set_crtc_gamma_request_t
874 typedef struct xcb_randr_set_crtc_gamma_request_t
{
875 uint8_t major_opcode
; /**< */
876 uint8_t minor_opcode
; /**< */
877 uint16_t length
; /**< */
878 xcb_randr_crtc_t crtc
; /**< */
879 uint16_t size
; /**< */
880 uint8_t pad0
[2]; /**< */
881 } xcb_randr_set_crtc_gamma_request_t
;
884 * @brief xcb_randr_get_screen_resources_current_cookie_t
886 typedef struct xcb_randr_get_screen_resources_current_cookie_t
{
887 unsigned int sequence
; /**< */
888 } xcb_randr_get_screen_resources_current_cookie_t
;
890 /** Opcode for xcb_randr_get_screen_resources_current. */
891 #define XCB_RANDR_GET_SCREEN_RESOURCES_CURRENT 25
894 * @brief xcb_randr_get_screen_resources_current_request_t
896 typedef struct xcb_randr_get_screen_resources_current_request_t
{
897 uint8_t major_opcode
; /**< */
898 uint8_t minor_opcode
; /**< */
899 uint16_t length
; /**< */
900 xcb_window_t window
; /**< */
901 } xcb_randr_get_screen_resources_current_request_t
;
904 * @brief xcb_randr_get_screen_resources_current_reply_t
906 typedef struct xcb_randr_get_screen_resources_current_reply_t
{
907 uint8_t response_type
; /**< */
908 uint8_t pad0
; /**< */
909 uint16_t sequence
; /**< */
910 uint32_t length
; /**< */
911 xcb_timestamp_t timestamp
; /**< */
912 xcb_timestamp_t config_timestamp
; /**< */
913 uint16_t num_crtcs
; /**< */
914 uint16_t num_outputs
; /**< */
915 uint16_t num_modes
; /**< */
916 uint16_t names_len
; /**< */
917 uint8_t pad1
[8]; /**< */
918 } xcb_randr_get_screen_resources_current_reply_t
;
920 typedef enum xcb_randr_transform_t
{
921 XCB_RANDR_TRANSFORM_UNIT
= 1,
922 XCB_RANDR_TRANSFORM_SCALE_UP
= 2,
923 XCB_RANDR_TRANSFORM_SCALE_DOWN
= 4,
924 XCB_RANDR_TRANSFORM_PROJECTIVE
= 8
925 } xcb_randr_transform_t
;
927 /** Opcode for xcb_randr_set_crtc_transform. */
928 #define XCB_RANDR_SET_CRTC_TRANSFORM 26
931 * @brief xcb_randr_set_crtc_transform_request_t
933 typedef struct xcb_randr_set_crtc_transform_request_t
{
934 uint8_t major_opcode
; /**< */
935 uint8_t minor_opcode
; /**< */
936 uint16_t length
; /**< */
937 xcb_randr_crtc_t crtc
; /**< */
938 xcb_render_transform_t transform
; /**< */
939 uint16_t filter_len
; /**< */
940 uint8_t pad0
[2]; /**< */
941 } xcb_randr_set_crtc_transform_request_t
;
944 * @brief xcb_randr_get_crtc_transform_cookie_t
946 typedef struct xcb_randr_get_crtc_transform_cookie_t
{
947 unsigned int sequence
; /**< */
948 } xcb_randr_get_crtc_transform_cookie_t
;
950 /** Opcode for xcb_randr_get_crtc_transform. */
951 #define XCB_RANDR_GET_CRTC_TRANSFORM 27
954 * @brief xcb_randr_get_crtc_transform_request_t
956 typedef struct xcb_randr_get_crtc_transform_request_t
{
957 uint8_t major_opcode
; /**< */
958 uint8_t minor_opcode
; /**< */
959 uint16_t length
; /**< */
960 xcb_randr_crtc_t crtc
; /**< */
961 } xcb_randr_get_crtc_transform_request_t
;
964 * @brief xcb_randr_get_crtc_transform_reply_t
966 typedef struct xcb_randr_get_crtc_transform_reply_t
{
967 uint8_t response_type
; /**< */
968 uint8_t pad0
; /**< */
969 uint16_t sequence
; /**< */
970 uint32_t length
; /**< */
971 xcb_render_transform_t pending_transform
; /**< */
972 uint8_t has_transforms
; /**< */
973 uint8_t pad1
[3]; /**< */
974 xcb_render_transform_t current_transform
; /**< */
975 uint8_t pad2
[4]; /**< */
976 uint16_t pending_len
; /**< */
977 uint16_t pending_nparams
; /**< */
978 uint16_t current_len
; /**< */
979 uint16_t current_nparams
; /**< */
980 } xcb_randr_get_crtc_transform_reply_t
;
983 * @brief xcb_randr_get_panning_cookie_t
985 typedef struct xcb_randr_get_panning_cookie_t
{
986 unsigned int sequence
; /**< */
987 } xcb_randr_get_panning_cookie_t
;
989 /** Opcode for xcb_randr_get_panning. */
990 #define XCB_RANDR_GET_PANNING 28
993 * @brief xcb_randr_get_panning_request_t
995 typedef struct xcb_randr_get_panning_request_t
{
996 uint8_t major_opcode
; /**< */
997 uint8_t minor_opcode
; /**< */
998 uint16_t length
; /**< */
999 xcb_randr_crtc_t crtc
; /**< */
1000 } xcb_randr_get_panning_request_t
;
1003 * @brief xcb_randr_get_panning_reply_t
1005 typedef struct xcb_randr_get_panning_reply_t
{
1006 uint8_t response_type
; /**< */
1007 uint8_t status
; /**< */
1008 uint16_t sequence
; /**< */
1009 uint32_t length
; /**< */
1010 xcb_timestamp_t timestamp
; /**< */
1011 uint16_t left
; /**< */
1012 uint16_t top
; /**< */
1013 uint16_t width
; /**< */
1014 uint16_t height
; /**< */
1015 uint16_t track_left
; /**< */
1016 uint16_t track_top
; /**< */
1017 uint16_t track_width
; /**< */
1018 uint16_t track_height
; /**< */
1019 int16_t border_left
; /**< */
1020 int16_t border_top
; /**< */
1021 int16_t border_right
; /**< */
1022 int16_t border_bottom
; /**< */
1023 } xcb_randr_get_panning_reply_t
;
1026 * @brief xcb_randr_set_panning_cookie_t
1028 typedef struct xcb_randr_set_panning_cookie_t
{
1029 unsigned int sequence
; /**< */
1030 } xcb_randr_set_panning_cookie_t
;
1032 /** Opcode for xcb_randr_set_panning. */
1033 #define XCB_RANDR_SET_PANNING 29
1036 * @brief xcb_randr_set_panning_request_t
1038 typedef struct xcb_randr_set_panning_request_t
{
1039 uint8_t major_opcode
; /**< */
1040 uint8_t minor_opcode
; /**< */
1041 uint16_t length
; /**< */
1042 xcb_randr_crtc_t crtc
; /**< */
1043 xcb_timestamp_t timestamp
; /**< */
1044 uint16_t left
; /**< */
1045 uint16_t top
; /**< */
1046 uint16_t width
; /**< */
1047 uint16_t height
; /**< */
1048 uint16_t track_left
; /**< */
1049 uint16_t track_top
; /**< */
1050 uint16_t track_width
; /**< */
1051 uint16_t track_height
; /**< */
1052 int16_t border_left
; /**< */
1053 int16_t border_top
; /**< */
1054 int16_t border_right
; /**< */
1055 int16_t border_bottom
; /**< */
1056 } xcb_randr_set_panning_request_t
;
1059 * @brief xcb_randr_set_panning_reply_t
1061 typedef struct xcb_randr_set_panning_reply_t
{
1062 uint8_t response_type
; /**< */
1063 uint8_t status
; /**< */
1064 uint16_t sequence
; /**< */
1065 uint32_t length
; /**< */
1066 xcb_timestamp_t timestamp
; /**< */
1067 } xcb_randr_set_panning_reply_t
;
1069 /** Opcode for xcb_randr_set_output_primary. */
1070 #define XCB_RANDR_SET_OUTPUT_PRIMARY 30
1073 * @brief xcb_randr_set_output_primary_request_t
1075 typedef struct xcb_randr_set_output_primary_request_t
{
1076 uint8_t major_opcode
; /**< */
1077 uint8_t minor_opcode
; /**< */
1078 uint16_t length
; /**< */
1079 xcb_window_t window
; /**< */
1080 xcb_randr_output_t output
; /**< */
1081 } xcb_randr_set_output_primary_request_t
;
1084 * @brief xcb_randr_get_output_primary_cookie_t
1086 typedef struct xcb_randr_get_output_primary_cookie_t
{
1087 unsigned int sequence
; /**< */
1088 } xcb_randr_get_output_primary_cookie_t
;
1090 /** Opcode for xcb_randr_get_output_primary. */
1091 #define XCB_RANDR_GET_OUTPUT_PRIMARY 31
1094 * @brief xcb_randr_get_output_primary_request_t
1096 typedef struct xcb_randr_get_output_primary_request_t
{
1097 uint8_t major_opcode
; /**< */
1098 uint8_t minor_opcode
; /**< */
1099 uint16_t length
; /**< */
1100 xcb_window_t window
; /**< */
1101 } xcb_randr_get_output_primary_request_t
;
1104 * @brief xcb_randr_get_output_primary_reply_t
1106 typedef struct xcb_randr_get_output_primary_reply_t
{
1107 uint8_t response_type
; /**< */
1108 uint8_t pad0
; /**< */
1109 uint16_t sequence
; /**< */
1110 uint32_t length
; /**< */
1111 xcb_randr_output_t output
; /**< */
1112 } xcb_randr_get_output_primary_reply_t
;
1115 * @brief xcb_randr_get_providers_cookie_t
1117 typedef struct xcb_randr_get_providers_cookie_t
{
1118 unsigned int sequence
; /**< */
1119 } xcb_randr_get_providers_cookie_t
;
1121 /** Opcode for xcb_randr_get_providers. */
1122 #define XCB_RANDR_GET_PROVIDERS 32
1125 * @brief xcb_randr_get_providers_request_t
1127 typedef struct xcb_randr_get_providers_request_t
{
1128 uint8_t major_opcode
; /**< */
1129 uint8_t minor_opcode
; /**< */
1130 uint16_t length
; /**< */
1131 xcb_window_t window
; /**< */
1132 } xcb_randr_get_providers_request_t
;
1135 * @brief xcb_randr_get_providers_reply_t
1137 typedef struct xcb_randr_get_providers_reply_t
{
1138 uint8_t response_type
; /**< */
1139 uint8_t pad0
; /**< */
1140 uint16_t sequence
; /**< */
1141 uint32_t length
; /**< */
1142 xcb_timestamp_t timestamp
; /**< */
1143 uint16_t num_providers
; /**< */
1144 uint8_t pad1
[18]; /**< */
1145 } xcb_randr_get_providers_reply_t
;
1147 typedef enum xcb_randr_provider_capability_t
{
1148 XCB_RANDR_PROVIDER_CAPABILITY_SOURCE_OUTPUT
= 1,
1149 XCB_RANDR_PROVIDER_CAPABILITY_SINK_OUTPUT
= 2,
1150 XCB_RANDR_PROVIDER_CAPABILITY_SOURCE_OFFLOAD
= 4,
1151 XCB_RANDR_PROVIDER_CAPABILITY_SINK_OFFLOAD
= 8
1152 } xcb_randr_provider_capability_t
;
1155 * @brief xcb_randr_get_provider_info_cookie_t
1157 typedef struct xcb_randr_get_provider_info_cookie_t
{
1158 unsigned int sequence
; /**< */
1159 } xcb_randr_get_provider_info_cookie_t
;
1161 /** Opcode for xcb_randr_get_provider_info. */
1162 #define XCB_RANDR_GET_PROVIDER_INFO 33
1165 * @brief xcb_randr_get_provider_info_request_t
1167 typedef struct xcb_randr_get_provider_info_request_t
{
1168 uint8_t major_opcode
; /**< */
1169 uint8_t minor_opcode
; /**< */
1170 uint16_t length
; /**< */
1171 xcb_randr_provider_t provider
; /**< */
1172 xcb_timestamp_t config_timestamp
; /**< */
1173 } xcb_randr_get_provider_info_request_t
;
1176 * @brief xcb_randr_get_provider_info_reply_t
1178 typedef struct xcb_randr_get_provider_info_reply_t
{
1179 uint8_t response_type
; /**< */
1180 uint8_t status
; /**< */
1181 uint16_t sequence
; /**< */
1182 uint32_t length
; /**< */
1183 xcb_timestamp_t timestamp
; /**< */
1184 uint32_t capabilities
; /**< */
1185 uint16_t num_crtcs
; /**< */
1186 uint16_t num_outputs
; /**< */
1187 uint16_t num_associated_providers
; /**< */
1188 uint16_t name_len
; /**< */
1189 uint8_t pad0
[8]; /**< */
1190 } xcb_randr_get_provider_info_reply_t
;
1192 /** Opcode for xcb_randr_set_provider_offload_sink. */
1193 #define XCB_RANDR_SET_PROVIDER_OFFLOAD_SINK 34
1196 * @brief xcb_randr_set_provider_offload_sink_request_t
1198 typedef struct xcb_randr_set_provider_offload_sink_request_t
{
1199 uint8_t major_opcode
; /**< */
1200 uint8_t minor_opcode
; /**< */
1201 uint16_t length
; /**< */
1202 xcb_randr_provider_t provider
; /**< */
1203 xcb_randr_provider_t sink_provider
; /**< */
1204 xcb_timestamp_t config_timestamp
; /**< */
1205 } xcb_randr_set_provider_offload_sink_request_t
;
1207 /** Opcode for xcb_randr_set_provider_output_source. */
1208 #define XCB_RANDR_SET_PROVIDER_OUTPUT_SOURCE 35
1211 * @brief xcb_randr_set_provider_output_source_request_t
1213 typedef struct xcb_randr_set_provider_output_source_request_t
{
1214 uint8_t major_opcode
; /**< */
1215 uint8_t minor_opcode
; /**< */
1216 uint16_t length
; /**< */
1217 xcb_randr_provider_t provider
; /**< */
1218 xcb_randr_provider_t source_provider
; /**< */
1219 xcb_timestamp_t config_timestamp
; /**< */
1220 } xcb_randr_set_provider_output_source_request_t
;
1223 * @brief xcb_randr_list_provider_properties_cookie_t
1225 typedef struct xcb_randr_list_provider_properties_cookie_t
{
1226 unsigned int sequence
; /**< */
1227 } xcb_randr_list_provider_properties_cookie_t
;
1229 /** Opcode for xcb_randr_list_provider_properties. */
1230 #define XCB_RANDR_LIST_PROVIDER_PROPERTIES 36
1233 * @brief xcb_randr_list_provider_properties_request_t
1235 typedef struct xcb_randr_list_provider_properties_request_t
{
1236 uint8_t major_opcode
; /**< */
1237 uint8_t minor_opcode
; /**< */
1238 uint16_t length
; /**< */
1239 xcb_randr_provider_t provider
; /**< */
1240 } xcb_randr_list_provider_properties_request_t
;
1243 * @brief xcb_randr_list_provider_properties_reply_t
1245 typedef struct xcb_randr_list_provider_properties_reply_t
{
1246 uint8_t response_type
; /**< */
1247 uint8_t pad0
; /**< */
1248 uint16_t sequence
; /**< */
1249 uint32_t length
; /**< */
1250 uint16_t num_atoms
; /**< */
1251 uint8_t pad1
[22]; /**< */
1252 } xcb_randr_list_provider_properties_reply_t
;
1255 * @brief xcb_randr_query_provider_property_cookie_t
1257 typedef struct xcb_randr_query_provider_property_cookie_t
{
1258 unsigned int sequence
; /**< */
1259 } xcb_randr_query_provider_property_cookie_t
;
1261 /** Opcode for xcb_randr_query_provider_property. */
1262 #define XCB_RANDR_QUERY_PROVIDER_PROPERTY 37
1265 * @brief xcb_randr_query_provider_property_request_t
1267 typedef struct xcb_randr_query_provider_property_request_t
{
1268 uint8_t major_opcode
; /**< */
1269 uint8_t minor_opcode
; /**< */
1270 uint16_t length
; /**< */
1271 xcb_randr_provider_t provider
; /**< */
1272 xcb_atom_t property
; /**< */
1273 } xcb_randr_query_provider_property_request_t
;
1276 * @brief xcb_randr_query_provider_property_reply_t
1278 typedef struct xcb_randr_query_provider_property_reply_t
{
1279 uint8_t response_type
; /**< */
1280 uint8_t pad0
; /**< */
1281 uint16_t sequence
; /**< */
1282 uint32_t length
; /**< */
1283 uint8_t pending
; /**< */
1284 uint8_t range
; /**< */
1285 uint8_t immutable
; /**< */
1286 uint8_t pad1
[21]; /**< */
1287 } xcb_randr_query_provider_property_reply_t
;
1289 /** Opcode for xcb_randr_configure_provider_property. */
1290 #define XCB_RANDR_CONFIGURE_PROVIDER_PROPERTY 38
1293 * @brief xcb_randr_configure_provider_property_request_t
1295 typedef struct xcb_randr_configure_provider_property_request_t
{
1296 uint8_t major_opcode
; /**< */
1297 uint8_t minor_opcode
; /**< */
1298 uint16_t length
; /**< */
1299 xcb_randr_provider_t provider
; /**< */
1300 xcb_atom_t property
; /**< */
1301 uint8_t pending
; /**< */
1302 uint8_t range
; /**< */
1303 uint8_t pad0
[2]; /**< */
1304 } xcb_randr_configure_provider_property_request_t
;
1306 /** Opcode for xcb_randr_change_provider_property. */
1307 #define XCB_RANDR_CHANGE_PROVIDER_PROPERTY 39
1310 * @brief xcb_randr_change_provider_property_request_t
1312 typedef struct xcb_randr_change_provider_property_request_t
{
1313 uint8_t major_opcode
; /**< */
1314 uint8_t minor_opcode
; /**< */
1315 uint16_t length
; /**< */
1316 xcb_randr_provider_t provider
; /**< */
1317 xcb_atom_t property
; /**< */
1318 xcb_atom_t type
; /**< */
1319 uint8_t format
; /**< */
1320 uint8_t mode
; /**< */
1321 uint8_t pad0
[2]; /**< */
1322 uint32_t num_items
; /**< */
1323 } xcb_randr_change_provider_property_request_t
;
1325 /** Opcode for xcb_randr_delete_provider_property. */
1326 #define XCB_RANDR_DELETE_PROVIDER_PROPERTY 40
1329 * @brief xcb_randr_delete_provider_property_request_t
1331 typedef struct xcb_randr_delete_provider_property_request_t
{
1332 uint8_t major_opcode
; /**< */
1333 uint8_t minor_opcode
; /**< */
1334 uint16_t length
; /**< */
1335 xcb_randr_provider_t provider
; /**< */
1336 xcb_atom_t property
; /**< */
1337 } xcb_randr_delete_provider_property_request_t
;
1340 * @brief xcb_randr_get_provider_property_cookie_t
1342 typedef struct xcb_randr_get_provider_property_cookie_t
{
1343 unsigned int sequence
; /**< */
1344 } xcb_randr_get_provider_property_cookie_t
;
1346 /** Opcode for xcb_randr_get_provider_property. */
1347 #define XCB_RANDR_GET_PROVIDER_PROPERTY 41
1350 * @brief xcb_randr_get_provider_property_request_t
1352 typedef struct xcb_randr_get_provider_property_request_t
{
1353 uint8_t major_opcode
; /**< */
1354 uint8_t minor_opcode
; /**< */
1355 uint16_t length
; /**< */
1356 xcb_randr_provider_t provider
; /**< */
1357 xcb_atom_t property
; /**< */
1358 xcb_atom_t type
; /**< */
1359 uint32_t long_offset
; /**< */
1360 uint32_t long_length
; /**< */
1361 uint8_t _delete
; /**< */
1362 uint8_t pending
; /**< */
1363 uint8_t pad0
[2]; /**< */
1364 } xcb_randr_get_provider_property_request_t
;
1367 * @brief xcb_randr_get_provider_property_reply_t
1369 typedef struct xcb_randr_get_provider_property_reply_t
{
1370 uint8_t response_type
; /**< */
1371 uint8_t format
; /**< */
1372 uint16_t sequence
; /**< */
1373 uint32_t length
; /**< */
1374 xcb_atom_t type
; /**< */
1375 uint32_t bytes_after
; /**< */
1376 uint32_t num_items
; /**< */
1377 uint8_t pad0
[12]; /**< */
1378 } xcb_randr_get_provider_property_reply_t
;
1380 /** Opcode for xcb_randr_screen_change_notify. */
1381 #define XCB_RANDR_SCREEN_CHANGE_NOTIFY 0
1384 * @brief xcb_randr_screen_change_notify_event_t
1386 typedef struct xcb_randr_screen_change_notify_event_t
{
1387 uint8_t response_type
; /**< */
1388 uint8_t rotation
; /**< */
1389 uint16_t sequence
; /**< */
1390 xcb_timestamp_t timestamp
; /**< */
1391 xcb_timestamp_t config_timestamp
; /**< */
1392 xcb_window_t root
; /**< */
1393 xcb_window_t request_window
; /**< */
1394 uint16_t sizeID
; /**< */
1395 uint16_t subpixel_order
; /**< */
1396 uint16_t width
; /**< */
1397 uint16_t height
; /**< */
1398 uint16_t mwidth
; /**< */
1399 uint16_t mheight
; /**< */
1400 } xcb_randr_screen_change_notify_event_t
;
1402 typedef enum xcb_randr_notify_t
{
1403 XCB_RANDR_NOTIFY_CRTC_CHANGE
= 0,
1404 XCB_RANDR_NOTIFY_OUTPUT_CHANGE
= 1,
1405 XCB_RANDR_NOTIFY_OUTPUT_PROPERTY
= 2,
1406 XCB_RANDR_NOTIFY_PROVIDER_CHANGE
= 3,
1407 XCB_RANDR_NOTIFY_PROVIDER_PROPERTY
= 4,
1408 XCB_RANDR_NOTIFY_RESOURCE_CHANGE
= 5
1409 } xcb_randr_notify_t
;
1412 * @brief xcb_randr_crtc_change_t
1414 typedef struct xcb_randr_crtc_change_t
{
1415 xcb_timestamp_t timestamp
; /**< */
1416 xcb_window_t window
; /**< */
1417 xcb_randr_crtc_t crtc
; /**< */
1418 xcb_randr_mode_t mode
; /**< */
1419 uint16_t rotation
; /**< */
1420 uint8_t pad0
[2]; /**< */
1423 uint16_t width
; /**< */
1424 uint16_t height
; /**< */
1425 } xcb_randr_crtc_change_t
;
1428 * @brief xcb_randr_crtc_change_iterator_t
1430 typedef struct xcb_randr_crtc_change_iterator_t
{
1431 xcb_randr_crtc_change_t
*data
; /**< */
1434 } xcb_randr_crtc_change_iterator_t
;
1437 * @brief xcb_randr_output_change_t
1439 typedef struct xcb_randr_output_change_t
{
1440 xcb_timestamp_t timestamp
; /**< */
1441 xcb_timestamp_t config_timestamp
; /**< */
1442 xcb_window_t window
; /**< */
1443 xcb_randr_output_t output
; /**< */
1444 xcb_randr_crtc_t crtc
; /**< */
1445 xcb_randr_mode_t mode
; /**< */
1446 uint16_t rotation
; /**< */
1447 uint8_t connection
; /**< */
1448 uint8_t subpixel_order
; /**< */
1449 } xcb_randr_output_change_t
;
1452 * @brief xcb_randr_output_change_iterator_t
1454 typedef struct xcb_randr_output_change_iterator_t
{
1455 xcb_randr_output_change_t
*data
; /**< */
1458 } xcb_randr_output_change_iterator_t
;
1461 * @brief xcb_randr_output_property_t
1463 typedef struct xcb_randr_output_property_t
{
1464 xcb_window_t window
; /**< */
1465 xcb_randr_output_t output
; /**< */
1466 xcb_atom_t atom
; /**< */
1467 xcb_timestamp_t timestamp
; /**< */
1468 uint8_t status
; /**< */
1469 uint8_t pad0
[11]; /**< */
1470 } xcb_randr_output_property_t
;
1473 * @brief xcb_randr_output_property_iterator_t
1475 typedef struct xcb_randr_output_property_iterator_t
{
1476 xcb_randr_output_property_t
*data
; /**< */
1479 } xcb_randr_output_property_iterator_t
;
1482 * @brief xcb_randr_provider_change_t
1484 typedef struct xcb_randr_provider_change_t
{
1485 xcb_timestamp_t timestamp
; /**< */
1486 xcb_window_t window
; /**< */
1487 xcb_randr_provider_t provider
; /**< */
1488 uint8_t pad0
[16]; /**< */
1489 } xcb_randr_provider_change_t
;
1492 * @brief xcb_randr_provider_change_iterator_t
1494 typedef struct xcb_randr_provider_change_iterator_t
{
1495 xcb_randr_provider_change_t
*data
; /**< */
1498 } xcb_randr_provider_change_iterator_t
;
1501 * @brief xcb_randr_provider_property_t
1503 typedef struct xcb_randr_provider_property_t
{
1504 xcb_window_t window
; /**< */
1505 xcb_randr_provider_t provider
; /**< */
1506 xcb_atom_t atom
; /**< */
1507 xcb_timestamp_t timestamp
; /**< */
1508 uint8_t state
; /**< */
1509 uint8_t pad0
[11]; /**< */
1510 } xcb_randr_provider_property_t
;
1513 * @brief xcb_randr_provider_property_iterator_t
1515 typedef struct xcb_randr_provider_property_iterator_t
{
1516 xcb_randr_provider_property_t
*data
; /**< */
1519 } xcb_randr_provider_property_iterator_t
;
1522 * @brief xcb_randr_resource_change_t
1524 typedef struct xcb_randr_resource_change_t
{
1525 xcb_timestamp_t timestamp
; /**< */
1526 xcb_window_t window
; /**< */
1527 uint8_t pad0
[20]; /**< */
1528 } xcb_randr_resource_change_t
;
1531 * @brief xcb_randr_resource_change_iterator_t
1533 typedef struct xcb_randr_resource_change_iterator_t
{
1534 xcb_randr_resource_change_t
*data
; /**< */
1537 } xcb_randr_resource_change_iterator_t
;
1540 * @brief xcb_randr_notify_data_t
1542 typedef union xcb_randr_notify_data_t
{
1543 xcb_randr_crtc_change_t cc
; /**< */
1544 xcb_randr_output_change_t oc
; /**< */
1545 xcb_randr_output_property_t op
; /**< */
1546 xcb_randr_provider_change_t pc
; /**< */
1547 xcb_randr_provider_property_t pp
; /**< */
1548 xcb_randr_resource_change_t rc
; /**< */
1549 } xcb_randr_notify_data_t
;
1552 * @brief xcb_randr_notify_data_iterator_t
1554 typedef struct xcb_randr_notify_data_iterator_t
{
1555 xcb_randr_notify_data_t
*data
; /**< */
1558 } xcb_randr_notify_data_iterator_t
;
1560 /** Opcode for xcb_randr_notify. */
1561 #define XCB_RANDR_NOTIFY 1
1564 * @brief xcb_randr_notify_event_t
1566 typedef struct xcb_randr_notify_event_t
{
1567 uint8_t response_type
; /**< */
1568 uint8_t subCode
; /**< */
1569 uint16_t sequence
; /**< */
1570 xcb_randr_notify_data_t u
; /**< */
1571 } xcb_randr_notify_event_t
;
1574 * Get the next element of the iterator
1575 * @param i Pointer to a xcb_randr_mode_iterator_t
1577 * Get the next element in the iterator. The member rem is
1578 * decreased by one. The member data points to the next
1579 * element. The member index is increased by sizeof(xcb_randr_mode_t)
1582 xcb_randr_mode_next (xcb_randr_mode_iterator_t
*i
/**< */);
1585 * Return the iterator pointing to the last element
1586 * @param i An xcb_randr_mode_iterator_t
1587 * @return The iterator pointing to the last element
1589 * Set the current element in the iterator to the last element.
1590 * The member rem is set to 0. The member data points to the
1593 xcb_generic_iterator_t
1594 xcb_randr_mode_end (xcb_randr_mode_iterator_t i
/**< */);
1597 * Get the next element of the iterator
1598 * @param i Pointer to a xcb_randr_crtc_iterator_t
1600 * Get the next element in the iterator. The member rem is
1601 * decreased by one. The member data points to the next
1602 * element. The member index is increased by sizeof(xcb_randr_crtc_t)
1605 xcb_randr_crtc_next (xcb_randr_crtc_iterator_t
*i
/**< */);
1608 * Return the iterator pointing to the last element
1609 * @param i An xcb_randr_crtc_iterator_t
1610 * @return The iterator pointing to the last element
1612 * Set the current element in the iterator to the last element.
1613 * The member rem is set to 0. The member data points to the
1616 xcb_generic_iterator_t
1617 xcb_randr_crtc_end (xcb_randr_crtc_iterator_t i
/**< */);
1620 * Get the next element of the iterator
1621 * @param i Pointer to a xcb_randr_output_iterator_t
1623 * Get the next element in the iterator. The member rem is
1624 * decreased by one. The member data points to the next
1625 * element. The member index is increased by sizeof(xcb_randr_output_t)
1628 xcb_randr_output_next (xcb_randr_output_iterator_t
*i
/**< */);
1631 * Return the iterator pointing to the last element
1632 * @param i An xcb_randr_output_iterator_t
1633 * @return The iterator pointing to the last element
1635 * Set the current element in the iterator to the last element.
1636 * The member rem is set to 0. The member data points to the
1639 xcb_generic_iterator_t
1640 xcb_randr_output_end (xcb_randr_output_iterator_t i
/**< */);
1643 * Get the next element of the iterator
1644 * @param i Pointer to a xcb_randr_provider_iterator_t
1646 * Get the next element in the iterator. The member rem is
1647 * decreased by one. The member data points to the next
1648 * element. The member index is increased by sizeof(xcb_randr_provider_t)
1651 xcb_randr_provider_next (xcb_randr_provider_iterator_t
*i
/**< */);
1654 * Return the iterator pointing to the last element
1655 * @param i An xcb_randr_provider_iterator_t
1656 * @return The iterator pointing to the last element
1658 * Set the current element in the iterator to the last element.
1659 * The member rem is set to 0. The member data points to the
1662 xcb_generic_iterator_t
1663 xcb_randr_provider_end (xcb_randr_provider_iterator_t i
/**< */);
1666 * Get the next element of the iterator
1667 * @param i Pointer to a xcb_randr_screen_size_iterator_t
1669 * Get the next element in the iterator. The member rem is
1670 * decreased by one. The member data points to the next
1671 * element. The member index is increased by sizeof(xcb_randr_screen_size_t)
1674 xcb_randr_screen_size_next (xcb_randr_screen_size_iterator_t
*i
/**< */);
1677 * Return the iterator pointing to the last element
1678 * @param i An xcb_randr_screen_size_iterator_t
1679 * @return The iterator pointing to the last element
1681 * Set the current element in the iterator to the last element.
1682 * The member rem is set to 0. The member data points to the
1685 xcb_generic_iterator_t
1686 xcb_randr_screen_size_end (xcb_randr_screen_size_iterator_t i
/**< */);
1689 xcb_randr_refresh_rates_sizeof (const void *_buffer
/**< */);
1692 xcb_randr_refresh_rates_rates (const xcb_randr_refresh_rates_t
*R
/**< */);
1695 xcb_randr_refresh_rates_rates_length (const xcb_randr_refresh_rates_t
*R
/**< */);
1697 xcb_generic_iterator_t
1698 xcb_randr_refresh_rates_rates_end (const xcb_randr_refresh_rates_t
*R
/**< */);
1701 * Get the next element of the iterator
1702 * @param i Pointer to a xcb_randr_refresh_rates_iterator_t
1704 * Get the next element in the iterator. The member rem is
1705 * decreased by one. The member data points to the next
1706 * element. The member index is increased by sizeof(xcb_randr_refresh_rates_t)
1709 xcb_randr_refresh_rates_next (xcb_randr_refresh_rates_iterator_t
*i
/**< */);
1712 * Return the iterator pointing to the last element
1713 * @param i An xcb_randr_refresh_rates_iterator_t
1714 * @return The iterator pointing to the last element
1716 * Set the current element in the iterator to the last element.
1717 * The member rem is set to 0. The member data points to the
1720 xcb_generic_iterator_t
1721 xcb_randr_refresh_rates_end (xcb_randr_refresh_rates_iterator_t i
/**< */);
1725 * @param c The connection
1728 * Delivers a request to the X server.
1731 xcb_randr_query_version_cookie_t
1732 xcb_randr_query_version (xcb_connection_t
*c
/**< */,
1733 uint32_t major_version
/**< */,
1734 uint32_t minor_version
/**< */);
1738 * @param c The connection
1741 * Delivers a request to the X server.
1743 * This form can be used only if the request will cause
1744 * a reply to be generated. Any returned error will be
1745 * placed in the event queue.
1747 xcb_randr_query_version_cookie_t
1748 xcb_randr_query_version_unchecked (xcb_connection_t
*c
/**< */,
1749 uint32_t major_version
/**< */,
1750 uint32_t minor_version
/**< */);
1754 * @param c The connection
1755 * @param cookie The cookie
1756 * @param e The xcb_generic_error_t supplied
1758 * Returns the reply of the request asked by
1760 * The parameter @p e supplied to this function must be NULL if
1761 * xcb_randr_query_version_unchecked(). is used.
1762 * Otherwise, it stores the error if any.
1764 * The returned value must be freed by the caller using free().
1766 xcb_randr_query_version_reply_t
*
1767 xcb_randr_query_version_reply (xcb_connection_t
*c
/**< */,
1768 xcb_randr_query_version_cookie_t cookie
/**< */,
1769 xcb_generic_error_t
**e
/**< */);
1773 * @param c The connection
1776 * Delivers a request to the X server.
1779 xcb_randr_set_screen_config_cookie_t
1780 xcb_randr_set_screen_config (xcb_connection_t
*c
/**< */,
1781 xcb_window_t window
/**< */,
1782 xcb_timestamp_t timestamp
/**< */,
1783 xcb_timestamp_t config_timestamp
/**< */,
1784 uint16_t sizeID
/**< */,
1785 uint16_t rotation
/**< */,
1786 uint16_t rate
/**< */);
1790 * @param c The connection
1793 * Delivers a request to the X server.
1795 * This form can be used only if the request will cause
1796 * a reply to be generated. Any returned error will be
1797 * placed in the event queue.
1799 xcb_randr_set_screen_config_cookie_t
1800 xcb_randr_set_screen_config_unchecked (xcb_connection_t
*c
/**< */,
1801 xcb_window_t window
/**< */,
1802 xcb_timestamp_t timestamp
/**< */,
1803 xcb_timestamp_t config_timestamp
/**< */,
1804 uint16_t sizeID
/**< */,
1805 uint16_t rotation
/**< */,
1806 uint16_t rate
/**< */);
1810 * @param c The connection
1811 * @param cookie The cookie
1812 * @param e The xcb_generic_error_t supplied
1814 * Returns the reply of the request asked by
1816 * The parameter @p e supplied to this function must be NULL if
1817 * xcb_randr_set_screen_config_unchecked(). is used.
1818 * Otherwise, it stores the error if any.
1820 * The returned value must be freed by the caller using free().
1822 xcb_randr_set_screen_config_reply_t
*
1823 xcb_randr_set_screen_config_reply (xcb_connection_t
*c
/**< */,
1824 xcb_randr_set_screen_config_cookie_t cookie
/**< */,
1825 xcb_generic_error_t
**e
/**< */);
1829 * @param c The connection
1832 * Delivers a request to the X server.
1834 * This form can be used only if the request will not cause
1835 * a reply to be generated. Any returned error will be
1836 * saved for handling by xcb_request_check().
1839 xcb_randr_select_input_checked (xcb_connection_t
*c
/**< */,
1840 xcb_window_t window
/**< */,
1841 uint16_t enable
/**< */);
1845 * @param c The connection
1848 * Delivers a request to the X server.
1852 xcb_randr_select_input (xcb_connection_t
*c
/**< */,
1853 xcb_window_t window
/**< */,
1854 uint16_t enable
/**< */);
1857 xcb_randr_get_screen_info_sizeof (const void *_buffer
/**< */);
1861 * @param c The connection
1864 * Delivers a request to the X server.
1867 xcb_randr_get_screen_info_cookie_t
1868 xcb_randr_get_screen_info (xcb_connection_t
*c
/**< */,
1869 xcb_window_t window
/**< */);
1873 * @param c The connection
1876 * Delivers a request to the X server.
1878 * This form can be used only if the request will cause
1879 * a reply to be generated. Any returned error will be
1880 * placed in the event queue.
1882 xcb_randr_get_screen_info_cookie_t
1883 xcb_randr_get_screen_info_unchecked (xcb_connection_t
*c
/**< */,
1884 xcb_window_t window
/**< */);
1886 xcb_randr_screen_size_t
*
1887 xcb_randr_get_screen_info_sizes (const xcb_randr_get_screen_info_reply_t
*R
/**< */);
1890 xcb_randr_get_screen_info_sizes_length (const xcb_randr_get_screen_info_reply_t
*R
/**< */);
1892 xcb_randr_screen_size_iterator_t
1893 xcb_randr_get_screen_info_sizes_iterator (const xcb_randr_get_screen_info_reply_t
*R
/**< */);
1896 xcb_randr_get_screen_info_rates_length (const xcb_randr_get_screen_info_reply_t
*R
/**< */);
1898 xcb_randr_refresh_rates_iterator_t
1899 xcb_randr_get_screen_info_rates_iterator (const xcb_randr_get_screen_info_reply_t
*R
/**< */);
1903 * @param c The connection
1904 * @param cookie The cookie
1905 * @param e The xcb_generic_error_t supplied
1907 * Returns the reply of the request asked by
1909 * The parameter @p e supplied to this function must be NULL if
1910 * xcb_randr_get_screen_info_unchecked(). is used.
1911 * Otherwise, it stores the error if any.
1913 * The returned value must be freed by the caller using free().
1915 xcb_randr_get_screen_info_reply_t
*
1916 xcb_randr_get_screen_info_reply (xcb_connection_t
*c
/**< */,
1917 xcb_randr_get_screen_info_cookie_t cookie
/**< */,
1918 xcb_generic_error_t
**e
/**< */);
1922 * @param c The connection
1925 * Delivers a request to the X server.
1928 xcb_randr_get_screen_size_range_cookie_t
1929 xcb_randr_get_screen_size_range (xcb_connection_t
*c
/**< */,
1930 xcb_window_t window
/**< */);
1934 * @param c The connection
1937 * Delivers a request to the X server.
1939 * This form can be used only if the request will cause
1940 * a reply to be generated. Any returned error will be
1941 * placed in the event queue.
1943 xcb_randr_get_screen_size_range_cookie_t
1944 xcb_randr_get_screen_size_range_unchecked (xcb_connection_t
*c
/**< */,
1945 xcb_window_t window
/**< */);
1949 * @param c The connection
1950 * @param cookie The cookie
1951 * @param e The xcb_generic_error_t supplied
1953 * Returns the reply of the request asked by
1955 * The parameter @p e supplied to this function must be NULL if
1956 * xcb_randr_get_screen_size_range_unchecked(). is used.
1957 * Otherwise, it stores the error if any.
1959 * The returned value must be freed by the caller using free().
1961 xcb_randr_get_screen_size_range_reply_t
*
1962 xcb_randr_get_screen_size_range_reply (xcb_connection_t
*c
/**< */,
1963 xcb_randr_get_screen_size_range_cookie_t cookie
/**< */,
1964 xcb_generic_error_t
**e
/**< */);
1968 * @param c The connection
1971 * Delivers a request to the X server.
1973 * This form can be used only if the request will not cause
1974 * a reply to be generated. Any returned error will be
1975 * saved for handling by xcb_request_check().
1978 xcb_randr_set_screen_size_checked (xcb_connection_t
*c
/**< */,
1979 xcb_window_t window
/**< */,
1980 uint16_t width
/**< */,
1981 uint16_t height
/**< */,
1982 uint32_t mm_width
/**< */,
1983 uint32_t mm_height
/**< */);
1987 * @param c The connection
1990 * Delivers a request to the X server.
1994 xcb_randr_set_screen_size (xcb_connection_t
*c
/**< */,
1995 xcb_window_t window
/**< */,
1996 uint16_t width
/**< */,
1997 uint16_t height
/**< */,
1998 uint32_t mm_width
/**< */,
1999 uint32_t mm_height
/**< */);
2002 * Get the next element of the iterator
2003 * @param i Pointer to a xcb_randr_mode_info_iterator_t
2005 * Get the next element in the iterator. The member rem is
2006 * decreased by one. The member data points to the next
2007 * element. The member index is increased by sizeof(xcb_randr_mode_info_t)
2010 xcb_randr_mode_info_next (xcb_randr_mode_info_iterator_t
*i
/**< */);
2013 * Return the iterator pointing to the last element
2014 * @param i An xcb_randr_mode_info_iterator_t
2015 * @return The iterator pointing to the last element
2017 * Set the current element in the iterator to the last element.
2018 * The member rem is set to 0. The member data points to the
2021 xcb_generic_iterator_t
2022 xcb_randr_mode_info_end (xcb_randr_mode_info_iterator_t i
/**< */);
2025 xcb_randr_get_screen_resources_sizeof (const void *_buffer
/**< */);
2029 * @param c The connection
2032 * Delivers a request to the X server.
2035 xcb_randr_get_screen_resources_cookie_t
2036 xcb_randr_get_screen_resources (xcb_connection_t
*c
/**< */,
2037 xcb_window_t window
/**< */);
2041 * @param c The connection
2044 * Delivers a request to the X server.
2046 * This form can be used only if the request will cause
2047 * a reply to be generated. Any returned error will be
2048 * placed in the event queue.
2050 xcb_randr_get_screen_resources_cookie_t
2051 xcb_randr_get_screen_resources_unchecked (xcb_connection_t
*c
/**< */,
2052 xcb_window_t window
/**< */);
2055 xcb_randr_get_screen_resources_crtcs (const xcb_randr_get_screen_resources_reply_t
*R
/**< */);
2058 xcb_randr_get_screen_resources_crtcs_length (const xcb_randr_get_screen_resources_reply_t
*R
/**< */);
2060 xcb_generic_iterator_t
2061 xcb_randr_get_screen_resources_crtcs_end (const xcb_randr_get_screen_resources_reply_t
*R
/**< */);
2063 xcb_randr_output_t
*
2064 xcb_randr_get_screen_resources_outputs (const xcb_randr_get_screen_resources_reply_t
*R
/**< */);
2067 xcb_randr_get_screen_resources_outputs_length (const xcb_randr_get_screen_resources_reply_t
*R
/**< */);
2069 xcb_generic_iterator_t
2070 xcb_randr_get_screen_resources_outputs_end (const xcb_randr_get_screen_resources_reply_t
*R
/**< */);
2072 xcb_randr_mode_info_t
*
2073 xcb_randr_get_screen_resources_modes (const xcb_randr_get_screen_resources_reply_t
*R
/**< */);
2076 xcb_randr_get_screen_resources_modes_length (const xcb_randr_get_screen_resources_reply_t
*R
/**< */);
2078 xcb_randr_mode_info_iterator_t
2079 xcb_randr_get_screen_resources_modes_iterator (const xcb_randr_get_screen_resources_reply_t
*R
/**< */);
2082 xcb_randr_get_screen_resources_names (const xcb_randr_get_screen_resources_reply_t
*R
/**< */);
2085 xcb_randr_get_screen_resources_names_length (const xcb_randr_get_screen_resources_reply_t
*R
/**< */);
2087 xcb_generic_iterator_t
2088 xcb_randr_get_screen_resources_names_end (const xcb_randr_get_screen_resources_reply_t
*R
/**< */);
2092 * @param c The connection
2093 * @param cookie The cookie
2094 * @param e The xcb_generic_error_t supplied
2096 * Returns the reply of the request asked by
2098 * The parameter @p e supplied to this function must be NULL if
2099 * xcb_randr_get_screen_resources_unchecked(). is used.
2100 * Otherwise, it stores the error if any.
2102 * The returned value must be freed by the caller using free().
2104 xcb_randr_get_screen_resources_reply_t
*
2105 xcb_randr_get_screen_resources_reply (xcb_connection_t
*c
/**< */,
2106 xcb_randr_get_screen_resources_cookie_t cookie
/**< */,
2107 xcb_generic_error_t
**e
/**< */);
2110 xcb_randr_get_output_info_sizeof (const void *_buffer
/**< */);
2114 * @param c The connection
2117 * Delivers a request to the X server.
2120 xcb_randr_get_output_info_cookie_t
2121 xcb_randr_get_output_info (xcb_connection_t
*c
/**< */,
2122 xcb_randr_output_t output
/**< */,
2123 xcb_timestamp_t config_timestamp
/**< */);
2127 * @param c The connection
2130 * Delivers a request to the X server.
2132 * This form can be used only if the request will cause
2133 * a reply to be generated. Any returned error will be
2134 * placed in the event queue.
2136 xcb_randr_get_output_info_cookie_t
2137 xcb_randr_get_output_info_unchecked (xcb_connection_t
*c
/**< */,
2138 xcb_randr_output_t output
/**< */,
2139 xcb_timestamp_t config_timestamp
/**< */);
2142 xcb_randr_get_output_info_crtcs (const xcb_randr_get_output_info_reply_t
*R
/**< */);
2145 xcb_randr_get_output_info_crtcs_length (const xcb_randr_get_output_info_reply_t
*R
/**< */);
2147 xcb_generic_iterator_t
2148 xcb_randr_get_output_info_crtcs_end (const xcb_randr_get_output_info_reply_t
*R
/**< */);
2151 xcb_randr_get_output_info_modes (const xcb_randr_get_output_info_reply_t
*R
/**< */);
2154 xcb_randr_get_output_info_modes_length (const xcb_randr_get_output_info_reply_t
*R
/**< */);
2156 xcb_generic_iterator_t
2157 xcb_randr_get_output_info_modes_end (const xcb_randr_get_output_info_reply_t
*R
/**< */);
2159 xcb_randr_output_t
*
2160 xcb_randr_get_output_info_clones (const xcb_randr_get_output_info_reply_t
*R
/**< */);
2163 xcb_randr_get_output_info_clones_length (const xcb_randr_get_output_info_reply_t
*R
/**< */);
2165 xcb_generic_iterator_t
2166 xcb_randr_get_output_info_clones_end (const xcb_randr_get_output_info_reply_t
*R
/**< */);
2169 xcb_randr_get_output_info_name (const xcb_randr_get_output_info_reply_t
*R
/**< */);
2172 xcb_randr_get_output_info_name_length (const xcb_randr_get_output_info_reply_t
*R
/**< */);
2174 xcb_generic_iterator_t
2175 xcb_randr_get_output_info_name_end (const xcb_randr_get_output_info_reply_t
*R
/**< */);
2179 * @param c The connection
2180 * @param cookie The cookie
2181 * @param e The xcb_generic_error_t supplied
2183 * Returns the reply of the request asked by
2185 * The parameter @p e supplied to this function must be NULL if
2186 * xcb_randr_get_output_info_unchecked(). is used.
2187 * Otherwise, it stores the error if any.
2189 * The returned value must be freed by the caller using free().
2191 xcb_randr_get_output_info_reply_t
*
2192 xcb_randr_get_output_info_reply (xcb_connection_t
*c
/**< */,
2193 xcb_randr_get_output_info_cookie_t cookie
/**< */,
2194 xcb_generic_error_t
**e
/**< */);
2197 xcb_randr_list_output_properties_sizeof (const void *_buffer
/**< */);
2201 * @param c The connection
2204 * Delivers a request to the X server.
2207 xcb_randr_list_output_properties_cookie_t
2208 xcb_randr_list_output_properties (xcb_connection_t
*c
/**< */,
2209 xcb_randr_output_t output
/**< */);
2213 * @param c The connection
2216 * Delivers a request to the X server.
2218 * This form can be used only if the request will cause
2219 * a reply to be generated. Any returned error will be
2220 * placed in the event queue.
2222 xcb_randr_list_output_properties_cookie_t
2223 xcb_randr_list_output_properties_unchecked (xcb_connection_t
*c
/**< */,
2224 xcb_randr_output_t output
/**< */);
2227 xcb_randr_list_output_properties_atoms (const xcb_randr_list_output_properties_reply_t
*R
/**< */);
2230 xcb_randr_list_output_properties_atoms_length (const xcb_randr_list_output_properties_reply_t
*R
/**< */);
2232 xcb_generic_iterator_t
2233 xcb_randr_list_output_properties_atoms_end (const xcb_randr_list_output_properties_reply_t
*R
/**< */);
2237 * @param c The connection
2238 * @param cookie The cookie
2239 * @param e The xcb_generic_error_t supplied
2241 * Returns the reply of the request asked by
2243 * The parameter @p e supplied to this function must be NULL if
2244 * xcb_randr_list_output_properties_unchecked(). is used.
2245 * Otherwise, it stores the error if any.
2247 * The returned value must be freed by the caller using free().
2249 xcb_randr_list_output_properties_reply_t
*
2250 xcb_randr_list_output_properties_reply (xcb_connection_t
*c
/**< */,
2251 xcb_randr_list_output_properties_cookie_t cookie
/**< */,
2252 xcb_generic_error_t
**e
/**< */);
2255 xcb_randr_query_output_property_sizeof (const void *_buffer
/**< */);
2259 * @param c The connection
2262 * Delivers a request to the X server.
2265 xcb_randr_query_output_property_cookie_t
2266 xcb_randr_query_output_property (xcb_connection_t
*c
/**< */,
2267 xcb_randr_output_t output
/**< */,
2268 xcb_atom_t property
/**< */);
2272 * @param c The connection
2275 * Delivers a request to the X server.
2277 * This form can be used only if the request will cause
2278 * a reply to be generated. Any returned error will be
2279 * placed in the event queue.
2281 xcb_randr_query_output_property_cookie_t
2282 xcb_randr_query_output_property_unchecked (xcb_connection_t
*c
/**< */,
2283 xcb_randr_output_t output
/**< */,
2284 xcb_atom_t property
/**< */);
2287 xcb_randr_query_output_property_valid_values (const xcb_randr_query_output_property_reply_t
*R
/**< */);
2290 xcb_randr_query_output_property_valid_values_length (const xcb_randr_query_output_property_reply_t
*R
/**< */);
2292 xcb_generic_iterator_t
2293 xcb_randr_query_output_property_valid_values_end (const xcb_randr_query_output_property_reply_t
*R
/**< */);
2297 * @param c The connection
2298 * @param cookie The cookie
2299 * @param e The xcb_generic_error_t supplied
2301 * Returns the reply of the request asked by
2303 * The parameter @p e supplied to this function must be NULL if
2304 * xcb_randr_query_output_property_unchecked(). is used.
2305 * Otherwise, it stores the error if any.
2307 * The returned value must be freed by the caller using free().
2309 xcb_randr_query_output_property_reply_t
*
2310 xcb_randr_query_output_property_reply (xcb_connection_t
*c
/**< */,
2311 xcb_randr_query_output_property_cookie_t cookie
/**< */,
2312 xcb_generic_error_t
**e
/**< */);
2315 xcb_randr_configure_output_property_sizeof (const void *_buffer
/**< */,
2316 uint32_t values_len
/**< */);
2320 * @param c The connection
2323 * Delivers a request to the X server.
2325 * This form can be used only if the request will not cause
2326 * a reply to be generated. Any returned error will be
2327 * saved for handling by xcb_request_check().
2330 xcb_randr_configure_output_property_checked (xcb_connection_t
*c
/**< */,
2331 xcb_randr_output_t output
/**< */,
2332 xcb_atom_t property
/**< */,
2333 uint8_t pending
/**< */,
2334 uint8_t range
/**< */,
2335 uint32_t values_len
/**< */,
2336 const int32_t *values
/**< */);
2340 * @param c The connection
2343 * Delivers a request to the X server.
2347 xcb_randr_configure_output_property (xcb_connection_t
*c
/**< */,
2348 xcb_randr_output_t output
/**< */,
2349 xcb_atom_t property
/**< */,
2350 uint8_t pending
/**< */,
2351 uint8_t range
/**< */,
2352 uint32_t values_len
/**< */,
2353 const int32_t *values
/**< */);
2356 xcb_randr_change_output_property_sizeof (const void *_buffer
/**< */);
2360 * @param c The connection
2363 * Delivers a request to the X server.
2365 * This form can be used only if the request will not cause
2366 * a reply to be generated. Any returned error will be
2367 * saved for handling by xcb_request_check().
2370 xcb_randr_change_output_property_checked (xcb_connection_t
*c
/**< */,
2371 xcb_randr_output_t output
/**< */,
2372 xcb_atom_t property
/**< */,
2373 xcb_atom_t type
/**< */,
2374 uint8_t format
/**< */,
2375 uint8_t mode
/**< */,
2376 uint32_t num_units
/**< */,
2377 const void *data
/**< */);
2381 * @param c The connection
2384 * Delivers a request to the X server.
2388 xcb_randr_change_output_property (xcb_connection_t
*c
/**< */,
2389 xcb_randr_output_t output
/**< */,
2390 xcb_atom_t property
/**< */,
2391 xcb_atom_t type
/**< */,
2392 uint8_t format
/**< */,
2393 uint8_t mode
/**< */,
2394 uint32_t num_units
/**< */,
2395 const void *data
/**< */);
2399 * @param c The connection
2402 * Delivers a request to the X server.
2404 * This form can be used only if the request will not cause
2405 * a reply to be generated. Any returned error will be
2406 * saved for handling by xcb_request_check().
2409 xcb_randr_delete_output_property_checked (xcb_connection_t
*c
/**< */,
2410 xcb_randr_output_t output
/**< */,
2411 xcb_atom_t property
/**< */);
2415 * @param c The connection
2418 * Delivers a request to the X server.
2422 xcb_randr_delete_output_property (xcb_connection_t
*c
/**< */,
2423 xcb_randr_output_t output
/**< */,
2424 xcb_atom_t property
/**< */);
2427 xcb_randr_get_output_property_sizeof (const void *_buffer
/**< */);
2431 * @param c The connection
2434 * Delivers a request to the X server.
2437 xcb_randr_get_output_property_cookie_t
2438 xcb_randr_get_output_property (xcb_connection_t
*c
/**< */,
2439 xcb_randr_output_t output
/**< */,
2440 xcb_atom_t property
/**< */,
2441 xcb_atom_t type
/**< */,
2442 uint32_t long_offset
/**< */,
2443 uint32_t long_length
/**< */,
2444 uint8_t _delete
/**< */,
2445 uint8_t pending
/**< */);
2449 * @param c The connection
2452 * Delivers a request to the X server.
2454 * This form can be used only if the request will cause
2455 * a reply to be generated. Any returned error will be
2456 * placed in the event queue.
2458 xcb_randr_get_output_property_cookie_t
2459 xcb_randr_get_output_property_unchecked (xcb_connection_t
*c
/**< */,
2460 xcb_randr_output_t output
/**< */,
2461 xcb_atom_t property
/**< */,
2462 xcb_atom_t type
/**< */,
2463 uint32_t long_offset
/**< */,
2464 uint32_t long_length
/**< */,
2465 uint8_t _delete
/**< */,
2466 uint8_t pending
/**< */);
2469 xcb_randr_get_output_property_data (const xcb_randr_get_output_property_reply_t
*R
/**< */);
2472 xcb_randr_get_output_property_data_length (const xcb_randr_get_output_property_reply_t
*R
/**< */);
2474 xcb_generic_iterator_t
2475 xcb_randr_get_output_property_data_end (const xcb_randr_get_output_property_reply_t
*R
/**< */);
2479 * @param c The connection
2480 * @param cookie The cookie
2481 * @param e The xcb_generic_error_t supplied
2483 * Returns the reply of the request asked by
2485 * The parameter @p e supplied to this function must be NULL if
2486 * xcb_randr_get_output_property_unchecked(). is used.
2487 * Otherwise, it stores the error if any.
2489 * The returned value must be freed by the caller using free().
2491 xcb_randr_get_output_property_reply_t
*
2492 xcb_randr_get_output_property_reply (xcb_connection_t
*c
/**< */,
2493 xcb_randr_get_output_property_cookie_t cookie
/**< */,
2494 xcb_generic_error_t
**e
/**< */);
2497 xcb_randr_create_mode_sizeof (const void *_buffer
/**< */,
2498 uint32_t name_len
/**< */);
2502 * @param c The connection
2505 * Delivers a request to the X server.
2508 xcb_randr_create_mode_cookie_t
2509 xcb_randr_create_mode (xcb_connection_t
*c
/**< */,
2510 xcb_window_t window
/**< */,
2511 xcb_randr_mode_info_t mode_info
/**< */,
2512 uint32_t name_len
/**< */,
2513 const char *name
/**< */);
2517 * @param c The connection
2520 * Delivers a request to the X server.
2522 * This form can be used only if the request will cause
2523 * a reply to be generated. Any returned error will be
2524 * placed in the event queue.
2526 xcb_randr_create_mode_cookie_t
2527 xcb_randr_create_mode_unchecked (xcb_connection_t
*c
/**< */,
2528 xcb_window_t window
/**< */,
2529 xcb_randr_mode_info_t mode_info
/**< */,
2530 uint32_t name_len
/**< */,
2531 const char *name
/**< */);
2535 * @param c The connection
2536 * @param cookie The cookie
2537 * @param e The xcb_generic_error_t supplied
2539 * Returns the reply of the request asked by
2541 * The parameter @p e supplied to this function must be NULL if
2542 * xcb_randr_create_mode_unchecked(). is used.
2543 * Otherwise, it stores the error if any.
2545 * The returned value must be freed by the caller using free().
2547 xcb_randr_create_mode_reply_t
*
2548 xcb_randr_create_mode_reply (xcb_connection_t
*c
/**< */,
2549 xcb_randr_create_mode_cookie_t cookie
/**< */,
2550 xcb_generic_error_t
**e
/**< */);
2554 * @param c The connection
2557 * Delivers a request to the X server.
2559 * This form can be used only if the request will not cause
2560 * a reply to be generated. Any returned error will be
2561 * saved for handling by xcb_request_check().
2564 xcb_randr_destroy_mode_checked (xcb_connection_t
*c
/**< */,
2565 xcb_randr_mode_t mode
/**< */);
2569 * @param c The connection
2572 * Delivers a request to the X server.
2576 xcb_randr_destroy_mode (xcb_connection_t
*c
/**< */,
2577 xcb_randr_mode_t mode
/**< */);
2581 * @param c The connection
2584 * Delivers a request to the X server.
2586 * This form can be used only if the request will not cause
2587 * a reply to be generated. Any returned error will be
2588 * saved for handling by xcb_request_check().
2591 xcb_randr_add_output_mode_checked (xcb_connection_t
*c
/**< */,
2592 xcb_randr_output_t output
/**< */,
2593 xcb_randr_mode_t mode
/**< */);
2597 * @param c The connection
2600 * Delivers a request to the X server.
2604 xcb_randr_add_output_mode (xcb_connection_t
*c
/**< */,
2605 xcb_randr_output_t output
/**< */,
2606 xcb_randr_mode_t mode
/**< */);
2610 * @param c The connection
2613 * Delivers a request to the X server.
2615 * This form can be used only if the request will not cause
2616 * a reply to be generated. Any returned error will be
2617 * saved for handling by xcb_request_check().
2620 xcb_randr_delete_output_mode_checked (xcb_connection_t
*c
/**< */,
2621 xcb_randr_output_t output
/**< */,
2622 xcb_randr_mode_t mode
/**< */);
2626 * @param c The connection
2629 * Delivers a request to the X server.
2633 xcb_randr_delete_output_mode (xcb_connection_t
*c
/**< */,
2634 xcb_randr_output_t output
/**< */,
2635 xcb_randr_mode_t mode
/**< */);
2638 xcb_randr_get_crtc_info_sizeof (const void *_buffer
/**< */);
2642 * @param c The connection
2645 * Delivers a request to the X server.
2648 xcb_randr_get_crtc_info_cookie_t
2649 xcb_randr_get_crtc_info (xcb_connection_t
*c
/**< */,
2650 xcb_randr_crtc_t crtc
/**< */,
2651 xcb_timestamp_t config_timestamp
/**< */);
2655 * @param c The connection
2658 * Delivers a request to the X server.
2660 * This form can be used only if the request will cause
2661 * a reply to be generated. Any returned error will be
2662 * placed in the event queue.
2664 xcb_randr_get_crtc_info_cookie_t
2665 xcb_randr_get_crtc_info_unchecked (xcb_connection_t
*c
/**< */,
2666 xcb_randr_crtc_t crtc
/**< */,
2667 xcb_timestamp_t config_timestamp
/**< */);
2669 xcb_randr_output_t
*
2670 xcb_randr_get_crtc_info_outputs (const xcb_randr_get_crtc_info_reply_t
*R
/**< */);
2673 xcb_randr_get_crtc_info_outputs_length (const xcb_randr_get_crtc_info_reply_t
*R
/**< */);
2675 xcb_generic_iterator_t
2676 xcb_randr_get_crtc_info_outputs_end (const xcb_randr_get_crtc_info_reply_t
*R
/**< */);
2678 xcb_randr_output_t
*
2679 xcb_randr_get_crtc_info_possible (const xcb_randr_get_crtc_info_reply_t
*R
/**< */);
2682 xcb_randr_get_crtc_info_possible_length (const xcb_randr_get_crtc_info_reply_t
*R
/**< */);
2684 xcb_generic_iterator_t
2685 xcb_randr_get_crtc_info_possible_end (const xcb_randr_get_crtc_info_reply_t
*R
/**< */);
2689 * @param c The connection
2690 * @param cookie The cookie
2691 * @param e The xcb_generic_error_t supplied
2693 * Returns the reply of the request asked by
2695 * The parameter @p e supplied to this function must be NULL if
2696 * xcb_randr_get_crtc_info_unchecked(). is used.
2697 * Otherwise, it stores the error if any.
2699 * The returned value must be freed by the caller using free().
2701 xcb_randr_get_crtc_info_reply_t
*
2702 xcb_randr_get_crtc_info_reply (xcb_connection_t
*c
/**< */,
2703 xcb_randr_get_crtc_info_cookie_t cookie
/**< */,
2704 xcb_generic_error_t
**e
/**< */);
2707 xcb_randr_set_crtc_config_sizeof (const void *_buffer
/**< */,
2708 uint32_t outputs_len
/**< */);
2712 * @param c The connection
2715 * Delivers a request to the X server.
2718 xcb_randr_set_crtc_config_cookie_t
2719 xcb_randr_set_crtc_config (xcb_connection_t
*c
/**< */,
2720 xcb_randr_crtc_t crtc
/**< */,
2721 xcb_timestamp_t timestamp
/**< */,
2722 xcb_timestamp_t config_timestamp
/**< */,
2725 xcb_randr_mode_t mode
/**< */,
2726 uint16_t rotation
/**< */,
2727 uint32_t outputs_len
/**< */,
2728 const xcb_randr_output_t
*outputs
/**< */);
2732 * @param c The connection
2735 * Delivers a request to the X server.
2737 * This form can be used only if the request will cause
2738 * a reply to be generated. Any returned error will be
2739 * placed in the event queue.
2741 xcb_randr_set_crtc_config_cookie_t
2742 xcb_randr_set_crtc_config_unchecked (xcb_connection_t
*c
/**< */,
2743 xcb_randr_crtc_t crtc
/**< */,
2744 xcb_timestamp_t timestamp
/**< */,
2745 xcb_timestamp_t config_timestamp
/**< */,
2748 xcb_randr_mode_t mode
/**< */,
2749 uint16_t rotation
/**< */,
2750 uint32_t outputs_len
/**< */,
2751 const xcb_randr_output_t
*outputs
/**< */);
2755 * @param c The connection
2756 * @param cookie The cookie
2757 * @param e The xcb_generic_error_t supplied
2759 * Returns the reply of the request asked by
2761 * The parameter @p e supplied to this function must be NULL if
2762 * xcb_randr_set_crtc_config_unchecked(). is used.
2763 * Otherwise, it stores the error if any.
2765 * The returned value must be freed by the caller using free().
2767 xcb_randr_set_crtc_config_reply_t
*
2768 xcb_randr_set_crtc_config_reply (xcb_connection_t
*c
/**< */,
2769 xcb_randr_set_crtc_config_cookie_t cookie
/**< */,
2770 xcb_generic_error_t
**e
/**< */);
2774 * @param c The connection
2777 * Delivers a request to the X server.
2780 xcb_randr_get_crtc_gamma_size_cookie_t
2781 xcb_randr_get_crtc_gamma_size (xcb_connection_t
*c
/**< */,
2782 xcb_randr_crtc_t crtc
/**< */);
2786 * @param c The connection
2789 * Delivers a request to the X server.
2791 * This form can be used only if the request will cause
2792 * a reply to be generated. Any returned error will be
2793 * placed in the event queue.
2795 xcb_randr_get_crtc_gamma_size_cookie_t
2796 xcb_randr_get_crtc_gamma_size_unchecked (xcb_connection_t
*c
/**< */,
2797 xcb_randr_crtc_t crtc
/**< */);
2801 * @param c The connection
2802 * @param cookie The cookie
2803 * @param e The xcb_generic_error_t supplied
2805 * Returns the reply of the request asked by
2807 * The parameter @p e supplied to this function must be NULL if
2808 * xcb_randr_get_crtc_gamma_size_unchecked(). is used.
2809 * Otherwise, it stores the error if any.
2811 * The returned value must be freed by the caller using free().
2813 xcb_randr_get_crtc_gamma_size_reply_t
*
2814 xcb_randr_get_crtc_gamma_size_reply (xcb_connection_t
*c
/**< */,
2815 xcb_randr_get_crtc_gamma_size_cookie_t cookie
/**< */,
2816 xcb_generic_error_t
**e
/**< */);
2819 xcb_randr_get_crtc_gamma_sizeof (const void *_buffer
/**< */);
2823 * @param c The connection
2826 * Delivers a request to the X server.
2829 xcb_randr_get_crtc_gamma_cookie_t
2830 xcb_randr_get_crtc_gamma (xcb_connection_t
*c
/**< */,
2831 xcb_randr_crtc_t crtc
/**< */);
2835 * @param c The connection
2838 * Delivers a request to the X server.
2840 * This form can be used only if the request will cause
2841 * a reply to be generated. Any returned error will be
2842 * placed in the event queue.
2844 xcb_randr_get_crtc_gamma_cookie_t
2845 xcb_randr_get_crtc_gamma_unchecked (xcb_connection_t
*c
/**< */,
2846 xcb_randr_crtc_t crtc
/**< */);
2849 xcb_randr_get_crtc_gamma_red (const xcb_randr_get_crtc_gamma_reply_t
*R
/**< */);
2852 xcb_randr_get_crtc_gamma_red_length (const xcb_randr_get_crtc_gamma_reply_t
*R
/**< */);
2854 xcb_generic_iterator_t
2855 xcb_randr_get_crtc_gamma_red_end (const xcb_randr_get_crtc_gamma_reply_t
*R
/**< */);
2858 xcb_randr_get_crtc_gamma_green (const xcb_randr_get_crtc_gamma_reply_t
*R
/**< */);
2861 xcb_randr_get_crtc_gamma_green_length (const xcb_randr_get_crtc_gamma_reply_t
*R
/**< */);
2863 xcb_generic_iterator_t
2864 xcb_randr_get_crtc_gamma_green_end (const xcb_randr_get_crtc_gamma_reply_t
*R
/**< */);
2867 xcb_randr_get_crtc_gamma_blue (const xcb_randr_get_crtc_gamma_reply_t
*R
/**< */);
2870 xcb_randr_get_crtc_gamma_blue_length (const xcb_randr_get_crtc_gamma_reply_t
*R
/**< */);
2872 xcb_generic_iterator_t
2873 xcb_randr_get_crtc_gamma_blue_end (const xcb_randr_get_crtc_gamma_reply_t
*R
/**< */);
2877 * @param c The connection
2878 * @param cookie The cookie
2879 * @param e The xcb_generic_error_t supplied
2881 * Returns the reply of the request asked by
2883 * The parameter @p e supplied to this function must be NULL if
2884 * xcb_randr_get_crtc_gamma_unchecked(). is used.
2885 * Otherwise, it stores the error if any.
2887 * The returned value must be freed by the caller using free().
2889 xcb_randr_get_crtc_gamma_reply_t
*
2890 xcb_randr_get_crtc_gamma_reply (xcb_connection_t
*c
/**< */,
2891 xcb_randr_get_crtc_gamma_cookie_t cookie
/**< */,
2892 xcb_generic_error_t
**e
/**< */);
2895 xcb_randr_set_crtc_gamma_sizeof (const void *_buffer
/**< */);
2899 * @param c The connection
2902 * Delivers a request to the X server.
2904 * This form can be used only if the request will not cause
2905 * a reply to be generated. Any returned error will be
2906 * saved for handling by xcb_request_check().
2909 xcb_randr_set_crtc_gamma_checked (xcb_connection_t
*c
/**< */,
2910 xcb_randr_crtc_t crtc
/**< */,
2911 uint16_t size
/**< */,
2912 const uint16_t *red
/**< */,
2913 const uint16_t *green
/**< */,
2914 const uint16_t *blue
/**< */);
2918 * @param c The connection
2921 * Delivers a request to the X server.
2925 xcb_randr_set_crtc_gamma (xcb_connection_t
*c
/**< */,
2926 xcb_randr_crtc_t crtc
/**< */,
2927 uint16_t size
/**< */,
2928 const uint16_t *red
/**< */,
2929 const uint16_t *green
/**< */,
2930 const uint16_t *blue
/**< */);
2933 xcb_randr_get_screen_resources_current_sizeof (const void *_buffer
/**< */);
2937 * @param c The connection
2940 * Delivers a request to the X server.
2943 xcb_randr_get_screen_resources_current_cookie_t
2944 xcb_randr_get_screen_resources_current (xcb_connection_t
*c
/**< */,
2945 xcb_window_t window
/**< */);
2949 * @param c The connection
2952 * Delivers a request to the X server.
2954 * This form can be used only if the request will cause
2955 * a reply to be generated. Any returned error will be
2956 * placed in the event queue.
2958 xcb_randr_get_screen_resources_current_cookie_t
2959 xcb_randr_get_screen_resources_current_unchecked (xcb_connection_t
*c
/**< */,
2960 xcb_window_t window
/**< */);
2963 xcb_randr_get_screen_resources_current_crtcs (const xcb_randr_get_screen_resources_current_reply_t
*R
/**< */);
2966 xcb_randr_get_screen_resources_current_crtcs_length (const xcb_randr_get_screen_resources_current_reply_t
*R
/**< */);
2968 xcb_generic_iterator_t
2969 xcb_randr_get_screen_resources_current_crtcs_end (const xcb_randr_get_screen_resources_current_reply_t
*R
/**< */);
2971 xcb_randr_output_t
*
2972 xcb_randr_get_screen_resources_current_outputs (const xcb_randr_get_screen_resources_current_reply_t
*R
/**< */);
2975 xcb_randr_get_screen_resources_current_outputs_length (const xcb_randr_get_screen_resources_current_reply_t
*R
/**< */);
2977 xcb_generic_iterator_t
2978 xcb_randr_get_screen_resources_current_outputs_end (const xcb_randr_get_screen_resources_current_reply_t
*R
/**< */);
2980 xcb_randr_mode_info_t
*
2981 xcb_randr_get_screen_resources_current_modes (const xcb_randr_get_screen_resources_current_reply_t
*R
/**< */);
2984 xcb_randr_get_screen_resources_current_modes_length (const xcb_randr_get_screen_resources_current_reply_t
*R
/**< */);
2986 xcb_randr_mode_info_iterator_t
2987 xcb_randr_get_screen_resources_current_modes_iterator (const xcb_randr_get_screen_resources_current_reply_t
*R
/**< */);
2990 xcb_randr_get_screen_resources_current_names (const xcb_randr_get_screen_resources_current_reply_t
*R
/**< */);
2993 xcb_randr_get_screen_resources_current_names_length (const xcb_randr_get_screen_resources_current_reply_t
*R
/**< */);
2995 xcb_generic_iterator_t
2996 xcb_randr_get_screen_resources_current_names_end (const xcb_randr_get_screen_resources_current_reply_t
*R
/**< */);
3000 * @param c The connection
3001 * @param cookie The cookie
3002 * @param e The xcb_generic_error_t supplied
3004 * Returns the reply of the request asked by
3006 * The parameter @p e supplied to this function must be NULL if
3007 * xcb_randr_get_screen_resources_current_unchecked(). is used.
3008 * Otherwise, it stores the error if any.
3010 * The returned value must be freed by the caller using free().
3012 xcb_randr_get_screen_resources_current_reply_t
*
3013 xcb_randr_get_screen_resources_current_reply (xcb_connection_t
*c
/**< */,
3014 xcb_randr_get_screen_resources_current_cookie_t cookie
/**< */,
3015 xcb_generic_error_t
**e
/**< */);
3018 xcb_randr_set_crtc_transform_sizeof (const void *_buffer
/**< */,
3019 uint32_t filter_params_len
/**< */);
3023 * @param c The connection
3026 * Delivers a request to the X server.
3028 * This form can be used only if the request will not cause
3029 * a reply to be generated. Any returned error will be
3030 * saved for handling by xcb_request_check().
3033 xcb_randr_set_crtc_transform_checked (xcb_connection_t
*c
/**< */,
3034 xcb_randr_crtc_t crtc
/**< */,
3035 xcb_render_transform_t transform
/**< */,
3036 uint16_t filter_len
/**< */,
3037 const char *filter_name
/**< */,
3038 uint32_t filter_params_len
/**< */,
3039 const xcb_render_fixed_t
*filter_params
/**< */);
3043 * @param c The connection
3046 * Delivers a request to the X server.
3050 xcb_randr_set_crtc_transform (xcb_connection_t
*c
/**< */,
3051 xcb_randr_crtc_t crtc
/**< */,
3052 xcb_render_transform_t transform
/**< */,
3053 uint16_t filter_len
/**< */,
3054 const char *filter_name
/**< */,
3055 uint32_t filter_params_len
/**< */,
3056 const xcb_render_fixed_t
*filter_params
/**< */);
3059 xcb_randr_get_crtc_transform_sizeof (const void *_buffer
/**< */);
3063 * @param c The connection
3066 * Delivers a request to the X server.
3069 xcb_randr_get_crtc_transform_cookie_t
3070 xcb_randr_get_crtc_transform (xcb_connection_t
*c
/**< */,
3071 xcb_randr_crtc_t crtc
/**< */);
3075 * @param c The connection
3078 * Delivers a request to the X server.
3080 * This form can be used only if the request will cause
3081 * a reply to be generated. Any returned error will be
3082 * placed in the event queue.
3084 xcb_randr_get_crtc_transform_cookie_t
3085 xcb_randr_get_crtc_transform_unchecked (xcb_connection_t
*c
/**< */,
3086 xcb_randr_crtc_t crtc
/**< */);
3089 xcb_randr_get_crtc_transform_pending_filter_name (const xcb_randr_get_crtc_transform_reply_t
*R
/**< */);
3092 xcb_randr_get_crtc_transform_pending_filter_name_length (const xcb_randr_get_crtc_transform_reply_t
*R
/**< */);
3094 xcb_generic_iterator_t
3095 xcb_randr_get_crtc_transform_pending_filter_name_end (const xcb_randr_get_crtc_transform_reply_t
*R
/**< */);
3097 xcb_render_fixed_t
*
3098 xcb_randr_get_crtc_transform_pending_params (const xcb_randr_get_crtc_transform_reply_t
*R
/**< */);
3101 xcb_randr_get_crtc_transform_pending_params_length (const xcb_randr_get_crtc_transform_reply_t
*R
/**< */);
3103 xcb_generic_iterator_t
3104 xcb_randr_get_crtc_transform_pending_params_end (const xcb_randr_get_crtc_transform_reply_t
*R
/**< */);
3107 xcb_randr_get_crtc_transform_current_filter_name (const xcb_randr_get_crtc_transform_reply_t
*R
/**< */);
3110 xcb_randr_get_crtc_transform_current_filter_name_length (const xcb_randr_get_crtc_transform_reply_t
*R
/**< */);
3112 xcb_generic_iterator_t
3113 xcb_randr_get_crtc_transform_current_filter_name_end (const xcb_randr_get_crtc_transform_reply_t
*R
/**< */);
3115 xcb_render_fixed_t
*
3116 xcb_randr_get_crtc_transform_current_params (const xcb_randr_get_crtc_transform_reply_t
*R
/**< */);
3119 xcb_randr_get_crtc_transform_current_params_length (const xcb_randr_get_crtc_transform_reply_t
*R
/**< */);
3121 xcb_generic_iterator_t
3122 xcb_randr_get_crtc_transform_current_params_end (const xcb_randr_get_crtc_transform_reply_t
*R
/**< */);
3126 * @param c The connection
3127 * @param cookie The cookie
3128 * @param e The xcb_generic_error_t supplied
3130 * Returns the reply of the request asked by
3132 * The parameter @p e supplied to this function must be NULL if
3133 * xcb_randr_get_crtc_transform_unchecked(). is used.
3134 * Otherwise, it stores the error if any.
3136 * The returned value must be freed by the caller using free().
3138 xcb_randr_get_crtc_transform_reply_t
*
3139 xcb_randr_get_crtc_transform_reply (xcb_connection_t
*c
/**< */,
3140 xcb_randr_get_crtc_transform_cookie_t cookie
/**< */,
3141 xcb_generic_error_t
**e
/**< */);
3145 * @param c The connection
3148 * Delivers a request to the X server.
3151 xcb_randr_get_panning_cookie_t
3152 xcb_randr_get_panning (xcb_connection_t
*c
/**< */,
3153 xcb_randr_crtc_t crtc
/**< */);
3157 * @param c The connection
3160 * Delivers a request to the X server.
3162 * This form can be used only if the request will cause
3163 * a reply to be generated. Any returned error will be
3164 * placed in the event queue.
3166 xcb_randr_get_panning_cookie_t
3167 xcb_randr_get_panning_unchecked (xcb_connection_t
*c
/**< */,
3168 xcb_randr_crtc_t crtc
/**< */);
3172 * @param c The connection
3173 * @param cookie The cookie
3174 * @param e The xcb_generic_error_t supplied
3176 * Returns the reply of the request asked by
3178 * The parameter @p e supplied to this function must be NULL if
3179 * xcb_randr_get_panning_unchecked(). is used.
3180 * Otherwise, it stores the error if any.
3182 * The returned value must be freed by the caller using free().
3184 xcb_randr_get_panning_reply_t
*
3185 xcb_randr_get_panning_reply (xcb_connection_t
*c
/**< */,
3186 xcb_randr_get_panning_cookie_t cookie
/**< */,
3187 xcb_generic_error_t
**e
/**< */);
3191 * @param c The connection
3194 * Delivers a request to the X server.
3197 xcb_randr_set_panning_cookie_t
3198 xcb_randr_set_panning (xcb_connection_t
*c
/**< */,
3199 xcb_randr_crtc_t crtc
/**< */,
3200 xcb_timestamp_t timestamp
/**< */,
3201 uint16_t left
/**< */,
3202 uint16_t top
/**< */,
3203 uint16_t width
/**< */,
3204 uint16_t height
/**< */,
3205 uint16_t track_left
/**< */,
3206 uint16_t track_top
/**< */,
3207 uint16_t track_width
/**< */,
3208 uint16_t track_height
/**< */,
3209 int16_t border_left
/**< */,
3210 int16_t border_top
/**< */,
3211 int16_t border_right
/**< */,
3212 int16_t border_bottom
/**< */);
3216 * @param c The connection
3219 * Delivers a request to the X server.
3221 * This form can be used only if the request will cause
3222 * a reply to be generated. Any returned error will be
3223 * placed in the event queue.
3225 xcb_randr_set_panning_cookie_t
3226 xcb_randr_set_panning_unchecked (xcb_connection_t
*c
/**< */,
3227 xcb_randr_crtc_t crtc
/**< */,
3228 xcb_timestamp_t timestamp
/**< */,
3229 uint16_t left
/**< */,
3230 uint16_t top
/**< */,
3231 uint16_t width
/**< */,
3232 uint16_t height
/**< */,
3233 uint16_t track_left
/**< */,
3234 uint16_t track_top
/**< */,
3235 uint16_t track_width
/**< */,
3236 uint16_t track_height
/**< */,
3237 int16_t border_left
/**< */,
3238 int16_t border_top
/**< */,
3239 int16_t border_right
/**< */,
3240 int16_t border_bottom
/**< */);
3244 * @param c The connection
3245 * @param cookie The cookie
3246 * @param e The xcb_generic_error_t supplied
3248 * Returns the reply of the request asked by
3250 * The parameter @p e supplied to this function must be NULL if
3251 * xcb_randr_set_panning_unchecked(). is used.
3252 * Otherwise, it stores the error if any.
3254 * The returned value must be freed by the caller using free().
3256 xcb_randr_set_panning_reply_t
*
3257 xcb_randr_set_panning_reply (xcb_connection_t
*c
/**< */,
3258 xcb_randr_set_panning_cookie_t cookie
/**< */,
3259 xcb_generic_error_t
**e
/**< */);
3263 * @param c The connection
3266 * Delivers a request to the X server.
3268 * This form can be used only if the request will not cause
3269 * a reply to be generated. Any returned error will be
3270 * saved for handling by xcb_request_check().
3273 xcb_randr_set_output_primary_checked (xcb_connection_t
*c
/**< */,
3274 xcb_window_t window
/**< */,
3275 xcb_randr_output_t output
/**< */);
3279 * @param c The connection
3282 * Delivers a request to the X server.
3286 xcb_randr_set_output_primary (xcb_connection_t
*c
/**< */,
3287 xcb_window_t window
/**< */,
3288 xcb_randr_output_t output
/**< */);
3292 * @param c The connection
3295 * Delivers a request to the X server.
3298 xcb_randr_get_output_primary_cookie_t
3299 xcb_randr_get_output_primary (xcb_connection_t
*c
/**< */,
3300 xcb_window_t window
/**< */);
3304 * @param c The connection
3307 * Delivers a request to the X server.
3309 * This form can be used only if the request will cause
3310 * a reply to be generated. Any returned error will be
3311 * placed in the event queue.
3313 xcb_randr_get_output_primary_cookie_t
3314 xcb_randr_get_output_primary_unchecked (xcb_connection_t
*c
/**< */,
3315 xcb_window_t window
/**< */);
3319 * @param c The connection
3320 * @param cookie The cookie
3321 * @param e The xcb_generic_error_t supplied
3323 * Returns the reply of the request asked by
3325 * The parameter @p e supplied to this function must be NULL if
3326 * xcb_randr_get_output_primary_unchecked(). is used.
3327 * Otherwise, it stores the error if any.
3329 * The returned value must be freed by the caller using free().
3331 xcb_randr_get_output_primary_reply_t
*
3332 xcb_randr_get_output_primary_reply (xcb_connection_t
*c
/**< */,
3333 xcb_randr_get_output_primary_cookie_t cookie
/**< */,
3334 xcb_generic_error_t
**e
/**< */);
3337 xcb_randr_get_providers_sizeof (const void *_buffer
/**< */);
3341 * @param c The connection
3344 * Delivers a request to the X server.
3347 xcb_randr_get_providers_cookie_t
3348 xcb_randr_get_providers (xcb_connection_t
*c
/**< */,
3349 xcb_window_t window
/**< */);
3353 * @param c The connection
3356 * Delivers a request to the X server.
3358 * This form can be used only if the request will cause
3359 * a reply to be generated. Any returned error will be
3360 * placed in the event queue.
3362 xcb_randr_get_providers_cookie_t
3363 xcb_randr_get_providers_unchecked (xcb_connection_t
*c
/**< */,
3364 xcb_window_t window
/**< */);
3366 xcb_randr_provider_t
*
3367 xcb_randr_get_providers_providers (const xcb_randr_get_providers_reply_t
*R
/**< */);
3370 xcb_randr_get_providers_providers_length (const xcb_randr_get_providers_reply_t
*R
/**< */);
3372 xcb_generic_iterator_t
3373 xcb_randr_get_providers_providers_end (const xcb_randr_get_providers_reply_t
*R
/**< */);
3377 * @param c The connection
3378 * @param cookie The cookie
3379 * @param e The xcb_generic_error_t supplied
3381 * Returns the reply of the request asked by
3383 * The parameter @p e supplied to this function must be NULL if
3384 * xcb_randr_get_providers_unchecked(). is used.
3385 * Otherwise, it stores the error if any.
3387 * The returned value must be freed by the caller using free().
3389 xcb_randr_get_providers_reply_t
*
3390 xcb_randr_get_providers_reply (xcb_connection_t
*c
/**< */,
3391 xcb_randr_get_providers_cookie_t cookie
/**< */,
3392 xcb_generic_error_t
**e
/**< */);
3395 xcb_randr_get_provider_info_sizeof (const void *_buffer
/**< */);
3399 * @param c The connection
3402 * Delivers a request to the X server.
3405 xcb_randr_get_provider_info_cookie_t
3406 xcb_randr_get_provider_info (xcb_connection_t
*c
/**< */,
3407 xcb_randr_provider_t provider
/**< */,
3408 xcb_timestamp_t config_timestamp
/**< */);
3412 * @param c The connection
3415 * Delivers a request to the X server.
3417 * This form can be used only if the request will cause
3418 * a reply to be generated. Any returned error will be
3419 * placed in the event queue.
3421 xcb_randr_get_provider_info_cookie_t
3422 xcb_randr_get_provider_info_unchecked (xcb_connection_t
*c
/**< */,
3423 xcb_randr_provider_t provider
/**< */,
3424 xcb_timestamp_t config_timestamp
/**< */);
3427 xcb_randr_get_provider_info_crtcs (const xcb_randr_get_provider_info_reply_t
*R
/**< */);
3430 xcb_randr_get_provider_info_crtcs_length (const xcb_randr_get_provider_info_reply_t
*R
/**< */);
3432 xcb_generic_iterator_t
3433 xcb_randr_get_provider_info_crtcs_end (const xcb_randr_get_provider_info_reply_t
*R
/**< */);
3435 xcb_randr_output_t
*
3436 xcb_randr_get_provider_info_outputs (const xcb_randr_get_provider_info_reply_t
*R
/**< */);
3439 xcb_randr_get_provider_info_outputs_length (const xcb_randr_get_provider_info_reply_t
*R
/**< */);
3441 xcb_generic_iterator_t
3442 xcb_randr_get_provider_info_outputs_end (const xcb_randr_get_provider_info_reply_t
*R
/**< */);
3444 xcb_randr_provider_t
*
3445 xcb_randr_get_provider_info_associated_providers (const xcb_randr_get_provider_info_reply_t
*R
/**< */);
3448 xcb_randr_get_provider_info_associated_providers_length (const xcb_randr_get_provider_info_reply_t
*R
/**< */);
3450 xcb_generic_iterator_t
3451 xcb_randr_get_provider_info_associated_providers_end (const xcb_randr_get_provider_info_reply_t
*R
/**< */);
3454 xcb_randr_get_provider_info_associated_capability (const xcb_randr_get_provider_info_reply_t
*R
/**< */);
3457 xcb_randr_get_provider_info_associated_capability_length (const xcb_randr_get_provider_info_reply_t
*R
/**< */);
3459 xcb_generic_iterator_t
3460 xcb_randr_get_provider_info_associated_capability_end (const xcb_randr_get_provider_info_reply_t
*R
/**< */);
3463 xcb_randr_get_provider_info_name (const xcb_randr_get_provider_info_reply_t
*R
/**< */);
3466 xcb_randr_get_provider_info_name_length (const xcb_randr_get_provider_info_reply_t
*R
/**< */);
3468 xcb_generic_iterator_t
3469 xcb_randr_get_provider_info_name_end (const xcb_randr_get_provider_info_reply_t
*R
/**< */);
3473 * @param c The connection
3474 * @param cookie The cookie
3475 * @param e The xcb_generic_error_t supplied
3477 * Returns the reply of the request asked by
3479 * The parameter @p e supplied to this function must be NULL if
3480 * xcb_randr_get_provider_info_unchecked(). is used.
3481 * Otherwise, it stores the error if any.
3483 * The returned value must be freed by the caller using free().
3485 xcb_randr_get_provider_info_reply_t
*
3486 xcb_randr_get_provider_info_reply (xcb_connection_t
*c
/**< */,
3487 xcb_randr_get_provider_info_cookie_t cookie
/**< */,
3488 xcb_generic_error_t
**e
/**< */);
3492 * @param c The connection
3495 * Delivers a request to the X server.
3497 * This form can be used only if the request will not cause
3498 * a reply to be generated. Any returned error will be
3499 * saved for handling by xcb_request_check().
3502 xcb_randr_set_provider_offload_sink_checked (xcb_connection_t
*c
/**< */,
3503 xcb_randr_provider_t provider
/**< */,
3504 xcb_randr_provider_t sink_provider
/**< */,
3505 xcb_timestamp_t config_timestamp
/**< */);
3509 * @param c The connection
3512 * Delivers a request to the X server.
3516 xcb_randr_set_provider_offload_sink (xcb_connection_t
*c
/**< */,
3517 xcb_randr_provider_t provider
/**< */,
3518 xcb_randr_provider_t sink_provider
/**< */,
3519 xcb_timestamp_t config_timestamp
/**< */);
3523 * @param c The connection
3526 * Delivers a request to the X server.
3528 * This form can be used only if the request will not cause
3529 * a reply to be generated. Any returned error will be
3530 * saved for handling by xcb_request_check().
3533 xcb_randr_set_provider_output_source_checked (xcb_connection_t
*c
/**< */,
3534 xcb_randr_provider_t provider
/**< */,
3535 xcb_randr_provider_t source_provider
/**< */,
3536 xcb_timestamp_t config_timestamp
/**< */);
3540 * @param c The connection
3543 * Delivers a request to the X server.
3547 xcb_randr_set_provider_output_source (xcb_connection_t
*c
/**< */,
3548 xcb_randr_provider_t provider
/**< */,
3549 xcb_randr_provider_t source_provider
/**< */,
3550 xcb_timestamp_t config_timestamp
/**< */);
3553 xcb_randr_list_provider_properties_sizeof (const void *_buffer
/**< */);
3557 * @param c The connection
3560 * Delivers a request to the X server.
3563 xcb_randr_list_provider_properties_cookie_t
3564 xcb_randr_list_provider_properties (xcb_connection_t
*c
/**< */,
3565 xcb_randr_provider_t provider
/**< */);
3569 * @param c The connection
3572 * Delivers a request to the X server.
3574 * This form can be used only if the request will cause
3575 * a reply to be generated. Any returned error will be
3576 * placed in the event queue.
3578 xcb_randr_list_provider_properties_cookie_t
3579 xcb_randr_list_provider_properties_unchecked (xcb_connection_t
*c
/**< */,
3580 xcb_randr_provider_t provider
/**< */);
3583 xcb_randr_list_provider_properties_atoms (const xcb_randr_list_provider_properties_reply_t
*R
/**< */);
3586 xcb_randr_list_provider_properties_atoms_length (const xcb_randr_list_provider_properties_reply_t
*R
/**< */);
3588 xcb_generic_iterator_t
3589 xcb_randr_list_provider_properties_atoms_end (const xcb_randr_list_provider_properties_reply_t
*R
/**< */);
3593 * @param c The connection
3594 * @param cookie The cookie
3595 * @param e The xcb_generic_error_t supplied
3597 * Returns the reply of the request asked by
3599 * The parameter @p e supplied to this function must be NULL if
3600 * xcb_randr_list_provider_properties_unchecked(). is used.
3601 * Otherwise, it stores the error if any.
3603 * The returned value must be freed by the caller using free().
3605 xcb_randr_list_provider_properties_reply_t
*
3606 xcb_randr_list_provider_properties_reply (xcb_connection_t
*c
/**< */,
3607 xcb_randr_list_provider_properties_cookie_t cookie
/**< */,
3608 xcb_generic_error_t
**e
/**< */);
3611 xcb_randr_query_provider_property_sizeof (const void *_buffer
/**< */);
3615 * @param c The connection
3618 * Delivers a request to the X server.
3621 xcb_randr_query_provider_property_cookie_t
3622 xcb_randr_query_provider_property (xcb_connection_t
*c
/**< */,
3623 xcb_randr_provider_t provider
/**< */,
3624 xcb_atom_t property
/**< */);
3628 * @param c The connection
3631 * Delivers a request to the X server.
3633 * This form can be used only if the request will cause
3634 * a reply to be generated. Any returned error will be
3635 * placed in the event queue.
3637 xcb_randr_query_provider_property_cookie_t
3638 xcb_randr_query_provider_property_unchecked (xcb_connection_t
*c
/**< */,
3639 xcb_randr_provider_t provider
/**< */,
3640 xcb_atom_t property
/**< */);
3643 xcb_randr_query_provider_property_valid_values (const xcb_randr_query_provider_property_reply_t
*R
/**< */);
3646 xcb_randr_query_provider_property_valid_values_length (const xcb_randr_query_provider_property_reply_t
*R
/**< */);
3648 xcb_generic_iterator_t
3649 xcb_randr_query_provider_property_valid_values_end (const xcb_randr_query_provider_property_reply_t
*R
/**< */);
3653 * @param c The connection
3654 * @param cookie The cookie
3655 * @param e The xcb_generic_error_t supplied
3657 * Returns the reply of the request asked by
3659 * The parameter @p e supplied to this function must be NULL if
3660 * xcb_randr_query_provider_property_unchecked(). is used.
3661 * Otherwise, it stores the error if any.
3663 * The returned value must be freed by the caller using free().
3665 xcb_randr_query_provider_property_reply_t
*
3666 xcb_randr_query_provider_property_reply (xcb_connection_t
*c
/**< */,
3667 xcb_randr_query_provider_property_cookie_t cookie
/**< */,
3668 xcb_generic_error_t
**e
/**< */);
3671 xcb_randr_configure_provider_property_sizeof (const void *_buffer
/**< */,
3672 uint32_t values_len
/**< */);
3676 * @param c The connection
3679 * Delivers a request to the X server.
3681 * This form can be used only if the request will not cause
3682 * a reply to be generated. Any returned error will be
3683 * saved for handling by xcb_request_check().
3686 xcb_randr_configure_provider_property_checked (xcb_connection_t
*c
/**< */,
3687 xcb_randr_provider_t provider
/**< */,
3688 xcb_atom_t property
/**< */,
3689 uint8_t pending
/**< */,
3690 uint8_t range
/**< */,
3691 uint32_t values_len
/**< */,
3692 const int32_t *values
/**< */);
3696 * @param c The connection
3699 * Delivers a request to the X server.
3703 xcb_randr_configure_provider_property (xcb_connection_t
*c
/**< */,
3704 xcb_randr_provider_t provider
/**< */,
3705 xcb_atom_t property
/**< */,
3706 uint8_t pending
/**< */,
3707 uint8_t range
/**< */,
3708 uint32_t values_len
/**< */,
3709 const int32_t *values
/**< */);
3712 xcb_randr_change_provider_property_sizeof (const void *_buffer
/**< */);
3716 * @param c The connection
3719 * Delivers a request to the X server.
3721 * This form can be used only if the request will not cause
3722 * a reply to be generated. Any returned error will be
3723 * saved for handling by xcb_request_check().
3726 xcb_randr_change_provider_property_checked (xcb_connection_t
*c
/**< */,
3727 xcb_randr_provider_t provider
/**< */,
3728 xcb_atom_t property
/**< */,
3729 xcb_atom_t type
/**< */,
3730 uint8_t format
/**< */,
3731 uint8_t mode
/**< */,
3732 uint32_t num_items
/**< */,
3733 const void *data
/**< */);
3737 * @param c The connection
3740 * Delivers a request to the X server.
3744 xcb_randr_change_provider_property (xcb_connection_t
*c
/**< */,
3745 xcb_randr_provider_t provider
/**< */,
3746 xcb_atom_t property
/**< */,
3747 xcb_atom_t type
/**< */,
3748 uint8_t format
/**< */,
3749 uint8_t mode
/**< */,
3750 uint32_t num_items
/**< */,
3751 const void *data
/**< */);
3755 * @param c The connection
3758 * Delivers a request to the X server.
3760 * This form can be used only if the request will not cause
3761 * a reply to be generated. Any returned error will be
3762 * saved for handling by xcb_request_check().
3765 xcb_randr_delete_provider_property_checked (xcb_connection_t
*c
/**< */,
3766 xcb_randr_provider_t provider
/**< */,
3767 xcb_atom_t property
/**< */);
3771 * @param c The connection
3774 * Delivers a request to the X server.
3778 xcb_randr_delete_provider_property (xcb_connection_t
*c
/**< */,
3779 xcb_randr_provider_t provider
/**< */,
3780 xcb_atom_t property
/**< */);
3783 xcb_randr_get_provider_property_sizeof (const void *_buffer
/**< */);
3787 * @param c The connection
3790 * Delivers a request to the X server.
3793 xcb_randr_get_provider_property_cookie_t
3794 xcb_randr_get_provider_property (xcb_connection_t
*c
/**< */,
3795 xcb_randr_provider_t provider
/**< */,
3796 xcb_atom_t property
/**< */,
3797 xcb_atom_t type
/**< */,
3798 uint32_t long_offset
/**< */,
3799 uint32_t long_length
/**< */,
3800 uint8_t _delete
/**< */,
3801 uint8_t pending
/**< */);
3805 * @param c The connection
3808 * Delivers a request to the X server.
3810 * This form can be used only if the request will cause
3811 * a reply to be generated. Any returned error will be
3812 * placed in the event queue.
3814 xcb_randr_get_provider_property_cookie_t
3815 xcb_randr_get_provider_property_unchecked (xcb_connection_t
*c
/**< */,
3816 xcb_randr_provider_t provider
/**< */,
3817 xcb_atom_t property
/**< */,
3818 xcb_atom_t type
/**< */,
3819 uint32_t long_offset
/**< */,
3820 uint32_t long_length
/**< */,
3821 uint8_t _delete
/**< */,
3822 uint8_t pending
/**< */);
3825 xcb_randr_get_provider_property_data (const xcb_randr_get_provider_property_reply_t
*R
/**< */);
3828 xcb_randr_get_provider_property_data_length (const xcb_randr_get_provider_property_reply_t
*R
/**< */);
3830 xcb_generic_iterator_t
3831 xcb_randr_get_provider_property_data_end (const xcb_randr_get_provider_property_reply_t
*R
/**< */);
3835 * @param c The connection
3836 * @param cookie The cookie
3837 * @param e The xcb_generic_error_t supplied
3839 * Returns the reply of the request asked by
3841 * The parameter @p e supplied to this function must be NULL if
3842 * xcb_randr_get_provider_property_unchecked(). is used.
3843 * Otherwise, it stores the error if any.
3845 * The returned value must be freed by the caller using free().
3847 xcb_randr_get_provider_property_reply_t
*
3848 xcb_randr_get_provider_property_reply (xcb_connection_t
*c
/**< */,
3849 xcb_randr_get_provider_property_cookie_t cookie
/**< */,
3850 xcb_generic_error_t
**e
/**< */);
3853 * Get the next element of the iterator
3854 * @param i Pointer to a xcb_randr_crtc_change_iterator_t
3856 * Get the next element in the iterator. The member rem is
3857 * decreased by one. The member data points to the next
3858 * element. The member index is increased by sizeof(xcb_randr_crtc_change_t)
3861 xcb_randr_crtc_change_next (xcb_randr_crtc_change_iterator_t
*i
/**< */);
3864 * Return the iterator pointing to the last element
3865 * @param i An xcb_randr_crtc_change_iterator_t
3866 * @return The iterator pointing to the last element
3868 * Set the current element in the iterator to the last element.
3869 * The member rem is set to 0. The member data points to the
3872 xcb_generic_iterator_t
3873 xcb_randr_crtc_change_end (xcb_randr_crtc_change_iterator_t i
/**< */);
3876 * Get the next element of the iterator
3877 * @param i Pointer to a xcb_randr_output_change_iterator_t
3879 * Get the next element in the iterator. The member rem is
3880 * decreased by one. The member data points to the next
3881 * element. The member index is increased by sizeof(xcb_randr_output_change_t)
3884 xcb_randr_output_change_next (xcb_randr_output_change_iterator_t
*i
/**< */);
3887 * Return the iterator pointing to the last element
3888 * @param i An xcb_randr_output_change_iterator_t
3889 * @return The iterator pointing to the last element
3891 * Set the current element in the iterator to the last element.
3892 * The member rem is set to 0. The member data points to the
3895 xcb_generic_iterator_t
3896 xcb_randr_output_change_end (xcb_randr_output_change_iterator_t i
/**< */);
3899 * Get the next element of the iterator
3900 * @param i Pointer to a xcb_randr_output_property_iterator_t
3902 * Get the next element in the iterator. The member rem is
3903 * decreased by one. The member data points to the next
3904 * element. The member index is increased by sizeof(xcb_randr_output_property_t)
3907 xcb_randr_output_property_next (xcb_randr_output_property_iterator_t
*i
/**< */);
3910 * Return the iterator pointing to the last element
3911 * @param i An xcb_randr_output_property_iterator_t
3912 * @return The iterator pointing to the last element
3914 * Set the current element in the iterator to the last element.
3915 * The member rem is set to 0. The member data points to the
3918 xcb_generic_iterator_t
3919 xcb_randr_output_property_end (xcb_randr_output_property_iterator_t i
/**< */);
3922 * Get the next element of the iterator
3923 * @param i Pointer to a xcb_randr_provider_change_iterator_t
3925 * Get the next element in the iterator. The member rem is
3926 * decreased by one. The member data points to the next
3927 * element. The member index is increased by sizeof(xcb_randr_provider_change_t)
3930 xcb_randr_provider_change_next (xcb_randr_provider_change_iterator_t
*i
/**< */);
3933 * Return the iterator pointing to the last element
3934 * @param i An xcb_randr_provider_change_iterator_t
3935 * @return The iterator pointing to the last element
3937 * Set the current element in the iterator to the last element.
3938 * The member rem is set to 0. The member data points to the
3941 xcb_generic_iterator_t
3942 xcb_randr_provider_change_end (xcb_randr_provider_change_iterator_t i
/**< */);
3945 * Get the next element of the iterator
3946 * @param i Pointer to a xcb_randr_provider_property_iterator_t
3948 * Get the next element in the iterator. The member rem is
3949 * decreased by one. The member data points to the next
3950 * element. The member index is increased by sizeof(xcb_randr_provider_property_t)
3953 xcb_randr_provider_property_next (xcb_randr_provider_property_iterator_t
*i
/**< */);
3956 * Return the iterator pointing to the last element
3957 * @param i An xcb_randr_provider_property_iterator_t
3958 * @return The iterator pointing to the last element
3960 * Set the current element in the iterator to the last element.
3961 * The member rem is set to 0. The member data points to the
3964 xcb_generic_iterator_t
3965 xcb_randr_provider_property_end (xcb_randr_provider_property_iterator_t i
/**< */);
3968 * Get the next element of the iterator
3969 * @param i Pointer to a xcb_randr_resource_change_iterator_t
3971 * Get the next element in the iterator. The member rem is
3972 * decreased by one. The member data points to the next
3973 * element. The member index is increased by sizeof(xcb_randr_resource_change_t)
3976 xcb_randr_resource_change_next (xcb_randr_resource_change_iterator_t
*i
/**< */);
3979 * Return the iterator pointing to the last element
3980 * @param i An xcb_randr_resource_change_iterator_t
3981 * @return The iterator pointing to the last element
3983 * Set the current element in the iterator to the last element.
3984 * The member rem is set to 0. The member data points to the
3987 xcb_generic_iterator_t
3988 xcb_randr_resource_change_end (xcb_randr_resource_change_iterator_t i
/**< */);
3991 * Get the next element of the iterator
3992 * @param i Pointer to a xcb_randr_notify_data_iterator_t
3994 * Get the next element in the iterator. The member rem is
3995 * decreased by one. The member data points to the next
3996 * element. The member index is increased by sizeof(xcb_randr_notify_data_t)
3999 xcb_randr_notify_data_next (xcb_randr_notify_data_iterator_t
*i
/**< */);
4002 * Return the iterator pointing to the last element
4003 * @param i An xcb_randr_notify_data_iterator_t
4004 * @return The iterator pointing to the last element
4006 * Set the current element in the iterator to the last element.
4007 * The member rem is set to 0. The member data points to the
4010 xcb_generic_iterator_t
4011 xcb_randr_notify_data_end (xcb_randr_notify_data_iterator_t i
/**< */);