1 /* 2 * This file generated automatically from randr.xml by d_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 module xcb.randr; 13 14 import xcb.xcb; 15 import xcb.xproto; 16 import xcb.render; 17 18 extern (C): 19 20 enum int XCB_RANDR_MAJOR_VERSION = 1; 21 enum int XCB_RANDR_MINOR_VERSION = 4; 22 23 extern (C) __gshared extern xcb_extension_t xcb_randr_id; 24 25 alias xcb_randr_mode_t = uint; 26 27 /** 28 * @brief xcb_randr_mode_iterator_t 29 **/ 30 struct xcb_randr_mode_iterator_t { 31 xcb_randr_mode_t* data; /**< */ 32 int rem; /**< */ 33 int index; /**< */ 34 } 35 36 alias xcb_randr_crtc_t = uint; 37 38 /** 39 * @brief xcb_randr_crtc_iterator_t 40 **/ 41 struct xcb_randr_crtc_iterator_t { 42 xcb_randr_crtc_t* data; /**< */ 43 int rem; /**< */ 44 int index; /**< */ 45 } 46 47 alias xcb_randr_output_t = uint; 48 49 /** 50 * @brief xcb_randr_output_iterator_t 51 **/ 52 struct xcb_randr_output_iterator_t { 53 xcb_randr_output_t* data; /**< */ 54 int rem; /**< */ 55 int index; /**< */ 56 } 57 58 alias xcb_randr_provider_t = uint; 59 60 /** 61 * @brief xcb_randr_provider_iterator_t 62 **/ 63 struct xcb_randr_provider_iterator_t { 64 xcb_randr_provider_t* data; /**< */ 65 int rem; /**< */ 66 int index; /**< */ 67 } 68 69 /** Opcode for xcb_randr_bad_output. */ 70 enum XCB_RANDR_BAD_OUTPUT = 0; 71 72 /** 73 * @brief xcb_randr_bad_output_error_t 74 **/ 75 struct xcb_randr_bad_output_error_t { 76 ubyte response_type; /**< */ 77 ubyte error_code; /**< */ 78 ushort sequence; /**< */ 79 } 80 81 /** Opcode for xcb_randr_bad_crtc. */ 82 enum XCB_RANDR_BAD_CRTC = 1; 83 84 /** 85 * @brief xcb_randr_bad_crtc_error_t 86 **/ 87 struct xcb_randr_bad_crtc_error_t { 88 ubyte response_type; /**< */ 89 ubyte error_code; /**< */ 90 ushort sequence; /**< */ 91 } 92 93 /** Opcode for xcb_randr_bad_mode. */ 94 enum XCB_RANDR_BAD_MODE = 2; 95 96 /** 97 * @brief xcb_randr_bad_mode_error_t 98 **/ 99 struct xcb_randr_bad_mode_error_t { 100 ubyte response_type; /**< */ 101 ubyte error_code; /**< */ 102 ushort sequence; /**< */ 103 } 104 105 /** Opcode for xcb_randr_bad_provider. */ 106 enum XCB_RANDR_BAD_PROVIDER = 3; 107 108 /** 109 * @brief xcb_randr_bad_provider_error_t 110 **/ 111 struct xcb_randr_bad_provider_error_t { 112 ubyte response_type; /**< */ 113 ubyte error_code; /**< */ 114 ushort sequence; /**< */ 115 } 116 117 enum xcb_randr_rotation_t { 118 XCB_RANDR_ROTATION_ROTATE_0 = 1, 119 XCB_RANDR_ROTATION_ROTATE_90 = 2, 120 XCB_RANDR_ROTATION_ROTATE_180 = 4, 121 XCB_RANDR_ROTATION_ROTATE_270 = 8, 122 XCB_RANDR_ROTATION_REFLECT_X = 16, 123 XCB_RANDR_ROTATION_REFLECT_Y = 32 124 } 125 126 alias XCB_RANDR_ROTATION_ROTATE_0 = xcb_randr_rotation_t.XCB_RANDR_ROTATION_ROTATE_0; 127 alias XCB_RANDR_ROTATION_ROTATE_90 = xcb_randr_rotation_t.XCB_RANDR_ROTATION_ROTATE_90; 128 alias XCB_RANDR_ROTATION_ROTATE_180 = xcb_randr_rotation_t.XCB_RANDR_ROTATION_ROTATE_180; 129 alias XCB_RANDR_ROTATION_ROTATE_270 = xcb_randr_rotation_t.XCB_RANDR_ROTATION_ROTATE_270; 130 alias XCB_RANDR_ROTATION_REFLECT_X = xcb_randr_rotation_t.XCB_RANDR_ROTATION_REFLECT_X; 131 alias XCB_RANDR_ROTATION_REFLECT_Y = xcb_randr_rotation_t.XCB_RANDR_ROTATION_REFLECT_Y; 132 133 /** 134 * @brief xcb_randr_screen_size_t 135 **/ 136 struct xcb_randr_screen_size_t { 137 ushort width; /**< */ 138 ushort height; /**< */ 139 ushort mwidth; /**< */ 140 ushort mheight; /**< */ 141 } 142 143 /** 144 * @brief xcb_randr_screen_size_iterator_t 145 **/ 146 struct xcb_randr_screen_size_iterator_t { 147 xcb_randr_screen_size_t* data; /**< */ 148 int rem; /**< */ 149 int index; /**< */ 150 } 151 152 /** 153 * @brief xcb_randr_refresh_rates_t 154 **/ 155 struct xcb_randr_refresh_rates_t { 156 ushort nRates; /**< */ 157 } 158 159 /** 160 * @brief xcb_randr_refresh_rates_iterator_t 161 **/ 162 struct xcb_randr_refresh_rates_iterator_t { 163 xcb_randr_refresh_rates_t* data; /**< */ 164 int rem; /**< */ 165 int index; /**< */ 166 } 167 168 /** 169 * @brief xcb_randr_query_version_cookie_t 170 **/ 171 struct xcb_randr_query_version_cookie_t { 172 uint sequence; /**< */ 173 } 174 175 /** Opcode for xcb_randr_query_version. */ 176 enum XCB_RANDR_QUERY_VERSION = 0; 177 178 /** 179 * @brief xcb_randr_query_version_request_t 180 **/ 181 struct xcb_randr_query_version_request_t { 182 ubyte major_opcode; /**< */ 183 ubyte minor_opcode; /**< */ 184 ushort length; /**< */ 185 uint major_version; /**< */ 186 uint minor_version; /**< */ 187 } 188 189 /** 190 * @brief xcb_randr_query_version_reply_t 191 **/ 192 struct xcb_randr_query_version_reply_t { 193 ubyte response_type; /**< */ 194 ubyte pad0; /**< */ 195 ushort sequence; /**< */ 196 uint length; /**< */ 197 uint major_version; /**< */ 198 uint minor_version; /**< */ 199 ubyte[16] pad1; /**< */ 200 } 201 202 enum xcb_randr_set_config_t { 203 XCB_RANDR_SET_CONFIG_SUCCESS = 0, 204 XCB_RANDR_SET_CONFIG_INVALID_CONFIG_TIME = 1, 205 XCB_RANDR_SET_CONFIG_INVALID_TIME = 2, 206 XCB_RANDR_SET_CONFIG_FAILED = 3 207 } 208 209 alias XCB_RANDR_SET_CONFIG_SUCCESS = xcb_randr_set_config_t.XCB_RANDR_SET_CONFIG_SUCCESS; 210 alias XCB_RANDR_SET_CONFIG_INVALID_CONFIG_TIME = xcb_randr_set_config_t.XCB_RANDR_SET_CONFIG_INVALID_CONFIG_TIME; 211 alias XCB_RANDR_SET_CONFIG_INVALID_TIME = xcb_randr_set_config_t.XCB_RANDR_SET_CONFIG_INVALID_TIME; 212 alias XCB_RANDR_SET_CONFIG_FAILED = xcb_randr_set_config_t.XCB_RANDR_SET_CONFIG_FAILED; 213 214 /** 215 * @brief xcb_randr_set_screen_config_cookie_t 216 **/ 217 struct xcb_randr_set_screen_config_cookie_t { 218 uint sequence; /**< */ 219 } 220 221 /** Opcode for xcb_randr_set_screen_config. */ 222 enum XCB_RANDR_SET_SCREEN_CONFIG = 2; 223 224 /** 225 * @brief xcb_randr_set_screen_config_request_t 226 **/ 227 struct xcb_randr_set_screen_config_request_t { 228 ubyte major_opcode; /**< */ 229 ubyte minor_opcode; /**< */ 230 ushort length; /**< */ 231 xcb_window_t window; /**< */ 232 xcb_timestamp_t timestamp; /**< */ 233 xcb_timestamp_t config_timestamp; /**< */ 234 ushort sizeID; /**< */ 235 ushort rotation; /**< */ 236 ushort rate; /**< */ 237 ubyte[2] pad0; /**< */ 238 } 239 240 /** 241 * @brief xcb_randr_set_screen_config_reply_t 242 **/ 243 struct xcb_randr_set_screen_config_reply_t { 244 ubyte response_type; /**< */ 245 ubyte status; /**< */ 246 ushort sequence; /**< */ 247 uint length; /**< */ 248 xcb_timestamp_t new_timestamp; /**< */ 249 xcb_timestamp_t config_timestamp; /**< */ 250 xcb_window_t root; /**< */ 251 ushort subpixel_order; /**< */ 252 ubyte[10] pad0; /**< */ 253 } 254 255 enum xcb_randr_notify_mask_t { 256 XCB_RANDR_NOTIFY_MASK_SCREEN_CHANGE = 1, 257 XCB_RANDR_NOTIFY_MASK_CRTC_CHANGE = 2, 258 XCB_RANDR_NOTIFY_MASK_OUTPUT_CHANGE = 4, 259 XCB_RANDR_NOTIFY_MASK_OUTPUT_PROPERTY = 8, 260 XCB_RANDR_NOTIFY_MASK_PROVIDER_CHANGE = 16, 261 XCB_RANDR_NOTIFY_MASK_PROVIDER_PROPERTY = 32, 262 XCB_RANDR_NOTIFY_MASK_RESOURCE_CHANGE = 64 263 } 264 265 alias XCB_RANDR_NOTIFY_MASK_SCREEN_CHANGE = xcb_randr_notify_mask_t.XCB_RANDR_NOTIFY_MASK_SCREEN_CHANGE; 266 alias XCB_RANDR_NOTIFY_MASK_CRTC_CHANGE = xcb_randr_notify_mask_t.XCB_RANDR_NOTIFY_MASK_CRTC_CHANGE; 267 alias XCB_RANDR_NOTIFY_MASK_OUTPUT_CHANGE = xcb_randr_notify_mask_t.XCB_RANDR_NOTIFY_MASK_OUTPUT_CHANGE; 268 alias XCB_RANDR_NOTIFY_MASK_OUTPUT_PROPERTY = xcb_randr_notify_mask_t.XCB_RANDR_NOTIFY_MASK_OUTPUT_PROPERTY; 269 alias XCB_RANDR_NOTIFY_MASK_PROVIDER_CHANGE = xcb_randr_notify_mask_t.XCB_RANDR_NOTIFY_MASK_PROVIDER_CHANGE; 270 alias XCB_RANDR_NOTIFY_MASK_PROVIDER_PROPERTY = xcb_randr_notify_mask_t.XCB_RANDR_NOTIFY_MASK_PROVIDER_PROPERTY; 271 alias XCB_RANDR_NOTIFY_MASK_RESOURCE_CHANGE = xcb_randr_notify_mask_t.XCB_RANDR_NOTIFY_MASK_RESOURCE_CHANGE; 272 273 /** Opcode for xcb_randr_select_input. */ 274 enum XCB_RANDR_SELECT_INPUT = 4; 275 276 /** 277 * @brief xcb_randr_select_input_request_t 278 **/ 279 struct xcb_randr_select_input_request_t { 280 ubyte major_opcode; /**< */ 281 ubyte minor_opcode; /**< */ 282 ushort length; /**< */ 283 xcb_window_t window; /**< */ 284 ushort enable; /**< */ 285 ubyte[2] pad0; /**< */ 286 } 287 288 /** 289 * @brief xcb_randr_get_screen_info_cookie_t 290 **/ 291 struct xcb_randr_get_screen_info_cookie_t { 292 uint sequence; /**< */ 293 } 294 295 /** Opcode for xcb_randr_get_screen_info. */ 296 enum XCB_RANDR_GET_SCREEN_INFO = 5; 297 298 /** 299 * @brief xcb_randr_get_screen_info_request_t 300 **/ 301 struct xcb_randr_get_screen_info_request_t { 302 ubyte major_opcode; /**< */ 303 ubyte minor_opcode; /**< */ 304 ushort length; /**< */ 305 xcb_window_t window; /**< */ 306 } 307 308 /** 309 * @brief xcb_randr_get_screen_info_reply_t 310 **/ 311 struct xcb_randr_get_screen_info_reply_t { 312 ubyte response_type; /**< */ 313 ubyte rotations; /**< */ 314 ushort sequence; /**< */ 315 uint length; /**< */ 316 xcb_window_t root; /**< */ 317 xcb_timestamp_t timestamp; /**< */ 318 xcb_timestamp_t config_timestamp; /**< */ 319 ushort nSizes; /**< */ 320 ushort sizeID; /**< */ 321 ushort rotation; /**< */ 322 ushort rate; /**< */ 323 ushort nInfo; /**< */ 324 ubyte[2] pad0; /**< */ 325 } 326 327 /** 328 * @brief xcb_randr_get_screen_size_range_cookie_t 329 **/ 330 struct xcb_randr_get_screen_size_range_cookie_t { 331 uint sequence; /**< */ 332 } 333 334 /** Opcode for xcb_randr_get_screen_size_range. */ 335 enum XCB_RANDR_GET_SCREEN_SIZE_RANGE = 6; 336 337 /** 338 * @brief xcb_randr_get_screen_size_range_request_t 339 **/ 340 struct xcb_randr_get_screen_size_range_request_t { 341 ubyte major_opcode; /**< */ 342 ubyte minor_opcode; /**< */ 343 ushort length; /**< */ 344 xcb_window_t window; /**< */ 345 } 346 347 /** 348 * @brief xcb_randr_get_screen_size_range_reply_t 349 **/ 350 struct xcb_randr_get_screen_size_range_reply_t { 351 ubyte response_type; /**< */ 352 ubyte pad0; /**< */ 353 ushort sequence; /**< */ 354 uint length; /**< */ 355 ushort min_width; /**< */ 356 ushort min_height; /**< */ 357 ushort max_width; /**< */ 358 ushort max_height; /**< */ 359 ubyte[16] pad1; /**< */ 360 } 361 362 /** Opcode for xcb_randr_set_screen_size. */ 363 enum XCB_RANDR_SET_SCREEN_SIZE = 7; 364 365 /** 366 * @brief xcb_randr_set_screen_size_request_t 367 **/ 368 struct xcb_randr_set_screen_size_request_t { 369 ubyte major_opcode; /**< */ 370 ubyte minor_opcode; /**< */ 371 ushort length; /**< */ 372 xcb_window_t window; /**< */ 373 ushort width; /**< */ 374 ushort height; /**< */ 375 uint mm_width; /**< */ 376 uint mm_height; /**< */ 377 } 378 379 enum xcb_randr_mode_flag_t { 380 XCB_RANDR_MODE_FLAG_HSYNC_POSITIVE = 1, 381 XCB_RANDR_MODE_FLAG_HSYNC_NEGATIVE = 2, 382 XCB_RANDR_MODE_FLAG_VSYNC_POSITIVE = 4, 383 XCB_RANDR_MODE_FLAG_VSYNC_NEGATIVE = 8, 384 XCB_RANDR_MODE_FLAG_INTERLACE = 16, 385 XCB_RANDR_MODE_FLAG_DOUBLE_SCAN = 32, 386 XCB_RANDR_MODE_FLAG_CSYNC = 64, 387 XCB_RANDR_MODE_FLAG_CSYNC_POSITIVE = 128, 388 XCB_RANDR_MODE_FLAG_CSYNC_NEGATIVE = 256, 389 XCB_RANDR_MODE_FLAG_HSKEW_PRESENT = 512, 390 XCB_RANDR_MODE_FLAG_BCAST = 1024, 391 XCB_RANDR_MODE_FLAG_PIXEL_MULTIPLEX = 2048, 392 XCB_RANDR_MODE_FLAG_DOUBLE_CLOCK = 4096, 393 XCB_RANDR_MODE_FLAG_HALVE_CLOCK = 8192 394 } 395 396 alias XCB_RANDR_MODE_FLAG_HSYNC_POSITIVE = xcb_randr_mode_flag_t.XCB_RANDR_MODE_FLAG_HSYNC_POSITIVE; 397 alias XCB_RANDR_MODE_FLAG_HSYNC_NEGATIVE = xcb_randr_mode_flag_t.XCB_RANDR_MODE_FLAG_HSYNC_NEGATIVE; 398 alias XCB_RANDR_MODE_FLAG_VSYNC_POSITIVE = xcb_randr_mode_flag_t.XCB_RANDR_MODE_FLAG_VSYNC_POSITIVE; 399 alias XCB_RANDR_MODE_FLAG_VSYNC_NEGATIVE = xcb_randr_mode_flag_t.XCB_RANDR_MODE_FLAG_VSYNC_NEGATIVE; 400 alias XCB_RANDR_MODE_FLAG_INTERLACE = xcb_randr_mode_flag_t.XCB_RANDR_MODE_FLAG_INTERLACE; 401 alias XCB_RANDR_MODE_FLAG_DOUBLE_SCAN = xcb_randr_mode_flag_t.XCB_RANDR_MODE_FLAG_DOUBLE_SCAN; 402 alias XCB_RANDR_MODE_FLAG_CSYNC = xcb_randr_mode_flag_t.XCB_RANDR_MODE_FLAG_CSYNC; 403 alias XCB_RANDR_MODE_FLAG_CSYNC_POSITIVE = xcb_randr_mode_flag_t.XCB_RANDR_MODE_FLAG_CSYNC_POSITIVE; 404 alias XCB_RANDR_MODE_FLAG_CSYNC_NEGATIVE = xcb_randr_mode_flag_t.XCB_RANDR_MODE_FLAG_CSYNC_NEGATIVE; 405 alias XCB_RANDR_MODE_FLAG_HSKEW_PRESENT = xcb_randr_mode_flag_t.XCB_RANDR_MODE_FLAG_HSKEW_PRESENT; 406 alias XCB_RANDR_MODE_FLAG_BCAST = xcb_randr_mode_flag_t.XCB_RANDR_MODE_FLAG_BCAST; 407 alias XCB_RANDR_MODE_FLAG_PIXEL_MULTIPLEX = xcb_randr_mode_flag_t.XCB_RANDR_MODE_FLAG_PIXEL_MULTIPLEX; 408 alias XCB_RANDR_MODE_FLAG_DOUBLE_CLOCK = xcb_randr_mode_flag_t.XCB_RANDR_MODE_FLAG_DOUBLE_CLOCK; 409 alias XCB_RANDR_MODE_FLAG_HALVE_CLOCK = xcb_randr_mode_flag_t.XCB_RANDR_MODE_FLAG_HALVE_CLOCK; 410 411 /** 412 * @brief xcb_randr_mode_info_t 413 **/ 414 struct xcb_randr_mode_info_t { 415 uint id; /**< */ 416 ushort width; /**< */ 417 ushort height; /**< */ 418 uint dot_clock; /**< */ 419 ushort hsync_start; /**< */ 420 ushort hsync_end; /**< */ 421 ushort htotal; /**< */ 422 ushort hskew; /**< */ 423 ushort vsync_start; /**< */ 424 ushort vsync_end; /**< */ 425 ushort vtotal; /**< */ 426 ushort name_len; /**< */ 427 uint mode_flags; /**< */ 428 } 429 430 /** 431 * @brief xcb_randr_mode_info_iterator_t 432 **/ 433 struct xcb_randr_mode_info_iterator_t { 434 xcb_randr_mode_info_t* data; /**< */ 435 int rem; /**< */ 436 int index; /**< */ 437 } 438 439 /** 440 * @brief xcb_randr_get_screen_resources_cookie_t 441 **/ 442 struct xcb_randr_get_screen_resources_cookie_t { 443 uint sequence; /**< */ 444 } 445 446 /** Opcode for xcb_randr_get_screen_resources. */ 447 enum XCB_RANDR_GET_SCREEN_RESOURCES = 8; 448 449 /** 450 * @brief xcb_randr_get_screen_resources_request_t 451 **/ 452 struct xcb_randr_get_screen_resources_request_t { 453 ubyte major_opcode; /**< */ 454 ubyte minor_opcode; /**< */ 455 ushort length; /**< */ 456 xcb_window_t window; /**< */ 457 } 458 459 /** 460 * @brief xcb_randr_get_screen_resources_reply_t 461 **/ 462 struct xcb_randr_get_screen_resources_reply_t { 463 ubyte response_type; /**< */ 464 ubyte pad0; /**< */ 465 ushort sequence; /**< */ 466 uint length; /**< */ 467 xcb_timestamp_t timestamp; /**< */ 468 xcb_timestamp_t config_timestamp; /**< */ 469 ushort num_crtcs; /**< */ 470 ushort num_outputs; /**< */ 471 ushort num_modes; /**< */ 472 ushort names_len; /**< */ 473 ubyte[8] pad1; /**< */ 474 } 475 476 enum xcb_randr_connection_t { 477 XCB_RANDR_CONNECTION_CONNECTED = 0, 478 XCB_RANDR_CONNECTION_DISCONNECTED = 1, 479 XCB_RANDR_CONNECTION_UNKNOWN = 2 480 } 481 482 alias XCB_RANDR_CONNECTION_CONNECTED = xcb_randr_connection_t.XCB_RANDR_CONNECTION_CONNECTED; 483 alias XCB_RANDR_CONNECTION_DISCONNECTED = xcb_randr_connection_t.XCB_RANDR_CONNECTION_DISCONNECTED; 484 alias XCB_RANDR_CONNECTION_UNKNOWN = xcb_randr_connection_t.XCB_RANDR_CONNECTION_UNKNOWN; 485 486 /** 487 * @brief xcb_randr_get_output_info_cookie_t 488 **/ 489 struct xcb_randr_get_output_info_cookie_t { 490 uint sequence; /**< */ 491 } 492 493 /** Opcode for xcb_randr_get_output_info. */ 494 enum XCB_RANDR_GET_OUTPUT_INFO = 9; 495 496 /** 497 * @brief xcb_randr_get_output_info_request_t 498 **/ 499 struct xcb_randr_get_output_info_request_t { 500 ubyte major_opcode; /**< */ 501 ubyte minor_opcode; /**< */ 502 ushort length; /**< */ 503 xcb_randr_output_t output; /**< */ 504 xcb_timestamp_t config_timestamp; /**< */ 505 } 506 507 /** 508 * @brief xcb_randr_get_output_info_reply_t 509 **/ 510 struct xcb_randr_get_output_info_reply_t { 511 ubyte response_type; /**< */ 512 ubyte status; /**< */ 513 ushort sequence; /**< */ 514 uint length; /**< */ 515 xcb_timestamp_t timestamp; /**< */ 516 xcb_randr_crtc_t crtc; /**< */ 517 uint mm_width; /**< */ 518 uint mm_height; /**< */ 519 ubyte connection; /**< */ 520 ubyte subpixel_order; /**< */ 521 ushort num_crtcs; /**< */ 522 ushort num_modes; /**< */ 523 ushort num_preferred; /**< */ 524 ushort num_clones; /**< */ 525 ushort name_len; /**< */ 526 } 527 528 /** 529 * @brief xcb_randr_list_output_properties_cookie_t 530 **/ 531 struct xcb_randr_list_output_properties_cookie_t { 532 uint sequence; /**< */ 533 } 534 535 /** Opcode for xcb_randr_list_output_properties. */ 536 enum XCB_RANDR_LIST_OUTPUT_PROPERTIES = 10; 537 538 /** 539 * @brief xcb_randr_list_output_properties_request_t 540 **/ 541 struct xcb_randr_list_output_properties_request_t { 542 ubyte major_opcode; /**< */ 543 ubyte minor_opcode; /**< */ 544 ushort length; /**< */ 545 xcb_randr_output_t output; /**< */ 546 } 547 548 /** 549 * @brief xcb_randr_list_output_properties_reply_t 550 **/ 551 struct xcb_randr_list_output_properties_reply_t { 552 ubyte response_type; /**< */ 553 ubyte pad0; /**< */ 554 ushort sequence; /**< */ 555 uint length; /**< */ 556 ushort num_atoms; /**< */ 557 ubyte[22] pad1; /**< */ 558 } 559 560 /** 561 * @brief xcb_randr_query_output_property_cookie_t 562 **/ 563 struct xcb_randr_query_output_property_cookie_t { 564 uint sequence; /**< */ 565 } 566 567 /** Opcode for xcb_randr_query_output_property. */ 568 enum XCB_RANDR_QUERY_OUTPUT_PROPERTY = 11; 569 570 /** 571 * @brief xcb_randr_query_output_property_request_t 572 **/ 573 struct xcb_randr_query_output_property_request_t { 574 ubyte major_opcode; /**< */ 575 ubyte minor_opcode; /**< */ 576 ushort length; /**< */ 577 xcb_randr_output_t output; /**< */ 578 xcb_atom_t property; /**< */ 579 } 580 581 /** 582 * @brief xcb_randr_query_output_property_reply_t 583 **/ 584 struct xcb_randr_query_output_property_reply_t { 585 ubyte response_type; /**< */ 586 ubyte pad0; /**< */ 587 ushort sequence; /**< */ 588 uint length; /**< */ 589 ubyte pending; /**< */ 590 ubyte range; /**< */ 591 ubyte immutable_; /**< */ 592 ubyte[21] pad1; /**< */ 593 } 594 595 /** Opcode for xcb_randr_configure_output_property. */ 596 enum XCB_RANDR_CONFIGURE_OUTPUT_PROPERTY = 12; 597 598 /** 599 * @brief xcb_randr_configure_output_property_request_t 600 **/ 601 struct xcb_randr_configure_output_property_request_t { 602 ubyte major_opcode; /**< */ 603 ubyte minor_opcode; /**< */ 604 ushort length; /**< */ 605 xcb_randr_output_t output; /**< */ 606 xcb_atom_t property; /**< */ 607 ubyte pending; /**< */ 608 ubyte range; /**< */ 609 ubyte[2] pad0; /**< */ 610 } 611 612 /** Opcode for xcb_randr_change_output_property. */ 613 enum XCB_RANDR_CHANGE_OUTPUT_PROPERTY = 13; 614 615 /** 616 * @brief xcb_randr_change_output_property_request_t 617 **/ 618 struct xcb_randr_change_output_property_request_t { 619 ubyte major_opcode; /**< */ 620 ubyte minor_opcode; /**< */ 621 ushort length; /**< */ 622 xcb_randr_output_t output; /**< */ 623 xcb_atom_t property; /**< */ 624 xcb_atom_t type; /**< */ 625 ubyte format; /**< */ 626 ubyte mode; /**< */ 627 ubyte[2] pad0; /**< */ 628 uint num_units; /**< */ 629 } 630 631 /** Opcode for xcb_randr_delete_output_property. */ 632 enum XCB_RANDR_DELETE_OUTPUT_PROPERTY = 14; 633 634 /** 635 * @brief xcb_randr_delete_output_property_request_t 636 **/ 637 struct xcb_randr_delete_output_property_request_t { 638 ubyte major_opcode; /**< */ 639 ubyte minor_opcode; /**< */ 640 ushort length; /**< */ 641 xcb_randr_output_t output; /**< */ 642 xcb_atom_t property; /**< */ 643 } 644 645 /** 646 * @brief xcb_randr_get_output_property_cookie_t 647 **/ 648 struct xcb_randr_get_output_property_cookie_t { 649 uint sequence; /**< */ 650 } 651 652 /** Opcode for xcb_randr_get_output_property. */ 653 enum XCB_RANDR_GET_OUTPUT_PROPERTY = 15; 654 655 /** 656 * @brief xcb_randr_get_output_property_request_t 657 **/ 658 struct xcb_randr_get_output_property_request_t { 659 ubyte major_opcode; /**< */ 660 ubyte minor_opcode; /**< */ 661 ushort length; /**< */ 662 xcb_randr_output_t output; /**< */ 663 xcb_atom_t property; /**< */ 664 xcb_atom_t type; /**< */ 665 uint long_offset; /**< */ 666 uint long_length; /**< */ 667 ubyte delete_; /**< */ 668 ubyte pending; /**< */ 669 ubyte[2] pad0; /**< */ 670 } 671 672 /** 673 * @brief xcb_randr_get_output_property_reply_t 674 **/ 675 struct xcb_randr_get_output_property_reply_t { 676 ubyte response_type; /**< */ 677 ubyte format; /**< */ 678 ushort sequence; /**< */ 679 uint length; /**< */ 680 xcb_atom_t type; /**< */ 681 uint bytes_after; /**< */ 682 uint num_items; /**< */ 683 ubyte[12] pad0; /**< */ 684 } 685 686 /** 687 * @brief xcb_randr_create_mode_cookie_t 688 **/ 689 struct xcb_randr_create_mode_cookie_t { 690 uint sequence; /**< */ 691 } 692 693 /** Opcode for xcb_randr_create_mode. */ 694 enum XCB_RANDR_CREATE_MODE = 16; 695 696 /** 697 * @brief xcb_randr_create_mode_request_t 698 **/ 699 struct xcb_randr_create_mode_request_t { 700 ubyte major_opcode; /**< */ 701 ubyte minor_opcode; /**< */ 702 ushort length; /**< */ 703 xcb_window_t window; /**< */ 704 xcb_randr_mode_info_t mode_info; /**< */ 705 } 706 707 /** 708 * @brief xcb_randr_create_mode_reply_t 709 **/ 710 struct xcb_randr_create_mode_reply_t { 711 ubyte response_type; /**< */ 712 ubyte pad0; /**< */ 713 ushort sequence; /**< */ 714 uint length; /**< */ 715 xcb_randr_mode_t mode; /**< */ 716 ubyte[20] pad1; /**< */ 717 } 718 719 /** Opcode for xcb_randr_destroy_mode. */ 720 enum XCB_RANDR_DESTROY_MODE = 17; 721 722 /** 723 * @brief xcb_randr_destroy_mode_request_t 724 **/ 725 struct xcb_randr_destroy_mode_request_t { 726 ubyte major_opcode; /**< */ 727 ubyte minor_opcode; /**< */ 728 ushort length; /**< */ 729 xcb_randr_mode_t mode; /**< */ 730 } 731 732 /** Opcode for xcb_randr_add_output_mode. */ 733 enum XCB_RANDR_ADD_OUTPUT_MODE = 18; 734 735 /** 736 * @brief xcb_randr_add_output_mode_request_t 737 **/ 738 struct xcb_randr_add_output_mode_request_t { 739 ubyte major_opcode; /**< */ 740 ubyte minor_opcode; /**< */ 741 ushort length; /**< */ 742 xcb_randr_output_t output; /**< */ 743 xcb_randr_mode_t mode; /**< */ 744 } 745 746 /** Opcode for xcb_randr_delete_output_mode. */ 747 enum XCB_RANDR_DELETE_OUTPUT_MODE = 19; 748 749 /** 750 * @brief xcb_randr_delete_output_mode_request_t 751 **/ 752 struct xcb_randr_delete_output_mode_request_t { 753 ubyte major_opcode; /**< */ 754 ubyte minor_opcode; /**< */ 755 ushort length; /**< */ 756 xcb_randr_output_t output; /**< */ 757 xcb_randr_mode_t mode; /**< */ 758 } 759 760 /** 761 * @brief xcb_randr_get_crtc_info_cookie_t 762 **/ 763 struct xcb_randr_get_crtc_info_cookie_t { 764 uint sequence; /**< */ 765 } 766 767 /** Opcode for xcb_randr_get_crtc_info. */ 768 enum XCB_RANDR_GET_CRTC_INFO = 20; 769 770 /** 771 * @brief xcb_randr_get_crtc_info_request_t 772 **/ 773 struct xcb_randr_get_crtc_info_request_t { 774 ubyte major_opcode; /**< */ 775 ubyte minor_opcode; /**< */ 776 ushort length; /**< */ 777 xcb_randr_crtc_t crtc; /**< */ 778 xcb_timestamp_t config_timestamp; /**< */ 779 } 780 781 /** 782 * @brief xcb_randr_get_crtc_info_reply_t 783 **/ 784 struct xcb_randr_get_crtc_info_reply_t { 785 ubyte response_type; /**< */ 786 ubyte status; /**< */ 787 ushort sequence; /**< */ 788 uint length; /**< */ 789 xcb_timestamp_t timestamp; /**< */ 790 short x; /**< */ 791 short y; /**< */ 792 ushort width; /**< */ 793 ushort height; /**< */ 794 xcb_randr_mode_t mode; /**< */ 795 ushort rotation; /**< */ 796 ushort rotations; /**< */ 797 ushort num_outputs; /**< */ 798 ushort num_possible_outputs; /**< */ 799 } 800 801 /** 802 * @brief xcb_randr_set_crtc_config_cookie_t 803 **/ 804 struct xcb_randr_set_crtc_config_cookie_t { 805 uint sequence; /**< */ 806 } 807 808 /** Opcode for xcb_randr_set_crtc_config. */ 809 enum XCB_RANDR_SET_CRTC_CONFIG = 21; 810 811 /** 812 * @brief xcb_randr_set_crtc_config_request_t 813 **/ 814 struct xcb_randr_set_crtc_config_request_t { 815 ubyte major_opcode; /**< */ 816 ubyte minor_opcode; /**< */ 817 ushort length; /**< */ 818 xcb_randr_crtc_t crtc; /**< */ 819 xcb_timestamp_t timestamp; /**< */ 820 xcb_timestamp_t config_timestamp; /**< */ 821 short x; /**< */ 822 short y; /**< */ 823 xcb_randr_mode_t mode; /**< */ 824 ushort rotation; /**< */ 825 ubyte[2] pad0; /**< */ 826 } 827 828 /** 829 * @brief xcb_randr_set_crtc_config_reply_t 830 **/ 831 struct xcb_randr_set_crtc_config_reply_t { 832 ubyte response_type; /**< */ 833 ubyte status; /**< */ 834 ushort sequence; /**< */ 835 uint length; /**< */ 836 xcb_timestamp_t timestamp; /**< */ 837 ubyte[20] pad0; /**< */ 838 } 839 840 /** 841 * @brief xcb_randr_get_crtc_gamma_size_cookie_t 842 **/ 843 struct xcb_randr_get_crtc_gamma_size_cookie_t { 844 uint sequence; /**< */ 845 } 846 847 /** Opcode for xcb_randr_get_crtc_gamma_size. */ 848 enum XCB_RANDR_GET_CRTC_GAMMA_SIZE = 22; 849 850 /** 851 * @brief xcb_randr_get_crtc_gamma_size_request_t 852 **/ 853 struct xcb_randr_get_crtc_gamma_size_request_t { 854 ubyte major_opcode; /**< */ 855 ubyte minor_opcode; /**< */ 856 ushort length; /**< */ 857 xcb_randr_crtc_t crtc; /**< */ 858 } 859 860 /** 861 * @brief xcb_randr_get_crtc_gamma_size_reply_t 862 **/ 863 struct xcb_randr_get_crtc_gamma_size_reply_t { 864 ubyte response_type; /**< */ 865 ubyte pad0; /**< */ 866 ushort sequence; /**< */ 867 uint length; /**< */ 868 ushort size; /**< */ 869 ubyte[22] pad1; /**< */ 870 } 871 872 /** 873 * @brief xcb_randr_get_crtc_gamma_cookie_t 874 **/ 875 struct xcb_randr_get_crtc_gamma_cookie_t { 876 uint sequence; /**< */ 877 } 878 879 /** Opcode for xcb_randr_get_crtc_gamma. */ 880 enum XCB_RANDR_GET_CRTC_GAMMA = 23; 881 882 /** 883 * @brief xcb_randr_get_crtc_gamma_request_t 884 **/ 885 struct xcb_randr_get_crtc_gamma_request_t { 886 ubyte major_opcode; /**< */ 887 ubyte minor_opcode; /**< */ 888 ushort length; /**< */ 889 xcb_randr_crtc_t crtc; /**< */ 890 } 891 892 /** 893 * @brief xcb_randr_get_crtc_gamma_reply_t 894 **/ 895 struct xcb_randr_get_crtc_gamma_reply_t { 896 ubyte response_type; /**< */ 897 ubyte pad0; /**< */ 898 ushort sequence; /**< */ 899 uint length; /**< */ 900 ushort size; /**< */ 901 ubyte[22] pad1; /**< */ 902 } 903 904 /** Opcode for xcb_randr_set_crtc_gamma. */ 905 enum XCB_RANDR_SET_CRTC_GAMMA = 24; 906 907 /** 908 * @brief xcb_randr_set_crtc_gamma_request_t 909 **/ 910 struct xcb_randr_set_crtc_gamma_request_t { 911 ubyte major_opcode; /**< */ 912 ubyte minor_opcode; /**< */ 913 ushort length; /**< */ 914 xcb_randr_crtc_t crtc; /**< */ 915 ushort size; /**< */ 916 ubyte[2] pad0; /**< */ 917 } 918 919 /** 920 * @brief xcb_randr_get_screen_resources_current_cookie_t 921 **/ 922 struct xcb_randr_get_screen_resources_current_cookie_t { 923 uint sequence; /**< */ 924 } 925 926 /** Opcode for xcb_randr_get_screen_resources_current. */ 927 enum XCB_RANDR_GET_SCREEN_RESOURCES_CURRENT = 25; 928 929 /** 930 * @brief xcb_randr_get_screen_resources_current_request_t 931 **/ 932 struct xcb_randr_get_screen_resources_current_request_t { 933 ubyte major_opcode; /**< */ 934 ubyte minor_opcode; /**< */ 935 ushort length; /**< */ 936 xcb_window_t window; /**< */ 937 } 938 939 /** 940 * @brief xcb_randr_get_screen_resources_current_reply_t 941 **/ 942 struct xcb_randr_get_screen_resources_current_reply_t { 943 ubyte response_type; /**< */ 944 ubyte pad0; /**< */ 945 ushort sequence; /**< */ 946 uint length; /**< */ 947 xcb_timestamp_t timestamp; /**< */ 948 xcb_timestamp_t config_timestamp; /**< */ 949 ushort num_crtcs; /**< */ 950 ushort num_outputs; /**< */ 951 ushort num_modes; /**< */ 952 ushort names_len; /**< */ 953 ubyte[8] pad1; /**< */ 954 } 955 956 enum xcb_randr_transform_t { 957 XCB_RANDR_TRANSFORM_UNIT = 1, 958 XCB_RANDR_TRANSFORM_SCALE_UP = 2, 959 XCB_RANDR_TRANSFORM_SCALE_DOWN = 4, 960 XCB_RANDR_TRANSFORM_PROJECTIVE = 8 961 } 962 963 alias XCB_RANDR_TRANSFORM_UNIT = xcb_randr_transform_t.XCB_RANDR_TRANSFORM_UNIT; 964 alias XCB_RANDR_TRANSFORM_SCALE_UP = xcb_randr_transform_t.XCB_RANDR_TRANSFORM_SCALE_UP; 965 alias XCB_RANDR_TRANSFORM_SCALE_DOWN = xcb_randr_transform_t.XCB_RANDR_TRANSFORM_SCALE_DOWN; 966 alias XCB_RANDR_TRANSFORM_PROJECTIVE = xcb_randr_transform_t.XCB_RANDR_TRANSFORM_PROJECTIVE; 967 968 /** Opcode for xcb_randr_set_crtc_transform. */ 969 enum XCB_RANDR_SET_CRTC_TRANSFORM = 26; 970 971 /** 972 * @brief xcb_randr_set_crtc_transform_request_t 973 **/ 974 struct xcb_randr_set_crtc_transform_request_t { 975 ubyte major_opcode; /**< */ 976 ubyte minor_opcode; /**< */ 977 ushort length; /**< */ 978 xcb_randr_crtc_t crtc; /**< */ 979 xcb_render_transform_t transform; /**< */ 980 ushort filter_len; /**< */ 981 ubyte[2] pad0; /**< */ 982 } 983 984 /** 985 * @brief xcb_randr_get_crtc_transform_cookie_t 986 **/ 987 struct xcb_randr_get_crtc_transform_cookie_t { 988 uint sequence; /**< */ 989 } 990 991 /** Opcode for xcb_randr_get_crtc_transform. */ 992 enum XCB_RANDR_GET_CRTC_TRANSFORM = 27; 993 994 /** 995 * @brief xcb_randr_get_crtc_transform_request_t 996 **/ 997 struct xcb_randr_get_crtc_transform_request_t { 998 ubyte major_opcode; /**< */ 999 ubyte minor_opcode; /**< */ 1000 ushort length; /**< */ 1001 xcb_randr_crtc_t crtc; /**< */ 1002 } 1003 1004 /** 1005 * @brief xcb_randr_get_crtc_transform_reply_t 1006 **/ 1007 struct xcb_randr_get_crtc_transform_reply_t { 1008 ubyte response_type; /**< */ 1009 ubyte pad0; /**< */ 1010 ushort sequence; /**< */ 1011 uint length; /**< */ 1012 xcb_render_transform_t pending_transform; /**< */ 1013 ubyte has_transforms; /**< */ 1014 ubyte[3] pad1; /**< */ 1015 xcb_render_transform_t current_transform; /**< */ 1016 ubyte[4] pad2; /**< */ 1017 ushort pending_len; /**< */ 1018 ushort pending_nparams; /**< */ 1019 ushort current_len; /**< */ 1020 ushort current_nparams; /**< */ 1021 } 1022 1023 /** 1024 * @brief xcb_randr_get_panning_cookie_t 1025 **/ 1026 struct xcb_randr_get_panning_cookie_t { 1027 uint sequence; /**< */ 1028 } 1029 1030 /** Opcode for xcb_randr_get_panning. */ 1031 enum XCB_RANDR_GET_PANNING = 28; 1032 1033 /** 1034 * @brief xcb_randr_get_panning_request_t 1035 **/ 1036 struct xcb_randr_get_panning_request_t { 1037 ubyte major_opcode; /**< */ 1038 ubyte minor_opcode; /**< */ 1039 ushort length; /**< */ 1040 xcb_randr_crtc_t crtc; /**< */ 1041 } 1042 1043 /** 1044 * @brief xcb_randr_get_panning_reply_t 1045 **/ 1046 struct xcb_randr_get_panning_reply_t { 1047 ubyte response_type; /**< */ 1048 ubyte status; /**< */ 1049 ushort sequence; /**< */ 1050 uint length; /**< */ 1051 xcb_timestamp_t timestamp; /**< */ 1052 ushort left; /**< */ 1053 ushort top; /**< */ 1054 ushort width; /**< */ 1055 ushort height; /**< */ 1056 ushort track_left; /**< */ 1057 ushort track_top; /**< */ 1058 ushort track_width; /**< */ 1059 ushort track_height; /**< */ 1060 short border_left; /**< */ 1061 short border_top; /**< */ 1062 short border_right; /**< */ 1063 short border_bottom; /**< */ 1064 } 1065 1066 /** 1067 * @brief xcb_randr_set_panning_cookie_t 1068 **/ 1069 struct xcb_randr_set_panning_cookie_t { 1070 uint sequence; /**< */ 1071 } 1072 1073 /** Opcode for xcb_randr_set_panning. */ 1074 enum XCB_RANDR_SET_PANNING = 29; 1075 1076 /** 1077 * @brief xcb_randr_set_panning_request_t 1078 **/ 1079 struct xcb_randr_set_panning_request_t { 1080 ubyte major_opcode; /**< */ 1081 ubyte minor_opcode; /**< */ 1082 ushort length; /**< */ 1083 xcb_randr_crtc_t crtc; /**< */ 1084 xcb_timestamp_t timestamp; /**< */ 1085 ushort left; /**< */ 1086 ushort top; /**< */ 1087 ushort width; /**< */ 1088 ushort height; /**< */ 1089 ushort track_left; /**< */ 1090 ushort track_top; /**< */ 1091 ushort track_width; /**< */ 1092 ushort track_height; /**< */ 1093 short border_left; /**< */ 1094 short border_top; /**< */ 1095 short border_right; /**< */ 1096 short border_bottom; /**< */ 1097 } 1098 1099 /** 1100 * @brief xcb_randr_set_panning_reply_t 1101 **/ 1102 struct xcb_randr_set_panning_reply_t { 1103 ubyte response_type; /**< */ 1104 ubyte status; /**< */ 1105 ushort sequence; /**< */ 1106 uint length; /**< */ 1107 xcb_timestamp_t timestamp; /**< */ 1108 } 1109 1110 /** Opcode for xcb_randr_set_output_primary. */ 1111 enum XCB_RANDR_SET_OUTPUT_PRIMARY = 30; 1112 1113 /** 1114 * @brief xcb_randr_set_output_primary_request_t 1115 **/ 1116 struct xcb_randr_set_output_primary_request_t { 1117 ubyte major_opcode; /**< */ 1118 ubyte minor_opcode; /**< */ 1119 ushort length; /**< */ 1120 xcb_window_t window; /**< */ 1121 xcb_randr_output_t output; /**< */ 1122 } 1123 1124 /** 1125 * @brief xcb_randr_get_output_primary_cookie_t 1126 **/ 1127 struct xcb_randr_get_output_primary_cookie_t { 1128 uint sequence; /**< */ 1129 } 1130 1131 /** Opcode for xcb_randr_get_output_primary. */ 1132 enum XCB_RANDR_GET_OUTPUT_PRIMARY = 31; 1133 1134 /** 1135 * @brief xcb_randr_get_output_primary_request_t 1136 **/ 1137 struct xcb_randr_get_output_primary_request_t { 1138 ubyte major_opcode; /**< */ 1139 ubyte minor_opcode; /**< */ 1140 ushort length; /**< */ 1141 xcb_window_t window; /**< */ 1142 } 1143 1144 /** 1145 * @brief xcb_randr_get_output_primary_reply_t 1146 **/ 1147 struct xcb_randr_get_output_primary_reply_t { 1148 ubyte response_type; /**< */ 1149 ubyte pad0; /**< */ 1150 ushort sequence; /**< */ 1151 uint length; /**< */ 1152 xcb_randr_output_t output; /**< */ 1153 } 1154 1155 /** 1156 * @brief xcb_randr_get_providers_cookie_t 1157 **/ 1158 struct xcb_randr_get_providers_cookie_t { 1159 uint sequence; /**< */ 1160 } 1161 1162 /** Opcode for xcb_randr_get_providers. */ 1163 enum XCB_RANDR_GET_PROVIDERS = 32; 1164 1165 /** 1166 * @brief xcb_randr_get_providers_request_t 1167 **/ 1168 struct xcb_randr_get_providers_request_t { 1169 ubyte major_opcode; /**< */ 1170 ubyte minor_opcode; /**< */ 1171 ushort length; /**< */ 1172 xcb_window_t window; /**< */ 1173 } 1174 1175 /** 1176 * @brief xcb_randr_get_providers_reply_t 1177 **/ 1178 struct xcb_randr_get_providers_reply_t { 1179 ubyte response_type; /**< */ 1180 ubyte pad0; /**< */ 1181 ushort sequence; /**< */ 1182 uint length; /**< */ 1183 xcb_timestamp_t timestamp; /**< */ 1184 ushort num_providers; /**< */ 1185 ubyte[18] pad1; /**< */ 1186 } 1187 1188 enum xcb_randr_provider_capability_t { 1189 XCB_RANDR_PROVIDER_CAPABILITY_SOURCE_OUTPUT = 1, 1190 XCB_RANDR_PROVIDER_CAPABILITY_SINK_OUTPUT = 2, 1191 XCB_RANDR_PROVIDER_CAPABILITY_SOURCE_OFFLOAD = 4, 1192 XCB_RANDR_PROVIDER_CAPABILITY_SINK_OFFLOAD = 8 1193 } 1194 1195 alias XCB_RANDR_PROVIDER_CAPABILITY_SOURCE_OUTPUT = xcb_randr_provider_capability_t.XCB_RANDR_PROVIDER_CAPABILITY_SOURCE_OUTPUT; 1196 alias XCB_RANDR_PROVIDER_CAPABILITY_SINK_OUTPUT = xcb_randr_provider_capability_t.XCB_RANDR_PROVIDER_CAPABILITY_SINK_OUTPUT; 1197 alias XCB_RANDR_PROVIDER_CAPABILITY_SOURCE_OFFLOAD = xcb_randr_provider_capability_t.XCB_RANDR_PROVIDER_CAPABILITY_SOURCE_OFFLOAD; 1198 alias XCB_RANDR_PROVIDER_CAPABILITY_SINK_OFFLOAD = xcb_randr_provider_capability_t.XCB_RANDR_PROVIDER_CAPABILITY_SINK_OFFLOAD; 1199 1200 /** 1201 * @brief xcb_randr_get_provider_info_cookie_t 1202 **/ 1203 struct xcb_randr_get_provider_info_cookie_t { 1204 uint sequence; /**< */ 1205 } 1206 1207 /** Opcode for xcb_randr_get_provider_info. */ 1208 enum XCB_RANDR_GET_PROVIDER_INFO = 33; 1209 1210 /** 1211 * @brief xcb_randr_get_provider_info_request_t 1212 **/ 1213 struct xcb_randr_get_provider_info_request_t { 1214 ubyte major_opcode; /**< */ 1215 ubyte minor_opcode; /**< */ 1216 ushort length; /**< */ 1217 xcb_randr_provider_t provider; /**< */ 1218 xcb_timestamp_t config_timestamp; /**< */ 1219 } 1220 1221 /** 1222 * @brief xcb_randr_get_provider_info_reply_t 1223 **/ 1224 struct xcb_randr_get_provider_info_reply_t { 1225 ubyte response_type; /**< */ 1226 ubyte status; /**< */ 1227 ushort sequence; /**< */ 1228 uint length; /**< */ 1229 xcb_timestamp_t timestamp; /**< */ 1230 uint capabilities; /**< */ 1231 ushort num_crtcs; /**< */ 1232 ushort num_outputs; /**< */ 1233 ushort num_associated_providers; /**< */ 1234 ushort name_len; /**< */ 1235 ubyte[8] pad0; /**< */ 1236 } 1237 1238 /** Opcode for xcb_randr_set_provider_offload_sink. */ 1239 enum XCB_RANDR_SET_PROVIDER_OFFLOAD_SINK = 34; 1240 1241 /** 1242 * @brief xcb_randr_set_provider_offload_sink_request_t 1243 **/ 1244 struct xcb_randr_set_provider_offload_sink_request_t { 1245 ubyte major_opcode; /**< */ 1246 ubyte minor_opcode; /**< */ 1247 ushort length; /**< */ 1248 xcb_randr_provider_t provider; /**< */ 1249 xcb_randr_provider_t sink_provider; /**< */ 1250 xcb_timestamp_t config_timestamp; /**< */ 1251 } 1252 1253 /** Opcode for xcb_randr_set_provider_output_source. */ 1254 enum XCB_RANDR_SET_PROVIDER_OUTPUT_SOURCE = 35; 1255 1256 /** 1257 * @brief xcb_randr_set_provider_output_source_request_t 1258 **/ 1259 struct xcb_randr_set_provider_output_source_request_t { 1260 ubyte major_opcode; /**< */ 1261 ubyte minor_opcode; /**< */ 1262 ushort length; /**< */ 1263 xcb_randr_provider_t provider; /**< */ 1264 xcb_randr_provider_t source_provider; /**< */ 1265 xcb_timestamp_t config_timestamp; /**< */ 1266 } 1267 1268 /** 1269 * @brief xcb_randr_list_provider_properties_cookie_t 1270 **/ 1271 struct xcb_randr_list_provider_properties_cookie_t { 1272 uint sequence; /**< */ 1273 } 1274 1275 /** Opcode for xcb_randr_list_provider_properties. */ 1276 enum XCB_RANDR_LIST_PROVIDER_PROPERTIES = 36; 1277 1278 /** 1279 * @brief xcb_randr_list_provider_properties_request_t 1280 **/ 1281 struct xcb_randr_list_provider_properties_request_t { 1282 ubyte major_opcode; /**< */ 1283 ubyte minor_opcode; /**< */ 1284 ushort length; /**< */ 1285 xcb_randr_provider_t provider; /**< */ 1286 } 1287 1288 /** 1289 * @brief xcb_randr_list_provider_properties_reply_t 1290 **/ 1291 struct xcb_randr_list_provider_properties_reply_t { 1292 ubyte response_type; /**< */ 1293 ubyte pad0; /**< */ 1294 ushort sequence; /**< */ 1295 uint length; /**< */ 1296 ushort num_atoms; /**< */ 1297 ubyte[22] pad1; /**< */ 1298 } 1299 1300 /** 1301 * @brief xcb_randr_query_provider_property_cookie_t 1302 **/ 1303 struct xcb_randr_query_provider_property_cookie_t { 1304 uint sequence; /**< */ 1305 } 1306 1307 /** Opcode for xcb_randr_query_provider_property. */ 1308 enum XCB_RANDR_QUERY_PROVIDER_PROPERTY = 37; 1309 1310 /** 1311 * @brief xcb_randr_query_provider_property_request_t 1312 **/ 1313 struct xcb_randr_query_provider_property_request_t { 1314 ubyte major_opcode; /**< */ 1315 ubyte minor_opcode; /**< */ 1316 ushort length; /**< */ 1317 xcb_randr_provider_t provider; /**< */ 1318 xcb_atom_t property; /**< */ 1319 } 1320 1321 /** 1322 * @brief xcb_randr_query_provider_property_reply_t 1323 **/ 1324 struct xcb_randr_query_provider_property_reply_t { 1325 ubyte response_type; /**< */ 1326 ubyte pad0; /**< */ 1327 ushort sequence; /**< */ 1328 uint length; /**< */ 1329 ubyte pending; /**< */ 1330 ubyte range; /**< */ 1331 ubyte immutable_; /**< */ 1332 ubyte[21] pad1; /**< */ 1333 } 1334 1335 /** Opcode for xcb_randr_configure_provider_property. */ 1336 enum XCB_RANDR_CONFIGURE_PROVIDER_PROPERTY = 38; 1337 1338 /** 1339 * @brief xcb_randr_configure_provider_property_request_t 1340 **/ 1341 struct xcb_randr_configure_provider_property_request_t { 1342 ubyte major_opcode; /**< */ 1343 ubyte minor_opcode; /**< */ 1344 ushort length; /**< */ 1345 xcb_randr_provider_t provider; /**< */ 1346 xcb_atom_t property; /**< */ 1347 ubyte pending; /**< */ 1348 ubyte range; /**< */ 1349 ubyte[2] pad0; /**< */ 1350 } 1351 1352 /** Opcode for xcb_randr_change_provider_property. */ 1353 enum XCB_RANDR_CHANGE_PROVIDER_PROPERTY = 39; 1354 1355 /** 1356 * @brief xcb_randr_change_provider_property_request_t 1357 **/ 1358 struct xcb_randr_change_provider_property_request_t { 1359 ubyte major_opcode; /**< */ 1360 ubyte minor_opcode; /**< */ 1361 ushort length; /**< */ 1362 xcb_randr_provider_t provider; /**< */ 1363 xcb_atom_t property; /**< */ 1364 xcb_atom_t type; /**< */ 1365 ubyte format; /**< */ 1366 ubyte mode; /**< */ 1367 ubyte[2] pad0; /**< */ 1368 uint num_items; /**< */ 1369 } 1370 1371 /** Opcode for xcb_randr_delete_provider_property. */ 1372 enum XCB_RANDR_DELETE_PROVIDER_PROPERTY = 40; 1373 1374 /** 1375 * @brief xcb_randr_delete_provider_property_request_t 1376 **/ 1377 struct xcb_randr_delete_provider_property_request_t { 1378 ubyte major_opcode; /**< */ 1379 ubyte minor_opcode; /**< */ 1380 ushort length; /**< */ 1381 xcb_randr_provider_t provider; /**< */ 1382 xcb_atom_t property; /**< */ 1383 } 1384 1385 /** 1386 * @brief xcb_randr_get_provider_property_cookie_t 1387 **/ 1388 struct xcb_randr_get_provider_property_cookie_t { 1389 uint sequence; /**< */ 1390 } 1391 1392 /** Opcode for xcb_randr_get_provider_property. */ 1393 enum XCB_RANDR_GET_PROVIDER_PROPERTY = 41; 1394 1395 /** 1396 * @brief xcb_randr_get_provider_property_request_t 1397 **/ 1398 struct xcb_randr_get_provider_property_request_t { 1399 ubyte major_opcode; /**< */ 1400 ubyte minor_opcode; /**< */ 1401 ushort length; /**< */ 1402 xcb_randr_provider_t provider; /**< */ 1403 xcb_atom_t property; /**< */ 1404 xcb_atom_t type; /**< */ 1405 uint long_offset; /**< */ 1406 uint long_length; /**< */ 1407 ubyte delete_; /**< */ 1408 ubyte pending; /**< */ 1409 ubyte[2] pad0; /**< */ 1410 } 1411 1412 /** 1413 * @brief xcb_randr_get_provider_property_reply_t 1414 **/ 1415 struct xcb_randr_get_provider_property_reply_t { 1416 ubyte response_type; /**< */ 1417 ubyte format; /**< */ 1418 ushort sequence; /**< */ 1419 uint length; /**< */ 1420 xcb_atom_t type; /**< */ 1421 uint bytes_after; /**< */ 1422 uint num_items; /**< */ 1423 ubyte[12] pad0; /**< */ 1424 } 1425 1426 /** Opcode for xcb_randr_screen_change_notify. */ 1427 enum XCB_RANDR_SCREEN_CHANGE_NOTIFY = 0; 1428 1429 /** 1430 * @brief xcb_randr_screen_change_notify_event_t 1431 **/ 1432 struct xcb_randr_screen_change_notify_event_t { 1433 ubyte response_type; /**< */ 1434 ubyte rotation; /**< */ 1435 ushort sequence; /**< */ 1436 xcb_timestamp_t timestamp; /**< */ 1437 xcb_timestamp_t config_timestamp; /**< */ 1438 xcb_window_t root; /**< */ 1439 xcb_window_t request_window; /**< */ 1440 ushort sizeID; /**< */ 1441 ushort subpixel_order; /**< */ 1442 ushort width; /**< */ 1443 ushort height; /**< */ 1444 ushort mwidth; /**< */ 1445 ushort mheight; /**< */ 1446 } 1447 1448 enum xcb_randr_notify_t { 1449 XCB_RANDR_NOTIFY_CRTC_CHANGE = 0, 1450 XCB_RANDR_NOTIFY_OUTPUT_CHANGE = 1, 1451 XCB_RANDR_NOTIFY_OUTPUT_PROPERTY = 2, 1452 XCB_RANDR_NOTIFY_PROVIDER_CHANGE = 3, 1453 XCB_RANDR_NOTIFY_PROVIDER_PROPERTY = 4, 1454 XCB_RANDR_NOTIFY_RESOURCE_CHANGE = 5 1455 } 1456 1457 alias XCB_RANDR_NOTIFY_CRTC_CHANGE = xcb_randr_notify_t.XCB_RANDR_NOTIFY_CRTC_CHANGE; 1458 alias XCB_RANDR_NOTIFY_OUTPUT_CHANGE = xcb_randr_notify_t.XCB_RANDR_NOTIFY_OUTPUT_CHANGE; 1459 alias XCB_RANDR_NOTIFY_OUTPUT_PROPERTY = xcb_randr_notify_t.XCB_RANDR_NOTIFY_OUTPUT_PROPERTY; 1460 alias XCB_RANDR_NOTIFY_PROVIDER_CHANGE = xcb_randr_notify_t.XCB_RANDR_NOTIFY_PROVIDER_CHANGE; 1461 alias XCB_RANDR_NOTIFY_PROVIDER_PROPERTY = xcb_randr_notify_t.XCB_RANDR_NOTIFY_PROVIDER_PROPERTY; 1462 alias XCB_RANDR_NOTIFY_RESOURCE_CHANGE = xcb_randr_notify_t.XCB_RANDR_NOTIFY_RESOURCE_CHANGE; 1463 1464 /** 1465 * @brief xcb_randr_crtc_change_t 1466 **/ 1467 struct xcb_randr_crtc_change_t { 1468 xcb_timestamp_t timestamp; /**< */ 1469 xcb_window_t window; /**< */ 1470 xcb_randr_crtc_t crtc; /**< */ 1471 xcb_randr_mode_t mode; /**< */ 1472 ushort rotation; /**< */ 1473 ubyte[2] pad0; /**< */ 1474 short x; /**< */ 1475 short y; /**< */ 1476 ushort width; /**< */ 1477 ushort height; /**< */ 1478 } 1479 1480 /** 1481 * @brief xcb_randr_crtc_change_iterator_t 1482 **/ 1483 struct xcb_randr_crtc_change_iterator_t { 1484 xcb_randr_crtc_change_t* data; /**< */ 1485 int rem; /**< */ 1486 int index; /**< */ 1487 } 1488 1489 /** 1490 * @brief xcb_randr_output_change_t 1491 **/ 1492 struct xcb_randr_output_change_t { 1493 xcb_timestamp_t timestamp; /**< */ 1494 xcb_timestamp_t config_timestamp; /**< */ 1495 xcb_window_t window; /**< */ 1496 xcb_randr_output_t output; /**< */ 1497 xcb_randr_crtc_t crtc; /**< */ 1498 xcb_randr_mode_t mode; /**< */ 1499 ushort rotation; /**< */ 1500 ubyte connection; /**< */ 1501 ubyte subpixel_order; /**< */ 1502 } 1503 1504 /** 1505 * @brief xcb_randr_output_change_iterator_t 1506 **/ 1507 struct xcb_randr_output_change_iterator_t { 1508 xcb_randr_output_change_t* data; /**< */ 1509 int rem; /**< */ 1510 int index; /**< */ 1511 } 1512 1513 /** 1514 * @brief xcb_randr_output_property_t 1515 **/ 1516 struct xcb_randr_output_property_t { 1517 xcb_window_t window; /**< */ 1518 xcb_randr_output_t output; /**< */ 1519 xcb_atom_t atom; /**< */ 1520 xcb_timestamp_t timestamp; /**< */ 1521 ubyte status; /**< */ 1522 ubyte[11] pad0; /**< */ 1523 } 1524 1525 /** 1526 * @brief xcb_randr_output_property_iterator_t 1527 **/ 1528 struct xcb_randr_output_property_iterator_t { 1529 xcb_randr_output_property_t* data; /**< */ 1530 int rem; /**< */ 1531 int index; /**< */ 1532 } 1533 1534 /** 1535 * @brief xcb_randr_provider_change_t 1536 **/ 1537 struct xcb_randr_provider_change_t { 1538 xcb_timestamp_t timestamp; /**< */ 1539 xcb_window_t window; /**< */ 1540 xcb_randr_provider_t provider; /**< */ 1541 ubyte[16] pad0; /**< */ 1542 } 1543 1544 /** 1545 * @brief xcb_randr_provider_change_iterator_t 1546 **/ 1547 struct xcb_randr_provider_change_iterator_t { 1548 xcb_randr_provider_change_t* data; /**< */ 1549 int rem; /**< */ 1550 int index; /**< */ 1551 } 1552 1553 /** 1554 * @brief xcb_randr_provider_property_t 1555 **/ 1556 struct xcb_randr_provider_property_t { 1557 xcb_window_t window; /**< */ 1558 xcb_randr_provider_t provider; /**< */ 1559 xcb_atom_t atom; /**< */ 1560 xcb_timestamp_t timestamp; /**< */ 1561 ubyte state; /**< */ 1562 ubyte[11] pad0; /**< */ 1563 } 1564 1565 /** 1566 * @brief xcb_randr_provider_property_iterator_t 1567 **/ 1568 struct xcb_randr_provider_property_iterator_t { 1569 xcb_randr_provider_property_t* data; /**< */ 1570 int rem; /**< */ 1571 int index; /**< */ 1572 } 1573 1574 /** 1575 * @brief xcb_randr_resource_change_t 1576 **/ 1577 struct xcb_randr_resource_change_t { 1578 xcb_timestamp_t timestamp; /**< */ 1579 xcb_window_t window; /**< */ 1580 ubyte[20] pad0; /**< */ 1581 } 1582 1583 /** 1584 * @brief xcb_randr_resource_change_iterator_t 1585 **/ 1586 struct xcb_randr_resource_change_iterator_t { 1587 xcb_randr_resource_change_t* data; /**< */ 1588 int rem; /**< */ 1589 int index; /**< */ 1590 } 1591 1592 /** 1593 * @brief xcb_randr_notify_data_t 1594 **/ 1595 union xcb_randr_notify_data_t { 1596 xcb_randr_crtc_change_t cc; /**< */ 1597 xcb_randr_output_change_t oc; /**< */ 1598 xcb_randr_output_property_t op; /**< */ 1599 xcb_randr_provider_change_t pc; /**< */ 1600 xcb_randr_provider_property_t pp; /**< */ 1601 xcb_randr_resource_change_t rc; /**< */ 1602 } 1603 1604 /** 1605 * @brief xcb_randr_notify_data_iterator_t 1606 **/ 1607 struct xcb_randr_notify_data_iterator_t { 1608 xcb_randr_notify_data_t* data; /**< */ 1609 int rem; /**< */ 1610 int index; /**< */ 1611 } 1612 1613 /** Opcode for xcb_randr_notify. */ 1614 enum XCB_RANDR_NOTIFY = 1; 1615 1616 /** 1617 * @brief xcb_randr_notify_event_t 1618 **/ 1619 struct xcb_randr_notify_event_t { 1620 ubyte response_type; /**< */ 1621 ubyte subCode; /**< */ 1622 ushort sequence; /**< */ 1623 xcb_randr_notify_data_t u; /**< */ 1624 } 1625 1626 /** 1627 * Get the next element of the iterator 1628 * @param i Pointer to a xcb_randr_mode_iterator_t 1629 * 1630 * Get the next element in the iterator. The member rem is 1631 * decreased by one. The member data points to the next 1632 * element. The member index is increased by sizeof(xcb_randr_mode_t) 1633 */ 1634 void xcb_randr_mode_next(xcb_randr_mode_iterator_t* i /**< */ ); 1635 1636 /** 1637 * Return the iterator pointing to the last element 1638 * @param i An xcb_randr_mode_iterator_t 1639 * @return The iterator pointing to the last element 1640 * 1641 * Set the current element in the iterator to the last element. 1642 * The member rem is set to 0. The member data points to the 1643 * last element. 1644 */ 1645 xcb_generic_iterator_t xcb_randr_mode_end(xcb_randr_mode_iterator_t i /**< */ ); 1646 1647 /** 1648 * Get the next element of the iterator 1649 * @param i Pointer to a xcb_randr_crtc_iterator_t 1650 * 1651 * Get the next element in the iterator. The member rem is 1652 * decreased by one. The member data points to the next 1653 * element. The member index is increased by sizeof(xcb_randr_crtc_t) 1654 */ 1655 void xcb_randr_crtc_next(xcb_randr_crtc_iterator_t* i /**< */ ); 1656 1657 /** 1658 * Return the iterator pointing to the last element 1659 * @param i An xcb_randr_crtc_iterator_t 1660 * @return The iterator pointing to the last element 1661 * 1662 * Set the current element in the iterator to the last element. 1663 * The member rem is set to 0. The member data points to the 1664 * last element. 1665 */ 1666 xcb_generic_iterator_t xcb_randr_crtc_end(xcb_randr_crtc_iterator_t i /**< */ ); 1667 1668 /** 1669 * Get the next element of the iterator 1670 * @param i Pointer to a xcb_randr_output_iterator_t 1671 * 1672 * Get the next element in the iterator. The member rem is 1673 * decreased by one. The member data points to the next 1674 * element. The member index is increased by sizeof(xcb_randr_output_t) 1675 */ 1676 void xcb_randr_output_next(xcb_randr_output_iterator_t* i /**< */ ); 1677 1678 /** 1679 * Return the iterator pointing to the last element 1680 * @param i An xcb_randr_output_iterator_t 1681 * @return The iterator pointing to the last element 1682 * 1683 * Set the current element in the iterator to the last element. 1684 * The member rem is set to 0. The member data points to the 1685 * last element. 1686 */ 1687 xcb_generic_iterator_t xcb_randr_output_end(xcb_randr_output_iterator_t i /**< */ ); 1688 1689 /** 1690 * Get the next element of the iterator 1691 * @param i Pointer to a xcb_randr_provider_iterator_t 1692 * 1693 * Get the next element in the iterator. The member rem is 1694 * decreased by one. The member data points to the next 1695 * element. The member index is increased by sizeof(xcb_randr_provider_t) 1696 */ 1697 void xcb_randr_provider_next(xcb_randr_provider_iterator_t* i /**< */ ); 1698 1699 /** 1700 * Return the iterator pointing to the last element 1701 * @param i An xcb_randr_provider_iterator_t 1702 * @return The iterator pointing to the last element 1703 * 1704 * Set the current element in the iterator to the last element. 1705 * The member rem is set to 0. The member data points to the 1706 * last element. 1707 */ 1708 xcb_generic_iterator_t xcb_randr_provider_end(xcb_randr_provider_iterator_t i /**< */ ); 1709 1710 /** 1711 * Get the next element of the iterator 1712 * @param i Pointer to a xcb_randr_screen_size_iterator_t 1713 * 1714 * Get the next element in the iterator. The member rem is 1715 * decreased by one. The member data points to the next 1716 * element. The member index is increased by sizeof(xcb_randr_screen_size_t) 1717 */ 1718 void xcb_randr_screen_size_next(xcb_randr_screen_size_iterator_t* i /**< */ ); 1719 1720 /** 1721 * Return the iterator pointing to the last element 1722 * @param i An xcb_randr_screen_size_iterator_t 1723 * @return The iterator pointing to the last element 1724 * 1725 * Set the current element in the iterator to the last element. 1726 * The member rem is set to 0. The member data points to the 1727 * last element. 1728 */ 1729 xcb_generic_iterator_t xcb_randr_screen_size_end(xcb_randr_screen_size_iterator_t i /**< */ ); 1730 1731 int xcb_randr_refresh_rates_sizeof(const void* _buffer /**< */ ); 1732 1733 ushort* xcb_randr_refresh_rates_rates(const xcb_randr_refresh_rates_t* R /**< */ ); 1734 1735 int xcb_randr_refresh_rates_rates_length(const xcb_randr_refresh_rates_t* R /**< */ ); 1736 1737 xcb_generic_iterator_t xcb_randr_refresh_rates_rates_end(const xcb_randr_refresh_rates_t* R /**< */ ); 1738 1739 /** 1740 * Get the next element of the iterator 1741 * @param i Pointer to a xcb_randr_refresh_rates_iterator_t 1742 * 1743 * Get the next element in the iterator. The member rem is 1744 * decreased by one. The member data points to the next 1745 * element. The member index is increased by sizeof(xcb_randr_refresh_rates_t) 1746 */ 1747 void xcb_randr_refresh_rates_next(xcb_randr_refresh_rates_iterator_t* i /**< */ ); 1748 1749 /** 1750 * Return the iterator pointing to the last element 1751 * @param i An xcb_randr_refresh_rates_iterator_t 1752 * @return The iterator pointing to the last element 1753 * 1754 * Set the current element in the iterator to the last element. 1755 * The member rem is set to 0. The member data points to the 1756 * last element. 1757 */ 1758 xcb_generic_iterator_t xcb_randr_refresh_rates_end(xcb_randr_refresh_rates_iterator_t i /**< */ ); 1759 1760 /** 1761 * 1762 * @param c The connection 1763 * @return A cookie 1764 * 1765 * Delivers a request to the X server. 1766 * 1767 */ 1768 xcb_randr_query_version_cookie_t xcb_randr_query_version(xcb_connection_t* c /**< */ , uint major_version /**< */ , uint minor_version /**< */ ); 1769 1770 /** 1771 * 1772 * @param c The connection 1773 * @return A cookie 1774 * 1775 * Delivers a request to the X server. 1776 * 1777 * This form can be used only if the request will cause 1778 * a reply to be generated. Any returned error will be 1779 * placed in the event queue. 1780 */ 1781 xcb_randr_query_version_cookie_t xcb_randr_query_version_unchecked(xcb_connection_t* c /**< */ , uint major_version /**< */ , 1782 uint minor_version /**< */ ); 1783 1784 /** 1785 * Return the reply 1786 * @param c The connection 1787 * @param cookie The cookie 1788 * @param e The xcb_generic_error_t supplied 1789 * 1790 * Returns the reply of the request asked by 1791 * 1792 * The parameter @p e supplied to this function must be NULL if 1793 * xcb_randr_query_version_unchecked(). is used. 1794 * Otherwise, it stores the error if any. 1795 * 1796 * The returned value must be freed by the caller using free(). 1797 */ 1798 xcb_randr_query_version_reply_t* xcb_randr_query_version_reply(xcb_connection_t* c /**< */ , 1799 xcb_randr_query_version_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 1800 1801 /** 1802 * 1803 * @param c The connection 1804 * @return A cookie 1805 * 1806 * Delivers a request to the X server. 1807 * 1808 */ 1809 xcb_randr_set_screen_config_cookie_t xcb_randr_set_screen_config(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ , 1810 xcb_timestamp_t timestamp /**< */ , xcb_timestamp_t config_timestamp /**< */ , ushort sizeID /**< */ , ushort rotation /**< */ , 1811 ushort rate /**< */ ); 1812 1813 /** 1814 * 1815 * @param c The connection 1816 * @return A cookie 1817 * 1818 * Delivers a request to the X server. 1819 * 1820 * This form can be used only if the request will cause 1821 * a reply to be generated. Any returned error will be 1822 * placed in the event queue. 1823 */ 1824 xcb_randr_set_screen_config_cookie_t xcb_randr_set_screen_config_unchecked(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ , 1825 xcb_timestamp_t timestamp /**< */ , xcb_timestamp_t config_timestamp /**< */ , ushort sizeID /**< */ , ushort rotation /**< */ , 1826 ushort rate /**< */ ); 1827 1828 /** 1829 * Return the reply 1830 * @param c The connection 1831 * @param cookie The cookie 1832 * @param e The xcb_generic_error_t supplied 1833 * 1834 * Returns the reply of the request asked by 1835 * 1836 * The parameter @p e supplied to this function must be NULL if 1837 * xcb_randr_set_screen_config_unchecked(). is used. 1838 * Otherwise, it stores the error if any. 1839 * 1840 * The returned value must be freed by the caller using free(). 1841 */ 1842 xcb_randr_set_screen_config_reply_t* xcb_randr_set_screen_config_reply(xcb_connection_t* c /**< */ , 1843 xcb_randr_set_screen_config_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 1844 1845 /** 1846 * 1847 * @param c The connection 1848 * @return A cookie 1849 * 1850 * Delivers a request to the X server. 1851 * 1852 * This form can be used only if the request will not cause 1853 * a reply to be generated. Any returned error will be 1854 * saved for handling by xcb_request_check(). 1855 */ 1856 xcb_void_cookie_t xcb_randr_select_input_checked(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ , ushort enable /**< */ ); 1857 1858 /** 1859 * 1860 * @param c The connection 1861 * @return A cookie 1862 * 1863 * Delivers a request to the X server. 1864 * 1865 */ 1866 xcb_void_cookie_t xcb_randr_select_input(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ , ushort enable /**< */ ); 1867 1868 int xcb_randr_get_screen_info_sizeof(const void* _buffer /**< */ ); 1869 1870 /** 1871 * 1872 * @param c The connection 1873 * @return A cookie 1874 * 1875 * Delivers a request to the X server. 1876 * 1877 */ 1878 xcb_randr_get_screen_info_cookie_t xcb_randr_get_screen_info(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ ); 1879 1880 /** 1881 * 1882 * @param c The connection 1883 * @return A cookie 1884 * 1885 * Delivers a request to the X server. 1886 * 1887 * This form can be used only if the request will cause 1888 * a reply to be generated. Any returned error will be 1889 * placed in the event queue. 1890 */ 1891 xcb_randr_get_screen_info_cookie_t xcb_randr_get_screen_info_unchecked(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ ); 1892 1893 xcb_randr_screen_size_t* xcb_randr_get_screen_info_sizes(const xcb_randr_get_screen_info_reply_t* R /**< */ ); 1894 1895 int xcb_randr_get_screen_info_sizes_length(const xcb_randr_get_screen_info_reply_t* R /**< */ ); 1896 1897 xcb_randr_screen_size_iterator_t xcb_randr_get_screen_info_sizes_iterator(const xcb_randr_get_screen_info_reply_t* R /**< */ ); 1898 1899 int xcb_randr_get_screen_info_rates_length(const xcb_randr_get_screen_info_reply_t* R /**< */ ); 1900 1901 xcb_randr_refresh_rates_iterator_t xcb_randr_get_screen_info_rates_iterator(const xcb_randr_get_screen_info_reply_t* R /**< */ ); 1902 1903 /** 1904 * Return the reply 1905 * @param c The connection 1906 * @param cookie The cookie 1907 * @param e The xcb_generic_error_t supplied 1908 * 1909 * Returns the reply of the request asked by 1910 * 1911 * The parameter @p e supplied to this function must be NULL if 1912 * xcb_randr_get_screen_info_unchecked(). is used. 1913 * Otherwise, it stores the error if any. 1914 * 1915 * The returned value must be freed by the caller using free(). 1916 */ 1917 xcb_randr_get_screen_info_reply_t* xcb_randr_get_screen_info_reply(xcb_connection_t* c /**< */ , 1918 xcb_randr_get_screen_info_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 1919 1920 /** 1921 * 1922 * @param c The connection 1923 * @return A cookie 1924 * 1925 * Delivers a request to the X server. 1926 * 1927 */ 1928 xcb_randr_get_screen_size_range_cookie_t xcb_randr_get_screen_size_range(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ ); 1929 1930 /** 1931 * 1932 * @param c The connection 1933 * @return A cookie 1934 * 1935 * Delivers a request to the X server. 1936 * 1937 * This form can be used only if the request will cause 1938 * a reply to be generated. Any returned error will be 1939 * placed in the event queue. 1940 */ 1941 xcb_randr_get_screen_size_range_cookie_t xcb_randr_get_screen_size_range_unchecked(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ ); 1942 1943 /** 1944 * Return the reply 1945 * @param c The connection 1946 * @param cookie The cookie 1947 * @param e The xcb_generic_error_t supplied 1948 * 1949 * Returns the reply of the request asked by 1950 * 1951 * The parameter @p e supplied to this function must be NULL if 1952 * xcb_randr_get_screen_size_range_unchecked(). is used. 1953 * Otherwise, it stores the error if any. 1954 * 1955 * The returned value must be freed by the caller using free(). 1956 */ 1957 xcb_randr_get_screen_size_range_reply_t* xcb_randr_get_screen_size_range_reply(xcb_connection_t* c /**< */ , 1958 xcb_randr_get_screen_size_range_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 1959 1960 /** 1961 * 1962 * @param c The connection 1963 * @return A cookie 1964 * 1965 * Delivers a request to the X server. 1966 * 1967 * This form can be used only if the request will not cause 1968 * a reply to be generated. Any returned error will be 1969 * saved for handling by xcb_request_check(). 1970 */ 1971 xcb_void_cookie_t xcb_randr_set_screen_size_checked(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ , ushort width /**< */ , ushort height /**< */ , 1972 uint mm_width /**< */ , uint mm_height /**< */ ); 1973 1974 /** 1975 * 1976 * @param c The connection 1977 * @return A cookie 1978 * 1979 * Delivers a request to the X server. 1980 * 1981 */ 1982 xcb_void_cookie_t xcb_randr_set_screen_size(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ , ushort width /**< */ , ushort height /**< */ , 1983 uint mm_width /**< */ , uint mm_height /**< */ ); 1984 1985 /** 1986 * Get the next element of the iterator 1987 * @param i Pointer to a xcb_randr_mode_info_iterator_t 1988 * 1989 * Get the next element in the iterator. The member rem is 1990 * decreased by one. The member data points to the next 1991 * element. The member index is increased by sizeof(xcb_randr_mode_info_t) 1992 */ 1993 void xcb_randr_mode_info_next(xcb_randr_mode_info_iterator_t* i /**< */ ); 1994 1995 /** 1996 * Return the iterator pointing to the last element 1997 * @param i An xcb_randr_mode_info_iterator_t 1998 * @return The iterator pointing to the last element 1999 * 2000 * Set the current element in the iterator to the last element. 2001 * The member rem is set to 0. The member data points to the 2002 * last element. 2003 */ 2004 xcb_generic_iterator_t xcb_randr_mode_info_end(xcb_randr_mode_info_iterator_t i /**< */ ); 2005 2006 int xcb_randr_get_screen_resources_sizeof(const void* _buffer /**< */ ); 2007 2008 /** 2009 * 2010 * @param c The connection 2011 * @return A cookie 2012 * 2013 * Delivers a request to the X server. 2014 * 2015 */ 2016 xcb_randr_get_screen_resources_cookie_t xcb_randr_get_screen_resources(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ ); 2017 2018 /** 2019 * 2020 * @param c The connection 2021 * @return A cookie 2022 * 2023 * Delivers a request to the X server. 2024 * 2025 * This form can be used only if the request will cause 2026 * a reply to be generated. Any returned error will be 2027 * placed in the event queue. 2028 */ 2029 xcb_randr_get_screen_resources_cookie_t xcb_randr_get_screen_resources_unchecked(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ ); 2030 2031 xcb_randr_crtc_t* xcb_randr_get_screen_resources_crtcs(const xcb_randr_get_screen_resources_reply_t* R /**< */ ); 2032 2033 int xcb_randr_get_screen_resources_crtcs_length(const xcb_randr_get_screen_resources_reply_t* R /**< */ ); 2034 2035 xcb_generic_iterator_t xcb_randr_get_screen_resources_crtcs_end(const xcb_randr_get_screen_resources_reply_t* R /**< */ ); 2036 2037 xcb_randr_output_t* xcb_randr_get_screen_resources_outputs(const xcb_randr_get_screen_resources_reply_t* R /**< */ ); 2038 2039 int xcb_randr_get_screen_resources_outputs_length(const xcb_randr_get_screen_resources_reply_t* R /**< */ ); 2040 2041 xcb_generic_iterator_t xcb_randr_get_screen_resources_outputs_end(const xcb_randr_get_screen_resources_reply_t* R /**< */ ); 2042 2043 xcb_randr_mode_info_t* xcb_randr_get_screen_resources_modes(const xcb_randr_get_screen_resources_reply_t* R /**< */ ); 2044 2045 int xcb_randr_get_screen_resources_modes_length(const xcb_randr_get_screen_resources_reply_t* R /**< */ ); 2046 2047 xcb_randr_mode_info_iterator_t xcb_randr_get_screen_resources_modes_iterator(const xcb_randr_get_screen_resources_reply_t* R /**< */ ); 2048 2049 ubyte* xcb_randr_get_screen_resources_names(const xcb_randr_get_screen_resources_reply_t* R /**< */ ); 2050 2051 int xcb_randr_get_screen_resources_names_length(const xcb_randr_get_screen_resources_reply_t* R /**< */ ); 2052 2053 xcb_generic_iterator_t xcb_randr_get_screen_resources_names_end(const xcb_randr_get_screen_resources_reply_t* R /**< */ ); 2054 2055 /** 2056 * Return the reply 2057 * @param c The connection 2058 * @param cookie The cookie 2059 * @param e The xcb_generic_error_t supplied 2060 * 2061 * Returns the reply of the request asked by 2062 * 2063 * The parameter @p e supplied to this function must be NULL if 2064 * xcb_randr_get_screen_resources_unchecked(). is used. 2065 * Otherwise, it stores the error if any. 2066 * 2067 * The returned value must be freed by the caller using free(). 2068 */ 2069 xcb_randr_get_screen_resources_reply_t* xcb_randr_get_screen_resources_reply(xcb_connection_t* c /**< */ , 2070 xcb_randr_get_screen_resources_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 2071 2072 int xcb_randr_get_output_info_sizeof(const void* _buffer /**< */ ); 2073 2074 /** 2075 * 2076 * @param c The connection 2077 * @return A cookie 2078 * 2079 * Delivers a request to the X server. 2080 * 2081 */ 2082 xcb_randr_get_output_info_cookie_t xcb_randr_get_output_info(xcb_connection_t* c /**< */ , xcb_randr_output_t output /**< */ , 2083 xcb_timestamp_t config_timestamp /**< */ ); 2084 2085 /** 2086 * 2087 * @param c The connection 2088 * @return A cookie 2089 * 2090 * Delivers a request to the X server. 2091 * 2092 * This form can be used only if the request will cause 2093 * a reply to be generated. Any returned error will be 2094 * placed in the event queue. 2095 */ 2096 xcb_randr_get_output_info_cookie_t xcb_randr_get_output_info_unchecked(xcb_connection_t* c /**< */ , xcb_randr_output_t output /**< */ , 2097 xcb_timestamp_t config_timestamp /**< */ ); 2098 2099 xcb_randr_crtc_t* xcb_randr_get_output_info_crtcs(const xcb_randr_get_output_info_reply_t* R /**< */ ); 2100 2101 int xcb_randr_get_output_info_crtcs_length(const xcb_randr_get_output_info_reply_t* R /**< */ ); 2102 2103 xcb_generic_iterator_t xcb_randr_get_output_info_crtcs_end(const xcb_randr_get_output_info_reply_t* R /**< */ ); 2104 2105 xcb_randr_mode_t* xcb_randr_get_output_info_modes(const xcb_randr_get_output_info_reply_t* R /**< */ ); 2106 2107 int xcb_randr_get_output_info_modes_length(const xcb_randr_get_output_info_reply_t* R /**< */ ); 2108 2109 xcb_generic_iterator_t xcb_randr_get_output_info_modes_end(const xcb_randr_get_output_info_reply_t* R /**< */ ); 2110 2111 xcb_randr_output_t* xcb_randr_get_output_info_clones(const xcb_randr_get_output_info_reply_t* R /**< */ ); 2112 2113 int xcb_randr_get_output_info_clones_length(const xcb_randr_get_output_info_reply_t* R /**< */ ); 2114 2115 xcb_generic_iterator_t xcb_randr_get_output_info_clones_end(const xcb_randr_get_output_info_reply_t* R /**< */ ); 2116 2117 ubyte* xcb_randr_get_output_info_name(const xcb_randr_get_output_info_reply_t* R /**< */ ); 2118 2119 int xcb_randr_get_output_info_name_length(const xcb_randr_get_output_info_reply_t* R /**< */ ); 2120 2121 xcb_generic_iterator_t xcb_randr_get_output_info_name_end(const xcb_randr_get_output_info_reply_t* R /**< */ ); 2122 2123 /** 2124 * Return the reply 2125 * @param c The connection 2126 * @param cookie The cookie 2127 * @param e The xcb_generic_error_t supplied 2128 * 2129 * Returns the reply of the request asked by 2130 * 2131 * The parameter @p e supplied to this function must be NULL if 2132 * xcb_randr_get_output_info_unchecked(). is used. 2133 * Otherwise, it stores the error if any. 2134 * 2135 * The returned value must be freed by the caller using free(). 2136 */ 2137 xcb_randr_get_output_info_reply_t* xcb_randr_get_output_info_reply(xcb_connection_t* c /**< */ , 2138 xcb_randr_get_output_info_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 2139 2140 int xcb_randr_list_output_properties_sizeof(const void* _buffer /**< */ ); 2141 2142 /** 2143 * 2144 * @param c The connection 2145 * @return A cookie 2146 * 2147 * Delivers a request to the X server. 2148 * 2149 */ 2150 xcb_randr_list_output_properties_cookie_t xcb_randr_list_output_properties(xcb_connection_t* c /**< */ , xcb_randr_output_t output /**< */ ); 2151 2152 /** 2153 * 2154 * @param c The connection 2155 * @return A cookie 2156 * 2157 * Delivers a request to the X server. 2158 * 2159 * This form can be used only if the request will cause 2160 * a reply to be generated. Any returned error will be 2161 * placed in the event queue. 2162 */ 2163 xcb_randr_list_output_properties_cookie_t xcb_randr_list_output_properties_unchecked(xcb_connection_t* c /**< */ , xcb_randr_output_t output /**< */ ); 2164 2165 xcb_atom_t* xcb_randr_list_output_properties_atoms(const xcb_randr_list_output_properties_reply_t* R /**< */ ); 2166 2167 int xcb_randr_list_output_properties_atoms_length(const xcb_randr_list_output_properties_reply_t* R /**< */ ); 2168 2169 xcb_generic_iterator_t xcb_randr_list_output_properties_atoms_end(const xcb_randr_list_output_properties_reply_t* R /**< */ ); 2170 2171 /** 2172 * Return the reply 2173 * @param c The connection 2174 * @param cookie The cookie 2175 * @param e The xcb_generic_error_t supplied 2176 * 2177 * Returns the reply of the request asked by 2178 * 2179 * The parameter @p e supplied to this function must be NULL if 2180 * xcb_randr_list_output_properties_unchecked(). is used. 2181 * Otherwise, it stores the error if any. 2182 * 2183 * The returned value must be freed by the caller using free(). 2184 */ 2185 xcb_randr_list_output_properties_reply_t* xcb_randr_list_output_properties_reply(xcb_connection_t* c /**< */ , 2186 xcb_randr_list_output_properties_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 2187 2188 int xcb_randr_query_output_property_sizeof(const void* _buffer /**< */ ); 2189 2190 /** 2191 * 2192 * @param c The connection 2193 * @return A cookie 2194 * 2195 * Delivers a request to the X server. 2196 * 2197 */ 2198 xcb_randr_query_output_property_cookie_t xcb_randr_query_output_property(xcb_connection_t* c /**< */ , 2199 xcb_randr_output_t output /**< */ , xcb_atom_t property /**< */ ); 2200 2201 /** 2202 * 2203 * @param c The connection 2204 * @return A cookie 2205 * 2206 * Delivers a request to the X server. 2207 * 2208 * This form can be used only if the request will cause 2209 * a reply to be generated. Any returned error will be 2210 * placed in the event queue. 2211 */ 2212 xcb_randr_query_output_property_cookie_t xcb_randr_query_output_property_unchecked(xcb_connection_t* c /**< */ , 2213 xcb_randr_output_t output /**< */ , xcb_atom_t property /**< */ ); 2214 2215 int* xcb_randr_query_output_property_valid_values(const xcb_randr_query_output_property_reply_t* R /**< */ ); 2216 2217 int xcb_randr_query_output_property_valid_values_length(const xcb_randr_query_output_property_reply_t* R /**< */ ); 2218 2219 xcb_generic_iterator_t xcb_randr_query_output_property_valid_values_end(const xcb_randr_query_output_property_reply_t* R /**< */ ); 2220 2221 /** 2222 * Return the reply 2223 * @param c The connection 2224 * @param cookie The cookie 2225 * @param e The xcb_generic_error_t supplied 2226 * 2227 * Returns the reply of the request asked by 2228 * 2229 * The parameter @p e supplied to this function must be NULL if 2230 * xcb_randr_query_output_property_unchecked(). is used. 2231 * Otherwise, it stores the error if any. 2232 * 2233 * The returned value must be freed by the caller using free(). 2234 */ 2235 xcb_randr_query_output_property_reply_t* xcb_randr_query_output_property_reply(xcb_connection_t* c /**< */ , 2236 xcb_randr_query_output_property_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 2237 2238 int xcb_randr_configure_output_property_sizeof(const void* _buffer /**< */ , uint values_len /**< */ ); 2239 2240 /** 2241 * 2242 * @param c The connection 2243 * @return A cookie 2244 * 2245 * Delivers a request to the X server. 2246 * 2247 * This form can be used only if the request will not cause 2248 * a reply to be generated. Any returned error will be 2249 * saved for handling by xcb_request_check(). 2250 */ 2251 xcb_void_cookie_t xcb_randr_configure_output_property_checked(xcb_connection_t* c /**< */ , xcb_randr_output_t output /**< */ , 2252 xcb_atom_t property /**< */ , ubyte pending /**< */ , ubyte range /**< */ , uint values_len /**< */ , const int* values /**< */ ); 2253 2254 /** 2255 * 2256 * @param c The connection 2257 * @return A cookie 2258 * 2259 * Delivers a request to the X server. 2260 * 2261 */ 2262 xcb_void_cookie_t xcb_randr_configure_output_property(xcb_connection_t* c /**< */ , xcb_randr_output_t output /**< */ , xcb_atom_t property /**< */ , 2263 ubyte pending /**< */ , ubyte range /**< */ , uint values_len /**< */ , const int* values /**< */ ); 2264 2265 int xcb_randr_change_output_property_sizeof(const void* _buffer /**< */ ); 2266 2267 /** 2268 * 2269 * @param c The connection 2270 * @return A cookie 2271 * 2272 * Delivers a request to the X server. 2273 * 2274 * This form can be used only if the request will not cause 2275 * a reply to be generated. Any returned error will be 2276 * saved for handling by xcb_request_check(). 2277 */ 2278 xcb_void_cookie_t xcb_randr_change_output_property_checked(xcb_connection_t* c /**< */ , xcb_randr_output_t output /**< */ , 2279 xcb_atom_t property /**< */ , xcb_atom_t type /**< */ , ubyte format /**< */ , ubyte mode /**< */ , uint num_units /**< */ , 2280 const void* data /**< */ ); 2281 2282 /** 2283 * 2284 * @param c The connection 2285 * @return A cookie 2286 * 2287 * Delivers a request to the X server. 2288 * 2289 */ 2290 xcb_void_cookie_t xcb_randr_change_output_property(xcb_connection_t* c /**< */ , xcb_randr_output_t output /**< */ , xcb_atom_t property /**< */ , 2291 xcb_atom_t type /**< */ , ubyte format /**< */ , ubyte mode /**< */ , uint num_units /**< */ , const void* data /**< */ ); 2292 2293 /** 2294 * 2295 * @param c The connection 2296 * @return A cookie 2297 * 2298 * Delivers a request to the X server. 2299 * 2300 * This form can be used only if the request will not cause 2301 * a reply to be generated. Any returned error will be 2302 * saved for handling by xcb_request_check(). 2303 */ 2304 xcb_void_cookie_t xcb_randr_delete_output_property_checked(xcb_connection_t* c /**< */ , xcb_randr_output_t output /**< */ , 2305 xcb_atom_t property /**< */ ); 2306 2307 /** 2308 * 2309 * @param c The connection 2310 * @return A cookie 2311 * 2312 * Delivers a request to the X server. 2313 * 2314 */ 2315 xcb_void_cookie_t xcb_randr_delete_output_property(xcb_connection_t* c /**< */ , xcb_randr_output_t output /**< */ , xcb_atom_t property /**< */ ); 2316 2317 int xcb_randr_get_output_property_sizeof(const void* _buffer /**< */ ); 2318 2319 /** 2320 * 2321 * @param c The connection 2322 * @return A cookie 2323 * 2324 * Delivers a request to the X server. 2325 * 2326 */ 2327 xcb_randr_get_output_property_cookie_t xcb_randr_get_output_property(xcb_connection_t* c /**< */ , xcb_randr_output_t output /**< */ , 2328 xcb_atom_t property /**< */ , xcb_atom_t type /**< */ , uint long_offset /**< */ , uint long_length /**< */ , ubyte delete_ /**< */ , 2329 ubyte pending /**< */ ); 2330 2331 /** 2332 * 2333 * @param c The connection 2334 * @return A cookie 2335 * 2336 * Delivers a request to the X server. 2337 * 2338 * This form can be used only if the request will cause 2339 * a reply to be generated. Any returned error will be 2340 * placed in the event queue. 2341 */ 2342 xcb_randr_get_output_property_cookie_t xcb_randr_get_output_property_unchecked(xcb_connection_t* c /**< */ , 2343 xcb_randr_output_t output /**< */ , xcb_atom_t property /**< */ , xcb_atom_t type /**< */ , uint long_offset /**< */ , uint long_length /**< */ , 2344 ubyte delete_ /**< */ , ubyte pending /**< */ ); 2345 2346 ubyte* xcb_randr_get_output_property_data(const xcb_randr_get_output_property_reply_t* R /**< */ ); 2347 2348 int xcb_randr_get_output_property_data_length(const xcb_randr_get_output_property_reply_t* R /**< */ ); 2349 2350 xcb_generic_iterator_t xcb_randr_get_output_property_data_end(const xcb_randr_get_output_property_reply_t* R /**< */ ); 2351 2352 /** 2353 * Return the reply 2354 * @param c The connection 2355 * @param cookie The cookie 2356 * @param e The xcb_generic_error_t supplied 2357 * 2358 * Returns the reply of the request asked by 2359 * 2360 * The parameter @p e supplied to this function must be NULL if 2361 * xcb_randr_get_output_property_unchecked(). is used. 2362 * Otherwise, it stores the error if any. 2363 * 2364 * The returned value must be freed by the caller using free(). 2365 */ 2366 xcb_randr_get_output_property_reply_t* xcb_randr_get_output_property_reply(xcb_connection_t* c /**< */ , 2367 xcb_randr_get_output_property_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 2368 2369 int xcb_randr_create_mode_sizeof(const void* _buffer /**< */ , uint name_len /**< */ ); 2370 2371 /** 2372 * 2373 * @param c The connection 2374 * @return A cookie 2375 * 2376 * Delivers a request to the X server. 2377 * 2378 */ 2379 xcb_randr_create_mode_cookie_t xcb_randr_create_mode(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ , 2380 xcb_randr_mode_info_t mode_info /**< */ , uint name_len /**< */ , const char* name /**< */ ); 2381 2382 /** 2383 * 2384 * @param c The connection 2385 * @return A cookie 2386 * 2387 * Delivers a request to the X server. 2388 * 2389 * This form can be used only if the request will cause 2390 * a reply to be generated. Any returned error will be 2391 * placed in the event queue. 2392 */ 2393 xcb_randr_create_mode_cookie_t xcb_randr_create_mode_unchecked(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ , 2394 xcb_randr_mode_info_t mode_info /**< */ , uint name_len /**< */ , const char* name /**< */ ); 2395 2396 /** 2397 * Return the reply 2398 * @param c The connection 2399 * @param cookie The cookie 2400 * @param e The xcb_generic_error_t supplied 2401 * 2402 * Returns the reply of the request asked by 2403 * 2404 * The parameter @p e supplied to this function must be NULL if 2405 * xcb_randr_create_mode_unchecked(). is used. 2406 * Otherwise, it stores the error if any. 2407 * 2408 * The returned value must be freed by the caller using free(). 2409 */ 2410 xcb_randr_create_mode_reply_t* xcb_randr_create_mode_reply(xcb_connection_t* c /**< */ , 2411 xcb_randr_create_mode_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 2412 2413 /** 2414 * 2415 * @param c The connection 2416 * @return A cookie 2417 * 2418 * Delivers a request to the X server. 2419 * 2420 * This form can be used only if the request will not cause 2421 * a reply to be generated. Any returned error will be 2422 * saved for handling by xcb_request_check(). 2423 */ 2424 xcb_void_cookie_t xcb_randr_destroy_mode_checked(xcb_connection_t* c /**< */ , xcb_randr_mode_t mode /**< */ ); 2425 2426 /** 2427 * 2428 * @param c The connection 2429 * @return A cookie 2430 * 2431 * Delivers a request to the X server. 2432 * 2433 */ 2434 xcb_void_cookie_t xcb_randr_destroy_mode(xcb_connection_t* c /**< */ , xcb_randr_mode_t mode /**< */ ); 2435 2436 /** 2437 * 2438 * @param c The connection 2439 * @return A cookie 2440 * 2441 * Delivers a request to the X server. 2442 * 2443 * This form can be used only if the request will not cause 2444 * a reply to be generated. Any returned error will be 2445 * saved for handling by xcb_request_check(). 2446 */ 2447 xcb_void_cookie_t xcb_randr_add_output_mode_checked(xcb_connection_t* c /**< */ , xcb_randr_output_t output /**< */ , xcb_randr_mode_t mode /**< */ ); 2448 2449 /** 2450 * 2451 * @param c The connection 2452 * @return A cookie 2453 * 2454 * Delivers a request to the X server. 2455 * 2456 */ 2457 xcb_void_cookie_t xcb_randr_add_output_mode(xcb_connection_t* c /**< */ , xcb_randr_output_t output /**< */ , xcb_randr_mode_t mode /**< */ ); 2458 2459 /** 2460 * 2461 * @param c The connection 2462 * @return A cookie 2463 * 2464 * Delivers a request to the X server. 2465 * 2466 * This form can be used only if the request will not cause 2467 * a reply to be generated. Any returned error will be 2468 * saved for handling by xcb_request_check(). 2469 */ 2470 xcb_void_cookie_t xcb_randr_delete_output_mode_checked(xcb_connection_t* c /**< */ , xcb_randr_output_t output /**< */ , 2471 xcb_randr_mode_t mode /**< */ ); 2472 2473 /** 2474 * 2475 * @param c The connection 2476 * @return A cookie 2477 * 2478 * Delivers a request to the X server. 2479 * 2480 */ 2481 xcb_void_cookie_t xcb_randr_delete_output_mode(xcb_connection_t* c /**< */ , xcb_randr_output_t output /**< */ , xcb_randr_mode_t mode /**< */ ); 2482 2483 int xcb_randr_get_crtc_info_sizeof(const void* _buffer /**< */ ); 2484 2485 /** 2486 * 2487 * @param c The connection 2488 * @return A cookie 2489 * 2490 * Delivers a request to the X server. 2491 * 2492 */ 2493 xcb_randr_get_crtc_info_cookie_t xcb_randr_get_crtc_info(xcb_connection_t* c /**< */ , xcb_randr_crtc_t crtc /**< */ , 2494 xcb_timestamp_t config_timestamp /**< */ ); 2495 2496 /** 2497 * 2498 * @param c The connection 2499 * @return A cookie 2500 * 2501 * Delivers a request to the X server. 2502 * 2503 * This form can be used only if the request will cause 2504 * a reply to be generated. Any returned error will be 2505 * placed in the event queue. 2506 */ 2507 xcb_randr_get_crtc_info_cookie_t xcb_randr_get_crtc_info_unchecked(xcb_connection_t* c /**< */ , xcb_randr_crtc_t crtc /**< */ , 2508 xcb_timestamp_t config_timestamp /**< */ ); 2509 2510 xcb_randr_output_t* xcb_randr_get_crtc_info_outputs(const xcb_randr_get_crtc_info_reply_t* R /**< */ ); 2511 2512 int xcb_randr_get_crtc_info_outputs_length(const xcb_randr_get_crtc_info_reply_t* R /**< */ ); 2513 2514 xcb_generic_iterator_t xcb_randr_get_crtc_info_outputs_end(const xcb_randr_get_crtc_info_reply_t* R /**< */ ); 2515 2516 xcb_randr_output_t* xcb_randr_get_crtc_info_possible(const xcb_randr_get_crtc_info_reply_t* R /**< */ ); 2517 2518 int xcb_randr_get_crtc_info_possible_length(const xcb_randr_get_crtc_info_reply_t* R /**< */ ); 2519 2520 xcb_generic_iterator_t xcb_randr_get_crtc_info_possible_end(const xcb_randr_get_crtc_info_reply_t* R /**< */ ); 2521 2522 /** 2523 * Return the reply 2524 * @param c The connection 2525 * @param cookie The cookie 2526 * @param e The xcb_generic_error_t supplied 2527 * 2528 * Returns the reply of the request asked by 2529 * 2530 * The parameter @p e supplied to this function must be NULL if 2531 * xcb_randr_get_crtc_info_unchecked(). is used. 2532 * Otherwise, it stores the error if any. 2533 * 2534 * The returned value must be freed by the caller using free(). 2535 */ 2536 xcb_randr_get_crtc_info_reply_t* xcb_randr_get_crtc_info_reply(xcb_connection_t* c /**< */ , 2537 xcb_randr_get_crtc_info_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 2538 2539 int xcb_randr_set_crtc_config_sizeof(const void* _buffer /**< */ , uint outputs_len /**< */ ); 2540 2541 /** 2542 * 2543 * @param c The connection 2544 * @return A cookie 2545 * 2546 * Delivers a request to the X server. 2547 * 2548 */ 2549 xcb_randr_set_crtc_config_cookie_t xcb_randr_set_crtc_config(xcb_connection_t* c /**< */ , xcb_randr_crtc_t crtc /**< */ , 2550 xcb_timestamp_t timestamp /**< */ , xcb_timestamp_t config_timestamp /**< */ , short x /**< */ , short y /**< */ , xcb_randr_mode_t mode /**< */ , 2551 ushort rotation /**< */ , uint outputs_len /**< */ , const xcb_randr_output_t* outputs /**< */ ); 2552 2553 /** 2554 * 2555 * @param c The connection 2556 * @return A cookie 2557 * 2558 * Delivers a request to the X server. 2559 * 2560 * This form can be used only if the request will cause 2561 * a reply to be generated. Any returned error will be 2562 * placed in the event queue. 2563 */ 2564 xcb_randr_set_crtc_config_cookie_t xcb_randr_set_crtc_config_unchecked(xcb_connection_t* c /**< */ , xcb_randr_crtc_t crtc /**< */ , 2565 xcb_timestamp_t timestamp /**< */ , xcb_timestamp_t config_timestamp /**< */ , short x /**< */ , short y /**< */ , xcb_randr_mode_t mode /**< */ , 2566 ushort rotation /**< */ , uint outputs_len /**< */ , const xcb_randr_output_t* outputs /**< */ ); 2567 2568 /** 2569 * Return the reply 2570 * @param c The connection 2571 * @param cookie The cookie 2572 * @param e The xcb_generic_error_t supplied 2573 * 2574 * Returns the reply of the request asked by 2575 * 2576 * The parameter @p e supplied to this function must be NULL if 2577 * xcb_randr_set_crtc_config_unchecked(). is used. 2578 * Otherwise, it stores the error if any. 2579 * 2580 * The returned value must be freed by the caller using free(). 2581 */ 2582 xcb_randr_set_crtc_config_reply_t* xcb_randr_set_crtc_config_reply(xcb_connection_t* c /**< */ , 2583 xcb_randr_set_crtc_config_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 2584 2585 /** 2586 * 2587 * @param c The connection 2588 * @return A cookie 2589 * 2590 * Delivers a request to the X server. 2591 * 2592 */ 2593 xcb_randr_get_crtc_gamma_size_cookie_t xcb_randr_get_crtc_gamma_size(xcb_connection_t* c /**< */ , xcb_randr_crtc_t crtc /**< */ ); 2594 2595 /** 2596 * 2597 * @param c The connection 2598 * @return A cookie 2599 * 2600 * Delivers a request to the X server. 2601 * 2602 * This form can be used only if the request will cause 2603 * a reply to be generated. Any returned error will be 2604 * placed in the event queue. 2605 */ 2606 xcb_randr_get_crtc_gamma_size_cookie_t xcb_randr_get_crtc_gamma_size_unchecked(xcb_connection_t* c /**< */ , xcb_randr_crtc_t crtc /**< */ ); 2607 2608 /** 2609 * Return the reply 2610 * @param c The connection 2611 * @param cookie The cookie 2612 * @param e The xcb_generic_error_t supplied 2613 * 2614 * Returns the reply of the request asked by 2615 * 2616 * The parameter @p e supplied to this function must be NULL if 2617 * xcb_randr_get_crtc_gamma_size_unchecked(). is used. 2618 * Otherwise, it stores the error if any. 2619 * 2620 * The returned value must be freed by the caller using free(). 2621 */ 2622 xcb_randr_get_crtc_gamma_size_reply_t* xcb_randr_get_crtc_gamma_size_reply(xcb_connection_t* c /**< */ , 2623 xcb_randr_get_crtc_gamma_size_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 2624 2625 int xcb_randr_get_crtc_gamma_sizeof(const void* _buffer /**< */ ); 2626 2627 /** 2628 * 2629 * @param c The connection 2630 * @return A cookie 2631 * 2632 * Delivers a request to the X server. 2633 * 2634 */ 2635 xcb_randr_get_crtc_gamma_cookie_t xcb_randr_get_crtc_gamma(xcb_connection_t* c /**< */ , xcb_randr_crtc_t crtc /**< */ ); 2636 2637 /** 2638 * 2639 * @param c The connection 2640 * @return A cookie 2641 * 2642 * Delivers a request to the X server. 2643 * 2644 * This form can be used only if the request will cause 2645 * a reply to be generated. Any returned error will be 2646 * placed in the event queue. 2647 */ 2648 xcb_randr_get_crtc_gamma_cookie_t xcb_randr_get_crtc_gamma_unchecked(xcb_connection_t* c /**< */ , xcb_randr_crtc_t crtc /**< */ ); 2649 2650 ushort* xcb_randr_get_crtc_gamma_red(const xcb_randr_get_crtc_gamma_reply_t* R /**< */ ); 2651 2652 int xcb_randr_get_crtc_gamma_red_length(const xcb_randr_get_crtc_gamma_reply_t* R /**< */ ); 2653 2654 xcb_generic_iterator_t xcb_randr_get_crtc_gamma_red_end(const xcb_randr_get_crtc_gamma_reply_t* R /**< */ ); 2655 2656 ushort* xcb_randr_get_crtc_gamma_green(const xcb_randr_get_crtc_gamma_reply_t* R /**< */ ); 2657 2658 int xcb_randr_get_crtc_gamma_green_length(const xcb_randr_get_crtc_gamma_reply_t* R /**< */ ); 2659 2660 xcb_generic_iterator_t xcb_randr_get_crtc_gamma_green_end(const xcb_randr_get_crtc_gamma_reply_t* R /**< */ ); 2661 2662 ushort* xcb_randr_get_crtc_gamma_blue(const xcb_randr_get_crtc_gamma_reply_t* R /**< */ ); 2663 2664 int xcb_randr_get_crtc_gamma_blue_length(const xcb_randr_get_crtc_gamma_reply_t* R /**< */ ); 2665 2666 xcb_generic_iterator_t xcb_randr_get_crtc_gamma_blue_end(const xcb_randr_get_crtc_gamma_reply_t* R /**< */ ); 2667 2668 /** 2669 * Return the reply 2670 * @param c The connection 2671 * @param cookie The cookie 2672 * @param e The xcb_generic_error_t supplied 2673 * 2674 * Returns the reply of the request asked by 2675 * 2676 * The parameter @p e supplied to this function must be NULL if 2677 * xcb_randr_get_crtc_gamma_unchecked(). is used. 2678 * Otherwise, it stores the error if any. 2679 * 2680 * The returned value must be freed by the caller using free(). 2681 */ 2682 xcb_randr_get_crtc_gamma_reply_t* xcb_randr_get_crtc_gamma_reply(xcb_connection_t* c /**< */ , 2683 xcb_randr_get_crtc_gamma_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 2684 2685 int xcb_randr_set_crtc_gamma_sizeof(const void* _buffer /**< */ ); 2686 2687 /** 2688 * 2689 * @param c The connection 2690 * @return A cookie 2691 * 2692 * Delivers a request to the X server. 2693 * 2694 * This form can be used only if the request will not cause 2695 * a reply to be generated. Any returned error will be 2696 * saved for handling by xcb_request_check(). 2697 */ 2698 xcb_void_cookie_t xcb_randr_set_crtc_gamma_checked(xcb_connection_t* c /**< */ , xcb_randr_crtc_t crtc /**< */ , ushort size /**< */ , const ushort* red /**< */ , 2699 const ushort* green /**< */ , const ushort* blue /**< */ ); 2700 2701 /** 2702 * 2703 * @param c The connection 2704 * @return A cookie 2705 * 2706 * Delivers a request to the X server. 2707 * 2708 */ 2709 xcb_void_cookie_t xcb_randr_set_crtc_gamma(xcb_connection_t* c /**< */ , xcb_randr_crtc_t crtc /**< */ , ushort size /**< */ , const ushort* red /**< */ , 2710 const ushort* green /**< */ , const ushort* blue /**< */ ); 2711 2712 int xcb_randr_get_screen_resources_current_sizeof(const void* _buffer /**< */ ); 2713 2714 /** 2715 * 2716 * @param c The connection 2717 * @return A cookie 2718 * 2719 * Delivers a request to the X server. 2720 * 2721 */ 2722 xcb_randr_get_screen_resources_current_cookie_t xcb_randr_get_screen_resources_current(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ ); 2723 2724 /** 2725 * 2726 * @param c The connection 2727 * @return A cookie 2728 * 2729 * Delivers a request to the X server. 2730 * 2731 * This form can be used only if the request will cause 2732 * a reply to be generated. Any returned error will be 2733 * placed in the event queue. 2734 */ 2735 xcb_randr_get_screen_resources_current_cookie_t xcb_randr_get_screen_resources_current_unchecked(xcb_connection_t* c /**< */ , 2736 xcb_window_t window /**< */ ); 2737 2738 xcb_randr_crtc_t* xcb_randr_get_screen_resources_current_crtcs(const xcb_randr_get_screen_resources_current_reply_t* R /**< */ ); 2739 2740 int xcb_randr_get_screen_resources_current_crtcs_length(const xcb_randr_get_screen_resources_current_reply_t* R /**< */ ); 2741 2742 xcb_generic_iterator_t xcb_randr_get_screen_resources_current_crtcs_end(const xcb_randr_get_screen_resources_current_reply_t* R /**< */ ); 2743 2744 xcb_randr_output_t* xcb_randr_get_screen_resources_current_outputs(const xcb_randr_get_screen_resources_current_reply_t* R /**< */ ); 2745 2746 int xcb_randr_get_screen_resources_current_outputs_length(const xcb_randr_get_screen_resources_current_reply_t* R /**< */ ); 2747 2748 xcb_generic_iterator_t xcb_randr_get_screen_resources_current_outputs_end(const xcb_randr_get_screen_resources_current_reply_t* R /**< */ ); 2749 2750 xcb_randr_mode_info_t* xcb_randr_get_screen_resources_current_modes(const xcb_randr_get_screen_resources_current_reply_t* R /**< */ ); 2751 2752 int xcb_randr_get_screen_resources_current_modes_length(const xcb_randr_get_screen_resources_current_reply_t* R /**< */ ); 2753 2754 xcb_randr_mode_info_iterator_t xcb_randr_get_screen_resources_current_modes_iterator(const xcb_randr_get_screen_resources_current_reply_t* R /**< */ ); 2755 2756 ubyte* xcb_randr_get_screen_resources_current_names(const xcb_randr_get_screen_resources_current_reply_t* R /**< */ ); 2757 2758 int xcb_randr_get_screen_resources_current_names_length(const xcb_randr_get_screen_resources_current_reply_t* R /**< */ ); 2759 2760 xcb_generic_iterator_t xcb_randr_get_screen_resources_current_names_end(const xcb_randr_get_screen_resources_current_reply_t* R /**< */ ); 2761 2762 /** 2763 * Return the reply 2764 * @param c The connection 2765 * @param cookie The cookie 2766 * @param e The xcb_generic_error_t supplied 2767 * 2768 * Returns the reply of the request asked by 2769 * 2770 * The parameter @p e supplied to this function must be NULL if 2771 * xcb_randr_get_screen_resources_current_unchecked(). is used. 2772 * Otherwise, it stores the error if any. 2773 * 2774 * The returned value must be freed by the caller using free(). 2775 */ 2776 xcb_randr_get_screen_resources_current_reply_t* xcb_randr_get_screen_resources_current_reply(xcb_connection_t* c /**< */ , 2777 xcb_randr_get_screen_resources_current_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 2778 2779 int xcb_randr_set_crtc_transform_sizeof(const void* _buffer /**< */ , uint filter_params_len /**< */ ); 2780 2781 /** 2782 * 2783 * @param c The connection 2784 * @return A cookie 2785 * 2786 * Delivers a request to the X server. 2787 * 2788 * This form can be used only if the request will not cause 2789 * a reply to be generated. Any returned error will be 2790 * saved for handling by xcb_request_check(). 2791 */ 2792 xcb_void_cookie_t xcb_randr_set_crtc_transform_checked(xcb_connection_t* c /**< */ , xcb_randr_crtc_t crtc /**< */ , 2793 xcb_render_transform_t transform /**< */ , ushort filter_len /**< */ , const char* filter_name /**< */ , uint filter_params_len /**< */ , 2794 const xcb_render_fixed_t* filter_params /**< */ ); 2795 2796 /** 2797 * 2798 * @param c The connection 2799 * @return A cookie 2800 * 2801 * Delivers a request to the X server. 2802 * 2803 */ 2804 xcb_void_cookie_t xcb_randr_set_crtc_transform(xcb_connection_t* c /**< */ , xcb_randr_crtc_t crtc /**< */ , xcb_render_transform_t transform /**< */ , 2805 ushort filter_len /**< */ , const char* filter_name /**< */ , uint filter_params_len /**< */ , const xcb_render_fixed_t* filter_params /**< */ ); 2806 2807 int xcb_randr_get_crtc_transform_sizeof(const void* _buffer /**< */ ); 2808 2809 /** 2810 * 2811 * @param c The connection 2812 * @return A cookie 2813 * 2814 * Delivers a request to the X server. 2815 * 2816 */ 2817 xcb_randr_get_crtc_transform_cookie_t xcb_randr_get_crtc_transform(xcb_connection_t* c /**< */ , xcb_randr_crtc_t crtc /**< */ ); 2818 2819 /** 2820 * 2821 * @param c The connection 2822 * @return A cookie 2823 * 2824 * Delivers a request to the X server. 2825 * 2826 * This form can be used only if the request will cause 2827 * a reply to be generated. Any returned error will be 2828 * placed in the event queue. 2829 */ 2830 xcb_randr_get_crtc_transform_cookie_t xcb_randr_get_crtc_transform_unchecked(xcb_connection_t* c /**< */ , xcb_randr_crtc_t crtc /**< */ ); 2831 2832 char* xcb_randr_get_crtc_transform_pending_filter_name(const xcb_randr_get_crtc_transform_reply_t* R /**< */ ); 2833 2834 int xcb_randr_get_crtc_transform_pending_filter_name_length(const xcb_randr_get_crtc_transform_reply_t* R /**< */ ); 2835 2836 xcb_generic_iterator_t xcb_randr_get_crtc_transform_pending_filter_name_end(const xcb_randr_get_crtc_transform_reply_t* R /**< */ ); 2837 2838 xcb_render_fixed_t* xcb_randr_get_crtc_transform_pending_params(const xcb_randr_get_crtc_transform_reply_t* R /**< */ ); 2839 2840 int xcb_randr_get_crtc_transform_pending_params_length(const xcb_randr_get_crtc_transform_reply_t* R /**< */ ); 2841 2842 xcb_generic_iterator_t xcb_randr_get_crtc_transform_pending_params_end(const xcb_randr_get_crtc_transform_reply_t* R /**< */ ); 2843 2844 char* xcb_randr_get_crtc_transform_current_filter_name(const xcb_randr_get_crtc_transform_reply_t* R /**< */ ); 2845 2846 int xcb_randr_get_crtc_transform_current_filter_name_length(const xcb_randr_get_crtc_transform_reply_t* R /**< */ ); 2847 2848 xcb_generic_iterator_t xcb_randr_get_crtc_transform_current_filter_name_end(const xcb_randr_get_crtc_transform_reply_t* R /**< */ ); 2849 2850 xcb_render_fixed_t* xcb_randr_get_crtc_transform_current_params(const xcb_randr_get_crtc_transform_reply_t* R /**< */ ); 2851 2852 int xcb_randr_get_crtc_transform_current_params_length(const xcb_randr_get_crtc_transform_reply_t* R /**< */ ); 2853 2854 xcb_generic_iterator_t xcb_randr_get_crtc_transform_current_params_end(const xcb_randr_get_crtc_transform_reply_t* R /**< */ ); 2855 2856 /** 2857 * Return the reply 2858 * @param c The connection 2859 * @param cookie The cookie 2860 * @param e The xcb_generic_error_t supplied 2861 * 2862 * Returns the reply of the request asked by 2863 * 2864 * The parameter @p e supplied to this function must be NULL if 2865 * xcb_randr_get_crtc_transform_unchecked(). is used. 2866 * Otherwise, it stores the error if any. 2867 * 2868 * The returned value must be freed by the caller using free(). 2869 */ 2870 xcb_randr_get_crtc_transform_reply_t* xcb_randr_get_crtc_transform_reply(xcb_connection_t* c /**< */ , 2871 xcb_randr_get_crtc_transform_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 2872 2873 /** 2874 * 2875 * @param c The connection 2876 * @return A cookie 2877 * 2878 * Delivers a request to the X server. 2879 * 2880 */ 2881 xcb_randr_get_panning_cookie_t xcb_randr_get_panning(xcb_connection_t* c /**< */ , xcb_randr_crtc_t crtc /**< */ ); 2882 2883 /** 2884 * 2885 * @param c The connection 2886 * @return A cookie 2887 * 2888 * Delivers a request to the X server. 2889 * 2890 * This form can be used only if the request will cause 2891 * a reply to be generated. Any returned error will be 2892 * placed in the event queue. 2893 */ 2894 xcb_randr_get_panning_cookie_t xcb_randr_get_panning_unchecked(xcb_connection_t* c /**< */ , xcb_randr_crtc_t crtc /**< */ ); 2895 2896 /** 2897 * Return the reply 2898 * @param c The connection 2899 * @param cookie The cookie 2900 * @param e The xcb_generic_error_t supplied 2901 * 2902 * Returns the reply of the request asked by 2903 * 2904 * The parameter @p e supplied to this function must be NULL if 2905 * xcb_randr_get_panning_unchecked(). is used. 2906 * Otherwise, it stores the error if any. 2907 * 2908 * The returned value must be freed by the caller using free(). 2909 */ 2910 xcb_randr_get_panning_reply_t* xcb_randr_get_panning_reply(xcb_connection_t* c /**< */ , 2911 xcb_randr_get_panning_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 2912 2913 /** 2914 * 2915 * @param c The connection 2916 * @return A cookie 2917 * 2918 * Delivers a request to the X server. 2919 * 2920 */ 2921 xcb_randr_set_panning_cookie_t xcb_randr_set_panning(xcb_connection_t* c /**< */ , xcb_randr_crtc_t crtc /**< */ , xcb_timestamp_t timestamp /**< */ , 2922 ushort left /**< */ , ushort top /**< */ , ushort width /**< */ , ushort height /**< */ , ushort track_left /**< */ , ushort track_top /**< */ , ushort track_width /**< */ , 2923 ushort track_height /**< */ , short border_left /**< */ , short border_top /**< */ , short border_right /**< */ , short border_bottom /**< */ ); 2924 2925 /** 2926 * 2927 * @param c The connection 2928 * @return A cookie 2929 * 2930 * Delivers a request to the X server. 2931 * 2932 * This form can be used only if the request will cause 2933 * a reply to be generated. Any returned error will be 2934 * placed in the event queue. 2935 */ 2936 xcb_randr_set_panning_cookie_t xcb_randr_set_panning_unchecked(xcb_connection_t* c /**< */ , xcb_randr_crtc_t crtc /**< */ , 2937 xcb_timestamp_t timestamp /**< */ , ushort left /**< */ , ushort top /**< */ , ushort width /**< */ , ushort height /**< */ , ushort track_left /**< */ , ushort track_top /**< */ , 2938 ushort track_width /**< */ , ushort track_height /**< */ , short border_left /**< */ , short border_top /**< */ , 2939 short border_right /**< */ , short border_bottom /**< */ ); 2940 2941 /** 2942 * Return the reply 2943 * @param c The connection 2944 * @param cookie The cookie 2945 * @param e The xcb_generic_error_t supplied 2946 * 2947 * Returns the reply of the request asked by 2948 * 2949 * The parameter @p e supplied to this function must be NULL if 2950 * xcb_randr_set_panning_unchecked(). is used. 2951 * Otherwise, it stores the error if any. 2952 * 2953 * The returned value must be freed by the caller using free(). 2954 */ 2955 xcb_randr_set_panning_reply_t* xcb_randr_set_panning_reply(xcb_connection_t* c /**< */ , 2956 xcb_randr_set_panning_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 2957 2958 /** 2959 * 2960 * @param c The connection 2961 * @return A cookie 2962 * 2963 * Delivers a request to the X server. 2964 * 2965 * This form can be used only if the request will not cause 2966 * a reply to be generated. Any returned error will be 2967 * saved for handling by xcb_request_check(). 2968 */ 2969 xcb_void_cookie_t xcb_randr_set_output_primary_checked(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ , xcb_randr_output_t output /**< */ ); 2970 2971 /** 2972 * 2973 * @param c The connection 2974 * @return A cookie 2975 * 2976 * Delivers a request to the X server. 2977 * 2978 */ 2979 xcb_void_cookie_t xcb_randr_set_output_primary(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ , xcb_randr_output_t output /**< */ ); 2980 2981 /** 2982 * 2983 * @param c The connection 2984 * @return A cookie 2985 * 2986 * Delivers a request to the X server. 2987 * 2988 */ 2989 xcb_randr_get_output_primary_cookie_t xcb_randr_get_output_primary(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ ); 2990 2991 /** 2992 * 2993 * @param c The connection 2994 * @return A cookie 2995 * 2996 * Delivers a request to the X server. 2997 * 2998 * This form can be used only if the request will cause 2999 * a reply to be generated. Any returned error will be 3000 * placed in the event queue. 3001 */ 3002 xcb_randr_get_output_primary_cookie_t xcb_randr_get_output_primary_unchecked(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ ); 3003 3004 /** 3005 * Return the reply 3006 * @param c The connection 3007 * @param cookie The cookie 3008 * @param e The xcb_generic_error_t supplied 3009 * 3010 * Returns the reply of the request asked by 3011 * 3012 * The parameter @p e supplied to this function must be NULL if 3013 * xcb_randr_get_output_primary_unchecked(). is used. 3014 * Otherwise, it stores the error if any. 3015 * 3016 * The returned value must be freed by the caller using free(). 3017 */ 3018 xcb_randr_get_output_primary_reply_t* xcb_randr_get_output_primary_reply(xcb_connection_t* c /**< */ , 3019 xcb_randr_get_output_primary_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 3020 3021 int xcb_randr_get_providers_sizeof(const void* _buffer /**< */ ); 3022 3023 /** 3024 * 3025 * @param c The connection 3026 * @return A cookie 3027 * 3028 * Delivers a request to the X server. 3029 * 3030 */ 3031 xcb_randr_get_providers_cookie_t xcb_randr_get_providers(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ ); 3032 3033 /** 3034 * 3035 * @param c The connection 3036 * @return A cookie 3037 * 3038 * Delivers a request to the X server. 3039 * 3040 * This form can be used only if the request will cause 3041 * a reply to be generated. Any returned error will be 3042 * placed in the event queue. 3043 */ 3044 xcb_randr_get_providers_cookie_t xcb_randr_get_providers_unchecked(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ ); 3045 3046 xcb_randr_provider_t* xcb_randr_get_providers_providers(const xcb_randr_get_providers_reply_t* R /**< */ ); 3047 3048 int xcb_randr_get_providers_providers_length(const xcb_randr_get_providers_reply_t* R /**< */ ); 3049 3050 xcb_generic_iterator_t xcb_randr_get_providers_providers_end(const xcb_randr_get_providers_reply_t* R /**< */ ); 3051 3052 /** 3053 * Return the reply 3054 * @param c The connection 3055 * @param cookie The cookie 3056 * @param e The xcb_generic_error_t supplied 3057 * 3058 * Returns the reply of the request asked by 3059 * 3060 * The parameter @p e supplied to this function must be NULL if 3061 * xcb_randr_get_providers_unchecked(). is used. 3062 * Otherwise, it stores the error if any. 3063 * 3064 * The returned value must be freed by the caller using free(). 3065 */ 3066 xcb_randr_get_providers_reply_t* xcb_randr_get_providers_reply(xcb_connection_t* c /**< */ , 3067 xcb_randr_get_providers_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 3068 3069 int xcb_randr_get_provider_info_sizeof(const void* _buffer /**< */ ); 3070 3071 /** 3072 * 3073 * @param c The connection 3074 * @return A cookie 3075 * 3076 * Delivers a request to the X server. 3077 * 3078 */ 3079 xcb_randr_get_provider_info_cookie_t xcb_randr_get_provider_info(xcb_connection_t* c /**< */ , xcb_randr_provider_t provider /**< */ , 3080 xcb_timestamp_t config_timestamp /**< */ ); 3081 3082 /** 3083 * 3084 * @param c The connection 3085 * @return A cookie 3086 * 3087 * Delivers a request to the X server. 3088 * 3089 * This form can be used only if the request will cause 3090 * a reply to be generated. Any returned error will be 3091 * placed in the event queue. 3092 */ 3093 xcb_randr_get_provider_info_cookie_t xcb_randr_get_provider_info_unchecked(xcb_connection_t* c /**< */ , 3094 xcb_randr_provider_t provider /**< */ , xcb_timestamp_t config_timestamp /**< */ ); 3095 3096 xcb_randr_crtc_t* xcb_randr_get_provider_info_crtcs(const xcb_randr_get_provider_info_reply_t* R /**< */ ); 3097 3098 int xcb_randr_get_provider_info_crtcs_length(const xcb_randr_get_provider_info_reply_t* R /**< */ ); 3099 3100 xcb_generic_iterator_t xcb_randr_get_provider_info_crtcs_end(const xcb_randr_get_provider_info_reply_t* R /**< */ ); 3101 3102 xcb_randr_output_t* xcb_randr_get_provider_info_outputs(const xcb_randr_get_provider_info_reply_t* R /**< */ ); 3103 3104 int xcb_randr_get_provider_info_outputs_length(const xcb_randr_get_provider_info_reply_t* R /**< */ ); 3105 3106 xcb_generic_iterator_t xcb_randr_get_provider_info_outputs_end(const xcb_randr_get_provider_info_reply_t* R /**< */ ); 3107 3108 xcb_randr_provider_t* xcb_randr_get_provider_info_associated_providers(const xcb_randr_get_provider_info_reply_t* R /**< */ ); 3109 3110 int xcb_randr_get_provider_info_associated_providers_length(const xcb_randr_get_provider_info_reply_t* R /**< */ ); 3111 3112 xcb_generic_iterator_t xcb_randr_get_provider_info_associated_providers_end(const xcb_randr_get_provider_info_reply_t* R /**< */ ); 3113 3114 uint* xcb_randr_get_provider_info_associated_capability(const xcb_randr_get_provider_info_reply_t* R /**< */ ); 3115 3116 int xcb_randr_get_provider_info_associated_capability_length(const xcb_randr_get_provider_info_reply_t* R /**< */ ); 3117 3118 xcb_generic_iterator_t xcb_randr_get_provider_info_associated_capability_end(const xcb_randr_get_provider_info_reply_t* R /**< */ ); 3119 3120 char* xcb_randr_get_provider_info_name(const xcb_randr_get_provider_info_reply_t* R /**< */ ); 3121 3122 int xcb_randr_get_provider_info_name_length(const xcb_randr_get_provider_info_reply_t* R /**< */ ); 3123 3124 xcb_generic_iterator_t xcb_randr_get_provider_info_name_end(const xcb_randr_get_provider_info_reply_t* R /**< */ ); 3125 3126 /** 3127 * Return the reply 3128 * @param c The connection 3129 * @param cookie The cookie 3130 * @param e The xcb_generic_error_t supplied 3131 * 3132 * Returns the reply of the request asked by 3133 * 3134 * The parameter @p e supplied to this function must be NULL if 3135 * xcb_randr_get_provider_info_unchecked(). is used. 3136 * Otherwise, it stores the error if any. 3137 * 3138 * The returned value must be freed by the caller using free(). 3139 */ 3140 xcb_randr_get_provider_info_reply_t* xcb_randr_get_provider_info_reply(xcb_connection_t* c /**< */ , 3141 xcb_randr_get_provider_info_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 3142 3143 /** 3144 * 3145 * @param c The connection 3146 * @return A cookie 3147 * 3148 * Delivers a request to the X server. 3149 * 3150 * This form can be used only if the request will not cause 3151 * a reply to be generated. Any returned error will be 3152 * saved for handling by xcb_request_check(). 3153 */ 3154 xcb_void_cookie_t xcb_randr_set_provider_offload_sink_checked(xcb_connection_t* c /**< */ , xcb_randr_provider_t provider /**< */ , 3155 xcb_randr_provider_t sink_provider /**< */ , xcb_timestamp_t config_timestamp /**< */ ); 3156 3157 /** 3158 * 3159 * @param c The connection 3160 * @return A cookie 3161 * 3162 * Delivers a request to the X server. 3163 * 3164 */ 3165 xcb_void_cookie_t xcb_randr_set_provider_offload_sink(xcb_connection_t* c /**< */ , xcb_randr_provider_t provider /**< */ , 3166 xcb_randr_provider_t sink_provider /**< */ , xcb_timestamp_t config_timestamp /**< */ ); 3167 3168 /** 3169 * 3170 * @param c The connection 3171 * @return A cookie 3172 * 3173 * Delivers a request to the X server. 3174 * 3175 * This form can be used only if the request will not cause 3176 * a reply to be generated. Any returned error will be 3177 * saved for handling by xcb_request_check(). 3178 */ 3179 xcb_void_cookie_t xcb_randr_set_provider_output_source_checked(xcb_connection_t* c /**< */ , xcb_randr_provider_t provider /**< */ , 3180 xcb_randr_provider_t source_provider /**< */ , xcb_timestamp_t config_timestamp /**< */ ); 3181 3182 /** 3183 * 3184 * @param c The connection 3185 * @return A cookie 3186 * 3187 * Delivers a request to the X server. 3188 * 3189 */ 3190 xcb_void_cookie_t xcb_randr_set_provider_output_source(xcb_connection_t* c /**< */ , xcb_randr_provider_t provider /**< */ , 3191 xcb_randr_provider_t source_provider /**< */ , xcb_timestamp_t config_timestamp /**< */ ); 3192 3193 int xcb_randr_list_provider_properties_sizeof(const void* _buffer /**< */ ); 3194 3195 /** 3196 * 3197 * @param c The connection 3198 * @return A cookie 3199 * 3200 * Delivers a request to the X server. 3201 * 3202 */ 3203 xcb_randr_list_provider_properties_cookie_t xcb_randr_list_provider_properties(xcb_connection_t* c /**< */ , xcb_randr_provider_t provider /**< */ ); 3204 3205 /** 3206 * 3207 * @param c The connection 3208 * @return A cookie 3209 * 3210 * Delivers a request to the X server. 3211 * 3212 * This form can be used only if the request will cause 3213 * a reply to be generated. Any returned error will be 3214 * placed in the event queue. 3215 */ 3216 xcb_randr_list_provider_properties_cookie_t xcb_randr_list_provider_properties_unchecked(xcb_connection_t* c /**< */ , 3217 xcb_randr_provider_t provider /**< */ ); 3218 3219 xcb_atom_t* xcb_randr_list_provider_properties_atoms(const xcb_randr_list_provider_properties_reply_t* R /**< */ ); 3220 3221 int xcb_randr_list_provider_properties_atoms_length(const xcb_randr_list_provider_properties_reply_t* R /**< */ ); 3222 3223 xcb_generic_iterator_t xcb_randr_list_provider_properties_atoms_end(const xcb_randr_list_provider_properties_reply_t* R /**< */ ); 3224 3225 /** 3226 * Return the reply 3227 * @param c The connection 3228 * @param cookie The cookie 3229 * @param e The xcb_generic_error_t supplied 3230 * 3231 * Returns the reply of the request asked by 3232 * 3233 * The parameter @p e supplied to this function must be NULL if 3234 * xcb_randr_list_provider_properties_unchecked(). is used. 3235 * Otherwise, it stores the error if any. 3236 * 3237 * The returned value must be freed by the caller using free(). 3238 */ 3239 xcb_randr_list_provider_properties_reply_t* xcb_randr_list_provider_properties_reply(xcb_connection_t* c /**< */ , 3240 xcb_randr_list_provider_properties_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 3241 3242 int xcb_randr_query_provider_property_sizeof(const void* _buffer /**< */ ); 3243 3244 /** 3245 * 3246 * @param c The connection 3247 * @return A cookie 3248 * 3249 * Delivers a request to the X server. 3250 * 3251 */ 3252 xcb_randr_query_provider_property_cookie_t xcb_randr_query_provider_property(xcb_connection_t* c /**< */ , 3253 xcb_randr_provider_t provider /**< */ , xcb_atom_t property /**< */ ); 3254 3255 /** 3256 * 3257 * @param c The connection 3258 * @return A cookie 3259 * 3260 * Delivers a request to the X server. 3261 * 3262 * This form can be used only if the request will cause 3263 * a reply to be generated. Any returned error will be 3264 * placed in the event queue. 3265 */ 3266 xcb_randr_query_provider_property_cookie_t xcb_randr_query_provider_property_unchecked(xcb_connection_t* c /**< */ , 3267 xcb_randr_provider_t provider /**< */ , xcb_atom_t property /**< */ ); 3268 3269 int* xcb_randr_query_provider_property_valid_values(const xcb_randr_query_provider_property_reply_t* R /**< */ ); 3270 3271 int xcb_randr_query_provider_property_valid_values_length(const xcb_randr_query_provider_property_reply_t* R /**< */ ); 3272 3273 xcb_generic_iterator_t xcb_randr_query_provider_property_valid_values_end(const xcb_randr_query_provider_property_reply_t* R /**< */ ); 3274 3275 /** 3276 * Return the reply 3277 * @param c The connection 3278 * @param cookie The cookie 3279 * @param e The xcb_generic_error_t supplied 3280 * 3281 * Returns the reply of the request asked by 3282 * 3283 * The parameter @p e supplied to this function must be NULL if 3284 * xcb_randr_query_provider_property_unchecked(). is used. 3285 * Otherwise, it stores the error if any. 3286 * 3287 * The returned value must be freed by the caller using free(). 3288 */ 3289 xcb_randr_query_provider_property_reply_t* xcb_randr_query_provider_property_reply(xcb_connection_t* c /**< */ , 3290 xcb_randr_query_provider_property_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 3291 3292 int xcb_randr_configure_provider_property_sizeof(const void* _buffer /**< */ , uint values_len /**< */ ); 3293 3294 /** 3295 * 3296 * @param c The connection 3297 * @return A cookie 3298 * 3299 * Delivers a request to the X server. 3300 * 3301 * This form can be used only if the request will not cause 3302 * a reply to be generated. Any returned error will be 3303 * saved for handling by xcb_request_check(). 3304 */ 3305 xcb_void_cookie_t xcb_randr_configure_provider_property_checked(xcb_connection_t* c /**< */ , xcb_randr_provider_t provider /**< */ , 3306 xcb_atom_t property /**< */ , ubyte pending /**< */ , ubyte range /**< */ , uint values_len /**< */ , const int* values /**< */ ); 3307 3308 /** 3309 * 3310 * @param c The connection 3311 * @return A cookie 3312 * 3313 * Delivers a request to the X server. 3314 * 3315 */ 3316 xcb_void_cookie_t xcb_randr_configure_provider_property(xcb_connection_t* c /**< */ , xcb_randr_provider_t provider /**< */ , 3317 xcb_atom_t property /**< */ , ubyte pending /**< */ , ubyte range /**< */ , uint values_len /**< */ , const int* values /**< */ ); 3318 3319 int xcb_randr_change_provider_property_sizeof(const void* _buffer /**< */ ); 3320 3321 /** 3322 * 3323 * @param c The connection 3324 * @return A cookie 3325 * 3326 * Delivers a request to the X server. 3327 * 3328 * This form can be used only if the request will not cause 3329 * a reply to be generated. Any returned error will be 3330 * saved for handling by xcb_request_check(). 3331 */ 3332 xcb_void_cookie_t xcb_randr_change_provider_property_checked(xcb_connection_t* c /**< */ , xcb_randr_provider_t provider /**< */ , 3333 xcb_atom_t property /**< */ , xcb_atom_t type /**< */ , ubyte format /**< */ , ubyte mode /**< */ , uint num_items /**< */ , 3334 const void* data /**< */ ); 3335 3336 /** 3337 * 3338 * @param c The connection 3339 * @return A cookie 3340 * 3341 * Delivers a request to the X server. 3342 * 3343 */ 3344 xcb_void_cookie_t xcb_randr_change_provider_property(xcb_connection_t* c /**< */ , xcb_randr_provider_t provider /**< */ , 3345 xcb_atom_t property /**< */ , xcb_atom_t type /**< */ , ubyte format /**< */ , ubyte mode /**< */ , uint num_items /**< */ , 3346 const void* data /**< */ ); 3347 3348 /** 3349 * 3350 * @param c The connection 3351 * @return A cookie 3352 * 3353 * Delivers a request to the X server. 3354 * 3355 * This form can be used only if the request will not cause 3356 * a reply to be generated. Any returned error will be 3357 * saved for handling by xcb_request_check(). 3358 */ 3359 xcb_void_cookie_t xcb_randr_delete_provider_property_checked(xcb_connection_t* c /**< */ , xcb_randr_provider_t provider /**< */ , 3360 xcb_atom_t property /**< */ ); 3361 3362 /** 3363 * 3364 * @param c The connection 3365 * @return A cookie 3366 * 3367 * Delivers a request to the X server. 3368 * 3369 */ 3370 xcb_void_cookie_t xcb_randr_delete_provider_property(xcb_connection_t* c /**< */ , xcb_randr_provider_t provider /**< */ , 3371 xcb_atom_t property /**< */ ); 3372 3373 int xcb_randr_get_provider_property_sizeof(const void* _buffer /**< */ ); 3374 3375 /** 3376 * 3377 * @param c The connection 3378 * @return A cookie 3379 * 3380 * Delivers a request to the X server. 3381 * 3382 */ 3383 xcb_randr_get_provider_property_cookie_t xcb_randr_get_provider_property(xcb_connection_t* c /**< */ , 3384 xcb_randr_provider_t provider /**< */ , xcb_atom_t property /**< */ , xcb_atom_t type /**< */ , uint long_offset /**< */ , 3385 uint long_length /**< */ , ubyte delete_ /**< */ , ubyte pending /**< */ ); 3386 3387 /** 3388 * 3389 * @param c The connection 3390 * @return A cookie 3391 * 3392 * Delivers a request to the X server. 3393 * 3394 * This form can be used only if the request will cause 3395 * a reply to be generated. Any returned error will be 3396 * placed in the event queue. 3397 */ 3398 xcb_randr_get_provider_property_cookie_t xcb_randr_get_provider_property_unchecked(xcb_connection_t* c /**< */ , 3399 xcb_randr_provider_t provider /**< */ , xcb_atom_t property /**< */ , xcb_atom_t type /**< */ , uint long_offset /**< */ , 3400 uint long_length /**< */ , ubyte delete_ /**< */ , ubyte pending /**< */ ); 3401 3402 void* xcb_randr_get_provider_property_data(const xcb_randr_get_provider_property_reply_t* R /**< */ ); 3403 3404 int xcb_randr_get_provider_property_data_length(const xcb_randr_get_provider_property_reply_t* R /**< */ ); 3405 3406 xcb_generic_iterator_t xcb_randr_get_provider_property_data_end(const xcb_randr_get_provider_property_reply_t* R /**< */ ); 3407 3408 /** 3409 * Return the reply 3410 * @param c The connection 3411 * @param cookie The cookie 3412 * @param e The xcb_generic_error_t supplied 3413 * 3414 * Returns the reply of the request asked by 3415 * 3416 * The parameter @p e supplied to this function must be NULL if 3417 * xcb_randr_get_provider_property_unchecked(). is used. 3418 * Otherwise, it stores the error if any. 3419 * 3420 * The returned value must be freed by the caller using free(). 3421 */ 3422 xcb_randr_get_provider_property_reply_t* xcb_randr_get_provider_property_reply(xcb_connection_t* c /**< */ , 3423 xcb_randr_get_provider_property_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 3424 3425 /** 3426 * Get the next element of the iterator 3427 * @param i Pointer to a xcb_randr_crtc_change_iterator_t 3428 * 3429 * Get the next element in the iterator. The member rem is 3430 * decreased by one. The member data points to the next 3431 * element. The member index is increased by sizeof(xcb_randr_crtc_change_t) 3432 */ 3433 void xcb_randr_crtc_change_next(xcb_randr_crtc_change_iterator_t* i /**< */ ); 3434 3435 /** 3436 * Return the iterator pointing to the last element 3437 * @param i An xcb_randr_crtc_change_iterator_t 3438 * @return The iterator pointing to the last element 3439 * 3440 * Set the current element in the iterator to the last element. 3441 * The member rem is set to 0. The member data points to the 3442 * last element. 3443 */ 3444 xcb_generic_iterator_t xcb_randr_crtc_change_end(xcb_randr_crtc_change_iterator_t i /**< */ ); 3445 3446 /** 3447 * Get the next element of the iterator 3448 * @param i Pointer to a xcb_randr_output_change_iterator_t 3449 * 3450 * Get the next element in the iterator. The member rem is 3451 * decreased by one. The member data points to the next 3452 * element. The member index is increased by sizeof(xcb_randr_output_change_t) 3453 */ 3454 void xcb_randr_output_change_next(xcb_randr_output_change_iterator_t* i /**< */ ); 3455 3456 /** 3457 * Return the iterator pointing to the last element 3458 * @param i An xcb_randr_output_change_iterator_t 3459 * @return The iterator pointing to the last element 3460 * 3461 * Set the current element in the iterator to the last element. 3462 * The member rem is set to 0. The member data points to the 3463 * last element. 3464 */ 3465 xcb_generic_iterator_t xcb_randr_output_change_end(xcb_randr_output_change_iterator_t i /**< */ ); 3466 3467 /** 3468 * Get the next element of the iterator 3469 * @param i Pointer to a xcb_randr_output_property_iterator_t 3470 * 3471 * Get the next element in the iterator. The member rem is 3472 * decreased by one. The member data points to the next 3473 * element. The member index is increased by sizeof(xcb_randr_output_property_t) 3474 */ 3475 void xcb_randr_output_property_next(xcb_randr_output_property_iterator_t* i /**< */ ); 3476 3477 /** 3478 * Return the iterator pointing to the last element 3479 * @param i An xcb_randr_output_property_iterator_t 3480 * @return The iterator pointing to the last element 3481 * 3482 * Set the current element in the iterator to the last element. 3483 * The member rem is set to 0. The member data points to the 3484 * last element. 3485 */ 3486 xcb_generic_iterator_t xcb_randr_output_property_end(xcb_randr_output_property_iterator_t i /**< */ ); 3487 3488 /** 3489 * Get the next element of the iterator 3490 * @param i Pointer to a xcb_randr_provider_change_iterator_t 3491 * 3492 * Get the next element in the iterator. The member rem is 3493 * decreased by one. The member data points to the next 3494 * element. The member index is increased by sizeof(xcb_randr_provider_change_t) 3495 */ 3496 void xcb_randr_provider_change_next(xcb_randr_provider_change_iterator_t* i /**< */ ); 3497 3498 /** 3499 * Return the iterator pointing to the last element 3500 * @param i An xcb_randr_provider_change_iterator_t 3501 * @return The iterator pointing to the last element 3502 * 3503 * Set the current element in the iterator to the last element. 3504 * The member rem is set to 0. The member data points to the 3505 * last element. 3506 */ 3507 xcb_generic_iterator_t xcb_randr_provider_change_end(xcb_randr_provider_change_iterator_t i /**< */ ); 3508 3509 /** 3510 * Get the next element of the iterator 3511 * @param i Pointer to a xcb_randr_provider_property_iterator_t 3512 * 3513 * Get the next element in the iterator. The member rem is 3514 * decreased by one. The member data points to the next 3515 * element. The member index is increased by sizeof(xcb_randr_provider_property_t) 3516 */ 3517 void xcb_randr_provider_property_next(xcb_randr_provider_property_iterator_t* i /**< */ ); 3518 3519 /** 3520 * Return the iterator pointing to the last element 3521 * @param i An xcb_randr_provider_property_iterator_t 3522 * @return The iterator pointing to the last element 3523 * 3524 * Set the current element in the iterator to the last element. 3525 * The member rem is set to 0. The member data points to the 3526 * last element. 3527 */ 3528 xcb_generic_iterator_t xcb_randr_provider_property_end(xcb_randr_provider_property_iterator_t i /**< */ ); 3529 3530 /** 3531 * Get the next element of the iterator 3532 * @param i Pointer to a xcb_randr_resource_change_iterator_t 3533 * 3534 * Get the next element in the iterator. The member rem is 3535 * decreased by one. The member data points to the next 3536 * element. The member index is increased by sizeof(xcb_randr_resource_change_t) 3537 */ 3538 void xcb_randr_resource_change_next(xcb_randr_resource_change_iterator_t* i /**< */ ); 3539 3540 /** 3541 * Return the iterator pointing to the last element 3542 * @param i An xcb_randr_resource_change_iterator_t 3543 * @return The iterator pointing to the last element 3544 * 3545 * Set the current element in the iterator to the last element. 3546 * The member rem is set to 0. The member data points to the 3547 * last element. 3548 */ 3549 xcb_generic_iterator_t xcb_randr_resource_change_end(xcb_randr_resource_change_iterator_t i /**< */ ); 3550 3551 /** 3552 * Get the next element of the iterator 3553 * @param i Pointer to a xcb_randr_notify_data_iterator_t 3554 * 3555 * Get the next element in the iterator. The member rem is 3556 * decreased by one. The member data points to the next 3557 * element. The member index is increased by sizeof(xcb_randr_notify_data_t) 3558 */ 3559 void xcb_randr_notify_data_next(xcb_randr_notify_data_iterator_t* i /**< */ ); 3560 3561 /** 3562 * Return the iterator pointing to the last element 3563 * @param i An xcb_randr_notify_data_iterator_t 3564 * @return The iterator pointing to the last element 3565 * 3566 * Set the current element in the iterator to the last element. 3567 * The member rem is set to 0. The member data points to the 3568 * last element. 3569 */ 3570 xcb_generic_iterator_t xcb_randr_notify_data_end(xcb_randr_notify_data_iterator_t i /**< */ ); 3571 3572 /** 3573 * @} 3574 */