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