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