1xcb_randr_get_monitors(3)        XCB Requests        xcb_randr_get_monitors(3)
2
3
4

NAME

6       xcb_randr_get_monitors -
7

SYNOPSIS

9       #include <xcb/randr.h>
10
11   Request function
12       xcb_randr_get_monitors_cookie_t
13              xcb_randr_get_monitors(xcb_connection_t *conn,
14              xcb_window_t window, uint8_t get_active);
15
16   Reply datastructure
17       typedef struct xcb_randr_get_monitors_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           uint32_t        nMonitors;
24           uint32_t        nOutputs;
25           uint8_t         pad1[12];
26       } xcb_randr_get_monitors_reply_t;
27
28   Reply function
29       xcb_randr_get_monitors_reply_t
30              *xcb_randr_get_monitors_reply(xcb_connection_t *conn,
31              xcb_randr_get_monitors_cookie_t cookie,
32              xcb_generic_error_t **e);
33
34   Reply accessors
35       int xcb_randr_get_monitors_monitors_length(const
36              xcb_randr_get_monitors_reply_t *reply);
37
38       xcb_randr_monitor_info_iterator_t
39              xcb_randr_get_monitors_monitors_iterator(const
40              xcb_randr_get_monitors_reply_t *reply);
41

REQUEST ARGUMENTS

43       conn      The XCB connection to X11.
44
45       window    TODO: NOT YET DOCUMENTED.
46
47       get_active
48                 TODO: NOT YET DOCUMENTED.
49

REPLY FIELDS

51       response_type
52                 The type of this reply, in this case XCB_RANDR_GET_MONITORS.
53                 This field is also present in the xcb_generic_reply_t and can
54                 be used to tell replies apart from each other.
55
56       sequence  The sequence number of the last request processed by the X11
57                 server.
58
59       length    The length of the reply, in words (a word is 4 bytes).
60
61       timestamp TODO: NOT YET DOCUMENTED.
62
63       nMonitors TODO: NOT YET DOCUMENTED.
64
65       nOutputs  TODO: NOT YET DOCUMENTED.
66

DESCRIPTION

RETURN VALUE

69       Returns an xcb_randr_get_monitors_cookie_t. Errors have to be handled
70       when calling the reply function xcb_randr_get_monitors_reply.
71
72       If you want to handle errors in the event loop instead, use xcb_ran‐
73       dr_get_monitors_unchecked. See xcb-requests(3) for details.
74

ERRORS

76       This request does never generate any errors.
77

SEE ALSO

AUTHOR

80       Generated from randr.xml. Contact xcb@lists.freedesktop.org for correc‐
81       tions and improvements.
82
83
84
85X Version 11                      libxcb 1.12        xcb_randr_get_monitors(3)
Impressum