XCB  1.12
xinerama.h
1 /*
2  * This file generated automatically from xinerama.xml by c_client.py.
3  * Edit at your peril.
4  */
5 
12 #ifndef __XINERAMA_H
13 #define __XINERAMA_H
14 
15 #include "xcb.h"
16 #include "xproto.h"
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
22 #define XCB_XINERAMA_MAJOR_VERSION 1
23 #define XCB_XINERAMA_MINOR_VERSION 1
24 
25 extern xcb_extension_t xcb_xinerama_id;
26 
31  int16_t x_org;
32  int16_t y_org;
33  uint16_t width;
34  uint16_t height;
36 
42  int rem;
43  int index;
45 
50  unsigned int sequence;
52 
54 #define XCB_XINERAMA_QUERY_VERSION 0
55 
60  uint8_t major_opcode;
61  uint8_t minor_opcode;
62  uint16_t length;
63  uint8_t major;
64  uint8_t minor;
66 
71  uint8_t response_type;
72  uint8_t pad0;
73  uint16_t sequence;
74  uint32_t length;
75  uint16_t major;
76  uint16_t minor;
78 
83  unsigned int sequence;
85 
87 #define XCB_XINERAMA_GET_STATE 1
88 
93  uint8_t major_opcode;
94  uint8_t minor_opcode;
95  uint16_t length;
96  xcb_window_t window;
98 
103  uint8_t response_type;
104  uint8_t state;
105  uint16_t sequence;
106  uint32_t length;
107  xcb_window_t window;
109 
114  unsigned int sequence;
116 
118 #define XCB_XINERAMA_GET_SCREEN_COUNT 2
119 
124  uint8_t major_opcode;
125  uint8_t minor_opcode;
126  uint16_t length;
127  xcb_window_t window;
129 
134  uint8_t response_type;
135  uint8_t screen_count;
136  uint16_t sequence;
137  uint32_t length;
138  xcb_window_t window;
140 
145  unsigned int sequence;
147 
149 #define XCB_XINERAMA_GET_SCREEN_SIZE 3
150 
155  uint8_t major_opcode;
156  uint8_t minor_opcode;
157  uint16_t length;
158  xcb_window_t window;
159  uint32_t screen;
161 
166  uint8_t response_type;
167  uint8_t pad0;
168  uint16_t sequence;
169  uint32_t length;
170  uint32_t width;
171  uint32_t height;
172  xcb_window_t window;
173  uint32_t screen;
175 
180  unsigned int sequence;
182 
184 #define XCB_XINERAMA_IS_ACTIVE 4
185 
190  uint8_t major_opcode;
191  uint8_t minor_opcode;
192  uint16_t length;
194 
199  uint8_t response_type;
200  uint8_t pad0;
201  uint16_t sequence;
202  uint32_t length;
203  uint32_t state;
205 
210  unsigned int sequence;
212 
214 #define XCB_XINERAMA_QUERY_SCREENS 5
215 
220  uint8_t major_opcode;
221  uint8_t minor_opcode;
222  uint16_t length;
224 
229  uint8_t response_type;
230  uint8_t pad0;
231  uint16_t sequence;
232  uint32_t length;
233  uint32_t number;
234  uint8_t pad1[20];
236 
245 void
247 
259 
270  uint8_t major,
271  uint8_t minor);
272 
286  uint8_t major,
287  uint8_t minor);
288 
306  xcb_generic_error_t **e);
307 
318  xcb_window_t window);
319 
333  xcb_window_t window);
334 
352  xcb_generic_error_t **e);
353 
364  xcb_window_t window);
365 
379  xcb_window_t window);
380 
398  xcb_generic_error_t **e);
399 
410  xcb_window_t window,
411  uint32_t screen);
412 
426  xcb_window_t window,
427  uint32_t screen);
428 
446  xcb_generic_error_t **e);
447 
458 
472 
490  xcb_generic_error_t **e);
491 
492 int
493 xcb_xinerama_query_screens_sizeof (const void *_buffer);
494 
505 
519 
521 xcb_xinerama_query_screens_screen_info (const xcb_xinerama_query_screens_reply_t *R);
522 
523 int
524 xcb_xinerama_query_screens_screen_info_length (const xcb_xinerama_query_screens_reply_t *R);
525 
527 xcb_xinerama_query_screens_screen_info_iterator (const xcb_xinerama_query_screens_reply_t *R);
528 
546  xcb_generic_error_t **e);
547 
548 
549 #ifdef __cplusplus
550 }
551 #endif
552 
553 #endif
554 
xcb_xinerama_get_state_reply_t * xcb_xinerama_get_state_reply(xcb_connection_t *c, xcb_xinerama_get_state_cookie_t cookie, xcb_generic_error_t **e)
Definition: xinerama.c:156
Generic error.
Definition: xcb.h:170
xcb_xinerama_is_active_reply_t * xcb_xinerama_is_active_reply(xcb_connection_t *c, xcb_xinerama_is_active_cookie_t cookie, xcb_generic_error_t **e)
Definition: xinerama.c:336
xcb_xinerama_get_screen_size_request_t
Definition: xinerama.h:154
xcb_xinerama_get_state_cookie_t xcb_xinerama_get_state_unchecked(xcb_connection_t *c, xcb_window_t window)
Definition: xinerama.c:130
struct xcb_xinerama_query_screens_request_t xcb_xinerama_query_screens_request_t
xcb_xinerama_query_screens_request_t
xcb_xinerama_is_active_cookie_t xcb_xinerama_is_active(xcb_connection_t *c)
Definition: xinerama.c:288
struct xcb_xinerama_get_screen_count_cookie_t xcb_xinerama_get_screen_count_cookie_t
xcb_xinerama_get_screen_count_cookie_t
xcb_xinerama_query_screens_cookie_t xcb_xinerama_query_screens(xcb_connection_t *c)
Definition: xinerama.c:375
struct xcb_xinerama_query_screens_cookie_t xcb_xinerama_query_screens_cookie_t
xcb_xinerama_query_screens_cookie_t
xcb_xinerama_query_version_cookie_t xcb_xinerama_query_version_unchecked(xcb_connection_t *c, uint8_t major, uint8_t minor)
Definition: xinerama.c:68
Definition: xcbext.h:39
struct xcb_xinerama_get_screen_count_reply_t xcb_xinerama_get_screen_count_reply_t
xcb_xinerama_get_screen_count_reply_t
struct xcb_xinerama_get_state_request_t xcb_xinerama_get_state_request_t
xcb_xinerama_get_state_request_t
Generic iterator.
Definition: xcb.h:114
xcb_xinerama_get_screen_count_cookie_t xcb_xinerama_get_screen_count_unchecked(xcb_connection_t *c, xcb_window_t window)
Definition: xinerama.c:190
struct xcb_xinerama_query_screens_reply_t xcb_xinerama_query_screens_reply_t
xcb_xinerama_query_screens_reply_t
struct xcb_xinerama_get_state_cookie_t xcb_xinerama_get_state_cookie_t
xcb_xinerama_get_state_cookie_t
xcb_xinerama_is_active_reply_t
Definition: xinerama.h:198
xcb_xinerama_get_state_request_t
Definition: xinerama.h:92
xcb_xinerama_get_screen_size_cookie_t xcb_xinerama_get_screen_size(xcb_connection_t *c, xcb_window_t window, uint32_t screen)
Definition: xinerama.c:224
struct xcb_xinerama_screen_info_t xcb_xinerama_screen_info_t
xcb_xinerama_screen_info_t
xcb_xinerama_get_screen_count_reply_t
Definition: xinerama.h:133
xcb_xinerama_get_state_cookie_t xcb_xinerama_get_state(xcb_connection_t *c, xcb_window_t window)
Definition: xinerama.c:104
struct xcb_xinerama_get_screen_count_request_t xcb_xinerama_get_screen_count_request_t
xcb_xinerama_get_screen_count_request_t
struct xcb_xinerama_query_version_reply_t xcb_xinerama_query_version_reply_t
xcb_xinerama_query_version_reply_t
xcb_xinerama_screen_info_t
Definition: xinerama.h:30
void xcb_xinerama_screen_info_next(xcb_xinerama_screen_info_iterator_t *i)
Definition: xinerama.c:22
xcb_xinerama_get_state_reply_t
Definition: xinerama.h:102
xcb_xinerama_is_active_request_t
Definition: xinerama.h:189
struct xcb_xinerama_query_version_cookie_t xcb_xinerama_query_version_cookie_t
xcb_xinerama_query_version_cookie_t
struct xcb_xinerama_get_screen_size_cookie_t xcb_xinerama_get_screen_size_cookie_t
xcb_xinerama_get_screen_size_cookie_t
struct xcb_xinerama_get_screen_size_request_t xcb_xinerama_get_screen_size_request_t
xcb_xinerama_get_screen_size_request_t
xcb_xinerama_get_screen_count_reply_t * xcb_xinerama_get_screen_count_reply(xcb_connection_t *c, xcb_xinerama_get_screen_count_cookie_t cookie, xcb_generic_error_t **e)
Definition: xinerama.c:216
xcb_xinerama_get_screen_count_request_t
Definition: xinerama.h:123
struct xcb_xinerama_query_version_request_t xcb_xinerama_query_version_request_t
xcb_xinerama_query_version_request_t
xcb_xinerama_query_version_cookie_t xcb_xinerama_query_version(xcb_connection_t *c, uint8_t major, uint8_t minor)
Definition: xinerama.c:40
struct xcb_xinerama_get_state_reply_t xcb_xinerama_get_state_reply_t
xcb_xinerama_get_state_reply_t
struct xcb_xinerama_get_screen_size_reply_t xcb_xinerama_get_screen_size_reply_t
xcb_xinerama_get_screen_size_reply_t
xcb_xinerama_get_screen_count_cookie_t xcb_xinerama_get_screen_count(xcb_connection_t *c, xcb_window_t window)
Definition: xinerama.c:164
xcb_xinerama_query_screens_reply_t
Definition: xinerama.h:228
xcb_generic_iterator_t xcb_xinerama_screen_info_end(xcb_xinerama_screen_info_iterator_t i)
Definition: xinerama.c:30
xcb_xinerama_get_screen_size_reply_t * xcb_xinerama_get_screen_size_reply(xcb_connection_t *c, xcb_xinerama_get_screen_size_cookie_t cookie, xcb_generic_error_t **e)
Definition: xinerama.c:280
xcb_xinerama_get_screen_size_cookie_t xcb_xinerama_get_screen_size_unchecked(xcb_connection_t *c, xcb_window_t window, uint32_t screen)
Definition: xinerama.c:252
xcb_xinerama_is_active_cookie_t xcb_xinerama_is_active_unchecked(xcb_connection_t *c)
Definition: xinerama.c:312
xcb_xinerama_screen_info_iterator_t
Definition: xinerama.h:40
xcb_xinerama_query_version_request_t
Definition: xinerama.h:59
xcb_xinerama_get_screen_size_reply_t
Definition: xinerama.h:165
xcb_xinerama_query_screens_cookie_t xcb_xinerama_query_screens_unchecked(xcb_connection_t *c)
Definition: xinerama.c:399
struct xcb_xinerama_screen_info_iterator_t xcb_xinerama_screen_info_iterator_t
xcb_xinerama_screen_info_iterator_t
struct xcb_xinerama_is_active_request_t xcb_xinerama_is_active_request_t
xcb_xinerama_is_active_request_t
xcb_xinerama_query_screens_reply_t * xcb_xinerama_query_screens_reply(xcb_connection_t *c, xcb_xinerama_query_screens_cookie_t cookie, xcb_generic_error_t **e)
Definition: xinerama.c:445
struct xcb_xinerama_is_active_reply_t xcb_xinerama_is_active_reply_t
xcb_xinerama_is_active_reply_t
xcb_xinerama_query_screens_request_t
Definition: xinerama.h:219
Definition: xcbint.h:198
struct xcb_xinerama_is_active_cookie_t xcb_xinerama_is_active_cookie_t
xcb_xinerama_is_active_cookie_t
xcb_xinerama_query_version_reply_t
Definition: xinerama.h:70
xcb_xinerama_query_version_reply_t * xcb_xinerama_query_version_reply(xcb_connection_t *c, xcb_xinerama_query_version_cookie_t cookie, xcb_generic_error_t **e)
Definition: xinerama.c:96