* This file generated automatically from randr.xml by c_client.py.
* @defgroup XCB_RandR_API XCB RandR API
* @brief RandR XCB Protocol Implementation.
#define XCB_RANDR_MAJOR_VERSION 1
#define XCB_RANDR_MINOR_VERSION 6
extern xcb_extension_t xcb_randr_id;
typedef uint32_t xcb_randr_mode_t;
* @brief xcb_randr_mode_iterator_t
typedef struct xcb_randr_mode_iterator_t {
} xcb_randr_mode_iterator_t;
typedef uint32_t xcb_randr_crtc_t;
* @brief xcb_randr_crtc_iterator_t
typedef struct xcb_randr_crtc_iterator_t {
} xcb_randr_crtc_iterator_t;
typedef uint32_t xcb_randr_output_t;
* @brief xcb_randr_output_iterator_t
typedef struct xcb_randr_output_iterator_t {
xcb_randr_output_t *data;
} xcb_randr_output_iterator_t;
typedef uint32_t xcb_randr_provider_t;
* @brief xcb_randr_provider_iterator_t
typedef struct xcb_randr_provider_iterator_t {
xcb_randr_provider_t *data;
} xcb_randr_provider_iterator_t;
typedef uint32_t xcb_randr_lease_t;
* @brief xcb_randr_lease_iterator_t
typedef struct xcb_randr_lease_iterator_t {
} xcb_randr_lease_iterator_t;
/** Opcode for xcb_randr_bad_output. */
#define XCB_RANDR_BAD_OUTPUT 0
* @brief xcb_randr_bad_output_error_t
typedef struct xcb_randr_bad_output_error_t {
} xcb_randr_bad_output_error_t;
/** Opcode for xcb_randr_bad_crtc. */
#define XCB_RANDR_BAD_CRTC 1
* @brief xcb_randr_bad_crtc_error_t
typedef struct xcb_randr_bad_crtc_error_t {
} xcb_randr_bad_crtc_error_t;
/** Opcode for xcb_randr_bad_mode. */
#define XCB_RANDR_BAD_MODE 2
* @brief xcb_randr_bad_mode_error_t
typedef struct xcb_randr_bad_mode_error_t {
} xcb_randr_bad_mode_error_t;
/** Opcode for xcb_randr_bad_provider. */
#define XCB_RANDR_BAD_PROVIDER 3
* @brief xcb_randr_bad_provider_error_t
typedef struct xcb_randr_bad_provider_error_t {
} xcb_randr_bad_provider_error_t;
typedef enum xcb_randr_rotation_t {
XCB_RANDR_ROTATION_ROTATE_0 = 1,
XCB_RANDR_ROTATION_ROTATE_90 = 2,
XCB_RANDR_ROTATION_ROTATE_180 = 4,
XCB_RANDR_ROTATION_ROTATE_270 = 8,
XCB_RANDR_ROTATION_REFLECT_X = 16,
XCB_RANDR_ROTATION_REFLECT_Y = 32
* @brief xcb_randr_screen_size_t
typedef struct xcb_randr_screen_size_t {
} xcb_randr_screen_size_t;
* @brief xcb_randr_screen_size_iterator_t
typedef struct xcb_randr_screen_size_iterator_t {
xcb_randr_screen_size_t *data;
} xcb_randr_screen_size_iterator_t;
* @brief xcb_randr_refresh_rates_t
typedef struct xcb_randr_refresh_rates_t {
} xcb_randr_refresh_rates_t;
* @brief xcb_randr_refresh_rates_iterator_t
typedef struct xcb_randr_refresh_rates_iterator_t {
xcb_randr_refresh_rates_t *data;
} xcb_randr_refresh_rates_iterator_t;
* @brief xcb_randr_query_version_cookie_t
typedef struct xcb_randr_query_version_cookie_t {
} xcb_randr_query_version_cookie_t;
/** Opcode for xcb_randr_query_version. */
#define XCB_RANDR_QUERY_VERSION 0
* @brief xcb_randr_query_version_request_t
typedef struct xcb_randr_query_version_request_t {
} xcb_randr_query_version_request_t;
* @brief xcb_randr_query_version_reply_t
typedef struct xcb_randr_query_version_reply_t {
} xcb_randr_query_version_reply_t;
typedef enum xcb_randr_set_config_t {
XCB_RANDR_SET_CONFIG_SUCCESS = 0,
XCB_RANDR_SET_CONFIG_INVALID_CONFIG_TIME = 1,
XCB_RANDR_SET_CONFIG_INVALID_TIME = 2,
XCB_RANDR_SET_CONFIG_FAILED = 3
} xcb_randr_set_config_t;
* @brief xcb_randr_set_screen_config_cookie_t
typedef struct xcb_randr_set_screen_config_cookie_t {
} xcb_randr_set_screen_config_cookie_t;
/** Opcode for xcb_randr_set_screen_config. */
#define XCB_RANDR_SET_SCREEN_CONFIG 2
* @brief xcb_randr_set_screen_config_request_t
typedef struct xcb_randr_set_screen_config_request_t {
xcb_timestamp_t timestamp;
xcb_timestamp_t config_timestamp;
} xcb_randr_set_screen_config_request_t;
* @brief xcb_randr_set_screen_config_reply_t
typedef struct xcb_randr_set_screen_config_reply_t {
xcb_timestamp_t new_timestamp;
xcb_timestamp_t config_timestamp;
} xcb_randr_set_screen_config_reply_t;
typedef enum xcb_randr_notify_mask_t {
XCB_RANDR_NOTIFY_MASK_SCREEN_CHANGE = 1,
XCB_RANDR_NOTIFY_MASK_CRTC_CHANGE = 2,
XCB_RANDR_NOTIFY_MASK_OUTPUT_CHANGE = 4,
XCB_RANDR_NOTIFY_MASK_OUTPUT_PROPERTY = 8,
XCB_RANDR_NOTIFY_MASK_PROVIDER_CHANGE = 16,
XCB_RANDR_NOTIFY_MASK_PROVIDER_PROPERTY = 32,
XCB_RANDR_NOTIFY_MASK_RESOURCE_CHANGE = 64,
XCB_RANDR_NOTIFY_MASK_LEASE = 128
} xcb_randr_notify_mask_t;
/** Opcode for xcb_randr_select_input. */
#define XCB_RANDR_SELECT_INPUT 4
* @brief xcb_randr_select_input_request_t
typedef struct xcb_randr_select_input_request_t {
} xcb_randr_select_input_request_t;
* @brief xcb_randr_get_screen_info_cookie_t
typedef struct xcb_randr_get_screen_info_cookie_t {
} xcb_randr_get_screen_info_cookie_t;
/** Opcode for xcb_randr_get_screen_info. */
#define XCB_RANDR_GET_SCREEN_INFO 5
* @brief xcb_randr_get_screen_info_request_t
typedef struct xcb_randr_get_screen_info_request_t {
} xcb_randr_get_screen_info_request_t;
* @brief xcb_randr_get_screen_info_reply_t
typedef struct xcb_randr_get_screen_info_reply_t {
xcb_timestamp_t timestamp;
xcb_timestamp_t config_timestamp;
} xcb_randr_get_screen_info_reply_t;
* @brief xcb_randr_get_screen_size_range_cookie_t
typedef struct xcb_randr_get_screen_size_range_cookie_t {
} xcb_randr_get_screen_size_range_cookie_t;
/** Opcode for xcb_randr_get_screen_size_range. */
#define XCB_RANDR_GET_SCREEN_SIZE_RANGE 6
* @brief xcb_randr_get_screen_size_range_request_t
typedef struct xcb_randr_get_screen_size_range_request_t {
} xcb_randr_get_screen_size_range_request_t;
* @brief xcb_randr_get_screen_size_range_reply_t
typedef struct xcb_randr_get_screen_size_range_reply_t {
} xcb_randr_get_screen_size_range_reply_t;
/** Opcode for xcb_randr_set_screen_size. */
#define XCB_RANDR_SET_SCREEN_SIZE 7
* @brief xcb_randr_set_screen_size_request_t
typedef struct xcb_randr_set_screen_size_request_t {
} xcb_randr_set_screen_size_request_t;
typedef enum xcb_randr_mode_flag_t {
XCB_RANDR_MODE_FLAG_HSYNC_POSITIVE = 1,
XCB_RANDR_MODE_FLAG_HSYNC_NEGATIVE = 2,
XCB_RANDR_MODE_FLAG_VSYNC_POSITIVE = 4,
XCB_RANDR_MODE_FLAG_VSYNC_NEGATIVE = 8,
XCB_RANDR_MODE_FLAG_INTERLACE = 16,
XCB_RANDR_MODE_FLAG_DOUBLE_SCAN = 32,
XCB_RANDR_MODE_FLAG_CSYNC = 64,
XCB_RANDR_MODE_FLAG_CSYNC_POSITIVE = 128,
XCB_RANDR_MODE_FLAG_CSYNC_NEGATIVE = 256,
XCB_RANDR_MODE_FLAG_HSKEW_PRESENT = 512,
XCB_RANDR_MODE_FLAG_BCAST = 1024,
XCB_RANDR_MODE_FLAG_PIXEL_MULTIPLEX = 2048,
XCB_RANDR_MODE_FLAG_DOUBLE_CLOCK = 4096,
XCB_RANDR_MODE_FLAG_HALVE_CLOCK = 8192
* @brief xcb_randr_mode_info_t
typedef struct xcb_randr_mode_info_t {
* @brief xcb_randr_mode_info_iterator_t
typedef struct xcb_randr_mode_info_iterator_t {
xcb_randr_mode_info_t *data;
} xcb_randr_mode_info_iterator_t;
* @brief xcb_randr_get_screen_resources_cookie_t
typedef struct xcb_randr_get_screen_resources_cookie_t {
} xcb_randr_get_screen_resources_cookie_t;
/** Opcode for xcb_randr_get_screen_resources. */
#define XCB_RANDR_GET_SCREEN_RESOURCES 8
* @brief xcb_randr_get_screen_resources_request_t
typedef struct xcb_randr_get_screen_resources_request_t {
} xcb_randr_get_screen_resources_request_t;
* @brief xcb_randr_get_screen_resources_reply_t
typedef struct xcb_randr_get_screen_resources_reply_t {
xcb_timestamp_t timestamp;
xcb_timestamp_t config_timestamp;
} xcb_randr_get_screen_resources_reply_t;
typedef enum xcb_randr_connection_t {
XCB_RANDR_CONNECTION_CONNECTED = 0,
XCB_RANDR_CONNECTION_DISCONNECTED = 1,
XCB_RANDR_CONNECTION_UNKNOWN = 2
} xcb_randr_connection_t;
* @brief xcb_randr_get_output_info_cookie_t
typedef struct xcb_randr_get_output_info_cookie_t {
} xcb_randr_get_output_info_cookie_t;
/** Opcode for xcb_randr_get_output_info. */
#define XCB_RANDR_GET_OUTPUT_INFO 9
* @brief xcb_randr_get_output_info_request_t
typedef struct xcb_randr_get_output_info_request_t {
xcb_randr_output_t output;
xcb_timestamp_t config_timestamp;
} xcb_randr_get_output_info_request_t;
* @brief xcb_randr_get_output_info_reply_t
typedef struct xcb_randr_get_output_info_reply_t {
xcb_timestamp_t timestamp;