1xcb_randr_get_output_primary(3) XCB Requests xcb_randr_get_output_primary(3)
2
3
4
6 xcb_randr_get_output_primary -
7
9 #include <xcb/randr.h>
10
11 Request function
12 xcb_randr_get_output_primary_cookie_t
13 xcb_randr_get_output_primary(xcb_connection_t *conn,
14 xcb_window_t window);
15
16 Reply datastructure
17 typedef struct xcb_randr_get_output_primary_reply_t {
18 uint8_t response_type;
19 uint8_t pad0;
20 uint16_t sequence;
21 uint32_t length;
22 xcb_randr_output_t output;
23 } xcb_randr_get_output_primary_reply_t;
24
25 Reply function
26 xcb_randr_get_output_primary_reply_t
27 *xcb_randr_get_output_primary_reply(xcb_connection_t *conn,
28 xcb_randr_get_output_primary_cookie_t cookie,
29 xcb_generic_error_t **e);
30
32 conn The XCB connection to X11.
33
34 window TODO: NOT YET DOCUMENTED.
35
37 response_type
38 The type of this reply, in this case XCB_RANDR_GET_OUT‐
39 PUT_PRIMARY. This field is also present in the xcb_gener‐
40 ic_reply_t and can be used to tell replies apart from each
41 other.
42
43 sequence The sequence number of the last request processed by the X11
44 server.
45
46 length The length of the reply, in words (a word is 4 bytes).
47
48 output TODO: NOT YET DOCUMENTED.
49
52 Returns an xcb_randr_get_output_primary_cookie_t. Errors have to be
53 handled when calling the reply function xcb_randr_get_output_prima‐
54 ry_reply.
55
56 If you want to handle errors in the event loop instead, use xcb_ran‐
57 dr_get_output_primary_unchecked. See xcb-requests(3) for details.
58
60 This request does never generate any errors.
61
64 Generated from randr.xml. Contact xcb@lists.freedesktop.org for correc‐
65 tions and improvements.
66
67
68
69X Version 11 libxcb 1.13.1 xcb_randr_get_output_primary(3)