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

NAME

6       xcb_xinerama_get_screen_count -
7

SYNOPSIS

9       #include <xcb/xinerama.h>
10
11   Request function
12       xcb_xinerama_get_screen_count_cookie_t
13              xcb_xinerama_get_screen_count(xcb_connection_t *conn,
14              xcb_window_t window);
15
16   Reply datastructure
17       typedef struct xcb_xinerama_get_screen_count_reply_t {
18           uint8_t      response_type;
19           uint8_t      screen_count;
20           uint16_t     sequence;
21           uint32_t     length;
22           xcb_window_t window;
23       } xcb_xinerama_get_screen_count_reply_t;
24
25   Reply function
26       xcb_xinerama_get_screen_count_reply_t
27              *xcb_xinerama_get_screen_count_reply(xcb_connection_t *conn,
28              xcb_xinerama_get_screen_count_cookie_t cookie,
29              xcb_generic_error_t **e);
30

REQUEST ARGUMENTS

32       conn      The XCB connection to X11.
33
34       window    TODO: NOT YET DOCUMENTED.
35

REPLY FIELDS

37       response_type
38                 The type of this reply, in this case XCB_XINERA‐
39                 MA_GET_SCREEN_COUNT. This field is also present in the
40                 xcb_generic_reply_t and can be used to tell replies apart
41                 from each 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       screen_count
49                 TODO: NOT YET DOCUMENTED.
50
51       window    TODO: NOT YET DOCUMENTED.
52

DESCRIPTION

RETURN VALUE

55       Returns an xcb_xinerama_get_screen_count_cookie_t. Errors have to be
56       handled when calling the reply function xcb_xinera‐
57       ma_get_screen_count_reply.
58
59       If you want to handle errors in the event loop instead, use xcb_xinera‐
60       ma_get_screen_count_unchecked. See xcb-requests(3) for details.
61

ERRORS

63       This request does never generate any errors.
64

SEE ALSO

AUTHOR

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_get_screen_count(3)
Impressum