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