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

NAME

6       xcb_screensaver_query_info -
7

SYNOPSIS

9       #include <xcb/screensaver.h>
10
11   Request function
12       xcb_screensaver_query_info_cookie_t
13              xcb_screensaver_query_info(xcb_connection_t *conn,
14              xcb_drawable_t drawable);
15
16   Reply datastructure
17       typedef struct xcb_screensaver_query_info_reply_t {
18           uint8_t      response_type;
19           uint8_t      state;
20           uint16_t     sequence;
21           uint32_t     length;
22           xcb_window_t saver_window;
23           uint32_t     ms_until_server;
24           uint32_t     ms_since_user_input;
25           uint32_t     event_mask;
26           uint8_t      kind;
27           uint8_t      pad0[7];
28       } xcb_screensaver_query_info_reply_t;
29
30   Reply function
31       xcb_screensaver_query_info_reply_t
32              *xcb_screensaver_query_info_reply(xcb_connection_t *conn,
33              xcb_screensaver_query_info_cookie_t cookie,
34              xcb_generic_error_t **e);
35

REQUEST ARGUMENTS

37       conn      The XCB connection to X11.
38
39       drawable  TODO: NOT YET DOCUMENTED.
40

REPLY FIELDS

42       response_type
43                 The type of this reply, in this case XCB_SCREEN‐
44                 SAVER_QUERY_INFO. 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       state     TODO: NOT YET DOCUMENTED.
54
55       saver_window
56                 TODO: NOT YET DOCUMENTED.
57
58       ms_until_server
59                 TODO: NOT YET DOCUMENTED.
60
61       ms_since_user_input
62                 TODO: NOT YET DOCUMENTED.
63
64       event_mask
65                 TODO: NOT YET DOCUMENTED.
66
67       kind      TODO: NOT YET DOCUMENTED.
68

DESCRIPTION

RETURN VALUE

71       Returns an xcb_screensaver_query_info_cookie_t. Errors have to be han‐
72       dled when calling the reply function xcb_screensaver_query_info_reply.
73
74       If you want to handle errors in the event loop instead, use xcb_screen‐
75       saver_query_info_unchecked. See xcb-requests(3) for details.
76

ERRORS

78       This request does never generate any errors.
79

SEE ALSO

AUTHOR

82       Generated from screensaver.xml. Contact xcb@lists.freedesktop.org for
83       corrections and improvements.
84
85
86
87X Version 11                      libxcb 1.13    xcb_screensaver_query_info(3)
Impressum