1xcb_xinerama_query_version(3) XCB Requests xcb_xinerama_query_version(3)
2
3
4
6 xcb_xinerama_query_version -
7
9 #include <xcb/xinerama.h>
10
11 Request function
12 xcb_xinerama_query_version_cookie_t
13 xcb_xinerama_query_version(xcb_connection_t *conn,
14 uint8_t major, uint8_t minor);
15
16 Reply datastructure
17 typedef struct xcb_xinerama_query_version_reply_t {
18 uint8_t response_type;
19 uint8_t pad0;
20 uint16_t sequence;
21 uint32_t length;
22 uint16_t major;
23 uint16_t minor;
24 } xcb_xinerama_query_version_reply_t;
25
26 Reply function
27 xcb_xinerama_query_version_reply_t
28 *xcb_xinerama_query_version_reply(xcb_connection_t *conn,
29 xcb_xinerama_query_version_cookie_t cookie,
30 xcb_generic_error_t **e);
31
33 conn The XCB connection to X11.
34
35 major TODO: NOT YET DOCUMENTED.
36
37 minor TODO: NOT YET DOCUMENTED.
38
40 response_type
41 The type of this reply, in this case XCB_XINERAMA_QUERY_VER‐
42 SION. This field is also present in the xcb_generic_reply_t
43 and can be used to tell replies apart from each other.
44
45 sequence The sequence number of the last request processed by the X11
46 server.
47
48 length The length of the reply, in words (a word is 4 bytes).
49
50 major TODO: NOT YET DOCUMENTED.
51
52 minor TODO: NOT YET DOCUMENTED.
53
56 Returns an xcb_xinerama_query_version_cookie_t. Errors have to be han‐
57 dled when calling the reply function xcb_xinerama_query_version_reply.
58
59 If you want to handle errors in the event loop instead, use xcb_xinera‐
60 ma_query_version_unchecked. See xcb-requests(3) for details.
61
63 This request does never generate any errors.
64
67 Generated from xinerama.xml. Contact xcb@lists.freedesktop.org for cor‐
68 rections and improvements.
69
70
71
72X Version 11 libxcb 1.13 xcb_xinerama_query_version(3)