1xcb_randr_get_screen_resources(3)XCB Requestsxcb_randr_get_screen_resources(3)
2
3
4
6 xcb_randr_get_screen_resources -
7
9 #include <xcb/randr.h>
10
11 Request function
12 xcb_randr_get_screen_resources_cookie_t
13 xcb_randr_get_screen_resources(xcb_connection_t *conn,
14 xcb_window_t window);
15
16 Reply datastructure
17 typedef struct xcb_randr_get_screen_resources_reply_t {
18 uint8_t response_type;
19 uint8_t pad0;
20 uint16_t sequence;
21 uint32_t length;
22 xcb_timestamp_t timestamp;
23 xcb_timestamp_t config_timestamp;
24 uint16_t num_crtcs;
25 uint16_t num_outputs;
26 uint16_t num_modes;
27 uint16_t names_len;
28 uint8_t pad1[8];
29 } xcb_randr_get_screen_resources_reply_t;
30
31 Reply function
32 xcb_randr_get_screen_resources_reply_t
33 *xcb_randr_get_screen_resources_reply(xcb_connection_t *conn,
34 xcb_randr_get_screen_resources_cookie_t cookie,
35 xcb_generic_error_t **e);
36
37 Reply accessors
38 xcb_randr_crtc_t *xcb_randr_get_screen_resources_crtcs(const
39 xcb_randr_get_screen_resources_request_t *reply);
40
41 int xcb_randr_get_screen_resources_crtcs_length(const
42 xcb_randr_get_screen_resources_reply_t *reply);
43
44 xcb_generic_iterator_t xcb_randr_get_screen_resources_crtcs_end(const
45 xcb_randr_get_screen_resources_reply_t *reply);
46
47 xcb_randr_output_t *xcb_randr_get_screen_resources_outputs(const
48 xcb_randr_get_screen_resources_request_t *reply);
49
50 int xcb_randr_get_screen_resources_outputs_length(const
51 xcb_randr_get_screen_resources_reply_t *reply);
52
53 xcb_generic_iterator_t xcb_randr_get_screen_resources_outputs_end(const
54 xcb_randr_get_screen_resources_reply_t *reply);
55
56 xcb_randr_mode_info_t *xcb_randr_get_screen_resources_modes(const
57 xcb_randr_get_screen_resources_request_t *reply);
58
59 int xcb_randr_get_screen_resources_modes_length(const
60 xcb_randr_get_screen_resources_reply_t *reply);
61
62 xcb_randr_mode_info_iterator_t
63 xcb_randr_get_screen_resources_modes_iterator(const
64 xcb_randr_get_screen_resources_reply_t *reply);
65
66 uint8_t *xcb_randr_get_screen_resources_names(const
67 xcb_randr_get_screen_resources_request_t *reply);
68
69 int xcb_randr_get_screen_resources_names_length(const
70 xcb_randr_get_screen_resources_reply_t *reply);
71
72 xcb_generic_iterator_t xcb_randr_get_screen_resources_names_end(const
73 xcb_randr_get_screen_resources_reply_t *reply);
74
76 conn The XCB connection to X11.
77
78 window TODO: NOT YET DOCUMENTED.
79
81 response_type
82 The type of this reply, in this case XCB_RANDR_GET_SCREEN_RE‐
83 SOURCES. This field is also present in the xcb_generic_re‐
84 ply_t and can be used to tell replies apart from each other.
85
86 sequence The sequence number of the last request processed by the X11
87 server.
88
89 length The length of the reply, in words (a word is 4 bytes).
90
91 timestamp TODO: NOT YET DOCUMENTED.
92
93 config_timestamp
94 TODO: NOT YET DOCUMENTED.
95
96 num_crtcs TODO: NOT YET DOCUMENTED.
97
98 num_outputs
99 TODO: NOT YET DOCUMENTED.
100
101 num_modes TODO: NOT YET DOCUMENTED.
102
103 names_len TODO: NOT YET DOCUMENTED.
104
107 Returns an xcb_randr_get_screen_resources_cookie_t. Errors have to be
108 handled when calling the reply function xcb_randr_get_screen_re‐
109 sources_reply.
110
111 If you want to handle errors in the event loop instead, use xcb_ran‐
112 dr_get_screen_resources_unchecked. See xcb-requests(3) for details.
113
115 This request does never generate any errors.
116
119 Generated from randr.xml. Contact xcb@lists.freedesktop.org for correc‐
120 tions and improvements.
121
122
123
124X Version 11 libxcb 1.13.1xcb_randr_get_screen_resources(3)