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