1xcb_xinerama_query_screens(3) XCB Requests xcb_xinerama_query_screens(3)
2
3
4
6 xcb_xinerama_query_screens -
7
9 #include <xcb/xinerama.h>
10
11 Request function
12 xcb_xinerama_query_screens_cookie_t
13 xcb_xinerama_query_screens(xcb_connection_t *conn,
14
15 Reply datastructure
16 typedef struct xcb_xinerama_query_screens_reply_t {
17 uint8_t response_type;
18 uint8_t pad0;
19 uint16_t sequence;
20 uint32_t length;
21 uint32_t number;
22 uint8_t pad1[20];
23 } xcb_xinerama_query_screens_reply_t;
24
25 Reply function
26 xcb_xinerama_query_screens_reply_t
27 *xcb_xinerama_query_screens_reply(xcb_connection_t *conn,
28 xcb_xinerama_query_screens_cookie_t cookie,
29 xcb_generic_error_t **e);
30
31 Reply accessors
32 xcb_xinerama_screen_info_t
33 *xcb_xinerama_query_screens_screen_info(const
34 xcb_xinerama_query_screens_request_t *reply);
35
36 int xcb_xinerama_query_screens_screen_info_length(const
37 xcb_xinerama_query_screens_reply_t *reply);
38
39 xcb_xinerama_screen_info_iterator_t
40 xcb_xinerama_query_screens_screen_info_iterator(const
41 xcb_xinerama_query_screens_reply_t *reply);
42
44 conn The XCB connection to X11.
45
47 response_type
48 The type of this reply, in this case XCB_XINERA‐
49 MA_QUERY_SCREENS. This field is also present in the
50 xcb_generic_reply_t and can be used to tell replies apart
51 from each other.
52
53 sequence The sequence number of the last request processed by the X11
54 server.
55
56 length The length of the reply, in words (a word is 4 bytes).
57
58 number TODO: NOT YET DOCUMENTED.
59
62 Returns an xcb_xinerama_query_screens_cookie_t. Errors have to be han‐
63 dled when calling the reply function xcb_xinerama_query_screens_reply.
64
65 If you want to handle errors in the event loop instead, use xcb_xinera‐
66 ma_query_screens_unchecked. See xcb-requests(3) for details.
67
69 This request does never generate any errors.
70
73 Generated from xinerama.xml. Contact xcb@lists.freedesktop.org for cor‐
74 rections and improvements.
75
76
77
78X Version 11 libxcb 1.13.1 xcb_xinerama_query_screens(3)