Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/xcb
File: randr.h
/*
[0] Fix | Delete
* This file generated automatically from randr.xml by c_client.py.
[1] Fix | Delete
* Edit at your peril.
[2] Fix | Delete
*/
[3] Fix | Delete
[4] Fix | Delete
/**
[5] Fix | Delete
* @defgroup XCB_RandR_API XCB RandR API
[6] Fix | Delete
* @brief RandR XCB Protocol Implementation.
[7] Fix | Delete
* @{
[8] Fix | Delete
**/
[9] Fix | Delete
[10] Fix | Delete
#ifndef __RANDR_H
[11] Fix | Delete
#define __RANDR_H
[12] Fix | Delete
[13] Fix | Delete
#include "xcb.h"
[14] Fix | Delete
#include "xproto.h"
[15] Fix | Delete
#include "render.h"
[16] Fix | Delete
[17] Fix | Delete
#ifdef __cplusplus
[18] Fix | Delete
extern "C" {
[19] Fix | Delete
#endif
[20] Fix | Delete
[21] Fix | Delete
#define XCB_RANDR_MAJOR_VERSION 1
[22] Fix | Delete
#define XCB_RANDR_MINOR_VERSION 6
[23] Fix | Delete
[24] Fix | Delete
extern xcb_extension_t xcb_randr_id;
[25] Fix | Delete
[26] Fix | Delete
typedef uint32_t xcb_randr_mode_t;
[27] Fix | Delete
[28] Fix | Delete
/**
[29] Fix | Delete
* @brief xcb_randr_mode_iterator_t
[30] Fix | Delete
**/
[31] Fix | Delete
typedef struct xcb_randr_mode_iterator_t {
[32] Fix | Delete
xcb_randr_mode_t *data;
[33] Fix | Delete
int rem;
[34] Fix | Delete
int index;
[35] Fix | Delete
} xcb_randr_mode_iterator_t;
[36] Fix | Delete
[37] Fix | Delete
typedef uint32_t xcb_randr_crtc_t;
[38] Fix | Delete
[39] Fix | Delete
/**
[40] Fix | Delete
* @brief xcb_randr_crtc_iterator_t
[41] Fix | Delete
**/
[42] Fix | Delete
typedef struct xcb_randr_crtc_iterator_t {
[43] Fix | Delete
xcb_randr_crtc_t *data;
[44] Fix | Delete
int rem;
[45] Fix | Delete
int index;
[46] Fix | Delete
} xcb_randr_crtc_iterator_t;
[47] Fix | Delete
[48] Fix | Delete
typedef uint32_t xcb_randr_output_t;
[49] Fix | Delete
[50] Fix | Delete
/**
[51] Fix | Delete
* @brief xcb_randr_output_iterator_t
[52] Fix | Delete
**/
[53] Fix | Delete
typedef struct xcb_randr_output_iterator_t {
[54] Fix | Delete
xcb_randr_output_t *data;
[55] Fix | Delete
int rem;
[56] Fix | Delete
int index;
[57] Fix | Delete
} xcb_randr_output_iterator_t;
[58] Fix | Delete
[59] Fix | Delete
typedef uint32_t xcb_randr_provider_t;
[60] Fix | Delete
[61] Fix | Delete
/**
[62] Fix | Delete
* @brief xcb_randr_provider_iterator_t
[63] Fix | Delete
**/
[64] Fix | Delete
typedef struct xcb_randr_provider_iterator_t {
[65] Fix | Delete
xcb_randr_provider_t *data;
[66] Fix | Delete
int rem;
[67] Fix | Delete
int index;
[68] Fix | Delete
} xcb_randr_provider_iterator_t;
[69] Fix | Delete
[70] Fix | Delete
typedef uint32_t xcb_randr_lease_t;
[71] Fix | Delete
[72] Fix | Delete
/**
[73] Fix | Delete
* @brief xcb_randr_lease_iterator_t
[74] Fix | Delete
**/
[75] Fix | Delete
typedef struct xcb_randr_lease_iterator_t {
[76] Fix | Delete
xcb_randr_lease_t *data;
[77] Fix | Delete
int rem;
[78] Fix | Delete
int index;
[79] Fix | Delete
} xcb_randr_lease_iterator_t;
[80] Fix | Delete
[81] Fix | Delete
/** Opcode for xcb_randr_bad_output. */
[82] Fix | Delete
#define XCB_RANDR_BAD_OUTPUT 0
[83] Fix | Delete
[84] Fix | Delete
/**
[85] Fix | Delete
* @brief xcb_randr_bad_output_error_t
[86] Fix | Delete
**/
[87] Fix | Delete
typedef struct xcb_randr_bad_output_error_t {
[88] Fix | Delete
uint8_t response_type;
[89] Fix | Delete
uint8_t error_code;
[90] Fix | Delete
uint16_t sequence;
[91] Fix | Delete
} xcb_randr_bad_output_error_t;
[92] Fix | Delete
[93] Fix | Delete
/** Opcode for xcb_randr_bad_crtc. */
[94] Fix | Delete
#define XCB_RANDR_BAD_CRTC 1
[95] Fix | Delete
[96] Fix | Delete
/**
[97] Fix | Delete
* @brief xcb_randr_bad_crtc_error_t
[98] Fix | Delete
**/
[99] Fix | Delete
typedef struct xcb_randr_bad_crtc_error_t {
[100] Fix | Delete
uint8_t response_type;
[101] Fix | Delete
uint8_t error_code;
[102] Fix | Delete
uint16_t sequence;
[103] Fix | Delete
} xcb_randr_bad_crtc_error_t;
[104] Fix | Delete
[105] Fix | Delete
/** Opcode for xcb_randr_bad_mode. */
[106] Fix | Delete
#define XCB_RANDR_BAD_MODE 2
[107] Fix | Delete
[108] Fix | Delete
/**
[109] Fix | Delete
* @brief xcb_randr_bad_mode_error_t
[110] Fix | Delete
**/
[111] Fix | Delete
typedef struct xcb_randr_bad_mode_error_t {
[112] Fix | Delete
uint8_t response_type;
[113] Fix | Delete
uint8_t error_code;
[114] Fix | Delete
uint16_t sequence;
[115] Fix | Delete
} xcb_randr_bad_mode_error_t;
[116] Fix | Delete
[117] Fix | Delete
/** Opcode for xcb_randr_bad_provider. */
[118] Fix | Delete
#define XCB_RANDR_BAD_PROVIDER 3
[119] Fix | Delete
[120] Fix | Delete
/**
[121] Fix | Delete
* @brief xcb_randr_bad_provider_error_t
[122] Fix | Delete
**/
[123] Fix | Delete
typedef struct xcb_randr_bad_provider_error_t {
[124] Fix | Delete
uint8_t response_type;
[125] Fix | Delete
uint8_t error_code;
[126] Fix | Delete
uint16_t sequence;
[127] Fix | Delete
} xcb_randr_bad_provider_error_t;
[128] Fix | Delete
[129] Fix | Delete
typedef enum xcb_randr_rotation_t {
[130] Fix | Delete
XCB_RANDR_ROTATION_ROTATE_0 = 1,
[131] Fix | Delete
XCB_RANDR_ROTATION_ROTATE_90 = 2,
[132] Fix | Delete
XCB_RANDR_ROTATION_ROTATE_180 = 4,
[133] Fix | Delete
XCB_RANDR_ROTATION_ROTATE_270 = 8,
[134] Fix | Delete
XCB_RANDR_ROTATION_REFLECT_X = 16,
[135] Fix | Delete
XCB_RANDR_ROTATION_REFLECT_Y = 32
[136] Fix | Delete
} xcb_randr_rotation_t;
[137] Fix | Delete
[138] Fix | Delete
/**
[139] Fix | Delete
* @brief xcb_randr_screen_size_t
[140] Fix | Delete
**/
[141] Fix | Delete
typedef struct xcb_randr_screen_size_t {
[142] Fix | Delete
uint16_t width;
[143] Fix | Delete
uint16_t height;
[144] Fix | Delete
uint16_t mwidth;
[145] Fix | Delete
uint16_t mheight;
[146] Fix | Delete
} xcb_randr_screen_size_t;
[147] Fix | Delete
[148] Fix | Delete
/**
[149] Fix | Delete
* @brief xcb_randr_screen_size_iterator_t
[150] Fix | Delete
**/
[151] Fix | Delete
typedef struct xcb_randr_screen_size_iterator_t {
[152] Fix | Delete
xcb_randr_screen_size_t *data;
[153] Fix | Delete
int rem;
[154] Fix | Delete
int index;
[155] Fix | Delete
} xcb_randr_screen_size_iterator_t;
[156] Fix | Delete
[157] Fix | Delete
/**
[158] Fix | Delete
* @brief xcb_randr_refresh_rates_t
[159] Fix | Delete
**/
[160] Fix | Delete
typedef struct xcb_randr_refresh_rates_t {
[161] Fix | Delete
uint16_t nRates;
[162] Fix | Delete
} xcb_randr_refresh_rates_t;
[163] Fix | Delete
[164] Fix | Delete
/**
[165] Fix | Delete
* @brief xcb_randr_refresh_rates_iterator_t
[166] Fix | Delete
**/
[167] Fix | Delete
typedef struct xcb_randr_refresh_rates_iterator_t {
[168] Fix | Delete
xcb_randr_refresh_rates_t *data;
[169] Fix | Delete
int rem;
[170] Fix | Delete
int index;
[171] Fix | Delete
} xcb_randr_refresh_rates_iterator_t;
[172] Fix | Delete
[173] Fix | Delete
/**
[174] Fix | Delete
* @brief xcb_randr_query_version_cookie_t
[175] Fix | Delete
**/
[176] Fix | Delete
typedef struct xcb_randr_query_version_cookie_t {
[177] Fix | Delete
unsigned int sequence;
[178] Fix | Delete
} xcb_randr_query_version_cookie_t;
[179] Fix | Delete
[180] Fix | Delete
/** Opcode for xcb_randr_query_version. */
[181] Fix | Delete
#define XCB_RANDR_QUERY_VERSION 0
[182] Fix | Delete
[183] Fix | Delete
/**
[184] Fix | Delete
* @brief xcb_randr_query_version_request_t
[185] Fix | Delete
**/
[186] Fix | Delete
typedef struct xcb_randr_query_version_request_t {
[187] Fix | Delete
uint8_t major_opcode;
[188] Fix | Delete
uint8_t minor_opcode;
[189] Fix | Delete
uint16_t length;
[190] Fix | Delete
uint32_t major_version;
[191] Fix | Delete
uint32_t minor_version;
[192] Fix | Delete
} xcb_randr_query_version_request_t;
[193] Fix | Delete
[194] Fix | Delete
/**
[195] Fix | Delete
* @brief xcb_randr_query_version_reply_t
[196] Fix | Delete
**/
[197] Fix | Delete
typedef struct xcb_randr_query_version_reply_t {
[198] Fix | Delete
uint8_t response_type;
[199] Fix | Delete
uint8_t pad0;
[200] Fix | Delete
uint16_t sequence;
[201] Fix | Delete
uint32_t length;
[202] Fix | Delete
uint32_t major_version;
[203] Fix | Delete
uint32_t minor_version;
[204] Fix | Delete
uint8_t pad1[16];
[205] Fix | Delete
} xcb_randr_query_version_reply_t;
[206] Fix | Delete
[207] Fix | Delete
typedef enum xcb_randr_set_config_t {
[208] Fix | Delete
XCB_RANDR_SET_CONFIG_SUCCESS = 0,
[209] Fix | Delete
XCB_RANDR_SET_CONFIG_INVALID_CONFIG_TIME = 1,
[210] Fix | Delete
XCB_RANDR_SET_CONFIG_INVALID_TIME = 2,
[211] Fix | Delete
XCB_RANDR_SET_CONFIG_FAILED = 3
[212] Fix | Delete
} xcb_randr_set_config_t;
[213] Fix | Delete
[214] Fix | Delete
/**
[215] Fix | Delete
* @brief xcb_randr_set_screen_config_cookie_t
[216] Fix | Delete
**/
[217] Fix | Delete
typedef struct xcb_randr_set_screen_config_cookie_t {
[218] Fix | Delete
unsigned int sequence;
[219] Fix | Delete
} xcb_randr_set_screen_config_cookie_t;
[220] Fix | Delete
[221] Fix | Delete
/** Opcode for xcb_randr_set_screen_config. */
[222] Fix | Delete
#define XCB_RANDR_SET_SCREEN_CONFIG 2
[223] Fix | Delete
[224] Fix | Delete
/**
[225] Fix | Delete
* @brief xcb_randr_set_screen_config_request_t
[226] Fix | Delete
**/
[227] Fix | Delete
typedef struct xcb_randr_set_screen_config_request_t {
[228] Fix | Delete
uint8_t major_opcode;
[229] Fix | Delete
uint8_t minor_opcode;
[230] Fix | Delete
uint16_t length;
[231] Fix | Delete
xcb_window_t window;
[232] Fix | Delete
xcb_timestamp_t timestamp;
[233] Fix | Delete
xcb_timestamp_t config_timestamp;
[234] Fix | Delete
uint16_t sizeID;
[235] Fix | Delete
uint16_t rotation;
[236] Fix | Delete
uint16_t rate;
[237] Fix | Delete
uint8_t pad0[2];
[238] Fix | Delete
} xcb_randr_set_screen_config_request_t;
[239] Fix | Delete
[240] Fix | Delete
/**
[241] Fix | Delete
* @brief xcb_randr_set_screen_config_reply_t
[242] Fix | Delete
**/
[243] Fix | Delete
typedef struct xcb_randr_set_screen_config_reply_t {
[244] Fix | Delete
uint8_t response_type;
[245] Fix | Delete
uint8_t status;
[246] Fix | Delete
uint16_t sequence;
[247] Fix | Delete
uint32_t length;
[248] Fix | Delete
xcb_timestamp_t new_timestamp;
[249] Fix | Delete
xcb_timestamp_t config_timestamp;
[250] Fix | Delete
xcb_window_t root;
[251] Fix | Delete
uint16_t subpixel_order;
[252] Fix | Delete
uint8_t pad0[10];
[253] Fix | Delete
} xcb_randr_set_screen_config_reply_t;
[254] Fix | Delete
[255] Fix | Delete
typedef enum xcb_randr_notify_mask_t {
[256] Fix | Delete
XCB_RANDR_NOTIFY_MASK_SCREEN_CHANGE = 1,
[257] Fix | Delete
XCB_RANDR_NOTIFY_MASK_CRTC_CHANGE = 2,
[258] Fix | Delete
XCB_RANDR_NOTIFY_MASK_OUTPUT_CHANGE = 4,
[259] Fix | Delete
XCB_RANDR_NOTIFY_MASK_OUTPUT_PROPERTY = 8,
[260] Fix | Delete
XCB_RANDR_NOTIFY_MASK_PROVIDER_CHANGE = 16,
[261] Fix | Delete
XCB_RANDR_NOTIFY_MASK_PROVIDER_PROPERTY = 32,
[262] Fix | Delete
XCB_RANDR_NOTIFY_MASK_RESOURCE_CHANGE = 64,
[263] Fix | Delete
XCB_RANDR_NOTIFY_MASK_LEASE = 128
[264] Fix | Delete
} xcb_randr_notify_mask_t;
[265] Fix | Delete
[266] Fix | Delete
/** Opcode for xcb_randr_select_input. */
[267] Fix | Delete
#define XCB_RANDR_SELECT_INPUT 4
[268] Fix | Delete
[269] Fix | Delete
/**
[270] Fix | Delete
* @brief xcb_randr_select_input_request_t
[271] Fix | Delete
**/
[272] Fix | Delete
typedef struct xcb_randr_select_input_request_t {
[273] Fix | Delete
uint8_t major_opcode;
[274] Fix | Delete
uint8_t minor_opcode;
[275] Fix | Delete
uint16_t length;
[276] Fix | Delete
xcb_window_t window;
[277] Fix | Delete
uint16_t enable;
[278] Fix | Delete
uint8_t pad0[2];
[279] Fix | Delete
} xcb_randr_select_input_request_t;
[280] Fix | Delete
[281] Fix | Delete
/**
[282] Fix | Delete
* @brief xcb_randr_get_screen_info_cookie_t
[283] Fix | Delete
**/
[284] Fix | Delete
typedef struct xcb_randr_get_screen_info_cookie_t {
[285] Fix | Delete
unsigned int sequence;
[286] Fix | Delete
} xcb_randr_get_screen_info_cookie_t;
[287] Fix | Delete
[288] Fix | Delete
/** Opcode for xcb_randr_get_screen_info. */
[289] Fix | Delete
#define XCB_RANDR_GET_SCREEN_INFO 5
[290] Fix | Delete
[291] Fix | Delete
/**
[292] Fix | Delete
* @brief xcb_randr_get_screen_info_request_t
[293] Fix | Delete
**/
[294] Fix | Delete
typedef struct xcb_randr_get_screen_info_request_t {
[295] Fix | Delete
uint8_t major_opcode;
[296] Fix | Delete
uint8_t minor_opcode;
[297] Fix | Delete
uint16_t length;
[298] Fix | Delete
xcb_window_t window;
[299] Fix | Delete
} xcb_randr_get_screen_info_request_t;
[300] Fix | Delete
[301] Fix | Delete
/**
[302] Fix | Delete
* @brief xcb_randr_get_screen_info_reply_t
[303] Fix | Delete
**/
[304] Fix | Delete
typedef struct xcb_randr_get_screen_info_reply_t {
[305] Fix | Delete
uint8_t response_type;
[306] Fix | Delete
uint8_t rotations;
[307] Fix | Delete
uint16_t sequence;
[308] Fix | Delete
uint32_t length;
[309] Fix | Delete
xcb_window_t root;
[310] Fix | Delete
xcb_timestamp_t timestamp;
[311] Fix | Delete
xcb_timestamp_t config_timestamp;
[312] Fix | Delete
uint16_t nSizes;
[313] Fix | Delete
uint16_t sizeID;
[314] Fix | Delete
uint16_t rotation;
[315] Fix | Delete
uint16_t rate;
[316] Fix | Delete
uint16_t nInfo;
[317] Fix | Delete
uint8_t pad0[2];
[318] Fix | Delete
} xcb_randr_get_screen_info_reply_t;
[319] Fix | Delete
[320] Fix | Delete
/**
[321] Fix | Delete
* @brief xcb_randr_get_screen_size_range_cookie_t
[322] Fix | Delete
**/
[323] Fix | Delete
typedef struct xcb_randr_get_screen_size_range_cookie_t {
[324] Fix | Delete
unsigned int sequence;
[325] Fix | Delete
} xcb_randr_get_screen_size_range_cookie_t;
[326] Fix | Delete
[327] Fix | Delete
/** Opcode for xcb_randr_get_screen_size_range. */
[328] Fix | Delete
#define XCB_RANDR_GET_SCREEN_SIZE_RANGE 6
[329] Fix | Delete
[330] Fix | Delete
/**
[331] Fix | Delete
* @brief xcb_randr_get_screen_size_range_request_t
[332] Fix | Delete
**/
[333] Fix | Delete
typedef struct xcb_randr_get_screen_size_range_request_t {
[334] Fix | Delete
uint8_t major_opcode;
[335] Fix | Delete
uint8_t minor_opcode;
[336] Fix | Delete
uint16_t length;
[337] Fix | Delete
xcb_window_t window;
[338] Fix | Delete
} xcb_randr_get_screen_size_range_request_t;
[339] Fix | Delete
[340] Fix | Delete
/**
[341] Fix | Delete
* @brief xcb_randr_get_screen_size_range_reply_t
[342] Fix | Delete
**/
[343] Fix | Delete
typedef struct xcb_randr_get_screen_size_range_reply_t {
[344] Fix | Delete
uint8_t response_type;
[345] Fix | Delete
uint8_t pad0;
[346] Fix | Delete
uint16_t sequence;
[347] Fix | Delete
uint32_t length;
[348] Fix | Delete
uint16_t min_width;
[349] Fix | Delete
uint16_t min_height;
[350] Fix | Delete
uint16_t max_width;
[351] Fix | Delete
uint16_t max_height;
[352] Fix | Delete
uint8_t pad1[16];
[353] Fix | Delete
} xcb_randr_get_screen_size_range_reply_t;
[354] Fix | Delete
[355] Fix | Delete
/** Opcode for xcb_randr_set_screen_size. */
[356] Fix | Delete
#define XCB_RANDR_SET_SCREEN_SIZE 7
[357] Fix | Delete
[358] Fix | Delete
/**
[359] Fix | Delete
* @brief xcb_randr_set_screen_size_request_t
[360] Fix | Delete
**/
[361] Fix | Delete
typedef struct xcb_randr_set_screen_size_request_t {
[362] Fix | Delete
uint8_t major_opcode;
[363] Fix | Delete
uint8_t minor_opcode;
[364] Fix | Delete
uint16_t length;
[365] Fix | Delete
xcb_window_t window;
[366] Fix | Delete
uint16_t width;
[367] Fix | Delete
uint16_t height;
[368] Fix | Delete
uint32_t mm_width;
[369] Fix | Delete
uint32_t mm_height;
[370] Fix | Delete
} xcb_randr_set_screen_size_request_t;
[371] Fix | Delete
[372] Fix | Delete
typedef enum xcb_randr_mode_flag_t {
[373] Fix | Delete
XCB_RANDR_MODE_FLAG_HSYNC_POSITIVE = 1,
[374] Fix | Delete
XCB_RANDR_MODE_FLAG_HSYNC_NEGATIVE = 2,
[375] Fix | Delete
XCB_RANDR_MODE_FLAG_VSYNC_POSITIVE = 4,
[376] Fix | Delete
XCB_RANDR_MODE_FLAG_VSYNC_NEGATIVE = 8,
[377] Fix | Delete
XCB_RANDR_MODE_FLAG_INTERLACE = 16,
[378] Fix | Delete
XCB_RANDR_MODE_FLAG_DOUBLE_SCAN = 32,
[379] Fix | Delete
XCB_RANDR_MODE_FLAG_CSYNC = 64,
[380] Fix | Delete
XCB_RANDR_MODE_FLAG_CSYNC_POSITIVE = 128,
[381] Fix | Delete
XCB_RANDR_MODE_FLAG_CSYNC_NEGATIVE = 256,
[382] Fix | Delete
XCB_RANDR_MODE_FLAG_HSKEW_PRESENT = 512,
[383] Fix | Delete
XCB_RANDR_MODE_FLAG_BCAST = 1024,
[384] Fix | Delete
XCB_RANDR_MODE_FLAG_PIXEL_MULTIPLEX = 2048,
[385] Fix | Delete
XCB_RANDR_MODE_FLAG_DOUBLE_CLOCK = 4096,
[386] Fix | Delete
XCB_RANDR_MODE_FLAG_HALVE_CLOCK = 8192
[387] Fix | Delete
} xcb_randr_mode_flag_t;
[388] Fix | Delete
[389] Fix | Delete
/**
[390] Fix | Delete
* @brief xcb_randr_mode_info_t
[391] Fix | Delete
**/
[392] Fix | Delete
typedef struct xcb_randr_mode_info_t {
[393] Fix | Delete
uint32_t id;
[394] Fix | Delete
uint16_t width;
[395] Fix | Delete
uint16_t height;
[396] Fix | Delete
uint32_t dot_clock;
[397] Fix | Delete
uint16_t hsync_start;
[398] Fix | Delete
uint16_t hsync_end;
[399] Fix | Delete
uint16_t htotal;
[400] Fix | Delete
uint16_t hskew;
[401] Fix | Delete
uint16_t vsync_start;
[402] Fix | Delete
uint16_t vsync_end;
[403] Fix | Delete
uint16_t vtotal;
[404] Fix | Delete
uint16_t name_len;
[405] Fix | Delete
uint32_t mode_flags;
[406] Fix | Delete
} xcb_randr_mode_info_t;
[407] Fix | Delete
[408] Fix | Delete
/**
[409] Fix | Delete
* @brief xcb_randr_mode_info_iterator_t
[410] Fix | Delete
**/
[411] Fix | Delete
typedef struct xcb_randr_mode_info_iterator_t {
[412] Fix | Delete
xcb_randr_mode_info_t *data;
[413] Fix | Delete
int rem;
[414] Fix | Delete
int index;
[415] Fix | Delete
} xcb_randr_mode_info_iterator_t;
[416] Fix | Delete
[417] Fix | Delete
/**
[418] Fix | Delete
* @brief xcb_randr_get_screen_resources_cookie_t
[419] Fix | Delete
**/
[420] Fix | Delete
typedef struct xcb_randr_get_screen_resources_cookie_t {
[421] Fix | Delete
unsigned int sequence;
[422] Fix | Delete
} xcb_randr_get_screen_resources_cookie_t;
[423] Fix | Delete
[424] Fix | Delete
/** Opcode for xcb_randr_get_screen_resources. */
[425] Fix | Delete
#define XCB_RANDR_GET_SCREEN_RESOURCES 8
[426] Fix | Delete
[427] Fix | Delete
/**
[428] Fix | Delete
* @brief xcb_randr_get_screen_resources_request_t
[429] Fix | Delete
**/
[430] Fix | Delete
typedef struct xcb_randr_get_screen_resources_request_t {
[431] Fix | Delete
uint8_t major_opcode;
[432] Fix | Delete
uint8_t minor_opcode;
[433] Fix | Delete
uint16_t length;
[434] Fix | Delete
xcb_window_t window;
[435] Fix | Delete
} xcb_randr_get_screen_resources_request_t;
[436] Fix | Delete
[437] Fix | Delete
/**
[438] Fix | Delete
* @brief xcb_randr_get_screen_resources_reply_t
[439] Fix | Delete
**/
[440] Fix | Delete
typedef struct xcb_randr_get_screen_resources_reply_t {
[441] Fix | Delete
uint8_t response_type;
[442] Fix | Delete
uint8_t pad0;
[443] Fix | Delete
uint16_t sequence;
[444] Fix | Delete
uint32_t length;
[445] Fix | Delete
xcb_timestamp_t timestamp;
[446] Fix | Delete
xcb_timestamp_t config_timestamp;
[447] Fix | Delete
uint16_t num_crtcs;
[448] Fix | Delete
uint16_t num_outputs;
[449] Fix | Delete
uint16_t num_modes;
[450] Fix | Delete
uint16_t names_len;
[451] Fix | Delete
uint8_t pad1[8];
[452] Fix | Delete
} xcb_randr_get_screen_resources_reply_t;
[453] Fix | Delete
[454] Fix | Delete
typedef enum xcb_randr_connection_t {
[455] Fix | Delete
XCB_RANDR_CONNECTION_CONNECTED = 0,
[456] Fix | Delete
XCB_RANDR_CONNECTION_DISCONNECTED = 1,
[457] Fix | Delete
XCB_RANDR_CONNECTION_UNKNOWN = 2
[458] Fix | Delete
} xcb_randr_connection_t;
[459] Fix | Delete
[460] Fix | Delete
/**
[461] Fix | Delete
* @brief xcb_randr_get_output_info_cookie_t
[462] Fix | Delete
**/
[463] Fix | Delete
typedef struct xcb_randr_get_output_info_cookie_t {
[464] Fix | Delete
unsigned int sequence;
[465] Fix | Delete
} xcb_randr_get_output_info_cookie_t;
[466] Fix | Delete
[467] Fix | Delete
/** Opcode for xcb_randr_get_output_info. */
[468] Fix | Delete
#define XCB_RANDR_GET_OUTPUT_INFO 9
[469] Fix | Delete
[470] Fix | Delete
/**
[471] Fix | Delete
* @brief xcb_randr_get_output_info_request_t
[472] Fix | Delete
**/
[473] Fix | Delete
typedef struct xcb_randr_get_output_info_request_t {
[474] Fix | Delete
uint8_t major_opcode;
[475] Fix | Delete
uint8_t minor_opcode;
[476] Fix | Delete
uint16_t length;
[477] Fix | Delete
xcb_randr_output_t output;
[478] Fix | Delete
xcb_timestamp_t config_timestamp;
[479] Fix | Delete
} xcb_randr_get_output_info_request_t;
[480] Fix | Delete
[481] Fix | Delete
/**
[482] Fix | Delete
* @brief xcb_randr_get_output_info_reply_t
[483] Fix | Delete
**/
[484] Fix | Delete
typedef struct xcb_randr_get_output_info_reply_t {
[485] Fix | Delete
uint8_t response_type;
[486] Fix | Delete
uint8_t status;
[487] Fix | Delete
uint16_t sequence;
[488] Fix | Delete
uint32_t length;
[489] Fix | Delete
xcb_timestamp_t timestamp;
[490] Fix | Delete
xcb_randr_crtc_t crtc;
[491] Fix | Delete
uint32_t mm_width;
[492] Fix | Delete
uint32_t mm_height;
[493] Fix | Delete
uint8_t connection;
[494] Fix | Delete
uint8_t subpixel_order;
[495] Fix | Delete
uint16_t num_crtcs;
[496] Fix | Delete
uint16_t num_modes;
[497] Fix | Delete
uint16_t num_preferred;
[498] Fix | Delete
uint16_t num_clones;
[499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function