- Main Page
- Modules
- Data Structures
- Files
- Related Pages

# XCB RandR API

RandR XCB Protocol Implementation. More...

## Data Structures
struct | xcb_randr_screen_size_t
| xcb_randr_screen_size_t More...
struct | xcb_randr_screen_size_iterator_t
| xcb_randr_screen_size_iterator_t More...
struct | xcb_randr_refresh_rates_t
| xcb_randr_refresh_rates_t More...
struct | xcb_randr_refresh_rates_iterator_t
| xcb_randr_refresh_rates_iterator_t More...
struct | xcb_randr_query_version_cookie_t
| xcb_randr_query_version_cookie_t More...
struct | xcb_randr_query_version_request_t
| xcb_randr_query_version_request_t More...
struct | xcb_randr_query_version_reply_t
| xcb_randr_query_version_reply_t More...
struct | xcb_randr_set_screen_config_cookie_t
| xcb_randr_set_screen_config_cookie_t More...
struct | xcb_randr_set_screen_config_request_t
| xcb_randr_set_screen_config_request_t More...
struct | xcb_randr_set_screen_config_reply_t
| xcb_randr_set_screen_config_reply_t More...
struct | xcb_randr_select_input_request_t
| xcb_randr_select_input_request_t More...
struct | xcb_randr_get_screen_info_cookie_t
| xcb_randr_get_screen_info_cookie_t More...
struct | xcb_randr_get_screen_info_request_t
| xcb_randr_get_screen_info_request_t More...
struct | xcb_randr_get_screen_info_reply_t
| xcb_randr_get_screen_info_reply_t More...
struct | xcb_randr_screen_change_notify_event_t
| xcb_randr_screen_change_notify_event_t More...
## Defines
#define | XCB_RANDR_MAJOR_VERSION 1
#define | XCB_RANDR_MINOR_VERSION 1
#define | XCB_RANDR_QUERY_VERSION 0
#define | XCB_RANDR_SET_SCREEN_CONFIG 2
#define | XCB_RANDR_SELECT_INPUT 4
#define | XCB_RANDR_GET_SCREEN_INFO 5
#define | XCB_RANDR_SCREEN_CHANGE_NOTIFY 0
## Enumerations
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 }
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 }
enum | xcb_randr_sm_t { XCB_RANDR_SM_SCREEN_CHANGE_NOTIFY = 1 }
## Functions
void | xcb_randr_screen_size_next (xcb_randr_screen_size_iterator_t *i)
xcb_generic_iterator_t | xcb_randr_screen_size_end (xcb_randr_screen_size_iterator_t i)
uint16_t * | xcb_randr_refresh_rates_rates (const xcb_randr_refresh_rates_t *R)
int | xcb_randr_refresh_rates_rates_length (const xcb_randr_refresh_rates_t *R)
xcb_generic_iterator_t | xcb_randr_refresh_rates_rates_end (const xcb_randr_refresh_rates_t *R)
void | xcb_randr_refresh_rates_next (xcb_randr_refresh_rates_iterator_t *i)
xcb_generic_iterator_t | xcb_randr_refresh_rates_end (xcb_randr_refresh_rates_iterator_t i)
xcb_randr_query_version_cookie_t | xcb_randr_query_version (xcb_connection_t *c, uint32_t major_version, uint32_t minor_version)
xcb_randr_query_version_cookie_t | xcb_randr_query_version_unchecked (xcb_connection_t *c, uint32_t major_version, uint32_t minor_version)
xcb_randr_query_version_reply_t * | xcb_randr_query_version_reply (xcb_connection_t *c, xcb_randr_query_version_cookie_t cookie, xcb_generic_error_t **e)
xcb_randr_set_screen_config_cookie_t | xcb_randr_set_screen_config (xcb_connection_t *c, xcb_drawable_t drawable, xcb_timestamp_t timestamp, xcb_timestamp_t config_timestamp, uint16_t sizeID, int16_t rotation, uint16_t rate)
xcb_randr_set_screen_config_cookie_t | xcb_randr_set_screen_config_unchecked (xcb_connection_t *c, xcb_drawable_t drawable, xcb_timestamp_t timestamp, xcb_timestamp_t config_timestamp, uint16_t sizeID, int16_t rotation, uint16_t rate)
xcb_randr_set_screen_config_reply_t * | xcb_randr_set_screen_config_reply (xcb_connection_t *c, xcb_randr_set_screen_config_cookie_t cookie, xcb_generic_error_t **e)
xcb_void_cookie_t | xcb_randr_select_input_checked (xcb_connection_t *c, xcb_window_t window, uint16_t enable)
xcb_void_cookie_t | xcb_randr_select_input (xcb_connection_t *c, xcb_window_t window, uint16_t enable)
xcb_randr_get_screen_info_cookie_t | xcb_randr_get_screen_info (xcb_connection_t *c, xcb_window_t window)
xcb_randr_get_screen_info_cookie_t | xcb_randr_get_screen_info_unchecked (xcb_connection_t *c, xcb_window_t window)
xcb_randr_screen_size_t * | xcb_randr_get_screen_info_sizes (const xcb_randr_get_screen_info_reply_t *R)
int | xcb_randr_get_screen_info_sizes_length (const xcb_randr_get_screen_info_reply_t *R)
xcb_randr_screen_size_iterator_t | xcb_randr_get_screen_info_sizes_iterator (const xcb_randr_get_screen_info_reply_t *R)
int | xcb_randr_get_screen_info_rates_length (const xcb_randr_get_screen_info_reply_t *R)
xcb_randr_refresh_rates_iterator_t | xcb_randr_get_screen_info_rates_iterator (const xcb_randr_get_screen_info_reply_t *R)
xcb_randr_get_screen_info_reply_t * | xcb_randr_get_screen_info_reply (xcb_connection_t *c, xcb_randr_get_screen_info_cookie_t cookie, xcb_generic_error_t **e)
## Variables
xcb_extension_t | xcb_randr_id

## Detailed Description

RandR XCB Protocol Implementation.

## Define Documentation

#define XCB_RANDR_GET_SCREEN_INFO 5

Opcode for xcb_randr_get_screen_info.

#define XCB_RANDR_QUERY_VERSION 0

Opcode for xcb_randr_query_version.

#define XCB_RANDR_SCREEN_CHANGE_NOTIFY 0

Opcode for xcb_randr_screen_change_notify.

#define XCB_RANDR_SELECT_INPUT 4

Opcode for xcb_randr_select_input.

#define XCB_RANDR_SET_SCREEN_CONFIG 2

Opcode for xcb_randr_set_screen_config.