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