1xcb_randr_get_screen_info(3) XCB Requests xcb_randr_get_screen_info(3)
2
3
4
6 xcb_randr_get_screen_info -
7
9 #include <xcb/randr.h>
10
11 Request function
12 xcb_randr_get_screen_info_cookie_t
13 xcb_randr_get_screen_info(xcb_connection_t *conn,
14 xcb_window_t window);
15
16 Reply datastructure
17 typedef struct xcb_randr_get_screen_info_reply_t {
18 uint8_t response_type;
19 uint8_t rotations;
20 uint16_t sequence;
21 uint32_t length;
22 xcb_window_t root;
23 xcb_timestamp_t timestamp;
24 xcb_timestamp_t config_timestamp;
25 uint16_t nSizes;
26 uint16_t sizeID;
27 uint16_t rotation;
28 uint16_t rate;
29 uint16_t nInfo;
30 uint8_t pad0[2];
31 } xcb_randr_get_screen_info_reply_t;
32
33 Reply function
34 xcb_randr_get_screen_info_reply_t
35 *xcb_randr_get_screen_info_reply(xcb_connection_t *conn,
36 xcb_randr_get_screen_info_cookie_t cookie,
37 xcb_generic_error_t **e);
38
39 Reply accessors
40 xcb_randr_screen_size_t *xcb_randr_get_screen_info_sizes(const
41 xcb_randr_get_screen_info_request_t *reply);
42
43 int xcb_randr_get_screen_info_sizes_length(const
44 xcb_randr_get_screen_info_reply_t *reply);
45
46 xcb_randr_screen_size_iterator_t
47 xcb_randr_get_screen_info_sizes_iterator(const
48 xcb_randr_get_screen_info_reply_t *reply);
49
50 int xcb_randr_get_screen_info_rates_length(const
51 xcb_randr_get_screen_info_reply_t *reply);
52
53 xcb_randr_refresh_rates_iterator_t
54 xcb_randr_get_screen_info_rates_iterator(const
55 xcb_randr_get_screen_info_reply_t *reply);
56
58 conn The XCB connection to X11.
59
60 window TODO: NOT YET DOCUMENTED.
61
63 response_type
64 The type of this reply, in this case XCB_RANDR_GET_SCREEN_IN‐
65 FO. This field is also present in the xcb_generic_reply_t and
66 can be used to tell replies apart from each other.
67
68 sequence The sequence number of the last request processed by the X11
69 server.
70
71 length The length of the reply, in words (a word is 4 bytes).
72
73 rotations TODO: NOT YET DOCUMENTED.
74
75 root TODO: NOT YET DOCUMENTED.
76
77 timestamp TODO: NOT YET DOCUMENTED.
78
79 config_timestamp
80 TODO: NOT YET DOCUMENTED.
81
82 nSizes TODO: NOT YET DOCUMENTED.
83
84 sizeID TODO: NOT YET DOCUMENTED.
85
86 rotation TODO: NOT YET DOCUMENTED.
87
88 rate TODO: NOT YET DOCUMENTED.
89
90 nInfo TODO: NOT YET DOCUMENTED.
91
94 Returns an xcb_randr_get_screen_info_cookie_t. Errors have to be han‐
95 dled when calling the reply function xcb_randr_get_screen_info_reply.
96
97 If you want to handle errors in the event loop instead, use xcb_ran‐
98 dr_get_screen_info_unchecked. See xcb-requests(3) for details.
99
101 This request does never generate any errors.
102
105 Generated from randr.xml. Contact xcb@lists.freedesktop.org for correc‐
106 tions and improvements.
107
108
109
110X Version 11 libxcb 1.13 xcb_randr_get_screen_info(3)