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