1 /* 2 * This file generated automatically from randr.xml by c_client.py. 3 * Edit at your peril. 4 */ 5 6 /** 7 * @defgroup XCB_RandR_API XCB RandR API 8 * @brief RandR XCB Protocol Implementation. 9 * @{ 10 **/ 11 12 #ifndef __RANDR_H 13 #define __RANDR_H 14 15 #include "xcb.h" 16 #include "xproto.h" 17 #include "render.h" 18 19 #ifdef __cplusplus 20 extern "C" { 21 #endif 22 23 #define XCB_RANDR_MAJOR_VERSION 1 24 #define XCB_RANDR_MINOR_VERSION 4 25 26 extern xcb_extension_t xcb_randr_id; 27 28 typedef uint32_t xcb_randr_mode_t; 29 30 /** 31 * @brief xcb_randr_mode_iterator_t 32 **/ 33 typedef struct xcb_randr_mode_iterator_t { 34 xcb_randr_mode_t *data; /**< */ 35 int rem; /**< */ 36 int index; /**< */ 37 } xcb_randr_mode_iterator_t; 38 39 typedef uint32_t xcb_randr_crtc_t; 40 41 /** 42 * @brief xcb_randr_crtc_iterator_t 43 **/ 44 typedef struct xcb_randr_crtc_iterator_t { 45 xcb_randr_crtc_t *data; /**< */ 46 int rem; /**< */ 47 int index; /**< */ 48 } xcb_randr_crtc_iterator_t; 49 50 typedef uint32_t xcb_randr_output_t; 51 52 /** 53 * @brief xcb_randr_output_iterator_t 54 **/ 55 typedef struct xcb_randr_output_iterator_t { 56 xcb_randr_output_t *data; /**< */ 57 int rem; /**< */ 58 int index; /**< */ 59 } xcb_randr_output_iterator_t; 60 61 typedef uint32_t xcb_randr_provider_t; 62 63 /** 64 * @brief xcb_randr_provider_iterator_t 65 **/ 66 typedef struct xcb_randr_provider_iterator_t { 67 xcb_randr_provider_t *data; /**< */ 68 int rem; /**< */ 69 int index; /**< */ 70 } xcb_randr_provider_iterator_t; 71 72 /** Opcode for xcb_randr_bad_output. */ 73 #define XCB_RANDR_BAD_OUTPUT 0 74 75 /** 76 * @brief xcb_randr_bad_output_error_t 77 **/ 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; 83 84 /** Opcode for xcb_randr_bad_crtc. */ 85 #define XCB_RANDR_BAD_CRTC 1 86 87 /** 88 * @brief xcb_randr_bad_crtc_error_t 89 **/ 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; 95 96 /** Opcode for xcb_randr_bad_mode. */ 97 #define XCB_RANDR_BAD_MODE 2 98 99 /** 100 * @brief xcb_randr_bad_mode_error_t 101 **/ 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; 107 108 /** Opcode for xcb_randr_bad_provider. */ 109 #define XCB_RANDR_BAD_PROVIDER 3 110 111 /** 112 * @brief xcb_randr_bad_provider_error_t 113 **/ 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; 119 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; 128 129 /** 130 * @brief xcb_randr_screen_size_t 131 **/ 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; 138 139 /** 140 * @brief xcb_randr_screen_size_iterator_t 141 **/ 142 typedef struct xcb_randr_screen_size_iterator_t { 143 xcb_randr_screen_size_t *data; /**< */ 144 int rem; /**< */ 145 int index; /**< */ 146 } xcb_randr_screen_size_iterator_t; 147 148 /** 149 * @brief xcb_randr_refresh_rates_t 150 **/ 151 typedef struct xcb_randr_refresh_rates_t { 152 uint16_t nRates; /**< */ 153 } xcb_randr_refresh_rates_t; 154 155 /** 156 * @brief xcb_randr_refresh_rates_iterator_t 157 **/ 158 typedef struct xcb_randr_refresh_rates_iterator_t { 159 xcb_randr_refresh_rates_t *data; /**< */ 160 int rem; /**< */ 161 int index; /**< */ 162 } xcb_randr_refresh_rates_iterator_t; 163 164 /** 165 * @brief xcb_randr_query_version_cookie_t 166 **/ 167 typedef struct xcb_randr_query_version_cookie_t { 168 unsigned int sequence; /**< */ 169 } xcb_randr_query_version_cookie_t; 170 171 /** Opcode for xcb_randr_query_version. */ 172 #define XCB_RANDR_QUERY_VERSION 0 173 174 /** 175 * @brief xcb_randr_query_version_request_t 176 **/ 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; 184 185 /** 186 * @brief xcb_randr_query_version_reply_t 187 **/ 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; 197 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; 204 205 /** 206 * @brief xcb_randr_set_screen_config_cookie_t 207 **/ 208 typedef struct xcb_randr_set_screen_config_cookie_t { 209 unsigned int sequence; /**< */ 210 } xcb_randr_set_screen_config_cookie_t; 211 212 /** Opcode for xcb_randr_set_screen_config. */ 213 #define XCB_RANDR_SET_SCREEN_CONFIG 2 214 215 /** 216 * @brief xcb_randr_set_screen_config_request_t 217 **/ 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; 230 231 /** 232 * @brief xcb_randr_set_screen_config_reply_t 233 **/ 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; 245 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; 255 256 /** Opcode for xcb_randr_select_input. */ 257 #define XCB_RANDR_SELECT_INPUT 4 258 259 /** 260 * @brief xcb_randr_select_input_request_t 261 **/ 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; 270 271 /** 272 * @brief xcb_randr_get_screen_info_cookie_t 273 **/ 274 typedef struct xcb_randr_get_screen_info_cookie_t { 275 unsigned int sequence; /**< */ 276 } xcb_randr_get_screen_info_cookie_t; 277 278 /** Opcode for xcb_randr_get_screen_info. */ 279 #define XCB_RANDR_GET_SCREEN_INFO 5 280 281 /** 282 * @brief xcb_randr_get_screen_info_request_t 283 **/ 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; 290 291 /** 292 * @brief xcb_randr_get_screen_info_reply_t 293 **/ 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; 309 310 /** 311 * @brief xcb_randr_get_screen_size_range_cookie_t 312 **/ 313 typedef struct xcb_randr_get_screen_size_range_cookie_t { 314 unsigned int sequence; /**< */ 315 } xcb_randr_get_screen_size_range_cookie_t; 316 317 /** Opcode for xcb_randr_get_screen_size_range. */ 318 #define XCB_RANDR_GET_SCREEN_SIZE_RANGE 6 319 320 /** 321 * @brief xcb_randr_get_screen_size_range_request_t 322 **/ 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; 329 330 /** 331 * @brief xcb_randr_get_screen_size_range_reply_t 332 **/ 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; 344 345 /** Opcode for xcb_randr_set_screen_size. */ 346 #define XCB_RANDR_SET_SCREEN_SIZE 7 347 348 /** 349 * @brief xcb_randr_set_screen_size_request_t 350 **/ 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; 361 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; 378 379 /** 380 * @brief xcb_randr_mode_info_t 381 **/ 382 typedef struct xcb_randr_mode_info_t { 383 uint32_t id; /**< */ 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; 397 398 /** 399 * @brief xcb_randr_mode_info_iterator_t 400 **/ 401 typedef struct xcb_randr_mode_info_iterator_t { 402 xcb_randr_mode_info_t *data; /**< */ 403 int rem; /**< */ 404 int index; /**< */ 405 } xcb_randr_mode_info_iterator_t; 406 407 /** 408 * @brief xcb_randr_get_screen_resources_cookie_t 409 **/ 410 typedef struct xcb_randr_get_screen_resources_cookie_t { 411 unsigned int sequence; /**< */ 412 } xcb_randr_get_screen_resources_cookie_t; 413 414 /** Opcode for xcb_randr_get_screen_resources. */ 415 #define XCB_RANDR_GET_SCREEN_RESOURCES 8 416 417 /** 418 * @brief xcb_randr_get_screen_resources_request_t 419 **/ 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; 426 427 /** 428 * @brief xcb_randr_get_screen_resources_reply_t 429 **/ 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; 443 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; 449 450 /** 451 * @brief xcb_randr_get_output_info_cookie_t 452 **/ 453 typedef struct xcb_randr_get_output_info_cookie_t { 454 unsigned int sequence; /**< */ 455 } xcb_randr_get_output_info_cookie_t; 456 457 /** Opcode for xcb_randr_get_output_info. */ 458 #define XCB_RANDR_GET_OUTPUT_INFO 9 459 460 /** 461 * @brief xcb_randr_get_output_info_request_t 462 **/ 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; 470 471 /** 472 * @brief xcb_randr_get_output_info_reply_t 473 **/ 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; 491 492 /** 493 * @brief xcb_randr_list_output_properties_cookie_t 494 **/ 495 typedef struct xcb_randr_list_output_properties_cookie_t { 496 unsigned int sequence; /**< */ 497 } xcb_randr_list_output_properties_cookie_t; 498 499 /** Opcode for xcb_randr_list_output_properties. */ 500 #define XCB_RANDR_LIST_OUTPUT_PROPERTIES 10 501 502 /** 503 * @brief xcb_randr_list_output_properties_request_t 504 **/ 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; 511 512 /** 513 * @brief xcb_randr_list_output_properties_reply_t 514 **/ 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; 523 524 /** 525 * @brief xcb_randr_query_output_property_cookie_t 526 **/ 527 typedef struct xcb_randr_query_output_property_cookie_t { 528 unsigned int sequence; /**< */ 529 } xcb_randr_query_output_property_cookie_t; 530 531 /** Opcode for xcb_randr_query_output_property. */ 532 #define XCB_RANDR_QUERY_OUTPUT_PROPERTY 11 533 534 /** 535 * @brief xcb_randr_query_output_property_request_t 536 **/ 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; 544 545 /** 546 * @brief xcb_randr_query_output_property_reply_t 547 **/ 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; 558 559 /** Opcode for xcb_randr_configure_output_property. */ 560 #define XCB_RANDR_CONFIGURE_OUTPUT_PROPERTY 12 561 562 /** 563 * @brief xcb_randr_configure_output_property_request_t 564 **/ 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; 575 576 /** Opcode for xcb_randr_change_output_property. */ 577 #define XCB_RANDR_CHANGE_OUTPUT_PROPERTY 13 578 579 /** 580 * @brief xcb_randr_change_output_property_request_t 581 **/ 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; 594 595 /** Opcode for xcb_randr_delete_output_property. */ 596 #define XCB_RANDR_DELETE_OUTPUT_PROPERTY 14 597 598 /** 599 * @brief xcb_randr_delete_output_property_request_t 600 **/ 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; 608 609 /** 610 * @brief xcb_randr_get_output_property_cookie_t 611 **/ 612 typedef struct xcb_randr_get_output_property_cookie_t { 613 unsigned int sequence; /**< */ 614 } xcb_randr_get_output_property_cookie_t; 615 616 /** Opcode for xcb_randr_get_output_property. */ 617 #define XCB_RANDR_GET_OUTPUT_PROPERTY 15 618 619 /** 620 * @brief xcb_randr_get_output_property_request_t 621 **/ 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; 635 636 /** 637 * @brief xcb_randr_get_output_property_reply_t 638 **/ 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; 649 650 /** 651 * @brief xcb_randr_create_mode_cookie_t 652 **/ 653 typedef struct xcb_randr_create_mode_cookie_t { 654 unsigned int sequence; /**< */ 655 } xcb_randr_create_mode_cookie_t; 656 657 /** Opcode for xcb_randr_create_mode. */ 658 #define XCB_RANDR_CREATE_MODE 16 659 660 /** 661 * @brief xcb_randr_create_mode_request_t 662 **/ 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; 670 671 /** 672 * @brief xcb_randr_create_mode_reply_t 673 **/ 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; 682 683 /** Opcode for xcb_randr_destroy_mode. */ 684 #define XCB_RANDR_DESTROY_MODE 17 685 686 /** 687 * @brief xcb_randr_destroy_mode_request_t 688 **/ 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; 695 696 /** Opcode for xcb_randr_add_output_mode. */ 697 #define XCB_RANDR_ADD_OUTPUT_MODE 18 698 699 /** 700 * @brief xcb_randr_add_output_mode_request_t 701 **/ 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; 709 710 /** Opcode for xcb_randr_delete_output_mode. */ 711 #define XCB_RANDR_DELETE_OUTPUT_MODE 19 712 713 /** 714 * @brief xcb_randr_delete_output_mode_request_t 715 **/ 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; 723 724 /** 725 * @brief xcb_randr_get_crtc_info_cookie_t 726 **/ 727 typedef struct xcb_randr_get_crtc_info_cookie_t { 728 unsigned int sequence; /**< */ 729 } xcb_randr_get_crtc_info_cookie_t; 730 731 /** Opcode for xcb_randr_get_crtc_info. */ 732 #define XCB_RANDR_GET_CRTC_INFO 20 733 734 /** 735 * @brief xcb_randr_get_crtc_info_request_t 736 **/ 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; 744 745 /** 746 * @brief xcb_randr_get_crtc_info_reply_t 747 **/ 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; /**< */ 754 int16_t x; /**< */ 755 int16_t y; /**< */ 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; 764 765 /** 766 * @brief xcb_randr_set_crtc_config_cookie_t 767 **/ 768 typedef struct xcb_randr_set_crtc_config_cookie_t { 769 unsigned int sequence; /**< */ 770 } xcb_randr_set_crtc_config_cookie_t; 771 772 /** Opcode for xcb_randr_set_crtc_config. */ 773 #define XCB_RANDR_SET_CRTC_CONFIG 21 774 775 /** 776 * @brief xcb_randr_set_crtc_config_request_t 777 **/ 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; /**< */ 785 int16_t x; /**< */ 786 int16_t y; /**< */ 787 xcb_randr_mode_t mode; /**< */ 788 uint16_t rotation; /**< */ 789 uint8_t pad0[2]; /**< */ 790 } xcb_randr_set_crtc_config_request_t; 791 792 /** 793 * @brief xcb_randr_set_crtc_config_reply_t 794 **/ 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; 803 804 /** 805 * @brief xcb_randr_get_crtc_gamma_size_cookie_t 806 **/ 807 typedef struct xcb_randr_get_crtc_gamma_size_cookie_t { 808 unsigned int sequence; /**< */ 809 } xcb_randr_get_crtc_gamma_size_cookie_t; 810 811 /** Opcode for xcb_randr_get_crtc_gamma_size. */ 812 #define XCB_RANDR_GET_CRTC_GAMMA_SIZE 22 813 814 /** 815 * @brief xcb_randr_get_crtc_gamma_size_request_t 816 **/ 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; 823 824 /** 825 * @brief xcb_randr_get_crtc_gamma_size_reply_t 826 **/ 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; 835 836 /** 837 * @brief xcb_randr_get_crtc_gamma_cookie_t 838 **/ 839 typedef struct xcb_randr_get_crtc_gamma_cookie_t { 840 unsigned int sequence; /**< */ 841 } xcb_randr_get_crtc_gamma_cookie_t; 842 843 /** Opcode for xcb_randr_get_crtc_gamma. */ 844 #define XCB_RANDR_GET_CRTC_GAMMA 23 845 846 /** 847 * @brief xcb_randr_get_crtc_gamma_request_t 848 **/ 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; 855 856 /** 857 * @brief xcb_randr_get_crtc_gamma_reply_t 858 **/ 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; 867 868 /** Opcode for xcb_randr_set_crtc_gamma. */ 869 #define XCB_RANDR_SET_CRTC_GAMMA 24 870 871 /** 872 * @brief xcb_randr_set_crtc_gamma_request_t 873 **/ 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; 882 883 /** 884 * @brief xcb_randr_get_screen_resources_current_cookie_t 885 **/ 886 typedef struct xcb_randr_get_screen_resources_current_cookie_t { 887 unsigned int sequence; /**< */ 888 } xcb_randr_get_screen_resources_current_cookie_t; 889 890 /** Opcode for xcb_randr_get_screen_resources_current. */ 891 #define XCB_RANDR_GET_SCREEN_RESOURCES_CURRENT 25 892 893 /** 894 * @brief xcb_randr_get_screen_resources_current_request_t 895 **/ 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; 902 903 /** 904 * @brief xcb_randr_get_screen_resources_current_reply_t 905 **/ 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; 919 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; 926 927 /** Opcode for xcb_randr_set_crtc_transform. */ 928 #define XCB_RANDR_SET_CRTC_TRANSFORM 26 929 930 /** 931 * @brief xcb_randr_set_crtc_transform_request_t 932 **/ 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; 942 943 /** 944 * @brief xcb_randr_get_crtc_transform_cookie_t 945 **/ 946 typedef struct xcb_randr_get_crtc_transform_cookie_t { 947 unsigned int sequence; /**< */ 948 } xcb_randr_get_crtc_transform_cookie_t; 949 950 /** Opcode for xcb_randr_get_crtc_transform. */ 951 #define XCB_RANDR_GET_CRTC_TRANSFORM 27 952 953 /** 954 * @brief xcb_randr_get_crtc_transform_request_t 955 **/ 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; 962 963 /** 964 * @brief xcb_randr_get_crtc_transform_reply_t 965 **/ 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; 981 982 /** 983 * @brief xcb_randr_get_panning_cookie_t 984 **/ 985 typedef struct xcb_randr_get_panning_cookie_t { 986 unsigned int sequence; /**< */ 987 } xcb_randr_get_panning_cookie_t; 988 989 /** Opcode for xcb_randr_get_panning. */ 990 #define XCB_RANDR_GET_PANNING 28 991 992 /** 993 * @brief xcb_randr_get_panning_request_t 994 **/ 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; 1001 1002 /** 1003 * @brief xcb_randr_get_panning_reply_t 1004 **/ 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; 1024 1025 /** 1026 * @brief xcb_randr_set_panning_cookie_t 1027 **/ 1028 typedef struct xcb_randr_set_panning_cookie_t { 1029 unsigned int sequence; /**< */ 1030 } xcb_randr_set_panning_cookie_t; 1031 1032 /** Opcode for xcb_randr_set_panning. */ 1033 #define XCB_RANDR_SET_PANNING 29 1034 1035 /** 1036 * @brief xcb_randr_set_panning_request_t 1037 **/ 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; 1057 1058 /** 1059 * @brief xcb_randr_set_panning_reply_t 1060 **/ 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; 1068 1069 /** Opcode for xcb_randr_set_output_primary. */ 1070 #define XCB_RANDR_SET_OUTPUT_PRIMARY 30 1071 1072 /** 1073 * @brief xcb_randr_set_output_primary_request_t 1074 **/ 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; 1082 1083 /** 1084 * @brief xcb_randr_get_output_primary_cookie_t 1085 **/ 1086 typedef struct xcb_randr_get_output_primary_cookie_t { 1087 unsigned int sequence; /**< */ 1088 } xcb_randr_get_output_primary_cookie_t; 1089 1090 /** Opcode for xcb_randr_get_output_primary. */ 1091 #define XCB_RANDR_GET_OUTPUT_PRIMARY 31 1092 1093 /** 1094 * @brief xcb_randr_get_output_primary_request_t 1095 **/ 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; 1102 1103 /** 1104 * @brief xcb_randr_get_output_primary_reply_t 1105 **/ 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; 1113 1114 /** 1115 * @brief xcb_randr_get_providers_cookie_t 1116 **/ 1117 typedef struct xcb_randr_get_providers_cookie_t { 1118 unsigned int sequence; /**< */ 1119 } xcb_randr_get_providers_cookie_t; 1120 1121 /** Opcode for xcb_randr_get_providers. */ 1122 #define XCB_RANDR_GET_PROVIDERS 32 1123 1124 /** 1125 * @brief xcb_randr_get_providers_request_t 1126 **/ 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; 1133 1134 /** 1135 * @brief xcb_randr_get_providers_reply_t 1136 **/ 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; 1146 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; 1153 1154 /** 1155 * @brief xcb_randr_get_provider_info_cookie_t 1156 **/ 1157 typedef struct xcb_randr_get_provider_info_cookie_t { 1158 unsigned int sequence; /**< */ 1159 } xcb_randr_get_provider_info_cookie_t; 1160 1161 /** Opcode for xcb_randr_get_provider_info. */ 1162 #define XCB_RANDR_GET_PROVIDER_INFO 33 1163 1164 /** 1165 * @brief xcb_randr_get_provider_info_request_t 1166 **/ 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; 1174 1175 /** 1176 * @brief xcb_randr_get_provider_info_reply_t 1177 **/ 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; 1191 1192 /** Opcode for xcb_randr_set_provider_offload_sink. */ 1193 #define XCB_RANDR_SET_PROVIDER_OFFLOAD_SINK 34 1194 1195 /** 1196 * @brief xcb_randr_set_provider_offload_sink_request_t 1197 **/ 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; 1206 1207 /** Opcode for xcb_randr_set_provider_output_source. */ 1208 #define XCB_RANDR_SET_PROVIDER_OUTPUT_SOURCE 35 1209 1210 /** 1211 * @brief xcb_randr_set_provider_output_source_request_t 1212 **/ 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; 1221 1222 /** 1223 * @brief xcb_randr_list_provider_properties_cookie_t 1224 **/ 1225 typedef struct xcb_randr_list_provider_properties_cookie_t { 1226 unsigned int sequence; /**< */ 1227 } xcb_randr_list_provider_properties_cookie_t; 1228 1229 /** Opcode for xcb_randr_list_provider_properties. */ 1230 #define XCB_RANDR_LIST_PROVIDER_PROPERTIES 36 1231 1232 /** 1233 * @brief xcb_randr_list_provider_properties_request_t 1234 **/ 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; 1241 1242 /** 1243 * @brief xcb_randr_list_provider_properties_reply_t 1244 **/ 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; 1253 1254 /** 1255 * @brief xcb_randr_query_provider_property_cookie_t 1256 **/ 1257 typedef struct xcb_randr_query_provider_property_cookie_t { 1258 unsigned int sequence; /**< */ 1259 } xcb_randr_query_provider_property_cookie_t; 1260 1261 /** Opcode for xcb_randr_query_provider_property. */ 1262 #define XCB_RANDR_QUERY_PROVIDER_PROPERTY 37 1263 1264 /** 1265 * @brief xcb_randr_query_provider_property_request_t 1266 **/ 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; 1274 1275 /** 1276 * @brief xcb_randr_query_provider_property_reply_t 1277 **/ 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; 1288 1289 /** Opcode for xcb_randr_configure_provider_property. */ 1290 #define XCB_RANDR_CONFIGURE_PROVIDER_PROPERTY 38 1291 1292 /** 1293 * @brief xcb_randr_configure_provider_property_request_t 1294 **/ 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; 1305 1306 /** Opcode for xcb_randr_change_provider_property. */ 1307 #define XCB_RANDR_CHANGE_PROVIDER_PROPERTY 39 1308 1309 /** 1310 * @brief xcb_randr_change_provider_property_request_t 1311 **/ 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; 1324 1325 /** Opcode for xcb_randr_delete_provider_property. */ 1326 #define XCB_RANDR_DELETE_PROVIDER_PROPERTY 40 1327 1328 /** 1329 * @brief xcb_randr_delete_provider_property_request_t 1330 **/ 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; 1338 1339 /** 1340 * @brief xcb_randr_get_provider_property_cookie_t 1341 **/ 1342 typedef struct xcb_randr_get_provider_property_cookie_t { 1343 unsigned int sequence; /**< */ 1344 } xcb_randr_get_provider_property_cookie_t; 1345 1346 /** Opcode for xcb_randr_get_provider_property. */ 1347 #define XCB_RANDR_GET_PROVIDER_PROPERTY 41 1348 1349 /** 1350 * @brief xcb_randr_get_provider_property_request_t 1351 **/ 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; 1365 1366 /** 1367 * @brief xcb_randr_get_provider_property_reply_t 1368 **/ 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; 1379 1380 /** Opcode for xcb_randr_screen_change_notify. */ 1381 #define XCB_RANDR_SCREEN_CHANGE_NOTIFY 0 1382 1383 /** 1384 * @brief xcb_randr_screen_change_notify_event_t 1385 **/ 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; 1401 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; 1410 1411 /** 1412 * @brief xcb_randr_crtc_change_t 1413 **/ 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]; /**< */ 1421 int16_t x; /**< */ 1422 int16_t y; /**< */ 1423 uint16_t width; /**< */ 1424 uint16_t height; /**< */ 1425 } xcb_randr_crtc_change_t; 1426 1427 /** 1428 * @brief xcb_randr_crtc_change_iterator_t 1429 **/ 1430 typedef struct xcb_randr_crtc_change_iterator_t { 1431 xcb_randr_crtc_change_t *data; /**< */ 1432 int rem; /**< */ 1433 int index; /**< */ 1434 } xcb_randr_crtc_change_iterator_t; 1435 1436 /** 1437 * @brief xcb_randr_output_change_t 1438 **/ 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; 1450 1451 /** 1452 * @brief xcb_randr_output_change_iterator_t 1453 **/ 1454 typedef struct xcb_randr_output_change_iterator_t { 1455 xcb_randr_output_change_t *data; /**< */ 1456 int rem; /**< */ 1457 int index; /**< */ 1458 } xcb_randr_output_change_iterator_t; 1459 1460 /** 1461 * @brief xcb_randr_output_property_t 1462 **/ 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; 1471 1472 /** 1473 * @brief xcb_randr_output_property_iterator_t 1474 **/ 1475 typedef struct xcb_randr_output_property_iterator_t { 1476 xcb_randr_output_property_t *data; /**< */ 1477 int rem; /**< */ 1478 int index; /**< */ 1479 } xcb_randr_output_property_iterator_t; 1480 1481 /** 1482 * @brief xcb_randr_provider_change_t 1483 **/ 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; 1490 1491 /** 1492 * @brief xcb_randr_provider_change_iterator_t 1493 **/ 1494 typedef struct xcb_randr_provider_change_iterator_t { 1495 xcb_randr_provider_change_t *data; /**< */ 1496 int rem; /**< */ 1497 int index; /**< */ 1498 } xcb_randr_provider_change_iterator_t; 1499 1500 /** 1501 * @brief xcb_randr_provider_property_t 1502 **/ 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; 1511 1512 /** 1513 * @brief xcb_randr_provider_property_iterator_t 1514 **/ 1515 typedef struct xcb_randr_provider_property_iterator_t { 1516 xcb_randr_provider_property_t *data; /**< */ 1517 int rem; /**< */ 1518 int index; /**< */ 1519 } xcb_randr_provider_property_iterator_t; 1520 1521 /** 1522 * @brief xcb_randr_resource_change_t 1523 **/ 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; 1529 1530 /** 1531 * @brief xcb_randr_resource_change_iterator_t 1532 **/ 1533 typedef struct xcb_randr_resource_change_iterator_t { 1534 xcb_randr_resource_change_t *data; /**< */ 1535 int rem; /**< */ 1536 int index; /**< */ 1537 } xcb_randr_resource_change_iterator_t; 1538 1539 /** 1540 * @brief xcb_randr_notify_data_t 1541 **/ 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; 1550 1551 /** 1552 * @brief xcb_randr_notify_data_iterator_t 1553 **/ 1554 typedef struct xcb_randr_notify_data_iterator_t { 1555 xcb_randr_notify_data_t *data; /**< */ 1556 int rem; /**< */ 1557 int index; /**< */ 1558 } xcb_randr_notify_data_iterator_t; 1559 1560 /** Opcode for xcb_randr_notify. */ 1561 #define XCB_RANDR_NOTIFY 1 1562 1563 /** 1564 * @brief xcb_randr_notify_event_t 1565 **/ 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; 1572 1573 /** 1574 * Get the next element of the iterator 1575 * @param i Pointer to a xcb_randr_mode_iterator_t 1576 * 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) 1580 */ 1581 void 1582 xcb_randr_mode_next (xcb_randr_mode_iterator_t *i /**< */); 1583 1584 /** 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 1588 * 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 1591 * last element. 1592 */ 1593 xcb_generic_iterator_t 1594 xcb_randr_mode_end (xcb_randr_mode_iterator_t i /**< */); 1595 1596 /** 1597 * Get the next element of the iterator 1598 * @param i Pointer to a xcb_randr_crtc_iterator_t 1599 * 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) 1603 */ 1604 void 1605 xcb_randr_crtc_next (xcb_randr_crtc_iterator_t *i /**< */); 1606 1607 /** 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 1611 * 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 1614 * last element. 1615 */ 1616 xcb_generic_iterator_t 1617 xcb_randr_crtc_end (xcb_randr_crtc_iterator_t i /**< */); 1618 1619 /** 1620 * Get the next element of the iterator 1621 * @param i Pointer to a xcb_randr_output_iterator_t 1622 * 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) 1626 */ 1627 void 1628 xcb_randr_output_next (xcb_randr_output_iterator_t *i /**< */); 1629 1630 /** 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 1634 * 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 1637 * last element. 1638 */ 1639 xcb_generic_iterator_t 1640 xcb_randr_output_end (xcb_randr_output_iterator_t i /**< */); 1641 1642 /** 1643 * Get the next element of the iterator 1644 * @param i Pointer to a xcb_randr_provider_iterator_t 1645 * 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) 1649 */ 1650 void 1651 xcb_randr_provider_next (xcb_randr_provider_iterator_t *i /**< */); 1652 1653 /** 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 1657 * 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 1660 * last element. 1661 */ 1662 xcb_generic_iterator_t 1663 xcb_randr_provider_end (xcb_randr_provider_iterator_t i /**< */); 1664 1665 /** 1666 * Get the next element of the iterator 1667 * @param i Pointer to a xcb_randr_screen_size_iterator_t 1668 * 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) 1672 */ 1673 void 1674 xcb_randr_screen_size_next (xcb_randr_screen_size_iterator_t *i /**< */); 1675 1676 /** 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 1680 * 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 1683 * last element. 1684 */ 1685 xcb_generic_iterator_t 1686 xcb_randr_screen_size_end (xcb_randr_screen_size_iterator_t i /**< */); 1687 1688 int 1689 xcb_randr_refresh_rates_sizeof (const void *_buffer /**< */); 1690 1691 uint16_t * 1692 xcb_randr_refresh_rates_rates (const xcb_randr_refresh_rates_t *R /**< */); 1693 1694 int 1695 xcb_randr_refresh_rates_rates_length (const xcb_randr_refresh_rates_t *R /**< */); 1696 1697 xcb_generic_iterator_t 1698 xcb_randr_refresh_rates_rates_end (const xcb_randr_refresh_rates_t *R /**< */); 1699 1700 /** 1701 * Get the next element of the iterator 1702 * @param i Pointer to a xcb_randr_refresh_rates_iterator_t 1703 * 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) 1707 */ 1708 void 1709 xcb_randr_refresh_rates_next (xcb_randr_refresh_rates_iterator_t *i /**< */); 1710 1711 /** 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 1715 * 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 1718 * last element. 1719 */ 1720 xcb_generic_iterator_t 1721 xcb_randr_refresh_rates_end (xcb_randr_refresh_rates_iterator_t i /**< */); 1722 1723 /** 1724 * 1725 * @param c The connection 1726 * @return A cookie 1727 * 1728 * Delivers a request to the X server. 1729 * 1730 */ 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 /**< */); 1735 1736 /** 1737 * 1738 * @param c The connection 1739 * @return A cookie 1740 * 1741 * Delivers a request to the X server. 1742 * 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. 1746 */ 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 /**< */); 1751 1752 /** 1753 * Return the reply 1754 * @param c The connection 1755 * @param cookie The cookie 1756 * @param e The xcb_generic_error_t supplied 1757 * 1758 * Returns the reply of the request asked by 1759 * 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. 1763 * 1764 * The returned value must be freed by the caller using free(). 1765 */ 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 /**< */); 1770 1771 /** 1772 * 1773 * @param c The connection 1774 * @return A cookie 1775 * 1776 * Delivers a request to the X server. 1777 * 1778 */ 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 /**< */); 1787 1788 /** 1789 * 1790 * @param c The connection 1791 * @return A cookie 1792 * 1793 * Delivers a request to the X server. 1794 * 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. 1798 */ 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 /**< */); 1807 1808 /** 1809 * Return the reply 1810 * @param c The connection 1811 * @param cookie The cookie 1812 * @param e The xcb_generic_error_t supplied 1813 * 1814 * Returns the reply of the request asked by 1815 * 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. 1819 * 1820 * The returned value must be freed by the caller using free(). 1821 */ 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 /**< */); 1826 1827 /** 1828 * 1829 * @param c The connection 1830 * @return A cookie 1831 * 1832 * Delivers a request to the X server. 1833 * 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(). 1837 */ 1838 xcb_void_cookie_t 1839 xcb_randr_select_input_checked (xcb_connection_t *c /**< */, 1840 xcb_window_t window /**< */, 1841 uint16_t enable /**< */); 1842 1843 /** 1844 * 1845 * @param c The connection 1846 * @return A cookie 1847 * 1848 * Delivers a request to the X server. 1849 * 1850 */ 1851 xcb_void_cookie_t 1852 xcb_randr_select_input (xcb_connection_t *c /**< */, 1853 xcb_window_t window /**< */, 1854 uint16_t enable /**< */); 1855 1856 int 1857 xcb_randr_get_screen_info_sizeof (const void *_buffer /**< */); 1858 1859 /** 1860 * 1861 * @param c The connection 1862 * @return A cookie 1863 * 1864 * Delivers a request to the X server. 1865 * 1866 */ 1867 xcb_randr_get_screen_info_cookie_t 1868 xcb_randr_get_screen_info (xcb_connection_t *c /**< */, 1869 xcb_window_t window /**< */); 1870 1871 /** 1872 * 1873 * @param c The connection 1874 * @return A cookie 1875 * 1876 * Delivers a request to the X server. 1877 * 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. 1881 */ 1882 xcb_randr_get_screen_info_cookie_t 1883 xcb_randr_get_screen_info_unchecked (xcb_connection_t *c /**< */, 1884 xcb_window_t window /**< */); 1885 1886 xcb_randr_screen_size_t * 1887 xcb_randr_get_screen_info_sizes (const xcb_randr_get_screen_info_reply_t *R /**< */); 1888 1889 int 1890 xcb_randr_get_screen_info_sizes_length (const xcb_randr_get_screen_info_reply_t *R /**< */); 1891 1892 xcb_randr_screen_size_iterator_t 1893 xcb_randr_get_screen_info_sizes_iterator (const xcb_randr_get_screen_info_reply_t *R /**< */); 1894 1895 int 1896 xcb_randr_get_screen_info_rates_length (const xcb_randr_get_screen_info_reply_t *R /**< */); 1897 1898 xcb_randr_refresh_rates_iterator_t 1899 xcb_randr_get_screen_info_rates_iterator (const xcb_randr_get_screen_info_reply_t *R /**< */); 1900 1901 /** 1902 * Return the reply 1903 * @param c The connection 1904 * @param cookie The cookie 1905 * @param e The xcb_generic_error_t supplied 1906 * 1907 * Returns the reply of the request asked by 1908 * 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. 1912 * 1913 * The returned value must be freed by the caller using free(). 1914 */ 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 /**< */); 1919 1920 /** 1921 * 1922 * @param c The connection 1923 * @return A cookie 1924 * 1925 * Delivers a request to the X server. 1926 * 1927 */ 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 /**< */); 1931 1932 /** 1933 * 1934 * @param c The connection 1935 * @return A cookie 1936 * 1937 * Delivers a request to the X server. 1938 * 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. 1942 */ 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 /**< */); 1946 1947 /** 1948 * Return the reply 1949 * @param c The connection 1950 * @param cookie The cookie 1951 * @param e The xcb_generic_error_t supplied 1952 * 1953 * Returns the reply of the request asked by 1954 * 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. 1958 * 1959 * The returned value must be freed by the caller using free(). 1960 */ 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 /**< */); 1965 1966 /** 1967 * 1968 * @param c The connection 1969 * @return A cookie 1970 * 1971 * Delivers a request to the X server. 1972 * 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(). 1976 */ 1977 xcb_void_cookie_t 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 /**< */); 1984 1985 /** 1986 * 1987 * @param c The connection 1988 * @return A cookie 1989 * 1990 * Delivers a request to the X server. 1991 * 1992 */ 1993 xcb_void_cookie_t 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 /**< */); 2000 2001 /** 2002 * Get the next element of the iterator 2003 * @param i Pointer to a xcb_randr_mode_info_iterator_t 2004 * 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) 2008 */ 2009 void 2010 xcb_randr_mode_info_next (xcb_randr_mode_info_iterator_t *i /**< */); 2011 2012 /** 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 2016 * 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 2019 * last element. 2020 */ 2021 xcb_generic_iterator_t 2022 xcb_randr_mode_info_end (xcb_randr_mode_info_iterator_t i /**< */); 2023 2024 int 2025 xcb_randr_get_screen_resources_sizeof (const void *_buffer /**< */); 2026 2027 /** 2028 * 2029 * @param c The connection 2030 * @return A cookie 2031 * 2032 * Delivers a request to the X server. 2033 * 2034 */ 2035 xcb_randr_get_screen_resources_cookie_t 2036 xcb_randr_get_screen_resources (xcb_connection_t *c /**< */, 2037 xcb_window_t window /**< */); 2038 2039 /** 2040 * 2041 * @param c The connection 2042 * @return A cookie 2043 * 2044 * Delivers a request to the X server. 2045 * 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. 2049 */ 2050 xcb_randr_get_screen_resources_cookie_t 2051 xcb_randr_get_screen_resources_unchecked (xcb_connection_t *c /**< */, 2052 xcb_window_t window /**< */); 2053 2054 xcb_randr_crtc_t * 2055 xcb_randr_get_screen_resources_crtcs (const xcb_randr_get_screen_resources_reply_t *R /**< */); 2056 2057 int 2058 xcb_randr_get_screen_resources_crtcs_length (const xcb_randr_get_screen_resources_reply_t *R /**< */); 2059 2060 xcb_generic_iterator_t 2061 xcb_randr_get_screen_resources_crtcs_end (const xcb_randr_get_screen_resources_reply_t *R /**< */); 2062 2063 xcb_randr_output_t * 2064 xcb_randr_get_screen_resources_outputs (const xcb_randr_get_screen_resources_reply_t *R /**< */); 2065 2066 int 2067 xcb_randr_get_screen_resources_outputs_length (const xcb_randr_get_screen_resources_reply_t *R /**< */); 2068 2069 xcb_generic_iterator_t 2070 xcb_randr_get_screen_resources_outputs_end (const xcb_randr_get_screen_resources_reply_t *R /**< */); 2071 2072 xcb_randr_mode_info_t * 2073 xcb_randr_get_screen_resources_modes (const xcb_randr_get_screen_resources_reply_t *R /**< */); 2074 2075 int 2076 xcb_randr_get_screen_resources_modes_length (const xcb_randr_get_screen_resources_reply_t *R /**< */); 2077 2078 xcb_randr_mode_info_iterator_t 2079 xcb_randr_get_screen_resources_modes_iterator (const xcb_randr_get_screen_resources_reply_t *R /**< */); 2080 2081 uint8_t * 2082 xcb_randr_get_screen_resources_names (const xcb_randr_get_screen_resources_reply_t *R /**< */); 2083 2084 int 2085 xcb_randr_get_screen_resources_names_length (const xcb_randr_get_screen_resources_reply_t *R /**< */); 2086 2087 xcb_generic_iterator_t 2088 xcb_randr_get_screen_resources_names_end (const xcb_randr_get_screen_resources_reply_t *R /**< */); 2089 2090 /** 2091 * Return the reply 2092 * @param c The connection 2093 * @param cookie The cookie 2094 * @param e The xcb_generic_error_t supplied 2095 * 2096 * Returns the reply of the request asked by 2097 * 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. 2101 * 2102 * The returned value must be freed by the caller using free(). 2103 */ 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 /**< */); 2108 2109 int 2110 xcb_randr_get_output_info_sizeof (const void *_buffer /**< */); 2111 2112 /** 2113 * 2114 * @param c The connection 2115 * @return A cookie 2116 * 2117 * Delivers a request to the X server. 2118 * 2119 */ 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 /**< */); 2124 2125 /** 2126 * 2127 * @param c The connection 2128 * @return A cookie 2129 * 2130 * Delivers a request to the X server. 2131 * 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. 2135 */ 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 /**< */); 2140 2141 xcb_randr_crtc_t * 2142 xcb_randr_get_output_info_crtcs (const xcb_randr_get_output_info_reply_t *R /**< */); 2143 2144 int 2145 xcb_randr_get_output_info_crtcs_length (const xcb_randr_get_output_info_reply_t *R /**< */); 2146 2147 xcb_generic_iterator_t 2148 xcb_randr_get_output_info_crtcs_end (const xcb_randr_get_output_info_reply_t *R /**< */); 2149 2150 xcb_randr_mode_t * 2151 xcb_randr_get_output_info_modes (const xcb_randr_get_output_info_reply_t *R /**< */); 2152 2153 int 2154 xcb_randr_get_output_info_modes_length (const xcb_randr_get_output_info_reply_t *R /**< */); 2155 2156 xcb_generic_iterator_t 2157 xcb_randr_get_output_info_modes_end (const xcb_randr_get_output_info_reply_t *R /**< */); 2158 2159 xcb_randr_output_t * 2160 xcb_randr_get_output_info_clones (const xcb_randr_get_output_info_reply_t *R /**< */); 2161 2162 int 2163 xcb_randr_get_output_info_clones_length (const xcb_randr_get_output_info_reply_t *R /**< */); 2164 2165 xcb_generic_iterator_t 2166 xcb_randr_get_output_info_clones_end (const xcb_randr_get_output_info_reply_t *R /**< */); 2167 2168 uint8_t * 2169 xcb_randr_get_output_info_name (const xcb_randr_get_output_info_reply_t *R /**< */); 2170 2171 int 2172 xcb_randr_get_output_info_name_length (const xcb_randr_get_output_info_reply_t *R /**< */); 2173 2174 xcb_generic_iterator_t 2175 xcb_randr_get_output_info_name_end (const xcb_randr_get_output_info_reply_t *R /**< */); 2176 2177 /** 2178 * Return the reply 2179 * @param c The connection 2180 * @param cookie The cookie 2181 * @param e The xcb_generic_error_t supplied 2182 * 2183 * Returns the reply of the request asked by 2184 * 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. 2188 * 2189 * The returned value must be freed by the caller using free(). 2190 */ 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 /**< */); 2195 2196 int 2197 xcb_randr_list_output_properties_sizeof (const void *_buffer /**< */); 2198 2199 /** 2200 * 2201 * @param c The connection 2202 * @return A cookie 2203 * 2204 * Delivers a request to the X server. 2205 * 2206 */ 2207 xcb_randr_list_output_properties_cookie_t 2208 xcb_randr_list_output_properties (xcb_connection_t *c /**< */, 2209 xcb_randr_output_t output /**< */); 2210 2211 /** 2212 * 2213 * @param c The connection 2214 * @return A cookie 2215 * 2216 * Delivers a request to the X server. 2217 * 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. 2221 */ 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 /**< */); 2225 2226 xcb_atom_t * 2227 xcb_randr_list_output_properties_atoms (const xcb_randr_list_output_properties_reply_t *R /**< */); 2228 2229 int 2230 xcb_randr_list_output_properties_atoms_length (const xcb_randr_list_output_properties_reply_t *R /**< */); 2231 2232 xcb_generic_iterator_t 2233 xcb_randr_list_output_properties_atoms_end (const xcb_randr_list_output_properties_reply_t *R /**< */); 2234 2235 /** 2236 * Return the reply 2237 * @param c The connection 2238 * @param cookie The cookie 2239 * @param e The xcb_generic_error_t supplied 2240 * 2241 * Returns the reply of the request asked by 2242 * 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. 2246 * 2247 * The returned value must be freed by the caller using free(). 2248 */ 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 /**< */); 2253 2254 int 2255 xcb_randr_query_output_property_sizeof (const void *_buffer /**< */); 2256 2257 /** 2258 * 2259 * @param c The connection 2260 * @return A cookie 2261 * 2262 * Delivers a request to the X server. 2263 * 2264 */ 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 /**< */); 2269 2270 /** 2271 * 2272 * @param c The connection 2273 * @return A cookie 2274 * 2275 * Delivers a request to the X server. 2276 * 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. 2280 */ 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 /**< */); 2285 2286 int32_t * 2287 xcb_randr_query_output_property_valid_values (const xcb_randr_query_output_property_reply_t *R /**< */); 2288 2289 int 2290 xcb_randr_query_output_property_valid_values_length (const xcb_randr_query_output_property_reply_t *R /**< */); 2291 2292 xcb_generic_iterator_t 2293 xcb_randr_query_output_property_valid_values_end (const xcb_randr_query_output_property_reply_t *R /**< */); 2294 2295 /** 2296 * Return the reply 2297 * @param c The connection 2298 * @param cookie The cookie 2299 * @param e The xcb_generic_error_t supplied 2300 * 2301 * Returns the reply of the request asked by 2302 * 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. 2306 * 2307 * The returned value must be freed by the caller using free(). 2308 */ 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 /**< */); 2313 2314 int 2315 xcb_randr_configure_output_property_sizeof (const void *_buffer /**< */, 2316 uint32_t values_len /**< */); 2317 2318 /** 2319 * 2320 * @param c The connection 2321 * @return A cookie 2322 * 2323 * Delivers a request to the X server. 2324 * 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(). 2328 */ 2329 xcb_void_cookie_t 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 /**< */); 2337 2338 /** 2339 * 2340 * @param c The connection 2341 * @return A cookie 2342 * 2343 * Delivers a request to the X server. 2344 * 2345 */ 2346 xcb_void_cookie_t 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 /**< */); 2354 2355 int 2356 xcb_randr_change_output_property_sizeof (const void *_buffer /**< */); 2357 2358 /** 2359 * 2360 * @param c The connection 2361 * @return A cookie 2362 * 2363 * Delivers a request to the X server. 2364 * 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(). 2368 */ 2369 xcb_void_cookie_t 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 /**< */); 2378 2379 /** 2380 * 2381 * @param c The connection 2382 * @return A cookie 2383 * 2384 * Delivers a request to the X server. 2385 * 2386 */ 2387 xcb_void_cookie_t 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 /**< */); 2396 2397 /** 2398 * 2399 * @param c The connection 2400 * @return A cookie 2401 * 2402 * Delivers a request to the X server. 2403 * 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(). 2407 */ 2408 xcb_void_cookie_t 2409 xcb_randr_delete_output_property_checked (xcb_connection_t *c /**< */, 2410 xcb_randr_output_t output /**< */, 2411 xcb_atom_t property /**< */); 2412 2413 /** 2414 * 2415 * @param c The connection 2416 * @return A cookie 2417 * 2418 * Delivers a request to the X server. 2419 * 2420 */ 2421 xcb_void_cookie_t 2422 xcb_randr_delete_output_property (xcb_connection_t *c /**< */, 2423 xcb_randr_output_t output /**< */, 2424 xcb_atom_t property /**< */); 2425 2426 int 2427 xcb_randr_get_output_property_sizeof (const void *_buffer /**< */); 2428 2429 /** 2430 * 2431 * @param c The connection 2432 * @return A cookie 2433 * 2434 * Delivers a request to the X server. 2435 * 2436 */ 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 /**< */); 2446 2447 /** 2448 * 2449 * @param c The connection 2450 * @return A cookie 2451 * 2452 * Delivers a request to the X server. 2453 * 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. 2457 */ 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 /**< */); 2467 2468 uint8_t * 2469 xcb_randr_get_output_property_data (const xcb_randr_get_output_property_reply_t *R /**< */); 2470 2471 int 2472 xcb_randr_get_output_property_data_length (const xcb_randr_get_output_property_reply_t *R /**< */); 2473 2474 xcb_generic_iterator_t 2475 xcb_randr_get_output_property_data_end (const xcb_randr_get_output_property_reply_t *R /**< */); 2476 2477 /** 2478 * Return the reply 2479 * @param c The connection 2480 * @param cookie The cookie 2481 * @param e The xcb_generic_error_t supplied 2482 * 2483 * Returns the reply of the request asked by 2484 * 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. 2488 * 2489 * The returned value must be freed by the caller using free(). 2490 */ 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 /**< */); 2495 2496 int 2497 xcb_randr_create_mode_sizeof (const void *_buffer /**< */, 2498 uint32_t name_len /**< */); 2499 2500 /** 2501 * 2502 * @param c The connection 2503 * @return A cookie 2504 * 2505 * Delivers a request to the X server. 2506 * 2507 */ 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 /**< */); 2514 2515 /** 2516 * 2517 * @param c The connection 2518 * @return A cookie 2519 * 2520 * Delivers a request to the X server. 2521 * 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. 2525 */ 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 /**< */); 2532 2533 /** 2534 * Return the reply 2535 * @param c The connection 2536 * @param cookie The cookie 2537 * @param e The xcb_generic_error_t supplied 2538 * 2539 * Returns the reply of the request asked by 2540 * 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. 2544 * 2545 * The returned value must be freed by the caller using free(). 2546 */ 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 /**< */); 2551 2552 /** 2553 * 2554 * @param c The connection 2555 * @return A cookie 2556 * 2557 * Delivers a request to the X server. 2558 * 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(). 2562 */ 2563 xcb_void_cookie_t 2564 xcb_randr_destroy_mode_checked (xcb_connection_t *c /**< */, 2565 xcb_randr_mode_t mode /**< */); 2566 2567 /** 2568 * 2569 * @param c The connection 2570 * @return A cookie 2571 * 2572 * Delivers a request to the X server. 2573 * 2574 */ 2575 xcb_void_cookie_t 2576 xcb_randr_destroy_mode (xcb_connection_t *c /**< */, 2577 xcb_randr_mode_t mode /**< */); 2578 2579 /** 2580 * 2581 * @param c The connection 2582 * @return A cookie 2583 * 2584 * Delivers a request to the X server. 2585 * 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(). 2589 */ 2590 xcb_void_cookie_t 2591 xcb_randr_add_output_mode_checked (xcb_connection_t *c /**< */, 2592 xcb_randr_output_t output /**< */, 2593 xcb_randr_mode_t mode /**< */); 2594 2595 /** 2596 * 2597 * @param c The connection 2598 * @return A cookie 2599 * 2600 * Delivers a request to the X server. 2601 * 2602 */ 2603 xcb_void_cookie_t 2604 xcb_randr_add_output_mode (xcb_connection_t *c /**< */, 2605 xcb_randr_output_t output /**< */, 2606 xcb_randr_mode_t mode /**< */); 2607 2608 /** 2609 * 2610 * @param c The connection 2611 * @return A cookie 2612 * 2613 * Delivers a request to the X server. 2614 * 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(). 2618 */ 2619 xcb_void_cookie_t 2620 xcb_randr_delete_output_mode_checked (xcb_connection_t *c /**< */, 2621 xcb_randr_output_t output /**< */, 2622 xcb_randr_mode_t mode /**< */); 2623 2624 /** 2625 * 2626 * @param c The connection 2627 * @return A cookie 2628 * 2629 * Delivers a request to the X server. 2630 * 2631 */ 2632 xcb_void_cookie_t 2633 xcb_randr_delete_output_mode (xcb_connection_t *c /**< */, 2634 xcb_randr_output_t output /**< */, 2635 xcb_randr_mode_t mode /**< */); 2636 2637 int 2638 xcb_randr_get_crtc_info_sizeof (const void *_buffer /**< */); 2639 2640 /** 2641 * 2642 * @param c The connection 2643 * @return A cookie 2644 * 2645 * Delivers a request to the X server. 2646 * 2647 */ 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 /**< */); 2652 2653 /** 2654 * 2655 * @param c The connection 2656 * @return A cookie 2657 * 2658 * Delivers a request to the X server. 2659 * 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. 2663 */ 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 /**< */); 2668 2669 xcb_randr_output_t * 2670 xcb_randr_get_crtc_info_outputs (const xcb_randr_get_crtc_info_reply_t *R /**< */); 2671 2672 int 2673 xcb_randr_get_crtc_info_outputs_length (const xcb_randr_get_crtc_info_reply_t *R /**< */); 2674 2675 xcb_generic_iterator_t 2676 xcb_randr_get_crtc_info_outputs_end (const xcb_randr_get_crtc_info_reply_t *R /**< */); 2677 2678 xcb_randr_output_t * 2679 xcb_randr_get_crtc_info_possible (const xcb_randr_get_crtc_info_reply_t *R /**< */); 2680 2681 int 2682 xcb_randr_get_crtc_info_possible_length (const xcb_randr_get_crtc_info_reply_t *R /**< */); 2683 2684 xcb_generic_iterator_t 2685 xcb_randr_get_crtc_info_possible_end (const xcb_randr_get_crtc_info_reply_t *R /**< */); 2686 2687 /** 2688 * Return the reply 2689 * @param c The connection 2690 * @param cookie The cookie 2691 * @param e The xcb_generic_error_t supplied 2692 * 2693 * Returns the reply of the request asked by 2694 * 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. 2698 * 2699 * The returned value must be freed by the caller using free(). 2700 */ 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 /**< */); 2705 2706 int 2707 xcb_randr_set_crtc_config_sizeof (const void *_buffer /**< */, 2708 uint32_t outputs_len /**< */); 2709 2710 /** 2711 * 2712 * @param c The connection 2713 * @return A cookie 2714 * 2715 * Delivers a request to the X server. 2716 * 2717 */ 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 /**< */, 2723 int16_t x /**< */, 2724 int16_t y /**< */, 2725 xcb_randr_mode_t mode /**< */, 2726 uint16_t rotation /**< */, 2727 uint32_t outputs_len /**< */, 2728 const xcb_randr_output_t *outputs /**< */); 2729 2730 /** 2731 * 2732 * @param c The connection 2733 * @return A cookie 2734 * 2735 * Delivers a request to the X server. 2736 * 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. 2740 */ 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 /**< */, 2746 int16_t x /**< */, 2747 int16_t y /**< */, 2748 xcb_randr_mode_t mode /**< */, 2749 uint16_t rotation /**< */, 2750 uint32_t outputs_len /**< */, 2751 const xcb_randr_output_t *outputs /**< */); 2752 2753 /** 2754 * Return the reply 2755 * @param c The connection 2756 * @param cookie The cookie 2757 * @param e The xcb_generic_error_t supplied 2758 * 2759 * Returns the reply of the request asked by 2760 * 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. 2764 * 2765 * The returned value must be freed by the caller using free(). 2766 */ 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 /**< */); 2771 2772 /** 2773 * 2774 * @param c The connection 2775 * @return A cookie 2776 * 2777 * Delivers a request to the X server. 2778 * 2779 */ 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 /**< */); 2783 2784 /** 2785 * 2786 * @param c The connection 2787 * @return A cookie 2788 * 2789 * Delivers a request to the X server. 2790 * 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. 2794 */ 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 /**< */); 2798 2799 /** 2800 * Return the reply 2801 * @param c The connection 2802 * @param cookie The cookie 2803 * @param e The xcb_generic_error_t supplied 2804 * 2805 * Returns the reply of the request asked by 2806 * 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. 2810 * 2811 * The returned value must be freed by the caller using free(). 2812 */ 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 /**< */); 2817 2818 int 2819 xcb_randr_get_crtc_gamma_sizeof (const void *_buffer /**< */); 2820 2821 /** 2822 * 2823 * @param c The connection 2824 * @return A cookie 2825 * 2826 * Delivers a request to the X server. 2827 * 2828 */ 2829 xcb_randr_get_crtc_gamma_cookie_t 2830 xcb_randr_get_crtc_gamma (xcb_connection_t *c /**< */, 2831 xcb_randr_crtc_t crtc /**< */); 2832 2833 /** 2834 * 2835 * @param c The connection 2836 * @return A cookie 2837 * 2838 * Delivers a request to the X server. 2839 * 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. 2843 */ 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 /**< */); 2847 2848 uint16_t * 2849 xcb_randr_get_crtc_gamma_red (const xcb_randr_get_crtc_gamma_reply_t *R /**< */); 2850 2851 int 2852 xcb_randr_get_crtc_gamma_red_length (const xcb_randr_get_crtc_gamma_reply_t *R /**< */); 2853 2854 xcb_generic_iterator_t 2855 xcb_randr_get_crtc_gamma_red_end (const xcb_randr_get_crtc_gamma_reply_t *R /**< */); 2856 2857 uint16_t * 2858 xcb_randr_get_crtc_gamma_green (const xcb_randr_get_crtc_gamma_reply_t *R /**< */); 2859 2860 int 2861 xcb_randr_get_crtc_gamma_green_length (const xcb_randr_get_crtc_gamma_reply_t *R /**< */); 2862 2863 xcb_generic_iterator_t 2864 xcb_randr_get_crtc_gamma_green_end (const xcb_randr_get_crtc_gamma_reply_t *R /**< */); 2865 2866 uint16_t * 2867 xcb_randr_get_crtc_gamma_blue (const xcb_randr_get_crtc_gamma_reply_t *R /**< */); 2868 2869 int 2870 xcb_randr_get_crtc_gamma_blue_length (const xcb_randr_get_crtc_gamma_reply_t *R /**< */); 2871 2872 xcb_generic_iterator_t 2873 xcb_randr_get_crtc_gamma_blue_end (const xcb_randr_get_crtc_gamma_reply_t *R /**< */); 2874 2875 /** 2876 * Return the reply 2877 * @param c The connection 2878 * @param cookie The cookie 2879 * @param e The xcb_generic_error_t supplied 2880 * 2881 * Returns the reply of the request asked by 2882 * 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. 2886 * 2887 * The returned value must be freed by the caller using free(). 2888 */ 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 /**< */); 2893 2894 int 2895 xcb_randr_set_crtc_gamma_sizeof (const void *_buffer /**< */); 2896 2897 /** 2898 * 2899 * @param c The connection 2900 * @return A cookie 2901 * 2902 * Delivers a request to the X server. 2903 * 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(). 2907 */ 2908 xcb_void_cookie_t 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 /**< */); 2915 2916 /** 2917 * 2918 * @param c The connection 2919 * @return A cookie 2920 * 2921 * Delivers a request to the X server. 2922 * 2923 */ 2924 xcb_void_cookie_t 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 /**< */); 2931 2932 int 2933 xcb_randr_get_screen_resources_current_sizeof (const void *_buffer /**< */); 2934 2935 /** 2936 * 2937 * @param c The connection 2938 * @return A cookie 2939 * 2940 * Delivers a request to the X server. 2941 * 2942 */ 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 /**< */); 2946 2947 /** 2948 * 2949 * @param c The connection 2950 * @return A cookie 2951 * 2952 * Delivers a request to the X server. 2953 * 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. 2957 */ 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 /**< */); 2961 2962 xcb_randr_crtc_t * 2963 xcb_randr_get_screen_resources_current_crtcs (const xcb_randr_get_screen_resources_current_reply_t *R /**< */); 2964 2965 int 2966 xcb_randr_get_screen_resources_current_crtcs_length (const xcb_randr_get_screen_resources_current_reply_t *R /**< */); 2967 2968 xcb_generic_iterator_t 2969 xcb_randr_get_screen_resources_current_crtcs_end (const xcb_randr_get_screen_resources_current_reply_t *R /**< */); 2970 2971 xcb_randr_output_t * 2972 xcb_randr_get_screen_resources_current_outputs (const xcb_randr_get_screen_resources_current_reply_t *R /**< */); 2973 2974 int 2975 xcb_randr_get_screen_resources_current_outputs_length (const xcb_randr_get_screen_resources_current_reply_t *R /**< */); 2976 2977 xcb_generic_iterator_t 2978 xcb_randr_get_screen_resources_current_outputs_end (const xcb_randr_get_screen_resources_current_reply_t *R /**< */); 2979 2980 xcb_randr_mode_info_t * 2981 xcb_randr_get_screen_resources_current_modes (const xcb_randr_get_screen_resources_current_reply_t *R /**< */); 2982 2983 int 2984 xcb_randr_get_screen_resources_current_modes_length (const xcb_randr_get_screen_resources_current_reply_t *R /**< */); 2985 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 /**< */); 2988 2989 uint8_t * 2990 xcb_randr_get_screen_resources_current_names (const xcb_randr_get_screen_resources_current_reply_t *R /**< */); 2991 2992 int 2993 xcb_randr_get_screen_resources_current_names_length (const xcb_randr_get_screen_resources_current_reply_t *R /**< */); 2994 2995 xcb_generic_iterator_t 2996 xcb_randr_get_screen_resources_current_names_end (const xcb_randr_get_screen_resources_current_reply_t *R /**< */); 2997 2998 /** 2999 * Return the reply 3000 * @param c The connection 3001 * @param cookie The cookie 3002 * @param e The xcb_generic_error_t supplied 3003 * 3004 * Returns the reply of the request asked by 3005 * 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. 3009 * 3010 * The returned value must be freed by the caller using free(). 3011 */ 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 /**< */); 3016 3017 int 3018 xcb_randr_set_crtc_transform_sizeof (const void *_buffer /**< */, 3019 uint32_t filter_params_len /**< */); 3020 3021 /** 3022 * 3023 * @param c The connection 3024 * @return A cookie 3025 * 3026 * Delivers a request to the X server. 3027 * 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(). 3031 */ 3032 xcb_void_cookie_t 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 /**< */); 3040 3041 /** 3042 * 3043 * @param c The connection 3044 * @return A cookie 3045 * 3046 * Delivers a request to the X server. 3047 * 3048 */ 3049 xcb_void_cookie_t 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 /**< */); 3057 3058 int 3059 xcb_randr_get_crtc_transform_sizeof (const void *_buffer /**< */); 3060 3061 /** 3062 * 3063 * @param c The connection 3064 * @return A cookie 3065 * 3066 * Delivers a request to the X server. 3067 * 3068 */ 3069 xcb_randr_get_crtc_transform_cookie_t 3070 xcb_randr_get_crtc_transform (xcb_connection_t *c /**< */, 3071 xcb_randr_crtc_t crtc /**< */); 3072 3073 /** 3074 * 3075 * @param c The connection 3076 * @return A cookie 3077 * 3078 * Delivers a request to the X server. 3079 * 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. 3083 */ 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 /**< */); 3087 3088 char * 3089 xcb_randr_get_crtc_transform_pending_filter_name (const xcb_randr_get_crtc_transform_reply_t *R /**< */); 3090 3091 int 3092 xcb_randr_get_crtc_transform_pending_filter_name_length (const xcb_randr_get_crtc_transform_reply_t *R /**< */); 3093 3094 xcb_generic_iterator_t 3095 xcb_randr_get_crtc_transform_pending_filter_name_end (const xcb_randr_get_crtc_transform_reply_t *R /**< */); 3096 3097 xcb_render_fixed_t * 3098 xcb_randr_get_crtc_transform_pending_params (const xcb_randr_get_crtc_transform_reply_t *R /**< */); 3099 3100 int 3101 xcb_randr_get_crtc_transform_pending_params_length (const xcb_randr_get_crtc_transform_reply_t *R /**< */); 3102 3103 xcb_generic_iterator_t 3104 xcb_randr_get_crtc_transform_pending_params_end (const xcb_randr_get_crtc_transform_reply_t *R /**< */); 3105 3106 char * 3107 xcb_randr_get_crtc_transform_current_filter_name (const xcb_randr_get_crtc_transform_reply_t *R /**< */); 3108 3109 int 3110 xcb_randr_get_crtc_transform_current_filter_name_length (const xcb_randr_get_crtc_transform_reply_t *R /**< */); 3111 3112 xcb_generic_iterator_t 3113 xcb_randr_get_crtc_transform_current_filter_name_end (const xcb_randr_get_crtc_transform_reply_t *R /**< */); 3114 3115 xcb_render_fixed_t * 3116 xcb_randr_get_crtc_transform_current_params (const xcb_randr_get_crtc_transform_reply_t *R /**< */); 3117 3118 int 3119 xcb_randr_get_crtc_transform_current_params_length (const xcb_randr_get_crtc_transform_reply_t *R /**< */); 3120 3121 xcb_generic_iterator_t 3122 xcb_randr_get_crtc_transform_current_params_end (const xcb_randr_get_crtc_transform_reply_t *R /**< */); 3123 3124 /** 3125 * Return the reply 3126 * @param c The connection 3127 * @param cookie The cookie 3128 * @param e The xcb_generic_error_t supplied 3129 * 3130 * Returns the reply of the request asked by 3131 * 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. 3135 * 3136 * The returned value must be freed by the caller using free(). 3137 */ 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 /**< */); 3142 3143 /** 3144 * 3145 * @param c The connection 3146 * @return A cookie 3147 * 3148 * Delivers a request to the X server. 3149 * 3150 */ 3151 xcb_randr_get_panning_cookie_t 3152 xcb_randr_get_panning (xcb_connection_t *c /**< */, 3153 xcb_randr_crtc_t crtc /**< */); 3154 3155 /** 3156 * 3157 * @param c The connection 3158 * @return A cookie 3159 * 3160 * Delivers a request to the X server. 3161 * 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. 3165 */ 3166 xcb_randr_get_panning_cookie_t 3167 xcb_randr_get_panning_unchecked (xcb_connection_t *c /**< */, 3168 xcb_randr_crtc_t crtc /**< */); 3169 3170 /** 3171 * Return the reply 3172 * @param c The connection 3173 * @param cookie The cookie 3174 * @param e The xcb_generic_error_t supplied 3175 * 3176 * Returns the reply of the request asked by 3177 * 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. 3181 * 3182 * The returned value must be freed by the caller using free(). 3183 */ 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 /**< */); 3188 3189 /** 3190 * 3191 * @param c The connection 3192 * @return A cookie 3193 * 3194 * Delivers a request to the X server. 3195 * 3196 */ 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 /**< */); 3213 3214 /** 3215 * 3216 * @param c The connection 3217 * @return A cookie 3218 * 3219 * Delivers a request to the X server. 3220 * 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. 3224 */ 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 /**< */); 3241 3242 /** 3243 * Return the reply 3244 * @param c The connection 3245 * @param cookie The cookie 3246 * @param e The xcb_generic_error_t supplied 3247 * 3248 * Returns the reply of the request asked by 3249 * 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. 3253 * 3254 * The returned value must be freed by the caller using free(). 3255 */ 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 /**< */); 3260 3261 /** 3262 * 3263 * @param c The connection 3264 * @return A cookie 3265 * 3266 * Delivers a request to the X server. 3267 * 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(). 3271 */ 3272 xcb_void_cookie_t 3273 xcb_randr_set_output_primary_checked (xcb_connection_t *c /**< */, 3274 xcb_window_t window /**< */, 3275 xcb_randr_output_t output /**< */); 3276 3277 /** 3278 * 3279 * @param c The connection 3280 * @return A cookie 3281 * 3282 * Delivers a request to the X server. 3283 * 3284 */ 3285 xcb_void_cookie_t 3286 xcb_randr_set_output_primary (xcb_connection_t *c /**< */, 3287 xcb_window_t window /**< */, 3288 xcb_randr_output_t output /**< */); 3289 3290 /** 3291 * 3292 * @param c The connection 3293 * @return A cookie 3294 * 3295 * Delivers a request to the X server. 3296 * 3297 */ 3298 xcb_randr_get_output_primary_cookie_t 3299 xcb_randr_get_output_primary (xcb_connection_t *c /**< */, 3300 xcb_window_t window /**< */); 3301 3302 /** 3303 * 3304 * @param c The connection 3305 * @return A cookie 3306 * 3307 * Delivers a request to the X server. 3308 * 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. 3312 */ 3313 xcb_randr_get_output_primary_cookie_t 3314 xcb_randr_get_output_primary_unchecked (xcb_connection_t *c /**< */, 3315 xcb_window_t window /**< */); 3316 3317 /** 3318 * Return the reply 3319 * @param c The connection 3320 * @param cookie The cookie 3321 * @param e The xcb_generic_error_t supplied 3322 * 3323 * Returns the reply of the request asked by 3324 * 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. 3328 * 3329 * The returned value must be freed by the caller using free(). 3330 */ 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 /**< */); 3335 3336 int 3337 xcb_randr_get_providers_sizeof (const void *_buffer /**< */); 3338 3339 /** 3340 * 3341 * @param c The connection 3342 * @return A cookie 3343 * 3344 * Delivers a request to the X server. 3345 * 3346 */ 3347 xcb_randr_get_providers_cookie_t 3348 xcb_randr_get_providers (xcb_connection_t *c /**< */, 3349 xcb_window_t window /**< */); 3350 3351 /** 3352 * 3353 * @param c The connection 3354 * @return A cookie 3355 * 3356 * Delivers a request to the X server. 3357 * 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. 3361 */ 3362 xcb_randr_get_providers_cookie_t 3363 xcb_randr_get_providers_unchecked (xcb_connection_t *c /**< */, 3364 xcb_window_t window /**< */); 3365 3366 xcb_randr_provider_t * 3367 xcb_randr_get_providers_providers (const xcb_randr_get_providers_reply_t *R /**< */); 3368 3369 int 3370 xcb_randr_get_providers_providers_length (const xcb_randr_get_providers_reply_t *R /**< */); 3371 3372 xcb_generic_iterator_t 3373 xcb_randr_get_providers_providers_end (const xcb_randr_get_providers_reply_t *R /**< */); 3374 3375 /** 3376 * Return the reply 3377 * @param c The connection 3378 * @param cookie The cookie 3379 * @param e The xcb_generic_error_t supplied 3380 * 3381 * Returns the reply of the request asked by 3382 * 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. 3386 * 3387 * The returned value must be freed by the caller using free(). 3388 */ 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 /**< */); 3393 3394 int 3395 xcb_randr_get_provider_info_sizeof (const void *_buffer /**< */); 3396 3397 /** 3398 * 3399 * @param c The connection 3400 * @return A cookie 3401 * 3402 * Delivers a request to the X server. 3403 * 3404 */ 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 /**< */); 3409 3410 /** 3411 * 3412 * @param c The connection 3413 * @return A cookie 3414 * 3415 * Delivers a request to the X server. 3416 * 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. 3420 */ 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 /**< */); 3425 3426 xcb_randr_crtc_t * 3427 xcb_randr_get_provider_info_crtcs (const xcb_randr_get_provider_info_reply_t *R /**< */); 3428 3429 int 3430 xcb_randr_get_provider_info_crtcs_length (const xcb_randr_get_provider_info_reply_t *R /**< */); 3431 3432 xcb_generic_iterator_t 3433 xcb_randr_get_provider_info_crtcs_end (const xcb_randr_get_provider_info_reply_t *R /**< */); 3434 3435 xcb_randr_output_t * 3436 xcb_randr_get_provider_info_outputs (const xcb_randr_get_provider_info_reply_t *R /**< */); 3437 3438 int 3439 xcb_randr_get_provider_info_outputs_length (const xcb_randr_get_provider_info_reply_t *R /**< */); 3440 3441 xcb_generic_iterator_t 3442 xcb_randr_get_provider_info_outputs_end (const xcb_randr_get_provider_info_reply_t *R /**< */); 3443 3444 xcb_randr_provider_t * 3445 xcb_randr_get_provider_info_associated_providers (const xcb_randr_get_provider_info_reply_t *R /**< */); 3446 3447 int 3448 xcb_randr_get_provider_info_associated_providers_length (const xcb_randr_get_provider_info_reply_t *R /**< */); 3449 3450 xcb_generic_iterator_t 3451 xcb_randr_get_provider_info_associated_providers_end (const xcb_randr_get_provider_info_reply_t *R /**< */); 3452 3453 uint32_t * 3454 xcb_randr_get_provider_info_associated_capability (const xcb_randr_get_provider_info_reply_t *R /**< */); 3455 3456 int 3457 xcb_randr_get_provider_info_associated_capability_length (const xcb_randr_get_provider_info_reply_t *R /**< */); 3458 3459 xcb_generic_iterator_t 3460 xcb_randr_get_provider_info_associated_capability_end (const xcb_randr_get_provider_info_reply_t *R /**< */); 3461 3462 char * 3463 xcb_randr_get_provider_info_name (const xcb_randr_get_provider_info_reply_t *R /**< */); 3464 3465 int 3466 xcb_randr_get_provider_info_name_length (const xcb_randr_get_provider_info_reply_t *R /**< */); 3467 3468 xcb_generic_iterator_t 3469 xcb_randr_get_provider_info_name_end (const xcb_randr_get_provider_info_reply_t *R /**< */); 3470 3471 /** 3472 * Return the reply 3473 * @param c The connection 3474 * @param cookie The cookie 3475 * @param e The xcb_generic_error_t supplied 3476 * 3477 * Returns the reply of the request asked by 3478 * 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. 3482 * 3483 * The returned value must be freed by the caller using free(). 3484 */ 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 /**< */); 3489 3490 /** 3491 * 3492 * @param c The connection 3493 * @return A cookie 3494 * 3495 * Delivers a request to the X server. 3496 * 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(). 3500 */ 3501 xcb_void_cookie_t 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 /**< */); 3506 3507 /** 3508 * 3509 * @param c The connection 3510 * @return A cookie 3511 * 3512 * Delivers a request to the X server. 3513 * 3514 */ 3515 xcb_void_cookie_t 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 /**< */); 3520 3521 /** 3522 * 3523 * @param c The connection 3524 * @return A cookie 3525 * 3526 * Delivers a request to the X server. 3527 * 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(). 3531 */ 3532 xcb_void_cookie_t 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 /**< */); 3537 3538 /** 3539 * 3540 * @param c The connection 3541 * @return A cookie 3542 * 3543 * Delivers a request to the X server. 3544 * 3545 */ 3546 xcb_void_cookie_t 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 /**< */); 3551 3552 int 3553 xcb_randr_list_provider_properties_sizeof (const void *_buffer /**< */); 3554 3555 /** 3556 * 3557 * @param c The connection 3558 * @return A cookie 3559 * 3560 * Delivers a request to the X server. 3561 * 3562 */ 3563 xcb_randr_list_provider_properties_cookie_t 3564 xcb_randr_list_provider_properties (xcb_connection_t *c /**< */, 3565 xcb_randr_provider_t provider /**< */); 3566 3567 /** 3568 * 3569 * @param c The connection 3570 * @return A cookie 3571 * 3572 * Delivers a request to the X server. 3573 * 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. 3577 */ 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 /**< */); 3581 3582 xcb_atom_t * 3583 xcb_randr_list_provider_properties_atoms (const xcb_randr_list_provider_properties_reply_t *R /**< */); 3584 3585 int 3586 xcb_randr_list_provider_properties_atoms_length (const xcb_randr_list_provider_properties_reply_t *R /**< */); 3587 3588 xcb_generic_iterator_t 3589 xcb_randr_list_provider_properties_atoms_end (const xcb_randr_list_provider_properties_reply_t *R /**< */); 3590 3591 /** 3592 * Return the reply 3593 * @param c The connection 3594 * @param cookie The cookie 3595 * @param e The xcb_generic_error_t supplied 3596 * 3597 * Returns the reply of the request asked by 3598 * 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. 3602 * 3603 * The returned value must be freed by the caller using free(). 3604 */ 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 /**< */); 3609 3610 int 3611 xcb_randr_query_provider_property_sizeof (const void *_buffer /**< */); 3612 3613 /** 3614 * 3615 * @param c The connection 3616 * @return A cookie 3617 * 3618 * Delivers a request to the X server. 3619 * 3620 */ 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 /**< */); 3625 3626 /** 3627 * 3628 * @param c The connection 3629 * @return A cookie 3630 * 3631 * Delivers a request to the X server. 3632 * 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. 3636 */ 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 /**< */); 3641 3642 int32_t * 3643 xcb_randr_query_provider_property_valid_values (const xcb_randr_query_provider_property_reply_t *R /**< */); 3644 3645 int 3646 xcb_randr_query_provider_property_valid_values_length (const xcb_randr_query_provider_property_reply_t *R /**< */); 3647 3648 xcb_generic_iterator_t 3649 xcb_randr_query_provider_property_valid_values_end (const xcb_randr_query_provider_property_reply_t *R /**< */); 3650 3651 /** 3652 * Return the reply 3653 * @param c The connection 3654 * @param cookie The cookie 3655 * @param e The xcb_generic_error_t supplied 3656 * 3657 * Returns the reply of the request asked by 3658 * 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. 3662 * 3663 * The returned value must be freed by the caller using free(). 3664 */ 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 /**< */); 3669 3670 int 3671 xcb_randr_configure_provider_property_sizeof (const void *_buffer /**< */, 3672 uint32_t values_len /**< */); 3673 3674 /** 3675 * 3676 * @param c The connection 3677 * @return A cookie 3678 * 3679 * Delivers a request to the X server. 3680 * 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(). 3684 */ 3685 xcb_void_cookie_t 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 /**< */); 3693 3694 /** 3695 * 3696 * @param c The connection 3697 * @return A cookie 3698 * 3699 * Delivers a request to the X server. 3700 * 3701 */ 3702 xcb_void_cookie_t 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 /**< */); 3710 3711 int 3712 xcb_randr_change_provider_property_sizeof (const void *_buffer /**< */); 3713 3714 /** 3715 * 3716 * @param c The connection 3717 * @return A cookie 3718 * 3719 * Delivers a request to the X server. 3720 * 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(). 3724 */ 3725 xcb_void_cookie_t 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 /**< */); 3734 3735 /** 3736 * 3737 * @param c The connection 3738 * @return A cookie 3739 * 3740 * Delivers a request to the X server. 3741 * 3742 */ 3743 xcb_void_cookie_t 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 /**< */); 3752 3753 /** 3754 * 3755 * @param c The connection 3756 * @return A cookie 3757 * 3758 * Delivers a request to the X server. 3759 * 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(). 3763 */ 3764 xcb_void_cookie_t 3765 xcb_randr_delete_provider_property_checked (xcb_connection_t *c /**< */, 3766 xcb_randr_provider_t provider /**< */, 3767 xcb_atom_t property /**< */); 3768 3769 /** 3770 * 3771 * @param c The connection 3772 * @return A cookie 3773 * 3774 * Delivers a request to the X server. 3775 * 3776 */ 3777 xcb_void_cookie_t 3778 xcb_randr_delete_provider_property (xcb_connection_t *c /**< */, 3779 xcb_randr_provider_t provider /**< */, 3780 xcb_atom_t property /**< */); 3781 3782 int 3783 xcb_randr_get_provider_property_sizeof (const void *_buffer /**< */); 3784 3785 /** 3786 * 3787 * @param c The connection 3788 * @return A cookie 3789 * 3790 * Delivers a request to the X server. 3791 * 3792 */ 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 /**< */); 3802 3803 /** 3804 * 3805 * @param c The connection 3806 * @return A cookie 3807 * 3808 * Delivers a request to the X server. 3809 * 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. 3813 */ 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 /**< */); 3823 3824 void * 3825 xcb_randr_get_provider_property_data (const xcb_randr_get_provider_property_reply_t *R /**< */); 3826 3827 int 3828 xcb_randr_get_provider_property_data_length (const xcb_randr_get_provider_property_reply_t *R /**< */); 3829 3830 xcb_generic_iterator_t 3831 xcb_randr_get_provider_property_data_end (const xcb_randr_get_provider_property_reply_t *R /**< */); 3832 3833 /** 3834 * Return the reply 3835 * @param c The connection 3836 * @param cookie The cookie 3837 * @param e The xcb_generic_error_t supplied 3838 * 3839 * Returns the reply of the request asked by 3840 * 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. 3844 * 3845 * The returned value must be freed by the caller using free(). 3846 */ 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 /**< */); 3851 3852 /** 3853 * Get the next element of the iterator 3854 * @param i Pointer to a xcb_randr_crtc_change_iterator_t 3855 * 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) 3859 */ 3860 void 3861 xcb_randr_crtc_change_next (xcb_randr_crtc_change_iterator_t *i /**< */); 3862 3863 /** 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 3867 * 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 3870 * last element. 3871 */ 3872 xcb_generic_iterator_t 3873 xcb_randr_crtc_change_end (xcb_randr_crtc_change_iterator_t i /**< */); 3874 3875 /** 3876 * Get the next element of the iterator 3877 * @param i Pointer to a xcb_randr_output_change_iterator_t 3878 * 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) 3882 */ 3883 void 3884 xcb_randr_output_change_next (xcb_randr_output_change_iterator_t *i /**< */); 3885 3886 /** 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 3890 * 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 3893 * last element. 3894 */ 3895 xcb_generic_iterator_t 3896 xcb_randr_output_change_end (xcb_randr_output_change_iterator_t i /**< */); 3897 3898 /** 3899 * Get the next element of the iterator 3900 * @param i Pointer to a xcb_randr_output_property_iterator_t 3901 * 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) 3905 */ 3906 void 3907 xcb_randr_output_property_next (xcb_randr_output_property_iterator_t *i /**< */); 3908 3909 /** 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 3913 * 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 3916 * last element. 3917 */ 3918 xcb_generic_iterator_t 3919 xcb_randr_output_property_end (xcb_randr_output_property_iterator_t i /**< */); 3920 3921 /** 3922 * Get the next element of the iterator 3923 * @param i Pointer to a xcb_randr_provider_change_iterator_t 3924 * 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) 3928 */ 3929 void 3930 xcb_randr_provider_change_next (xcb_randr_provider_change_iterator_t *i /**< */); 3931 3932 /** 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 3936 * 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 3939 * last element. 3940 */ 3941 xcb_generic_iterator_t 3942 xcb_randr_provider_change_end (xcb_randr_provider_change_iterator_t i /**< */); 3943 3944 /** 3945 * Get the next element of the iterator 3946 * @param i Pointer to a xcb_randr_provider_property_iterator_t 3947 * 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) 3951 */ 3952 void 3953 xcb_randr_provider_property_next (xcb_randr_provider_property_iterator_t *i /**< */); 3954 3955 /** 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 3959 * 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 3962 * last element. 3963 */ 3964 xcb_generic_iterator_t 3965 xcb_randr_provider_property_end (xcb_randr_provider_property_iterator_t i /**< */); 3966 3967 /** 3968 * Get the next element of the iterator 3969 * @param i Pointer to a xcb_randr_resource_change_iterator_t 3970 * 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) 3974 */ 3975 void 3976 xcb_randr_resource_change_next (xcb_randr_resource_change_iterator_t *i /**< */); 3977 3978 /** 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 3982 * 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 3985 * last element. 3986 */ 3987 xcb_generic_iterator_t 3988 xcb_randr_resource_change_end (xcb_randr_resource_change_iterator_t i /**< */); 3989 3990 /** 3991 * Get the next element of the iterator 3992 * @param i Pointer to a xcb_randr_notify_data_iterator_t 3993 * 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) 3997 */ 3998 void 3999 xcb_randr_notify_data_next (xcb_randr_notify_data_iterator_t *i /**< */); 4000 4001 /** 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 4005 * 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 4008 * last element. 4009 */ 4010 xcb_generic_iterator_t 4011 xcb_randr_notify_data_end (xcb_randr_notify_data_iterator_t i /**< */); 4012 4013 4014 #ifdef __cplusplus 4015 } 4016 #endif 4017 4018 #endif 4019 4020 /** 4021 * @} 4022 */ 4023