00001
00002
00003
00004
00005
00012 #ifndef __XPROTO_H
00013 #define __XPROTO_H
00014
00015 #include "xcb.h"
00016
00020 typedef struct xcb_char2b_t {
00021 uint8_t byte1;
00022 uint8_t byte2;
00023 } xcb_char2b_t;
00024
00028 typedef struct xcb_char2b_iterator_t {
00029 xcb_char2b_t *data;
00030 int rem;
00031 int index;
00032 } xcb_char2b_iterator_t;
00033
00034 typedef uint32_t xcb_window_t;
00035
00039 typedef struct xcb_window_iterator_t {
00040 xcb_window_t *data;
00041 int rem;
00042 int index;
00043 } xcb_window_iterator_t;
00044
00045 typedef uint32_t xcb_pixmap_t;
00046
00050 typedef struct xcb_pixmap_iterator_t {
00051 xcb_pixmap_t *data;
00052 int rem;
00053 int index;
00054 } xcb_pixmap_iterator_t;
00055
00056 typedef uint32_t xcb_cursor_t;
00057
00061 typedef struct xcb_cursor_iterator_t {
00062 xcb_cursor_t *data;
00063 int rem;
00064 int index;
00065 } xcb_cursor_iterator_t;
00066
00067 typedef uint32_t xcb_font_t;
00068
00072 typedef struct xcb_font_iterator_t {
00073 xcb_font_t *data;
00074 int rem;
00075 int index;
00076 } xcb_font_iterator_t;
00077
00078 typedef uint32_t xcb_gcontext_t;
00079
00083 typedef struct xcb_gcontext_iterator_t {
00084 xcb_gcontext_t *data;
00085 int rem;
00086 int index;
00087 } xcb_gcontext_iterator_t;
00088
00089 typedef uint32_t xcb_colormap_t;
00090
00094 typedef struct xcb_colormap_iterator_t {
00095 xcb_colormap_t *data;
00096 int rem;
00097 int index;
00098 } xcb_colormap_iterator_t;
00099
00100 typedef uint32_t xcb_atom_t;
00101
00105 typedef struct xcb_atom_iterator_t {
00106 xcb_atom_t *data;
00107 int rem;
00108 int index;
00109 } xcb_atom_iterator_t;
00110
00111 typedef uint32_t xcb_drawable_t;
00112
00116 typedef struct xcb_drawable_iterator_t {
00117 xcb_drawable_t *data;
00118 int rem;
00119 int index;
00120 } xcb_drawable_iterator_t;
00121
00122 typedef uint32_t xcb_fontable_t;
00123
00127 typedef struct xcb_fontable_iterator_t {
00128 xcb_fontable_t *data;
00129 int rem;
00130 int index;
00131 } xcb_fontable_iterator_t;
00132
00133 typedef uint32_t xcb_visualid_t;
00134
00138 typedef struct xcb_visualid_iterator_t {
00139 xcb_visualid_t *data;
00140 int rem;
00141 int index;
00142 } xcb_visualid_iterator_t;
00143
00144 typedef uint32_t xcb_timestamp_t;
00145
00149 typedef struct xcb_timestamp_iterator_t {
00150 xcb_timestamp_t *data;
00151 int rem;
00152 int index;
00153 } xcb_timestamp_iterator_t;
00154
00155 typedef uint32_t xcb_keysym_t;
00156
00160 typedef struct xcb_keysym_iterator_t {
00161 xcb_keysym_t *data;
00162 int rem;
00163 int index;
00164 } xcb_keysym_iterator_t;
00165
00166 typedef uint8_t xcb_keycode_t;
00167
00171 typedef struct xcb_keycode_iterator_t {
00172 xcb_keycode_t *data;
00173 int rem;
00174 int index;
00175 } xcb_keycode_iterator_t;
00176
00177 typedef uint8_t xcb_button_t;
00178
00182 typedef struct xcb_button_iterator_t {
00183 xcb_button_t *data;
00184 int rem;
00185 int index;
00186 } xcb_button_iterator_t;
00187
00191 typedef struct xcb_point_t {
00192 int16_t x;
00193 int16_t y;
00194 } xcb_point_t;
00195
00199 typedef struct xcb_point_iterator_t {
00200 xcb_point_t *data;
00201 int rem;
00202 int index;
00203 } xcb_point_iterator_t;
00204
00208 typedef struct xcb_rectangle_t {
00209 int16_t x;
00210 int16_t y;
00211 uint16_t width;
00212 uint16_t height;
00213 } xcb_rectangle_t;
00214
00218 typedef struct xcb_rectangle_iterator_t {
00219 xcb_rectangle_t *data;
00220 int rem;
00221 int index;
00222 } xcb_rectangle_iterator_t;
00223
00227 typedef struct xcb_arc_t {
00228 int16_t x;
00229 int16_t y;
00230 uint16_t width;
00231 uint16_t height;
00232 int16_t angle1;
00233 int16_t angle2;
00234 } xcb_arc_t;
00235
00239 typedef struct xcb_arc_iterator_t {
00240 xcb_arc_t *data;
00241 int rem;
00242 int index;
00243 } xcb_arc_iterator_t;
00244
00248 typedef struct xcb_format_t {
00249 uint8_t depth;
00250 uint8_t bits_per_pixel;
00251 uint8_t scanline_pad;
00252 uint8_t pad0[5];
00253 } xcb_format_t;
00254
00258 typedef struct xcb_format_iterator_t {
00259 xcb_format_t *data;
00260 int rem;
00261 int index;
00262 } xcb_format_iterator_t;
00263
00264 typedef enum xcb_visual_class_t {
00265 XCB_VISUAL_CLASS_STATIC_GRAY = 0,
00266 XCB_VISUAL_CLASS_GRAY_SCALE = 1,
00267 XCB_VISUAL_CLASS_STATIC_COLOR = 2,
00268 XCB_VISUAL_CLASS_PSEUDO_COLOR = 3,
00269 XCB_VISUAL_CLASS_TRUE_COLOR = 4,
00270 XCB_VISUAL_CLASS_DIRECT_COLOR = 5
00271 } xcb_visual_class_t;
00272
00276 typedef struct xcb_visualtype_t {
00277 xcb_visualid_t visual_id;
00278 uint8_t _class;
00279 uint8_t bits_per_rgb_value;
00280 uint16_t colormap_entries;
00281 uint32_t red_mask;
00282 uint32_t green_mask;
00283 uint32_t blue_mask;
00284 uint8_t pad0[4];
00285 } xcb_visualtype_t;
00286
00290 typedef struct xcb_visualtype_iterator_t {
00291 xcb_visualtype_t *data;
00292 int rem;
00293 int index;
00294 } xcb_visualtype_iterator_t;
00295
00299 typedef struct xcb_depth_t {
00300 uint8_t depth;
00301 uint8_t pad0;
00302 uint16_t visuals_len;
00303 uint8_t pad1[4];
00304 } xcb_depth_t;
00305
00309 typedef struct xcb_depth_iterator_t {
00310 xcb_depth_t *data;
00311 int rem;
00312 int index;
00313 } xcb_depth_iterator_t;
00314
00318 typedef struct xcb_screen_t {
00319 xcb_window_t root;
00320 xcb_colormap_t default_colormap;
00321 uint32_t white_pixel;
00322 uint32_t black_pixel;
00323 uint32_t current_input_masks;
00324 uint16_t width_in_pixels;
00325 uint16_t height_in_pixels;
00326 uint16_t width_in_millimeters;
00327 uint16_t height_in_millimeters;
00328 uint16_t min_installed_maps;
00329 uint16_t max_installed_maps;
00330 xcb_visualid_t root_visual;
00331 uint8_t backing_stores;
00332 uint8_t save_unders;
00333 uint8_t root_depth;
00334 uint8_t allowed_depths_len;
00335 } xcb_screen_t;
00336
00340 typedef struct xcb_screen_iterator_t {
00341 xcb_screen_t *data;
00342 int rem;
00343 int index;
00344 } xcb_screen_iterator_t;
00345
00349 typedef struct xcb_setup_request_t {
00350 uint8_t byte_order;
00351 uint8_t pad0;
00352 uint16_t protocol_major_version;
00353 uint16_t protocol_minor_version;
00354 uint16_t authorization_protocol_name_len;
00355 uint16_t authorization_protocol_data_len;
00356 } xcb_setup_request_t;
00357
00361 typedef struct xcb_setup_request_iterator_t {
00362 xcb_setup_request_t *data;
00363 int rem;
00364 int index;
00365 } xcb_setup_request_iterator_t;
00366
00370 typedef struct xcb_setup_failed_t {
00371 uint8_t status;
00372 uint8_t reason_len;
00373 uint16_t protocol_major_version;
00374 uint16_t protocol_minor_version;
00375 uint16_t length;
00376 } xcb_setup_failed_t;
00377
00381 typedef struct xcb_setup_failed_iterator_t {
00382 xcb_setup_failed_t *data;
00383 int rem;
00384 int index;
00385 } xcb_setup_failed_iterator_t;
00386
00390 typedef struct xcb_setup_authenticate_t {
00391 uint8_t status;
00392 uint8_t pad0[5];
00393 uint16_t length;
00394 } xcb_setup_authenticate_t;
00395
00399 typedef struct xcb_setup_authenticate_iterator_t {
00400 xcb_setup_authenticate_t *data;
00401 int rem;
00402 int index;
00403 } xcb_setup_authenticate_iterator_t;
00404
00405 typedef enum xcb_image_order_t {
00406 XCB_IMAGE_ORDER_LSB_FIRST = 0,
00407 XCB_IMAGE_ORDER_MSB_FIRST = 1
00408 } xcb_image_order_t;
00409
00413 typedef struct xcb_setup_t {
00414 uint8_t status;
00415 uint8_t pad0;
00416 uint16_t protocol_major_version;
00417 uint16_t protocol_minor_version;
00418 uint16_t length;
00419 uint32_t release_number;
00420 uint32_t resource_id_base;
00421 uint32_t resource_id_mask;
00422 uint32_t motion_buffer_size;
00423 uint16_t vendor_len;
00424 uint16_t maximum_request_length;
00425 uint8_t roots_len;
00426 uint8_t pixmap_formats_len;
00427 uint8_t image_byte_order;
00428 uint8_t bitmap_format_bit_order;
00429 uint8_t bitmap_format_scanline_unit;
00430 uint8_t bitmap_format_scanline_pad;
00431 xcb_keycode_t min_keycode;
00432 xcb_keycode_t max_keycode;
00433 uint8_t pad1[4];
00434 } xcb_setup_t;
00435
00439 typedef struct xcb_setup_iterator_t {
00440 xcb_setup_t *data;
00441 int rem;
00442 int index;
00443 } xcb_setup_iterator_t;
00444
00445 typedef enum xcb_mod_mask_t {
00446 XCB_MOD_MASK_SHIFT = (1 << 0),
00447 XCB_MOD_MASK_LOCK = (1 << 1),
00448 XCB_MOD_MASK_CONTROL = (1 << 2),
00449 XCB_MOD_MASK_1 = (1 << 3),
00450 XCB_MOD_MASK_2 = (1 << 4),
00451 XCB_MOD_MASK_3 = (1 << 5),
00452 XCB_MOD_MASK_4 = (1 << 6),
00453 XCB_MOD_MASK_5 = (1 << 7)
00454 } xcb_mod_mask_t;
00455
00457 #define XCB_KEY_PRESS 2
00458
00462 typedef struct xcb_key_press_event_t {
00463 uint8_t response_type;
00464 xcb_keycode_t detail;
00465 uint16_t sequence;
00466 xcb_timestamp_t time;
00467 xcb_window_t root;
00468 xcb_window_t event;
00469 xcb_window_t child;
00470 int16_t root_x;
00471 int16_t root_y;
00472 int16_t event_x;
00473 int16_t event_y;
00474 uint16_t state;
00475 uint8_t same_screen;
00476 } xcb_key_press_event_t;
00477
00479 #define XCB_KEY_RELEASE 3
00480
00481 typedef xcb_key_press_event_t xcb_key_release_event_t;
00482
00483 typedef enum xcb_button_mask_t {
00484 XCB_BUTTON_MASK_1 = (1 << 8),
00485 XCB_BUTTON_MASK_2 = (1 << 9),
00486 XCB_BUTTON_MASK_3 = (1 << 10),
00487 XCB_BUTTON_MASK_4 = (1 << 11),
00488 XCB_BUTTON_MASK_5 = (1 << 12),
00489 XCB_BUTTON_MASK_ANY = (1 << 15)
00490 } xcb_button_mask_t;
00491
00493 #define XCB_BUTTON_PRESS 4
00494
00498 typedef struct xcb_button_press_event_t {
00499 uint8_t response_type;
00500 xcb_button_t detail;
00501 uint16_t sequence;
00502 xcb_timestamp_t time;
00503 xcb_window_t root;
00504 xcb_window_t event;
00505 xcb_window_t child;
00506 int16_t root_x;
00507 int16_t root_y;
00508 int16_t event_x;
00509 int16_t event_y;
00510 uint16_t state;
00511 uint8_t same_screen;
00512 } xcb_button_press_event_t;
00513
00515 #define XCB_BUTTON_RELEASE 5
00516
00517 typedef xcb_button_press_event_t xcb_button_release_event_t;
00518
00519 typedef enum xcb_motion_t {
00520 XCB_MOTION_NORMAL = 0,
00521 XCB_MOTION_HINT = 1
00522 } xcb_motion_t;
00523
00525 #define XCB_MOTION_NOTIFY 6
00526
00530 typedef struct xcb_motion_notify_event_t {
00531 uint8_t response_type;
00532 uint8_t detail;
00533 uint16_t sequence;
00534 xcb_timestamp_t time;
00535 xcb_window_t root;
00536 xcb_window_t event;
00537 xcb_window_t child;
00538 int16_t root_x;
00539 int16_t root_y;
00540 int16_t event_x;
00541 int16_t event_y;
00542 uint16_t state;
00543 uint8_t same_screen;
00544 } xcb_motion_notify_event_t;
00545
00546 typedef enum xcb_notify_detail_t {
00547 XCB_NOTIFY_DETAIL_ANCESTOR = 0,
00548 XCB_NOTIFY_DETAIL_VIRTUAL = 1,
00549 XCB_NOTIFY_DETAIL_INFERIOR = 2,
00550 XCB_NOTIFY_DETAIL_NONLINEAR = 3,
00551 XCB_NOTIFY_DETAIL_NONLINEAR_VIRTUAL = 4,
00552 XCB_NOTIFY_DETAIL_POINTER = 5,
00553 XCB_NOTIFY_DETAIL_POINTER_ROOT = 6,
00554 XCB_NOTIFY_DETAIL_NONE = 7
00555 } xcb_notify_detail_t;
00556
00557 typedef enum xcb_notify_mode_t {
00558 XCB_NOTIFY_MODE_NORMAL = 0,
00559 XCB_NOTIFY_MODE_GRAB = 1,
00560 XCB_NOTIFY_MODE_UNGRAB = 2,
00561 XCB_NOTIFY_MODE_WHILE_GRABBED = 3
00562 } xcb_notify_mode_t;
00563
00565 #define XCB_ENTER_NOTIFY 7
00566
00570 typedef struct xcb_enter_notify_event_t {
00571 uint8_t response_type;
00572 uint8_t detail;
00573 uint16_t sequence;
00574 xcb_timestamp_t time;
00575 xcb_window_t root;
00576 xcb_window_t event;
00577 xcb_window_t child;
00578 int16_t root_x;
00579 int16_t root_y;
00580 int16_t event_x;
00581 int16_t event_y;
00582 uint16_t state;
00583 uint8_t mode;
00584 uint8_t same_screen_focus;
00585 } xcb_enter_notify_event_t;
00586
00588 #define XCB_LEAVE_NOTIFY 8
00589
00590 typedef xcb_enter_notify_event_t xcb_leave_notify_event_t;
00591
00593 #define XCB_FOCUS_IN 9
00594
00598 typedef struct xcb_focus_in_event_t {
00599 uint8_t response_type;
00600 uint8_t detail;
00601 uint16_t sequence;
00602 xcb_window_t event;
00603 uint8_t mode;
00604 } xcb_focus_in_event_t;
00605
00607 #define XCB_FOCUS_OUT 10
00608
00609 typedef xcb_focus_in_event_t xcb_focus_out_event_t;
00610
00612 #define XCB_KEYMAP_NOTIFY 11
00613
00617 typedef struct xcb_keymap_notify_event_t {
00618 uint8_t response_type;
00619 uint8_t keys[31];
00620 } xcb_keymap_notify_event_t;
00621
00623 #define XCB_EXPOSE 12
00624
00628 typedef struct xcb_expose_event_t {
00629 uint8_t response_type;
00630 uint8_t pad0;
00631 uint16_t sequence;
00632 xcb_window_t window;
00633 uint16_t x;
00634 uint16_t y;
00635 uint16_t width;
00636 uint16_t height;
00637 uint16_t count;
00638 } xcb_expose_event_t;
00639
00641 #define XCB_GRAPHICS_EXPOSURE 13
00642
00646 typedef struct xcb_graphics_exposure_event_t {
00647 uint8_t response_type;
00648 uint8_t pad0;
00649 uint16_t sequence;
00650 xcb_drawable_t drawable;
00651 uint16_t x;
00652 uint16_t y;
00653 uint16_t width;
00654 uint16_t height;
00655 uint16_t minor_opcode;
00656 uint16_t count;
00657 uint8_t major_opcode;
00658 } xcb_graphics_exposure_event_t;
00659
00661 #define XCB_NO_EXPOSURE 14
00662
00666 typedef struct xcb_no_exposure_event_t {
00667 uint8_t response_type;
00668 uint8_t pad0;
00669 uint16_t sequence;
00670 xcb_drawable_t drawable;
00671 uint16_t minor_opcode;
00672 uint8_t major_opcode;
00673 } xcb_no_exposure_event_t;
00674
00675 typedef enum xcb_visibility_t {
00676 XCB_VISIBILITY_UNOBSCURED = 0,
00677 XCB_VISIBILITY_PARTIALLY_OBSCURED = 1,
00678 XCB_VISIBILITY_FULLY_OBSCURED = 2
00679 } xcb_visibility_t;
00680
00682 #define XCB_VISIBILITY_NOTIFY 15
00683
00687 typedef struct xcb_visibility_notify_event_t {
00688 uint8_t response_type;
00689 uint8_t pad0;
00690 uint16_t sequence;
00691 xcb_window_t window;
00692 uint8_t state;
00693 } xcb_visibility_notify_event_t;
00694
00696 #define XCB_CREATE_NOTIFY 16
00697
00701 typedef struct xcb_create_notify_event_t {
00702 uint8_t response_type;
00703 uint8_t pad0;
00704 uint16_t sequence;
00705 xcb_window_t parent;
00706 xcb_window_t window;
00707 int16_t x;
00708 int16_t y;
00709 uint16_t width;
00710 uint16_t height;
00711 uint16_t border_width;
00712 uint8_t override_redirect;
00713 } xcb_create_notify_event_t;
00714
00716 #define XCB_DESTROY_NOTIFY 17
00717
00721 typedef struct xcb_destroy_notify_event_t {
00722 uint8_t response_type;
00723 uint8_t pad0;
00724 uint16_t sequence;
00725 xcb_window_t event;
00726 xcb_window_t window;
00727 } xcb_destroy_notify_event_t;
00728
00730 #define XCB_UNMAP_NOTIFY 18
00731
00735 typedef struct xcb_unmap_notify_event_t {
00736 uint8_t response_type;
00737 uint8_t pad0;
00738 uint16_t sequence;
00739 xcb_window_t event;
00740 xcb_window_t window;
00741 uint8_t from_configure;
00742 } xcb_unmap_notify_event_t;
00743
00745 #define XCB_MAP_NOTIFY 19
00746
00750 typedef struct xcb_map_notify_event_t {
00751 uint8_t response_type;
00752 uint8_t pad0;
00753 uint16_t sequence;
00754 xcb_window_t event;
00755 xcb_window_t window;
00756 uint8_t override_redirect;
00757 } xcb_map_notify_event_t;
00758
00760 #define XCB_MAP_REQUEST 20
00761
00765 typedef struct xcb_map_request_event_t {
00766 uint8_t response_type;
00767 uint8_t pad0;
00768 uint16_t sequence;
00769 xcb_window_t parent;
00770 xcb_window_t window;
00771 } xcb_map_request_event_t;
00772
00774 #define XCB_REPARENT_NOTIFY 21
00775
00779 typedef struct xcb_reparent_notify_event_t {
00780 uint8_t response_type;
00781 uint8_t pad0;
00782 uint16_t sequence;
00783 xcb_window_t event;
00784 xcb_window_t window;
00785 xcb_window_t parent;
00786 int16_t x;
00787 int16_t y;
00788 uint8_t override_redirect;
00789 } xcb_reparent_notify_event_t;
00790
00792 #define XCB_CONFIGURE_NOTIFY 22
00793
00797 typedef struct xcb_configure_notify_event_t {
00798 uint8_t response_type;
00799 uint8_t pad0;
00800 uint16_t sequence;
00801 xcb_window_t event;
00802 xcb_window_t window;
00803 xcb_window_t above_sibling;
00804 int16_t x;
00805 int16_t y;
00806 uint16_t width;
00807 uint16_t height;
00808 uint16_t border_width;
00809 uint8_t override_redirect;
00810 } xcb_configure_notify_event_t;
00811
00813 #define XCB_CONFIGURE_REQUEST 23
00814
00818 typedef struct xcb_configure_request_event_t {
00819 uint8_t response_type;
00820 uint8_t stack_mode;
00821 uint16_t sequence;
00822 xcb_window_t parent;
00823 xcb_window_t window;
00824 xcb_window_t sibling;
00825 int16_t x;
00826 int16_t y;
00827 uint16_t width;
00828 uint16_t height;
00829 uint16_t border_width;
00830 uint16_t value_mask;
00831 } xcb_configure_request_event_t;
00832
00834 #define XCB_GRAVITY_NOTIFY 24
00835
00839 typedef struct xcb_gravity_notify_event_t {
00840 uint8_t response_type;
00841 uint8_t pad0;
00842 uint16_t sequence;
00843 xcb_window_t event;
00844 xcb_window_t window;
00845 int16_t x;
00846 int16_t y;
00847 } xcb_gravity_notify_event_t;
00848
00850 #define XCB_RESIZE_REQUEST 25
00851
00855 typedef struct xcb_resize_request_event_t {
00856 uint8_t response_type;
00857 uint8_t pad0;
00858 uint16_t sequence;
00859 xcb_window_t window;
00860 uint16_t width;
00861 uint16_t height;
00862 } xcb_resize_request_event_t;
00863
00864 typedef enum xcb_place_t {
00865 XCB_PLACE_ON_TOP = 0,
00866 XCB_PLACE_ON_BOTTOM = 1
00867 } xcb_place_t;
00868
00870 #define XCB_CIRCULATE_NOTIFY 26
00871
00875 typedef struct xcb_circulate_notify_event_t {
00876 uint8_t response_type;
00877 uint8_t pad0;
00878 uint16_t sequence;
00879 xcb_window_t event;
00880 xcb_window_t window;
00881 uint8_t pad1[4];
00882 uint8_t place;
00883 } xcb_circulate_notify_event_t;
00884
00886 #define XCB_CIRCULATE_REQUEST 27
00887
00888 typedef xcb_circulate_notify_event_t xcb_circulate_request_event_t;
00889
00890 typedef enum xcb_property_t {
00891 XCB_PROPERTY_NEW_VALUE = 0,
00892 XCB_PROPERTY_DELETE = 1
00893 } xcb_property_t;
00894
00896 #define XCB_PROPERTY_NOTIFY 28
00897
00901 typedef struct xcb_property_notify_event_t {
00902 uint8_t response_type;
00903 uint8_t pad0;
00904 uint16_t sequence;
00905 xcb_window_t window;
00906 xcb_atom_t atom;
00907 xcb_timestamp_t time;
00908 uint8_t state;
00909 } xcb_property_notify_event_t;
00910
00912 #define XCB_SELECTION_CLEAR 29
00913
00917 typedef struct xcb_selection_clear_event_t {
00918 uint8_t response_type;
00919 uint8_t pad0;
00920 uint16_t sequence;
00921 xcb_timestamp_t time;
00922 xcb_window_t owner;
00923 xcb_atom_t selection;
00924 } xcb_selection_clear_event_t;
00925
00927 #define XCB_SELECTION_REQUEST 30
00928
00932 typedef struct xcb_selection_request_event_t {
00933 uint8_t response_type;
00934 uint8_t pad0;
00935 uint16_t sequence;
00936 xcb_timestamp_t time;
00937 xcb_window_t owner;
00938 xcb_window_t requestor;
00939 xcb_atom_t selection;
00940 xcb_atom_t target;
00941 xcb_atom_t property;
00942 } xcb_selection_request_event_t;
00943
00945 #define XCB_SELECTION_NOTIFY 31
00946
00950 typedef struct xcb_selection_notify_event_t {
00951 uint8_t response_type;
00952 uint8_t pad0;
00953 uint16_t sequence;
00954 xcb_timestamp_t time;
00955 xcb_window_t requestor;
00956 xcb_atom_t selection;
00957 xcb_atom_t target;
00958 xcb_atom_t property;
00959 } xcb_selection_notify_event_t;
00960
00961 typedef enum xcb_colormap_state_t {
00962 XCB_COLORMAP_STATE_UNINSTALLED = 0,
00963 XCB_COLORMAP_STATE_INSTALLED = 1
00964 } xcb_colormap_state_t;
00965
00967 #define XCB_COLORMAP_NOTIFY 32
00968
00972 typedef struct xcb_colormap_notify_event_t {
00973 uint8_t response_type;
00974 uint8_t pad0;
00975 uint16_t sequence;
00976 xcb_window_t window;
00977 xcb_colormap_t colormap;
00978 uint8_t _new;
00979 uint8_t state;
00980 } xcb_colormap_notify_event_t;
00981
00985 typedef union xcb_client_message_data_t {
00986 uint8_t data8[20];
00987 uint16_t data16[10];
00988 uint32_t data32[5];
00989 } xcb_client_message_data_t;
00990
00994 typedef struct xcb_client_message_data_iterator_t {
00995 xcb_client_message_data_t *data;
00996 int rem;
00997 int index;
00998 } xcb_client_message_data_iterator_t;
00999
01001 #define XCB_CLIENT_MESSAGE 33
01002
01006 typedef struct xcb_client_message_event_t {
01007 uint8_t response_type;
01008 uint8_t format;
01009 uint16_t sequence;
01010 xcb_window_t window;
01011 xcb_atom_t type;
01012 xcb_client_message_data_t data;
01013 } xcb_client_message_event_t;
01014
01015 typedef enum xcb_mapping_t {
01016 XCB_MAPPING_MODIFIER = 0,
01017 XCB_MAPPING_KEYBOARD = 1,
01018 XCB_MAPPING_POINTER = 2
01019 } xcb_mapping_t;
01020
01022 #define XCB_MAPPING_NOTIFY 34
01023
01027 typedef struct xcb_mapping_notify_event_t {
01028 uint8_t response_type;
01029 uint8_t pad0;
01030 uint16_t sequence;
01031 uint8_t request;
01032 xcb_keycode_t first_keycode;
01033 uint8_t count;
01034 } xcb_mapping_notify_event_t;
01035
01037 #define XCB_REQUEST 1
01038
01042 typedef struct xcb_request_error_t {
01043 uint8_t response_type;
01044 uint8_t error_code;
01045 uint16_t sequence;
01046 uint32_t bad_value;
01047 uint16_t minor_opcode;
01048 uint8_t major_opcode;
01049 } xcb_request_error_t;
01050
01052 #define XCB_VALUE 2
01053
01057 typedef struct xcb_value_error_t {
01058 uint8_t response_type;
01059 uint8_t error_code;
01060 uint16_t sequence;
01061 uint32_t bad_value;
01062 uint16_t minor_opcode;
01063 uint8_t major_opcode;
01064 } xcb_value_error_t;
01065
01067 #define XCB_WINDOW 3
01068
01069 typedef xcb_value_error_t xcb_window_error_t;
01070
01072 #define XCB_PIXMAP 4
01073
01074 typedef xcb_value_error_t xcb_pixmap_error_t;
01075
01077 #define XCB_ATOM 5
01078
01079 typedef xcb_value_error_t xcb_atom_error_t;
01080
01082 #define XCB_CURSOR 6
01083
01084 typedef xcb_value_error_t xcb_cursor_error_t;
01085
01087 #define XCB_FONT 7
01088
01089 typedef xcb_value_error_t xcb_font_error_t;
01090
01092 #define XCB_MATCH 8
01093
01094 typedef xcb_request_error_t xcb_match_error_t;
01095
01097 #define XCB_DRAWABLE 9
01098
01099 typedef xcb_value_error_t xcb_drawable_error_t;
01100
01102 #define XCB_ACCESS 10
01103
01104 typedef xcb_request_error_t xcb_access_error_t;
01105
01107 #define XCB_ALLOC 11
01108
01109 typedef xcb_request_error_t xcb_alloc_error_t;
01110
01112 #define XCB_COLORMAP 12
01113
01114 typedef xcb_value_error_t xcb_colormap_error_t;
01115
01117 #define XCB_G_CONTEXT 13
01118
01119 typedef xcb_value_error_t xcb_g_context_error_t;
01120
01122 #define XCB_ID_CHOICE 14
01123
01124 typedef xcb_value_error_t xcb_id_choice_error_t;
01125
01127 #define XCB_NAME 15
01128
01129 typedef xcb_request_error_t xcb_name_error_t;
01130
01132 #define XCB_LENGTH 16
01133
01134 typedef xcb_request_error_t xcb_length_error_t;
01135
01137 #define XCB_IMPLEMENTATION 17
01138
01139 typedef xcb_request_error_t xcb_implementation_error_t;
01140
01141 typedef enum xcb_window_class_t {
01142 XCB_WINDOW_CLASS_COPY_FROM_PARENT = 0,
01143 XCB_WINDOW_CLASS_INPUT_OUTPUT = 1,
01144 XCB_WINDOW_CLASS_INPUT_ONLY = 2
01145 } xcb_window_class_t;
01146
01147 typedef enum xcb_cw_t {
01148 XCB_CW_BACK_PIXMAP = (1 << 0),
01149 XCB_CW_BACK_PIXEL = (1 << 1),
01150 XCB_CW_BORDER_PIXMAP = (1 << 2),
01151 XCB_CW_BORDER_PIXEL = (1 << 3),
01152 XCB_CW_BIT_GRAVITY = (1 << 4),
01153 XCB_CW_WIN_GRAVITY = (1 << 5),
01154 XCB_CW_BACKING_STORE = (1 << 6),
01155 XCB_CW_BACKING_PLANES = (1 << 7),
01156 XCB_CW_BACKING_PIXEL = (1 << 8),
01157 XCB_CW_OVERRIDE_REDIRECT = (1 << 9),
01158 XCB_CW_SAVE_UNDER = (1 << 10),
01159 XCB_CW_EVENT_MASK = (1 << 11),
01160 XCB_CW_DONT_PROPAGATE = (1 << 12),
01161 XCB_CW_COLORMAP = (1 << 13),
01162 XCB_CW_CURSOR = (1 << 14)
01163 } xcb_cw_t;
01164
01165 typedef enum xcb_back_pixmap_t {
01166 XCB_BACK_PIXMAP_NONE = 0,
01167 XCB_BACK_PIXMAP_PARENT_RELATIVE = 1
01168 } xcb_back_pixmap_t;
01169
01170 typedef enum xcb_gravity_t {
01171 XCB_GRAVITY_BIT_FORGET = 0,
01172 XCB_GRAVITY_WIN_UNMAP = 0,
01173 XCB_GRAVITY_NORTH_WEST = 1,
01174 XCB_GRAVITY_NORTH = 2,
01175 XCB_GRAVITY_NORTH_EAST = 3,
01176 XCB_GRAVITY_WEST = 4,
01177 XCB_GRAVITY_CENTER = 5,
01178 XCB_GRAVITY_EAST = 6,
01179 XCB_GRAVITY_SOUTH_WEST = 7,
01180 XCB_GRAVITY_SOUTH = 8,
01181 XCB_GRAVITY_SOUTH_EAST = 9,
01182 XCB_GRAVITY_STATIC = 10
01183 } xcb_gravity_t;
01184
01185 typedef enum xcb_backing_store_t {
01186 XCB_BACKING_STORE_NOT_USEFUL = 0,
01187 XCB_BACKING_STORE_WHEN_MAPPED = 1,
01188 XCB_BACKING_STORE_ALWAYS = 2
01189 } xcb_backing_store_t;
01190
01191 typedef enum xcb_event_mask_t {
01192 XCB_EVENT_MASK_NO_EVENT = 0,
01193 XCB_EVENT_MASK_KEY_PRESS = (1 << 0),
01194 XCB_EVENT_MASK_KEY_RELEASE = (1 << 1),
01195 XCB_EVENT_MASK_BUTTON_PRESS = (1 << 2),
01196 XCB_EVENT_MASK_BUTTON_RELEASE = (1 << 3),
01197 XCB_EVENT_MASK_ENTER_WINDOW = (1 << 4),
01198 XCB_EVENT_MASK_LEAVE_WINDOW = (1 << 5),
01199 XCB_EVENT_MASK_POINTER_MOTION = (1 << 6),
01200 XCB_EVENT_MASK_POINTER_MOTION_HINT = (1 << 7),
01201 XCB_EVENT_MASK_BUTTON_1_MOTION = (1 << 8),
01202 XCB_EVENT_MASK_BUTTON_2_MOTION = (1 << 9),
01203 XCB_EVENT_MASK_BUTTON_3_MOTION = (1 << 10),
01204 XCB_EVENT_MASK_BUTTON_4_MOTION = (1 << 11),
01205 XCB_EVENT_MASK_BUTTON_5_MOTION = (1 << 12),
01206 XCB_EVENT_MASK_BUTTON_MOTION = (1 << 13),
01207 XCB_EVENT_MASK_KEYMAP_STATE = (1 << 14),
01208 XCB_EVENT_MASK_EXPOSURE = (1 << 15),
01209 XCB_EVENT_MASK_VISIBILITY_CHANGE = (1 << 16),
01210 XCB_EVENT_MASK_STRUCTURE_NOTIFY = (1 << 17),
01211 XCB_EVENT_MASK_RESIZE_REDIRECT = (1 << 18),
01212 XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY = (1 << 19),
01213 XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT = (1 << 20),
01214 XCB_EVENT_MASK_FOCUS_CHANGE = (1 << 21),
01215 XCB_EVENT_MASK_PROPERTY_CHANGE = (1 << 22),
01216 XCB_EVENT_MASK_COLOR_MAP_CHANGE = (1 << 23),
01217 XCB_EVENT_MASK_OWNER_GRAB_BUTTON = (1 << 24)
01218 } xcb_event_mask_t;
01219
01221 #define XCB_CREATE_WINDOW 1
01222
01226 typedef struct xcb_create_window_request_t {
01227 uint8_t major_opcode;
01228 uint8_t depth;
01229 uint16_t length;
01230 xcb_window_t wid;
01231 xcb_window_t parent;
01232 int16_t x;
01233 int16_t y;
01234 uint16_t width;
01235 uint16_t height;
01236 uint16_t border_width;
01237 uint16_t _class;
01238 xcb_visualid_t visual;
01239 uint32_t value_mask;
01240 } xcb_create_window_request_t;
01241
01243 #define XCB_CHANGE_WINDOW_ATTRIBUTES 2
01244
01248 typedef struct xcb_change_window_attributes_request_t {
01249 uint8_t major_opcode;
01250 uint8_t pad0;
01251 uint16_t length;
01252 xcb_window_t window;
01253 uint32_t value_mask;
01254 } xcb_change_window_attributes_request_t;
01255
01256 typedef enum xcb_map_state_t {
01257 XCB_MAP_STATE_UNMAPPED = 0,
01258 XCB_MAP_STATE_UNVIEWABLE = 1,
01259 XCB_MAP_STATE_VIEWABLE = 2
01260 } xcb_map_state_t;
01261
01265 typedef struct xcb_get_window_attributes_cookie_t {
01266 unsigned int sequence;
01267 } xcb_get_window_attributes_cookie_t;
01268
01270 #define XCB_GET_WINDOW_ATTRIBUTES 3
01271
01275 typedef struct xcb_get_window_attributes_request_t {
01276 uint8_t major_opcode;
01277 uint8_t pad0;
01278 uint16_t length;
01279 xcb_window_t window;
01280 } xcb_get_window_attributes_request_t;
01281
01285 typedef struct xcb_get_window_attributes_reply_t {
01286 uint8_t response_type;
01287 uint8_t backing_store;
01288 uint16_t sequence;
01289 uint32_t length;
01290 xcb_visualid_t visual;
01291 uint16_t _class;
01292 uint8_t bit_gravity;
01293 uint8_t win_gravity;
01294 uint32_t backing_planes;
01295 uint32_t backing_pixel;
01296 uint8_t save_under;
01297 uint8_t map_is_installed;
01298 uint8_t map_state;
01299 uint8_t override_redirect;
01300 xcb_colormap_t colormap;
01301 uint32_t all_event_masks;
01302 uint32_t your_event_mask;
01303 uint16_t do_not_propagate_mask;
01304 } xcb_get_window_attributes_reply_t;
01305
01307 #define XCB_DESTROY_WINDOW 4
01308
01312 typedef struct xcb_destroy_window_request_t {
01313 uint8_t major_opcode;
01314 uint8_t pad0;
01315 uint16_t length;
01316 xcb_window_t window;
01317 } xcb_destroy_window_request_t;
01318
01320 #define XCB_DESTROY_SUBWINDOWS 5
01321
01325 typedef struct xcb_destroy_subwindows_request_t {
01326 uint8_t major_opcode;
01327 uint8_t pad0;
01328 uint16_t length;
01329 xcb_window_t window;
01330 } xcb_destroy_subwindows_request_t;
01331
01332 typedef enum xcb_set_mode_t {
01333 XCB_SET_MODE_INSERT = 0,
01334 XCB_SET_MODE_DELETE = 1
01335 } xcb_set_mode_t;
01336
01338 #define XCB_CHANGE_SAVE_SET 6
01339
01343 typedef struct xcb_change_save_set_request_t {
01344 uint8_t major_opcode;
01345 uint8_t mode;
01346 uint16_t length;
01347 xcb_window_t window;
01348 } xcb_change_save_set_request_t;
01349
01351 #define XCB_REPARENT_WINDOW 7
01352
01356 typedef struct xcb_reparent_window_request_t {
01357 uint8_t major_opcode;
01358 uint8_t pad0;
01359 uint16_t length;
01360 xcb_window_t window;
01361 xcb_window_t parent;
01362 int16_t x;
01363 int16_t y;
01364 } xcb_reparent_window_request_t;
01365
01367 #define XCB_MAP_WINDOW 8
01368
01372 typedef struct xcb_map_window_request_t {
01373 uint8_t major_opcode;
01374 uint8_t pad0;
01375 uint16_t length;
01376 xcb_window_t window;
01377 } xcb_map_window_request_t;
01378
01380 #define XCB_MAP_SUBWINDOWS 9
01381
01385 typedef struct xcb_map_subwindows_request_t {
01386 uint8_t major_opcode;
01387 uint8_t pad0;
01388 uint16_t length;
01389 xcb_window_t window;
01390 } xcb_map_subwindows_request_t;
01391
01393 #define XCB_UNMAP_WINDOW 10
01394
01398 typedef struct xcb_unmap_window_request_t {
01399 uint8_t major_opcode;
01400 uint8_t pad0;
01401 uint16_t length;
01402 xcb_window_t window;
01403 } xcb_unmap_window_request_t;
01404
01406 #define XCB_UNMAP_SUBWINDOWS 11
01407
01411 typedef struct xcb_unmap_subwindows_request_t {
01412 uint8_t major_opcode;
01413 uint8_t pad0;
01414 uint16_t length;
01415 xcb_window_t window;
01416 } xcb_unmap_subwindows_request_t;
01417
01418 typedef enum xcb_config_window_t {
01419 XCB_CONFIG_WINDOW_X = (1 << 0),
01420 XCB_CONFIG_WINDOW_Y = (1 << 1),
01421 XCB_CONFIG_WINDOW_WIDTH = (1 << 2),
01422 XCB_CONFIG_WINDOW_HEIGHT = (1 << 3),
01423 XCB_CONFIG_WINDOW_BORDER_WIDTH = (1 << 4),
01424 XCB_CONFIG_WINDOW_SIBLING = (1 << 5),
01425 XCB_CONFIG_WINDOW_STACK_MODE = (1 << 6)
01426 } xcb_config_window_t;
01427
01428 typedef enum xcb_stack_mode_t {
01429 XCB_STACK_MODE_ABOVE = 0,
01430 XCB_STACK_MODE_BELOW = 1,
01431 XCB_STACK_MODE_TOP_IF = 2,
01432 XCB_STACK_MODE_BOTTOM_IF = 3,
01433 XCB_STACK_MODE_OPPOSITE = 4
01434 } xcb_stack_mode_t;
01435
01437 #define XCB_CONFIGURE_WINDOW 12
01438
01442 typedef struct xcb_configure_window_request_t {
01443 uint8_t major_opcode;
01444 uint8_t pad0;
01445 uint16_t length;
01446 xcb_window_t window;
01447 uint16_t value_mask;
01448 } xcb_configure_window_request_t;
01449
01450 typedef enum xcb_circulate_t {
01451 XCB_CIRCULATE_RAISE_LOWEST = 0,
01452 XCB_CIRCULATE_LOWER_HIGHEST = 1
01453 } xcb_circulate_t;
01454
01456 #define XCB_CIRCULATE_WINDOW 13
01457
01461 typedef struct xcb_circulate_window_request_t {
01462 uint8_t major_opcode;
01463 uint8_t direction;
01464 uint16_t length;
01465 xcb_window_t window;
01466 } xcb_circulate_window_request_t;
01467
01471 typedef struct xcb_get_geometry_cookie_t {
01472 unsigned int sequence;
01473 } xcb_get_geometry_cookie_t;
01474
01476 #define XCB_GET_GEOMETRY 14
01477
01481 typedef struct xcb_get_geometry_request_t {
01482 uint8_t major_opcode;
01483 uint8_t pad0;
01484 uint16_t length;
01485 xcb_drawable_t drawable;
01486 } xcb_get_geometry_request_t;
01487
01491 typedef struct xcb_get_geometry_reply_t {
01492 uint8_t response_type;
01493 uint8_t depth;
01494 uint16_t sequence;
01495 uint32_t length;
01496 xcb_window_t root;
01497 int16_t x;
01498 int16_t y;
01499 uint16_t width;
01500 uint16_t height;
01501 uint16_t border_width;
01502 } xcb_get_geometry_reply_t;
01503
01507 typedef struct xcb_query_tree_cookie_t {
01508 unsigned int sequence;
01509 } xcb_query_tree_cookie_t;
01510
01512 #define XCB_QUERY_TREE 15
01513
01517 typedef struct xcb_query_tree_request_t {
01518 uint8_t major_opcode;
01519 uint8_t pad0;
01520 uint16_t length;
01521 xcb_window_t window;
01522 } xcb_query_tree_request_t;
01523
01527 typedef struct xcb_query_tree_reply_t {
01528 uint8_t response_type;
01529 uint8_t pad0;
01530 uint16_t sequence;
01531 uint32_t length;
01532 xcb_window_t root;
01533 xcb_window_t parent;
01534 uint16_t children_len;
01535 uint8_t pad1[14];
01536 } xcb_query_tree_reply_t;
01537
01541 typedef struct xcb_intern_atom_cookie_t {
01542 unsigned int sequence;
01543 } xcb_intern_atom_cookie_t;
01544
01546 #define XCB_INTERN_ATOM 16
01547
01551 typedef struct xcb_intern_atom_request_t {
01552 uint8_t major_opcode;
01553 uint8_t only_if_exists;
01554 uint16_t length;
01555 uint16_t name_len;
01556 uint8_t pad0[2];
01557 } xcb_intern_atom_request_t;
01558
01562 typedef struct xcb_intern_atom_reply_t {
01563 uint8_t response_type;
01564 uint8_t pad0;
01565 uint16_t sequence;
01566 uint32_t length;
01567 xcb_atom_t atom;
01568 } xcb_intern_atom_reply_t;
01569
01573 typedef struct xcb_get_atom_name_cookie_t {
01574 unsigned int sequence;
01575 } xcb_get_atom_name_cookie_t;
01576
01578 #define XCB_GET_ATOM_NAME 17
01579
01583 typedef struct xcb_get_atom_name_request_t {
01584 uint8_t major_opcode;
01585 uint8_t pad0;
01586 uint16_t length;
01587 xcb_atom_t atom;
01588 } xcb_get_atom_name_request_t;
01589
01593 typedef struct xcb_get_atom_name_reply_t {
01594 uint8_t response_type;
01595 uint8_t pad0;
01596 uint16_t sequence;
01597 uint32_t length;
01598 uint16_t name_len;
01599 uint8_t pad1[22];
01600 } xcb_get_atom_name_reply_t;
01601
01602 typedef enum xcb_prop_mode_t {
01603 XCB_PROP_MODE_REPLACE = 0,
01604 XCB_PROP_MODE_PREPEND = 1,
01605 XCB_PROP_MODE_APPEND = 2
01606 } xcb_prop_mode_t;
01607
01609 #define XCB_CHANGE_PROPERTY 18
01610
01614 typedef struct xcb_change_property_request_t {
01615 uint8_t major_opcode;
01616 uint8_t mode;
01617 uint16_t length;
01618 xcb_window_t window;
01619 xcb_atom_t property;
01620 xcb_atom_t type;
01621 uint8_t format;
01622 uint8_t pad0[3];
01623 uint32_t data_len;
01624 } xcb_change_property_request_t;
01625
01627 #define XCB_DELETE_PROPERTY 19
01628
01632 typedef struct xcb_delete_property_request_t {
01633 uint8_t major_opcode;
01634 uint8_t pad0;
01635 uint16_t length;
01636 xcb_window_t window;
01637 xcb_atom_t property;
01638 } xcb_delete_property_request_t;
01639
01640 typedef enum xcb_get_property_type_t {
01641 XCB_GET_PROPERTY_TYPE_ANY = 0
01642 } xcb_get_property_type_t;
01643
01647 typedef struct xcb_get_property_cookie_t {
01648 unsigned int sequence;
01649 } xcb_get_property_cookie_t;
01650
01652 #define XCB_GET_PROPERTY 20
01653
01657 typedef struct xcb_get_property_request_t {
01658 uint8_t major_opcode;
01659 uint8_t _delete;
01660 uint16_t length;
01661 xcb_window_t window;
01662 xcb_atom_t property;
01663 xcb_atom_t type;
01664 uint32_t long_offset;
01665 uint32_t long_length;
01666 } xcb_get_property_request_t;
01667
01671 typedef struct xcb_get_property_reply_t {
01672 uint8_t response_type;
01673 uint8_t format;
01674 uint16_t sequence;
01675 uint32_t length;
01676 xcb_atom_t type;
01677 uint32_t bytes_after;
01678 uint32_t value_len;
01679 uint8_t pad0[12];
01680 } xcb_get_property_reply_t;
01681
01685 typedef struct xcb_list_properties_cookie_t {
01686 unsigned int sequence;
01687 } xcb_list_properties_cookie_t;
01688
01690 #define XCB_LIST_PROPERTIES 21
01691
01695 typedef struct xcb_list_properties_request_t {
01696 uint8_t major_opcode;
01697 uint8_t pad0;
01698 uint16_t length;
01699 xcb_window_t window;
01700 } xcb_list_properties_request_t;
01701
01705 typedef struct xcb_list_properties_reply_t {
01706 uint8_t response_type;
01707 uint8_t pad0;
01708 uint16_t sequence;
01709 uint32_t length;
01710 uint16_t atoms_len;
01711 uint8_t pad1[22];
01712 } xcb_list_properties_reply_t;
01713
01715 #define XCB_SET_SELECTION_OWNER 22
01716
01720 typedef struct xcb_set_selection_owner_request_t {
01721 uint8_t major_opcode;
01722 uint8_t pad0;
01723 uint16_t length;
01724 xcb_window_t owner;
01725 xcb_atom_t selection;
01726 xcb_timestamp_t time;
01727 } xcb_set_selection_owner_request_t;
01728
01732 typedef struct xcb_get_selection_owner_cookie_t {
01733 unsigned int sequence;
01734 } xcb_get_selection_owner_cookie_t;
01735
01737 #define XCB_GET_SELECTION_OWNER 23
01738
01742 typedef struct xcb_get_selection_owner_request_t {
01743 uint8_t major_opcode;
01744 uint8_t pad0;
01745 uint16_t length;
01746 xcb_atom_t selection;
01747 } xcb_get_selection_owner_request_t;
01748
01752 typedef struct xcb_get_selection_owner_reply_t {
01753 uint8_t response_type;
01754 uint8_t pad0;
01755 uint16_t sequence;
01756 uint32_t length;
01757 xcb_window_t owner;
01758 } xcb_get_selection_owner_reply_t;
01759
01761 #define XCB_CONVERT_SELECTION 24
01762
01766 typedef struct xcb_convert_selection_request_t {
01767 uint8_t major_opcode;
01768 uint8_t pad0;
01769 uint16_t length;
01770 xcb_window_t requestor;
01771 xcb_atom_t selection;
01772 xcb_atom_t target;
01773 xcb_atom_t property;
01774 xcb_timestamp_t time;
01775 } xcb_convert_selection_request_t;
01776
01777 typedef enum xcb_send_event_dest_t {
01778 XCB_SEND_EVENT_DEST_POINTER_WINDOW = 0,
01779 XCB_SEND_EVENT_DEST_ITEM_FOCUS = 1
01780 } xcb_send_event_dest_t;
01781
01783 #define XCB_SEND_EVENT 25
01784
01788 typedef struct xcb_send_event_request_t {
01789 uint8_t major_opcode;
01790 uint8_t propagate;
01791 uint16_t length;
01792 xcb_window_t destination;
01793 uint32_t event_mask;
01794 } xcb_send_event_request_t;
01795
01796 typedef enum xcb_grab_mode_t {
01797 XCB_GRAB_MODE_SYNC = 0,
01798 XCB_GRAB_MODE_ASYNC = 1
01799 } xcb_grab_mode_t;
01800
01801 typedef enum xcb_grab_status_t {
01802 XCB_GRAB_STATUS_SUCCESS = 0,
01803 XCB_GRAB_STATUS_ALREADY_GRABBED = 1,
01804 XCB_GRAB_STATUS_INVALID_TIME = 2,
01805 XCB_GRAB_STATUS_NOT_VIEWABLE = 3,
01806 XCB_GRAB_STATUS_FROZEN = 4
01807 } xcb_grab_status_t;
01808
01812 typedef struct xcb_grab_pointer_cookie_t {
01813 unsigned int sequence;
01814 } xcb_grab_pointer_cookie_t;
01815
01817 #define XCB_GRAB_POINTER 26
01818
01822 typedef struct xcb_grab_pointer_request_t {
01823 uint8_t major_opcode;
01824 uint8_t owner_events;
01825 uint16_t length;
01826 xcb_window_t grab_window;
01827 uint16_t event_mask;
01828 uint8_t pointer_mode;
01829 uint8_t keyboard_mode;
01830 xcb_window_t confine_to;
01831 xcb_cursor_t cursor;
01832 xcb_timestamp_t time;
01833 } xcb_grab_pointer_request_t;
01834
01838 typedef struct xcb_grab_pointer_reply_t {
01839 uint8_t response_type;
01840 uint8_t status;
01841 uint16_t sequence;
01842 uint32_t length;
01843 } xcb_grab_pointer_reply_t;
01844
01846 #define XCB_UNGRAB_POINTER 27
01847
01851 typedef struct xcb_ungrab_pointer_request_t {
01852 uint8_t major_opcode;
01853 uint8_t pad0;
01854 uint16_t length;
01855 xcb_timestamp_t time;
01856 } xcb_ungrab_pointer_request_t;
01857
01858 typedef enum xcb_button_index_t {
01859 XCB_BUTTON_INDEX_ANY = 0,
01860 XCB_BUTTON_INDEX_1 = 1,
01861 XCB_BUTTON_INDEX_2 = 2,
01862 XCB_BUTTON_INDEX_3 = 3,
01863 XCB_BUTTON_INDEX_4 = 4,
01864 XCB_BUTTON_INDEX_5 = 5
01865 } xcb_button_index_t;
01866
01868 #define XCB_GRAB_BUTTON 28
01869
01873 typedef struct xcb_grab_button_request_t {
01874 uint8_t major_opcode;
01875 uint8_t owner_events;
01876 uint16_t length;
01877 xcb_window_t grab_window;
01878 uint16_t event_mask;
01879 uint8_t pointer_mode;
01880 uint8_t keyboard_mode;
01881 xcb_window_t confine_to;
01882 xcb_cursor_t cursor;
01883 uint8_t button;
01884 uint8_t pad0;
01885 uint16_t modifiers;
01886 } xcb_grab_button_request_t;
01887
01889 #define XCB_UNGRAB_BUTTON 29
01890
01894 typedef struct xcb_ungrab_button_request_t {
01895 uint8_t major_opcode;
01896 uint8_t button;
01897 uint16_t length;
01898 xcb_window_t grab_window;
01899 uint16_t modifiers;
01900 uint8_t pad0[2];
01901 } xcb_ungrab_button_request_t;
01902
01904 #define XCB_CHANGE_ACTIVE_POINTER_GRAB 30
01905
01909 typedef struct xcb_change_active_pointer_grab_request_t {
01910 uint8_t major_opcode;
01911 uint8_t pad0;
01912 uint16_t length;
01913 xcb_cursor_t cursor;
01914 xcb_timestamp_t time;
01915 uint16_t event_mask;
01916 } xcb_change_active_pointer_grab_request_t;
01917
01921 typedef struct xcb_grab_keyboard_cookie_t {
01922 unsigned int sequence;
01923 } xcb_grab_keyboard_cookie_t;
01924
01926 #define XCB_GRAB_KEYBOARD 31
01927
01931 typedef struct xcb_grab_keyboard_request_t {
01932 uint8_t major_opcode;
01933 uint8_t owner_events;
01934 uint16_t length;
01935 xcb_window_t grab_window;
01936 xcb_timestamp_t time;
01937 uint8_t pointer_mode;
01938 uint8_t keyboard_mode;
01939 } xcb_grab_keyboard_request_t;
01940
01944 typedef struct xcb_grab_keyboard_reply_t {
01945 uint8_t response_type;
01946 uint8_t status;
01947 uint16_t sequence;
01948 uint32_t length;
01949 } xcb_grab_keyboard_reply_t;
01950
01952 #define XCB_UNGRAB_KEYBOARD 32
01953
01957 typedef struct xcb_ungrab_keyboard_request_t {
01958 uint8_t major_opcode;
01959 uint8_t pad0;
01960 uint16_t length;
01961 xcb_timestamp_t time;
01962 } xcb_ungrab_keyboard_request_t;
01963
01964 typedef enum xcb_grab_t {
01965 XCB_GRAB_ANY = 0
01966 } xcb_grab_t;
01967
01969 #define XCB_GRAB_KEY 33
01970
01974 typedef struct xcb_grab_key_request_t {
01975 uint8_t major_opcode;
01976 uint8_t owner_events;
01977 uint16_t length;
01978 xcb_window_t grab_window;
01979 uint16_t modifiers;
01980 xcb_keycode_t key;
01981 uint8_t pointer_mode;
01982 uint8_t keyboard_mode;
01983 } xcb_grab_key_request_t;
01984
01986 #define XCB_UNGRAB_KEY 34
01987
01991 typedef struct xcb_ungrab_key_request_t {
01992 uint8_t major_opcode;
01993 xcb_keycode_t key;
01994 uint16_t length;
01995 xcb_window_t grab_window;
01996 uint16_t modifiers;
01997 } xcb_ungrab_key_request_t;
01998
01999 typedef enum xcb_allow_t {
02000 XCB_ALLOW_ASYNC_POINTER = 0,
02001 XCB_ALLOW_SYNC_POINTER = 1,
02002 XCB_ALLOW_REPLAY_POINTER = 2,
02003 XCB_ALLOW_ASYNC_KEYBOARD = 3,
02004 XCB_ALLOW_SYNC_KEYBOARD = 4,
02005 XCB_ALLOW_REPLAY_KEYBOARD = 5,
02006 XCB_ALLOW_ASYNC_BOTH = 6,
02007 XCB_ALLOW_SYNC_BOTH = 7
02008 } xcb_allow_t;
02009
02011 #define XCB_ALLOW_EVENTS 35
02012
02016 typedef struct xcb_allow_events_request_t {
02017 uint8_t major_opcode;
02018 uint8_t mode;
02019 uint16_t length;
02020 xcb_timestamp_t time;
02021 } xcb_allow_events_request_t;
02022
02024 #define XCB_GRAB_SERVER 36
02025
02029 typedef struct xcb_grab_server_request_t {
02030 uint8_t major_opcode;
02031 uint8_t pad0;
02032 uint16_t length;
02033 } xcb_grab_server_request_t;
02034
02036 #define XCB_UNGRAB_SERVER 37
02037
02041 typedef struct xcb_ungrab_server_request_t {
02042 uint8_t major_opcode;
02043 uint8_t pad0;
02044 uint16_t length;
02045 } xcb_ungrab_server_request_t;
02046
02050 typedef struct xcb_query_pointer_cookie_t {
02051 unsigned int sequence;
02052 } xcb_query_pointer_cookie_t;
02053
02055 #define XCB_QUERY_POINTER 38
02056
02060 typedef struct xcb_query_pointer_request_t {
02061 uint8_t major_opcode;
02062 uint8_t pad0;
02063 uint16_t length;
02064 xcb_window_t window;
02065 } xcb_query_pointer_request_t;
02066
02070 typedef struct xcb_query_pointer_reply_t {
02071 uint8_t response_type;
02072 uint8_t same_screen;
02073 uint16_t sequence;
02074 uint32_t length;
02075 xcb_window_t root;
02076 xcb_window_t child;
02077 int16_t root_x;
02078 int16_t root_y;
02079 int16_t win_x;
02080 int16_t win_y;
02081 uint16_t mask;
02082 } xcb_query_pointer_reply_t;
02083
02087 typedef struct xcb_timecoord_t {
02088 xcb_timestamp_t time;
02089 int16_t x;
02090 int16_t y;
02091 } xcb_timecoord_t;
02092
02096 typedef struct xcb_timecoord_iterator_t {
02097 xcb_timecoord_t *data;
02098 int rem;
02099 int index;
02100 } xcb_timecoord_iterator_t;
02101
02105 typedef struct xcb_get_motion_events_cookie_t {
02106 unsigned int sequence;
02107 } xcb_get_motion_events_cookie_t;
02108
02110 #define XCB_GET_MOTION_EVENTS 39
02111
02115 typedef struct xcb_get_motion_events_request_t {
02116 uint8_t major_opcode;
02117 uint8_t pad0;
02118 uint16_t length;
02119 xcb_window_t window;
02120 xcb_timestamp_t start;
02121 xcb_timestamp_t stop;
02122 } xcb_get_motion_events_request_t;
02123
02127 typedef struct xcb_get_motion_events_reply_t {
02128 uint8_t response_type;
02129 uint8_t pad0;
02130 uint16_t sequence;
02131 uint32_t length;
02132 uint32_t events_len;
02133 uint8_t pad1[20];
02134 } xcb_get_motion_events_reply_t;
02135
02139 typedef struct xcb_translate_coordinates_cookie_t {
02140 unsigned int sequence;
02141 } xcb_translate_coordinates_cookie_t;
02142
02144 #define XCB_TRANSLATE_COORDINATES 40
02145
02149 typedef struct xcb_translate_coordinates_request_t {
02150 uint8_t major_opcode;
02151 uint8_t pad0;
02152 uint16_t length;
02153 xcb_window_t src_window;
02154 xcb_window_t dst_window;
02155 int16_t src_x;
02156 int16_t src_y;
02157 } xcb_translate_coordinates_request_t;
02158
02162 typedef struct xcb_translate_coordinates_reply_t {
02163 uint8_t response_type;
02164 uint8_t same_screen;
02165 uint16_t sequence;
02166 uint32_t length;
02167 xcb_window_t child;
02168 uint16_t dst_x;
02169 uint16_t dst_y;
02170 } xcb_translate_coordinates_reply_t;
02171
02173 #define XCB_WARP_POINTER 41
02174
02178 typedef struct xcb_warp_pointer_request_t {
02179 uint8_t major_opcode;
02180 uint8_t pad0;
02181 uint16_t length;
02182 xcb_window_t src_window;
02183 xcb_window_t dst_window;
02184 int16_t src_x;
02185 int16_t src_y;
02186 uint16_t src_width;
02187 uint16_t src_height;
02188 int16_t dst_x;
02189 int16_t dst_y;
02190 } xcb_warp_pointer_request_t;
02191
02192 typedef enum xcb_input_focus_t {
02193 XCB_INPUT_FOCUS_NONE = 0,
02194 XCB_INPUT_FOCUS_POINTER_ROOT = 1,
02195 XCB_INPUT_FOCUS_PARENT = 2
02196 } xcb_input_focus_t;
02197
02199 #define XCB_SET_INPUT_FOCUS 42
02200
02204 typedef struct xcb_set_input_focus_request_t {
02205 uint8_t major_opcode;
02206 uint8_t revert_to;
02207 uint16_t length;
02208 xcb_window_t focus;
02209 xcb_timestamp_t time;
02210 } xcb_set_input_focus_request_t;
02211
02215 typedef struct xcb_get_input_focus_cookie_t {
02216 unsigned int sequence;
02217 } xcb_get_input_focus_cookie_t;
02218
02220 #define XCB_GET_INPUT_FOCUS 43
02221
02225 typedef struct xcb_get_input_focus_request_t {
02226 uint8_t major_opcode;
02227 uint8_t pad0;
02228 uint16_t length;
02229 } xcb_get_input_focus_request_t;
02230
02234 typedef struct xcb_get_input_focus_reply_t {
02235 uint8_t response_type;
02236 uint8_t revert_to;
02237 uint16_t sequence;
02238 uint32_t length;
02239 xcb_window_t focus;
02240 } xcb_get_input_focus_reply_t;
02241
02245 typedef struct xcb_query_keymap_cookie_t {
02246 unsigned int sequence;
02247 } xcb_query_keymap_cookie_t;
02248
02250 #define XCB_QUERY_KEYMAP 44
02251
02255 typedef struct xcb_query_keymap_request_t {
02256 uint8_t major_opcode;
02257 uint8_t pad0;
02258 uint16_t length;
02259 } xcb_query_keymap_request_t;
02260
02264 typedef struct xcb_query_keymap_reply_t {
02265 uint8_t response_type;
02266 uint8_t pad0;
02267 uint16_t sequence;
02268 uint32_t length;
02269 uint8_t keys[32];
02270 } xcb_query_keymap_reply_t;
02271
02273 #define XCB_OPEN_FONT 45
02274
02278 typedef struct xcb_open_font_request_t {
02279 uint8_t major_opcode;
02280 uint8_t pad0;
02281 uint16_t length;
02282 xcb_font_t fid;
02283 uint16_t name_len;
02284 } xcb_open_font_request_t;
02285
02287 #define XCB_CLOSE_FONT 46
02288
02292 typedef struct xcb_close_font_request_t {
02293 uint8_t major_opcode;
02294 uint8_t pad0;
02295 uint16_t length;
02296 xcb_font_t font;
02297 } xcb_close_font_request_t;
02298
02299 typedef enum xcb_font_draw_t {
02300 XCB_FONT_DRAW_LEFT_TO_RIGHT = 0,
02301 XCB_FONT_DRAW_RIGHT_TO_LEFT = 1
02302 } xcb_font_draw_t;
02303
02307 typedef struct xcb_fontprop_t {
02308 xcb_atom_t name;
02309 uint32_t value;
02310 } xcb_fontprop_t;
02311
02315 typedef struct xcb_fontprop_iterator_t {
02316 xcb_fontprop_t *data;
02317 int rem;
02318 int index;
02319 } xcb_fontprop_iterator_t;
02320
02324 typedef struct xcb_charinfo_t {
02325 int16_t left_side_bearing;
02326 int16_t right_side_bearing;
02327 int16_t character_width;
02328 int16_t ascent;
02329 int16_t descent;
02330 uint16_t attributes;
02331 } xcb_charinfo_t;
02332
02336 typedef struct xcb_charinfo_iterator_t {
02337 xcb_charinfo_t *data;
02338 int rem;
02339 int index;
02340 } xcb_charinfo_iterator_t;
02341
02345 typedef struct xcb_query_font_cookie_t {
02346 unsigned int sequence;
02347 } xcb_query_font_cookie_t;
02348
02350 #define XCB_QUERY_FONT 47
02351
02355 typedef struct xcb_query_font_request_t {
02356 uint8_t major_opcode;
02357 uint8_t pad0;
02358 uint16_t length;
02359 xcb_fontable_t font;
02360 } xcb_query_font_request_t;
02361
02365 typedef struct xcb_query_font_reply_t {
02366 uint8_t response_type;
02367 uint8_t pad0;
02368 uint16_t sequence;
02369 uint32_t length;
02370 xcb_charinfo_t min_bounds;
02371 uint8_t pad1[4];
02372 xcb_charinfo_t max_bounds;
02373 uint8_t pad2[4];
02374 uint16_t min_char_or_byte2;
02375 uint16_t max_char_or_byte2;
02376 uint16_t default_char;
02377 uint16_t properties_len;
02378 uint8_t draw_direction;
02379 uint8_t min_byte1;
02380 uint8_t max_byte1;
02381 uint8_t all_chars_exist;
02382 int16_t font_ascent;
02383 int16_t font_descent;
02384 uint32_t char_infos_len;
02385 } xcb_query_font_reply_t;
02386
02390 typedef struct xcb_query_text_extents_cookie_t {
02391 unsigned int sequence;
02392 } xcb_query_text_extents_cookie_t;
02393
02395 #define XCB_QUERY_TEXT_EXTENTS 48
02396
02400 typedef struct xcb_query_text_extents_request_t {
02401 uint8_t major_opcode;
02402 uint8_t odd_length;
02403 uint16_t length;
02404 xcb_fontable_t font;
02405 } xcb_query_text_extents_request_t;
02406
02410 typedef struct xcb_query_text_extents_reply_t {
02411 uint8_t response_type;
02412 uint8_t draw_direction;
02413 uint16_t sequence;
02414 uint32_t length;
02415 int16_t font_ascent;
02416 int16_t font_descent;
02417 int16_t overall_ascent;
02418 int16_t overall_descent;
02419 int32_t overall_width;
02420 int32_t overall_left;
02421 int32_t overall_right;
02422 } xcb_query_text_extents_reply_t;
02423
02427 typedef struct xcb_str_t {
02428 uint8_t name_len;
02429 } xcb_str_t;
02430
02434 typedef struct xcb_str_iterator_t {
02435 xcb_str_t *data;
02436 int rem;
02437 int index;
02438 } xcb_str_iterator_t;
02439
02443 typedef struct xcb_list_fonts_cookie_t {
02444 unsigned int sequence;
02445 } xcb_list_fonts_cookie_t;
02446
02448 #define XCB_LIST_FONTS 49
02449
02453 typedef struct xcb_list_fonts_request_t {
02454 uint8_t major_opcode;
02455 uint8_t pad0;
02456 uint16_t length;
02457 uint16_t max_names;
02458 uint16_t pattern_len;
02459 } xcb_list_fonts_request_t;
02460
02464 typedef struct xcb_list_fonts_reply_t {
02465 uint8_t response_type;
02466 uint8_t pad0;
02467 uint16_t sequence;
02468 uint32_t length;
02469 uint16_t names_len;
02470 uint8_t pad1[22];
02471 } xcb_list_fonts_reply_t;
02472
02476 typedef struct xcb_list_fonts_with_info_cookie_t {
02477 unsigned int sequence;
02478 } xcb_list_fonts_with_info_cookie_t;
02479
02481 #define XCB_LIST_FONTS_WITH_INFO 50
02482
02486 typedef struct xcb_list_fonts_with_info_request_t {
02487 uint8_t major_opcode;
02488 uint8_t pad0;
02489 uint16_t length;
02490 uint16_t max_names;
02491 uint16_t pattern_len;
02492 } xcb_list_fonts_with_info_request_t;
02493
02497 typedef struct xcb_list_fonts_with_info_reply_t {
02498 uint8_t response_type;
02499 uint8_t name_len;
02500 uint16_t sequence;
02501 uint32_t length;
02502 xcb_charinfo_t min_bounds;
02503 uint8_t pad0[4];
02504 xcb_charinfo_t max_bounds;
02505 uint8_t pad1[4];
02506 uint16_t min_char_or_byte2;
02507 uint16_t max_char_or_byte2;
02508 uint16_t default_char;
02509 uint16_t properties_len;
02510 uint8_t draw_direction;
02511 uint8_t min_byte1;
02512 uint8_t max_byte1;
02513 uint8_t all_chars_exist;
02514 int16_t font_ascent;
02515 int16_t font_descent;
02516 uint32_t replies_hint;
02517 } xcb_list_fonts_with_info_reply_t;
02518
02520 #define XCB_SET_FONT_PATH 51
02521
02525 typedef struct xcb_set_font_path_request_t {
02526 uint8_t major_opcode;
02527 uint8_t pad0;
02528 uint16_t length;
02529 uint16_t font_qty;
02530 } xcb_set_font_path_request_t;
02531
02535 typedef struct xcb_get_font_path_cookie_t {
02536 unsigned int sequence;
02537 } xcb_get_font_path_cookie_t;
02538
02540 #define XCB_GET_FONT_PATH 52
02541
02545 typedef struct xcb_get_font_path_request_t {
02546 uint8_t major_opcode;
02547 uint8_t pad0;
02548 uint16_t length;
02549 } xcb_get_font_path_request_t;
02550
02554 typedef struct xcb_get_font_path_reply_t {
02555 uint8_t response_type;
02556 uint8_t pad0;
02557 uint16_t sequence;
02558 uint32_t length;
02559 uint16_t path_len;
02560 uint8_t pad1[22];
02561 } xcb_get_font_path_reply_t;
02562
02564 #define XCB_CREATE_PIXMAP 53
02565
02569 typedef struct xcb_create_pixmap_request_t {
02570 uint8_t major_opcode;
02571 uint8_t depth;
02572 uint16_t length;
02573 xcb_pixmap_t pid;
02574 xcb_drawable_t drawable;
02575 uint16_t width;
02576 uint16_t height;
02577 } xcb_create_pixmap_request_t;
02578
02580 #define XCB_FREE_PIXMAP 54
02581
02585 typedef struct xcb_free_pixmap_request_t {
02586 uint8_t major_opcode;
02587 uint8_t pad0;
02588 uint16_t length;
02589 xcb_pixmap_t pixmap;
02590 } xcb_free_pixmap_request_t;
02591
02592 typedef enum xcb_gc_t {
02593 XCB_GC_FUNCTION = (1 << 0),
02594 XCB_GC_PLANE_MASK = (1 << 1),
02595 XCB_GC_FOREGROUND = (1 << 2),
02596 XCB_GC_BACKGROUND = (1 << 3),
02597 XCB_GC_LINE_WIDTH = (1 << 4),
02598 XCB_GC_LINE_STYLE = (1 << 5),
02599 XCB_GC_CAP_STYLE = (1 << 6),
02600 XCB_GC_JOIN_STYLE = (1 << 7),
02601 XCB_GC_FILL_STYLE = (1 << 8),
02602 XCB_GC_FILL_RULE = (1 << 9),
02603 XCB_GC_TILE = (1 << 10),
02604 XCB_GC_STIPPLE = (1 << 11),
02605 XCB_GC_TILE_STIPPLE_ORIGIN_X = (1 << 12),
02606 XCB_GC_TILE_STIPPLE_ORIGIN_Y = (1 << 13),
02607 XCB_GC_FONT = (1 << 14),
02608 XCB_GC_SUBWINDOW_MODE = (1 << 15),
02609 XCB_GC_GRAPHICS_EXPOSURES = (1 << 16),
02610 XCB_GC_CLIP_ORIGIN_X = (1 << 17),
02611 XCB_GC_CLIP_ORIGIN_Y = (1 << 18),
02612 XCB_GC_CLIP_MASK = (1 << 19),
02613 XCB_GC_DASH_OFFSET = (1 << 20),
02614 XCB_GC_DASH_LIST = (1 << 21),
02615 XCB_GC_ARC_MODE = (1 << 22)
02616 } xcb_gc_t;
02617
02618 typedef enum xcb_gx_t {
02619 XCB_GX_CLEAR = 0x0,
02620 XCB_GX_AND = 0x1,
02621 XCB_GX_AND_REVERSE = 0x2,
02622 XCB_GX_COPY = 0x3,
02623 XCB_GX_AND_INVERTED = 0x4,
02624 XCB_GX_NOOP = 0x5,
02625 XCB_GX_XOR = 0x6,
02626 XCB_GX_OR = 0x7,
02627 XCB_GX_NOR = 0x8,
02628 XCB_GX_EQUIV = 0x9,
02629 XCB_GX_INVERT = 0xa,
02630 XCB_GX_OR_REVERSE = 0xb,
02631 XCB_GX_COPY_INVERTED = 0xc,
02632 XCB_GX_OR_INVERTED = 0xd,
02633 XCB_GX_NAND = 0xe,
02634 XCB_GX_SET = 0xf
02635 } xcb_gx_t;
02636
02637 typedef enum xcb_line_style_t {
02638 XCB_LINE_STYLE_SOLID = 0,
02639 XCB_LINE_STYLE_ON_OFF_DASH = 1,
02640 XCB_LINE_STYLE_DOUBLE_DASH = 2
02641 } xcb_line_style_t;
02642
02643 typedef enum xcb_cap_style_t {
02644 XCB_CAP_STYLE_NOT_LAST = 0,
02645 XCB_CAP_STYLE_BUTT = 1,
02646 XCB_CAP_STYLE_ROUND = 2,
02647 XCB_CAP_STYLE_PROJECTING = 3
02648 } xcb_cap_style_t;
02649
02650 typedef enum xcb_join_style_t {
02651 XCB_JOIN_STYLE_MITRE = 0,
02652 XCB_JOIN_STYLE_ROUND = 1,
02653 XCB_JOIN_STYLE_BEVEL = 2
02654 } xcb_join_style_t;
02655
02656 typedef enum xcb_fill_style_t {
02657 XCB_FILL_STYLE_SOLID = 0,
02658 XCB_FILL_STYLE_TILED = 1,
02659 XCB_FILL_STYLE_STIPPLED = 2,
02660 XCB_FILL_STYLE_OPAQUE_STIPPLED = 3
02661 } xcb_fill_style_t;
02662
02663 typedef enum xcb_fill_rule_t {
02664 XCB_FILL_RULE_EVEN_ODD = 0,
02665 XCB_FILL_RULE_WINDING = 1
02666 } xcb_fill_rule_t;
02667
02668 typedef enum xcb_subwindow_mode_t {
02669 XCB_SUBWINDOW_MODE_CLIP_BY_CHILDREN = 0,
02670 XCB_SUBWINDOW_MODE_INCLUDE_INFERIORS = 1
02671 } xcb_subwindow_mode_t;
02672
02673 typedef enum xcb_arc_mode_t {
02674 XCB_ARC_MODE_CHORD = 0,
02675 XCB_ARC_MODE_PIE_SLICE = 1
02676 } xcb_arc_mode_t;
02677
02679 #define XCB_CREATE_GC 55
02680
02684 typedef struct xcb_create_gc_request_t {
02685 uint8_t major_opcode;
02686 uint8_t pad0;
02687 uint16_t length;
02688 xcb_gcontext_t cid;
02689 xcb_drawable_t drawable;
02690 uint32_t value_mask;
02691 } xcb_create_gc_request_t;
02692
02694 #define XCB_CHANGE_GC 56
02695
02699 typedef struct xcb_change_gc_request_t {
02700 uint8_t major_opcode;
02701 uint8_t pad0;
02702 uint16_t length;
02703 xcb_gcontext_t gc;
02704 uint32_t value_mask;
02705 } xcb_change_gc_request_t;
02706
02708 #define XCB_COPY_GC 57
02709
02713 typedef struct xcb_copy_gc_request_t {
02714 uint8_t major_opcode;
02715 uint8_t pad0;
02716 uint16_t length;
02717 xcb_gcontext_t src_gc;
02718 xcb_gcontext_t dst_gc;
02719 uint32_t value_mask;
02720 } xcb_copy_gc_request_t;
02721
02723 #define XCB_SET_DASHES 58
02724
02728 typedef struct xcb_set_dashes_request_t {
02729 uint8_t major_opcode;
02730 uint8_t pad0;
02731 uint16_t length;
02732 xcb_gcontext_t gc;
02733 uint16_t dash_offset;
02734 uint16_t dashes_len;
02735 } xcb_set_dashes_request_t;
02736
02737 typedef enum xcb_clip_ordering_t {
02738 XCB_CLIP_ORDERING_UNSORTED = 0,
02739 XCB_CLIP_ORDERING_Y_SORTED = 1,
02740 XCB_CLIP_ORDERING_YX_SORTED = 2,
02741 XCB_CLIP_ORDERING_YX_BANDED = 3
02742 } xcb_clip_ordering_t;
02743
02745 #define XCB_SET_CLIP_RECTANGLES 59
02746
02750 typedef struct xcb_set_clip_rectangles_request_t {
02751 uint8_t major_opcode;
02752 uint8_t ordering;
02753 uint16_t length;
02754 xcb_gcontext_t gc;
02755 int16_t clip_x_origin;
02756 int16_t clip_y_origin;
02757 } xcb_set_clip_rectangles_request_t;
02758
02760 #define XCB_FREE_GC 60
02761
02765 typedef struct xcb_free_gc_request_t {
02766 uint8_t major_opcode;
02767 uint8_t pad0;
02768 uint16_t length;
02769 xcb_gcontext_t gc;
02770 } xcb_free_gc_request_t;
02771
02773 #define XCB_CLEAR_AREA 61
02774
02778 typedef struct xcb_clear_area_request_t {
02779 uint8_t major_opcode;
02780 uint8_t exposures;
02781 uint16_t length;
02782 xcb_window_t window;
02783 int16_t x;
02784 int16_t y;
02785 uint16_t width;
02786 uint16_t height;
02787 } xcb_clear_area_request_t;
02788
02790 #define XCB_COPY_AREA 62
02791
02795 typedef struct xcb_copy_area_request_t {
02796 uint8_t major_opcode;
02797 uint8_t pad0;
02798 uint16_t length;
02799 xcb_drawable_t src_drawable;
02800 xcb_drawable_t dst_drawable;
02801 xcb_gcontext_t gc;
02802 int16_t src_x;
02803 int16_t src_y;
02804 int16_t dst_x;
02805 int16_t dst_y;
02806 uint16_t width;
02807 uint16_t height;
02808 } xcb_copy_area_request_t;
02809
02811 #define XCB_COPY_PLANE 63
02812
02816 typedef struct xcb_copy_plane_request_t {
02817 uint8_t major_opcode;
02818 uint8_t pad0;
02819 uint16_t length;
02820 xcb_drawable_t src_drawable;
02821 xcb_drawable_t dst_drawable;
02822 xcb_gcontext_t gc;
02823 int16_t src_x;
02824 int16_t src_y;
02825 int16_t dst_x;
02826 int16_t dst_y;
02827 uint16_t width;
02828 uint16_t height;
02829 uint32_t bit_plane;
02830 } xcb_copy_plane_request_t;
02831
02832 typedef enum xcb_coord_mode_t {
02833 XCB_COORD_MODE_ORIGIN = 0,
02834 XCB_COORD_MODE_PREVIOUS = 1
02835 } xcb_coord_mode_t;
02836
02838 #define XCB_POLY_POINT 64
02839
02843 typedef struct xcb_poly_point_request_t {
02844 uint8_t major_opcode;
02845 uint8_t coordinate_mode;
02846 uint16_t length;
02847 xcb_drawable_t drawable;
02848 xcb_gcontext_t gc;
02849 } xcb_poly_point_request_t;
02850
02852 #define XCB_POLY_LINE 65
02853
02857 typedef struct xcb_poly_line_request_t {
02858 uint8_t major_opcode;
02859 uint8_t coordinate_mode;
02860 uint16_t length;
02861 xcb_drawable_t drawable;
02862 xcb_gcontext_t gc;
02863 } xcb_poly_line_request_t;
02864
02868 typedef struct xcb_segment_t {
02869 int16_t x1;
02870 int16_t y1;
02871 int16_t x2;
02872 int16_t y2;
02873 } xcb_segment_t;
02874
02878 typedef struct xcb_segment_iterator_t {
02879 xcb_segment_t *data;
02880 int rem;
02881 int index;
02882 } xcb_segment_iterator_t;
02883
02885 #define XCB_POLY_SEGMENT 66
02886
02890 typedef struct xcb_poly_segment_request_t {
02891 uint8_t major_opcode;
02892 uint8_t pad0;
02893 uint16_t length;
02894 xcb_drawable_t drawable;
02895 xcb_gcontext_t gc;
02896 } xcb_poly_segment_request_t;
02897
02899 #define XCB_POLY_RECTANGLE 67
02900
02904 typedef struct xcb_poly_rectangle_request_t {
02905 uint8_t major_opcode;
02906 uint8_t pad0;
02907 uint16_t length;
02908 xcb_drawable_t drawable;
02909 xcb_gcontext_t gc;
02910 } xcb_poly_rectangle_request_t;
02911
02913 #define XCB_POLY_ARC 68
02914
02918 typedef struct xcb_poly_arc_request_t {
02919 uint8_t major_opcode;
02920 uint8_t pad0;
02921 uint16_t length;
02922 xcb_drawable_t drawable;
02923 xcb_gcontext_t gc;
02924 } xcb_poly_arc_request_t;
02925
02926 typedef enum xcb_poly_shape_t {
02927 XCB_POLY_SHAPE_COMPLEX = 0,
02928 XCB_POLY_SHAPE_NONCONVEX = 1,
02929 XCB_POLY_SHAPE_CONVEX = 2
02930 } xcb_poly_shape_t;
02931
02933 #define XCB_FILL_POLY 69
02934
02938 typedef struct xcb_fill_poly_request_t {
02939 uint8_t major_opcode;
02940 uint8_t pad0;
02941 uint16_t length;
02942 xcb_drawable_t drawable;
02943 xcb_gcontext_t gc;
02944 uint8_t shape;
02945 uint8_t coordinate_mode;
02946 } xcb_fill_poly_request_t;
02947
02949 #define XCB_POLY_FILL_RECTANGLE 70
02950
02954 typedef struct xcb_poly_fill_rectangle_request_t {
02955 uint8_t major_opcode;
02956 uint8_t pad0;
02957 uint16_t length;
02958 xcb_drawable_t drawable;
02959 xcb_gcontext_t gc;
02960 } xcb_poly_fill_rectangle_request_t;
02961
02963 #define XCB_POLY_FILL_ARC 71
02964
02968 typedef struct xcb_poly_fill_arc_request_t {
02969 uint8_t major_opcode;
02970 uint8_t pad0;
02971 uint16_t length;
02972 xcb_drawable_t drawable;
02973 xcb_gcontext_t gc;
02974 } xcb_poly_fill_arc_request_t;
02975
02976 typedef enum xcb_image_format_t {
02977 XCB_IMAGE_FORMAT_XY_BITMAP = 0,
02978 XCB_IMAGE_FORMAT_XY_PIXMAP = 1,
02979 XCB_IMAGE_FORMAT_Z_PIXMAP = 2
02980 } xcb_image_format_t;
02981
02983 #define XCB_PUT_IMAGE 72
02984
02988 typedef struct xcb_put_image_request_t {
02989 uint8_t major_opcode;
02990 uint8_t format;
02991 uint16_t length;
02992 xcb_drawable_t drawable;
02993 xcb_gcontext_t gc;
02994 uint16_t width;
02995 uint16_t height;
02996 int16_t dst_x;
02997 int16_t dst_y;
02998 uint8_t left_pad;
02999 uint8_t depth;
03000 } xcb_put_image_request_t;
03001
03005 typedef struct xcb_get_image_cookie_t {
03006 unsigned int sequence;
03007 } xcb_get_image_cookie_t;
03008
03010 #define XCB_GET_IMAGE 73
03011
03015 typedef struct xcb_get_image_request_t {
03016 uint8_t major_opcode;
03017 uint8_t format;
03018 uint16_t length;
03019 xcb_drawable_t drawable;
03020 int16_t x;
03021 int16_t y;
03022 uint16_t width;
03023 uint16_t height;
03024 uint32_t plane_mask;
03025 } xcb_get_image_request_t;
03026
03030 typedef struct xcb_get_image_reply_t {
03031 uint8_t response_type;
03032 uint8_t depth;
03033 uint16_t sequence;
03034 uint32_t length;
03035 xcb_visualid_t visual;
03036 uint8_t pad0[20];
03037 } xcb_get_image_reply_t;
03038
03040 #define XCB_POLY_TEXT_8 74
03041
03045 typedef struct xcb_poly_text_8_request_t {
03046 uint8_t major_opcode;
03047 uint8_t pad0;
03048 uint16_t length;
03049 xcb_drawable_t drawable;
03050 xcb_gcontext_t gc;
03051 int16_t x;
03052 int16_t y;
03053 } xcb_poly_text_8_request_t;
03054
03056 #define XCB_POLY_TEXT_16 75
03057
03061 typedef struct xcb_poly_text_16_request_t {
03062 uint8_t major_opcode;
03063 uint8_t pad0;
03064 uint16_t length;
03065 xcb_drawable_t drawable;
03066 xcb_gcontext_t gc;
03067 int16_t x;
03068 int16_t y;
03069 } xcb_poly_text_16_request_t;
03070
03072 #define XCB_IMAGE_TEXT_8 76
03073
03077 typedef struct xcb_image_text_8_request_t {
03078 uint8_t major_opcode;
03079 uint8_t string_len;
03080 uint16_t length;
03081 xcb_drawable_t drawable;
03082 xcb_gcontext_t gc;
03083 int16_t x;
03084 int16_t y;
03085 } xcb_image_text_8_request_t;
03086
03088 #define XCB_IMAGE_TEXT_16 77
03089
03093 typedef struct xcb_image_text_16_request_t {
03094 uint8_t major_opcode;
03095 uint8_t string_len;
03096 uint16_t length;
03097 xcb_drawable_t drawable;
03098 xcb_gcontext_t gc;
03099 int16_t x;
03100 int16_t y;
03101 } xcb_image_text_16_request_t;
03102
03103 typedef enum xcb_colormap_alloc_t {
03104 XCB_COLORMAP_ALLOC_NONE = 0,
03105 XCB_COLORMAP_ALLOC_ALL = 1
03106 } xcb_colormap_alloc_t;
03107
03109 #define XCB_CREATE_COLORMAP 78
03110
03114 typedef struct xcb_create_colormap_request_t {
03115 uint8_t major_opcode;
03116 uint8_t alloc;
03117 uint16_t length;
03118 xcb_colormap_t mid;
03119 xcb_window_t window;
03120 xcb_visualid_t visual;
03121 } xcb_create_colormap_request_t;
03122
03124 #define XCB_FREE_COLORMAP 79
03125
03129 typedef struct xcb_free_colormap_request_t {
03130 uint8_t major_opcode;
03131 uint8_t pad0;
03132 uint16_t length;
03133 xcb_colormap_t cmap;
03134 } xcb_free_colormap_request_t;
03135
03137 #define XCB_COPY_COLORMAP_AND_FREE 80
03138
03142 typedef struct xcb_copy_colormap_and_free_request_t {
03143 uint8_t major_opcode;
03144 uint8_t pad0;
03145 uint16_t length;
03146 xcb_colormap_t mid;
03147 xcb_colormap_t src_cmap;
03148 } xcb_copy_colormap_and_free_request_t;
03149
03151 #define XCB_INSTALL_COLORMAP 81
03152
03156 typedef struct xcb_install_colormap_request_t {
03157 uint8_t major_opcode;
03158 uint8_t pad0;
03159 uint16_t length;
03160 xcb_colormap_t cmap;
03161 } xcb_install_colormap_request_t;
03162
03164 #define XCB_UNINSTALL_COLORMAP 82
03165
03169 typedef struct xcb_uninstall_colormap_request_t {
03170 uint8_t major_opcode;
03171 uint8_t pad0;
03172 uint16_t length;
03173 xcb_colormap_t cmap;
03174 } xcb_uninstall_colormap_request_t;
03175
03179 typedef struct xcb_list_installed_colormaps_cookie_t {
03180 unsigned int sequence;
03181 } xcb_list_installed_colormaps_cookie_t;
03182
03184 #define XCB_LIST_INSTALLED_COLORMAPS 83
03185
03189 typedef struct xcb_list_installed_colormaps_request_t {
03190 uint8_t major_opcode;
03191 uint8_t pad0;
03192 uint16_t length;
03193 xcb_window_t window;
03194 } xcb_list_installed_colormaps_request_t;
03195
03199 typedef struct xcb_list_installed_colormaps_reply_t {
03200 uint8_t response_type;
03201 uint8_t pad0;
03202 uint16_t sequence;
03203 uint32_t length;
03204 uint16_t cmaps_len;
03205 uint8_t pad1[22];
03206 } xcb_list_installed_colormaps_reply_t;
03207
03211 typedef struct xcb_alloc_color_cookie_t {
03212 unsigned int sequence;
03213 } xcb_alloc_color_cookie_t;
03214
03216 #define XCB_ALLOC_COLOR 84
03217
03221 typedef struct xcb_alloc_color_request_t {
03222 uint8_t major_opcode;
03223 uint8_t pad0;
03224 uint16_t length;
03225 xcb_colormap_t cmap;
03226 uint16_t red;
03227 uint16_t green;
03228 uint16_t blue;
03229 } xcb_alloc_color_request_t;
03230
03234 typedef struct xcb_alloc_color_reply_t {
03235 uint8_t response_type;
03236 uint8_t pad0;
03237 uint16_t sequence;
03238 uint32_t length;
03239 uint16_t red;
03240 uint16_t green;
03241 uint16_t blue;
03242 uint8_t pad1[2];
03243 uint32_t pixel;
03244 } xcb_alloc_color_reply_t;
03245
03249 typedef struct xcb_alloc_named_color_cookie_t {
03250 unsigned int sequence;
03251 } xcb_alloc_named_color_cookie_t;
03252
03254 #define XCB_ALLOC_NAMED_COLOR 85
03255
03259 typedef struct xcb_alloc_named_color_request_t {
03260 uint8_t major_opcode;
03261 uint8_t pad0;
03262 uint16_t length;
03263 xcb_colormap_t cmap;
03264 uint16_t name_len;
03265 } xcb_alloc_named_color_request_t;
03266
03270 typedef struct xcb_alloc_named_color_reply_t {
03271 uint8_t response_type;
03272 uint8_t pad0;
03273 uint16_t sequence;
03274 uint32_t length;
03275 uint32_t pixel;
03276 uint16_t exact_red;
03277 uint16_t exact_green;
03278 uint16_t exact_blue;
03279 uint16_t visual_red;
03280 uint16_t visual_green;
03281 uint16_t visual_blue;
03282 } xcb_alloc_named_color_reply_t;
03283
03287 typedef struct xcb_alloc_color_cells_cookie_t {
03288 unsigned int sequence;
03289 } xcb_alloc_color_cells_cookie_t;
03290
03292 #define XCB_ALLOC_COLOR_CELLS 86
03293
03297 typedef struct xcb_alloc_color_cells_request_t {
03298 uint8_t major_opcode;
03299 uint8_t contiguous;
03300 uint16_t length;
03301 xcb_colormap_t cmap;
03302 uint16_t colors;
03303 uint16_t planes;
03304 } xcb_alloc_color_cells_request_t;
03305
03309 typedef struct xcb_alloc_color_cells_reply_t {
03310 uint8_t response_type;
03311 uint8_t pad0;
03312 uint16_t sequence;
03313 uint32_t length;
03314 uint16_t pixels_len;
03315 uint16_t masks_len;
03316 uint8_t pad1[20];
03317 } xcb_alloc_color_cells_reply_t;
03318
03322 typedef struct xcb_alloc_color_planes_cookie_t {
03323 unsigned int sequence;
03324 } xcb_alloc_color_planes_cookie_t;
03325
03327 #define XCB_ALLOC_COLOR_PLANES 87
03328
03332 typedef struct xcb_alloc_color_planes_request_t {
03333 uint8_t major_opcode;
03334 uint8_t contiguous;
03335 uint16_t length;
03336 xcb_colormap_t cmap;
03337 uint16_t colors;
03338 uint16_t reds;
03339 uint16_t greens;
03340 uint16_t blues;
03341 } xcb_alloc_color_planes_request_t;
03342
03346 typedef struct xcb_alloc_color_planes_reply_t {
03347 uint8_t response_type;
03348 uint8_t pad0;
03349 uint16_t sequence;
03350 uint32_t length;
03351 uint16_t pixels_len;
03352 uint8_t pad1[2];
03353 uint32_t red_mask;
03354 uint32_t green_mask;
03355 uint32_t blue_mask;
03356 uint8_t pad2[8];
03357 } xcb_alloc_color_planes_reply_t;
03358
03360 #define XCB_FREE_COLORS 88
03361
03365 typedef struct xcb_free_colors_request_t {
03366 uint8_t major_opcode;
03367 uint8_t pad0;
03368 uint16_t length;
03369 xcb_colormap_t cmap;
03370 uint32_t plane_mask;
03371 } xcb_free_colors_request_t;
03372
03373 typedef enum xcb_color_flag_t {
03374 XCB_COLOR_FLAG_RED = (1 << 0),
03375 XCB_COLOR_FLAG_GREEN = (1 << 1),
03376 XCB_COLOR_FLAG_BLUE = (1 << 2)
03377 } xcb_color_flag_t;
03378
03382 typedef struct xcb_coloritem_t {
03383 uint32_t pixel;
03384 uint16_t red;
03385 uint16_t green;
03386 uint16_t blue;
03387 uint8_t flags;
03388 uint8_t pad0;
03389 } xcb_coloritem_t;
03390
03394 typedef struct xcb_coloritem_iterator_t {
03395 xcb_coloritem_t *data;
03396 int rem;
03397 int index;
03398 } xcb_coloritem_iterator_t;
03399
03401 #define XCB_STORE_COLORS 89
03402
03406 typedef struct xcb_store_colors_request_t {
03407 uint8_t major_opcode;
03408 uint8_t pad0;
03409 uint16_t length;
03410 xcb_colormap_t cmap;
03411 } xcb_store_colors_request_t;
03412
03414 #define XCB_STORE_NAMED_COLOR 90
03415
03419 typedef struct xcb_store_named_color_request_t {
03420 uint8_t major_opcode;
03421 uint8_t flags;
03422 uint16_t length;
03423 xcb_colormap_t cmap;
03424 uint32_t pixel;
03425 uint16_t name_len;
03426 } xcb_store_named_color_request_t;
03427
03431 typedef struct xcb_rgb_t {
03432 uint16_t red;
03433 uint16_t green;
03434 uint16_t blue;
03435 uint8_t pad0[2];
03436 } xcb_rgb_t;
03437
03441 typedef struct xcb_rgb_iterator_t {
03442 xcb_rgb_t *data;
03443 int rem;
03444 int index;
03445 } xcb_rgb_iterator_t;
03446
03450 typedef struct xcb_query_colors_cookie_t {
03451 unsigned int sequence;
03452 } xcb_query_colors_cookie_t;
03453
03455 #define XCB_QUERY_COLORS 91
03456
03460 typedef struct xcb_query_colors_request_t {
03461 uint8_t major_opcode;
03462 uint8_t pad0;
03463 uint16_t length;
03464 xcb_colormap_t cmap;
03465 } xcb_query_colors_request_t;
03466
03470 typedef struct xcb_query_colors_reply_t {
03471 uint8_t response_type;
03472 uint8_t pad0;
03473 uint16_t sequence;
03474 uint32_t length;
03475 uint16_t colors_len;
03476 uint8_t pad1[22];
03477 } xcb_query_colors_reply_t;
03478
03482 typedef struct xcb_lookup_color_cookie_t {
03483 unsigned int sequence;
03484 } xcb_lookup_color_cookie_t;
03485
03487 #define XCB_LOOKUP_COLOR 92
03488
03492 typedef struct xcb_lookup_color_request_t {
03493 uint8_t major_opcode;
03494 uint8_t pad0;
03495 uint16_t length;
03496 xcb_colormap_t cmap;
03497 uint16_t name_len;
03498 } xcb_lookup_color_request_t;
03499
03503 typedef struct xcb_lookup_color_reply_t {
03504 uint8_t response_type;
03505 uint8_t pad0;
03506 uint16_t sequence;
03507 uint32_t length;
03508 uint16_t exact_red;
03509 uint16_t exact_green;
03510 uint16_t exact_blue;
03511 uint16_t visual_red;
03512 uint16_t visual_green;
03513 uint16_t visual_blue;
03514 } xcb_lookup_color_reply_t;
03515
03517 #define XCB_CREATE_CURSOR 93
03518
03522 typedef struct xcb_create_cursor_request_t {
03523 uint8_t major_opcode;
03524 uint8_t pad0;
03525 uint16_t length;
03526 xcb_cursor_t cid;
03527 xcb_pixmap_t source;
03528 xcb_pixmap_t mask;
03529 uint16_t fore_red;
03530 uint16_t fore_green;
03531 uint16_t fore_blue;
03532 uint16_t back_red;
03533 uint16_t back_green;
03534 uint16_t back_blue;
03535 uint16_t x;
03536 uint16_t y;
03537 } xcb_create_cursor_request_t;
03538
03540 #define XCB_CREATE_GLYPH_CURSOR 94
03541
03545 typedef struct xcb_create_glyph_cursor_request_t {
03546 uint8_t major_opcode;
03547 uint8_t pad0;
03548 uint16_t length;
03549 xcb_cursor_t cid;
03550 xcb_font_t source_font;
03551 xcb_font_t mask_font;
03552 uint16_t source_char;
03553 uint16_t mask_char;
03554 uint16_t fore_red;
03555 uint16_t fore_green;
03556 uint16_t fore_blue;
03557 uint16_t back_red;
03558 uint16_t back_green;
03559 uint16_t back_blue;
03560 } xcb_create_glyph_cursor_request_t;
03561
03563 #define XCB_FREE_CURSOR 95
03564
03568 typedef struct xcb_free_cursor_request_t {
03569 uint8_t major_opcode;
03570 uint8_t pad0;
03571 uint16_t length;
03572 xcb_cursor_t cursor;
03573 } xcb_free_cursor_request_t;
03574
03576 #define XCB_RECOLOR_CURSOR 96
03577
03581 typedef struct xcb_recolor_cursor_request_t {
03582 uint8_t major_opcode;
03583 uint8_t pad0;
03584 uint16_t length;
03585 xcb_cursor_t cursor;
03586 uint16_t fore_red;
03587 uint16_t fore_green;
03588 uint16_t fore_blue;
03589 uint16_t back_red;
03590 uint16_t back_green;
03591 uint16_t back_blue;
03592 } xcb_recolor_cursor_request_t;
03593
03594 typedef enum xcb_query_shape_of_t {
03595 XCB_QUERY_SHAPE_OF_LARGEST_CURSOR = 0,
03596 XCB_QUERY_SHAPE_OF_FASTEST_TILE = 1,
03597 XCB_QUERY_SHAPE_OF_FASTEST_STIPPLE = 2
03598 } xcb_query_shape_of_t;
03599
03603 typedef struct xcb_query_best_size_cookie_t {
03604 unsigned int sequence;
03605 } xcb_query_best_size_cookie_t;
03606
03608 #define XCB_QUERY_BEST_SIZE 97
03609
03613 typedef struct xcb_query_best_size_request_t {
03614 uint8_t major_opcode;
03615 uint8_t _class;
03616 uint16_t length;
03617 xcb_drawable_t drawable;
03618 uint16_t width;
03619 uint16_t height;
03620 } xcb_query_best_size_request_t;
03621
03625 typedef struct xcb_query_best_size_reply_t {
03626 uint8_t response_type;
03627 uint8_t pad0;
03628 uint16_t sequence;
03629 uint32_t length;
03630 uint16_t width;
03631 uint16_t height;
03632 } xcb_query_best_size_reply_t;
03633
03637 typedef struct xcb_query_extension_cookie_t {
03638 unsigned int sequence;
03639 } xcb_query_extension_cookie_t;
03640
03642 #define XCB_QUERY_EXTENSION 98
03643
03647 typedef struct xcb_query_extension_request_t {
03648 uint8_t major_opcode;
03649 uint8_t pad0;
03650 uint16_t length;
03651 uint16_t name_len;
03652 } xcb_query_extension_request_t;
03653
03657 typedef struct xcb_query_extension_reply_t {
03658 uint8_t response_type;
03659 uint8_t pad0;
03660 uint16_t sequence;
03661 uint32_t length;
03662 uint8_t present;
03663 uint8_t major_opcode;
03664 uint8_t first_event;
03665 uint8_t first_error;
03666 } xcb_query_extension_reply_t;
03667
03671 typedef struct xcb_list_extensions_cookie_t {
03672 unsigned int sequence;
03673 } xcb_list_extensions_cookie_t;
03674
03676 #define XCB_LIST_EXTENSIONS 99
03677
03681 typedef struct xcb_list_extensions_request_t {
03682 uint8_t major_opcode;
03683 uint8_t pad0;
03684 uint16_t length;
03685 } xcb_list_extensions_request_t;
03686
03690 typedef struct xcb_list_extensions_reply_t {
03691 uint8_t response_type;
03692 uint8_t names_len;
03693 uint16_t sequence;
03694 uint32_t length;
03695 uint8_t pad0[24];
03696 } xcb_list_extensions_reply_t;
03697
03699 #define XCB_CHANGE_KEYBOARD_MAPPING 100
03700
03704 typedef struct xcb_change_keyboard_mapping_request_t {
03705 uint8_t major_opcode;
03706 uint8_t keycode_count;
03707 uint16_t length;
03708 xcb_keycode_t first_keycode;
03709 uint8_t keysyms_per_keycode;
03710 } xcb_change_keyboard_mapping_request_t;
03711
03715 typedef struct xcb_get_keyboard_mapping_cookie_t {
03716 unsigned int sequence;
03717 } xcb_get_keyboard_mapping_cookie_t;
03718
03720 #define XCB_GET_KEYBOARD_MAPPING 101
03721
03725 typedef struct xcb_get_keyboard_mapping_request_t {
03726 uint8_t major_opcode;
03727 uint8_t pad0;
03728 uint16_t length;
03729 xcb_keycode_t first_keycode;
03730 uint8_t count;
03731 } xcb_get_keyboard_mapping_request_t;
03732
03736 typedef struct xcb_get_keyboard_mapping_reply_t {
03737 uint8_t response_type;
03738 uint8_t keysyms_per_keycode;
03739 uint16_t sequence;
03740 uint32_t length;
03741 uint8_t pad0[24];
03742 } xcb_get_keyboard_mapping_reply_t;
03743
03744 typedef enum xcb_kb_t {
03745 XCB_KB_KEY_CLICK_PERCENT = (1 << 0),
03746 XCB_KB_BELL_PERCENT = (1 << 1),
03747 XCB_KB_BELL_PITCH = (1 << 2),
03748 XCB_KB_BELL_DURATION = (1 << 3),
03749 XCB_KB_LED = (1 << 4),
03750 XCB_KB_LED_MODE = (1 << 5),
03751 XCB_KB_KEY = (1 << 6),
03752 XCB_KB_AUTO_REPEAT_MODE = (1 << 7)
03753 } xcb_kb_t;
03754
03755 typedef enum xcb_led_mode_t {
03756 XCB_LED_MODE_OFF = 0,
03757 XCB_LED_MODE_ON = 1
03758 } xcb_led_mode_t;
03759
03760 typedef enum xcb_auto_repeat_mode_t {
03761 XCB_AUTO_REPEAT_MODE_OFF = 0,
03762 XCB_AUTO_REPEAT_MODE_ON = 1,
03763 XCB_AUTO_REPEAT_MODE_DEFAULT = 2
03764 } xcb_auto_repeat_mode_t;
03765
03767 #define XCB_CHANGE_KEYBOARD_CONTROL 102
03768
03772 typedef struct xcb_change_keyboard_control_request_t {
03773 uint8_t major_opcode;
03774 uint8_t pad0;
03775 uint16_t length;
03776 uint32_t value_mask;
03777 } xcb_change_keyboard_control_request_t;
03778
03782 typedef struct xcb_get_keyboard_control_cookie_t {
03783 unsigned int sequence;
03784 } xcb_get_keyboard_control_cookie_t;
03785
03787 #define XCB_GET_KEYBOARD_CONTROL 103
03788
03792 typedef struct xcb_get_keyboard_control_request_t {
03793 uint8_t major_opcode;
03794 uint8_t pad0;
03795 uint16_t length;
03796 } xcb_get_keyboard_control_request_t;
03797
03801 typedef struct xcb_get_keyboard_control_reply_t {
03802 uint8_t response_type;
03803 uint8_t global_auto_repeat;
03804 uint16_t sequence;
03805 uint32_t length;
03806 uint32_t led_mask;
03807 uint8_t key_click_percent;
03808 uint8_t bell_percent;
03809 uint16_t bell_pitch;
03810 uint16_t bell_duration;
03811 uint8_t pad0[2];
03812 uint8_t auto_repeats[32];
03813 } xcb_get_keyboard_control_reply_t;
03814
03816 #define XCB_BELL 104
03817
03821 typedef struct xcb_bell_request_t {
03822 uint8_t major_opcode;
03823 int8_t percent;
03824 uint16_t length;
03825 } xcb_bell_request_t;
03826
03828 #define XCB_CHANGE_POINTER_CONTROL 105
03829
03833 typedef struct xcb_change_pointer_control_request_t {
03834 uint8_t major_opcode;
03835 uint8_t pad0;
03836 uint16_t length;
03837 int16_t acceleration_numerator;
03838 int16_t acceleration_denominator;
03839 int16_t threshold;
03840 uint8_t do_acceleration;
03841 uint8_t do_threshold;
03842 } xcb_change_pointer_control_request_t;
03843
03847 typedef struct xcb_get_pointer_control_cookie_t {
03848 unsigned int sequence;
03849 } xcb_get_pointer_control_cookie_t;
03850
03852 #define XCB_GET_POINTER_CONTROL 106
03853
03857 typedef struct xcb_get_pointer_control_request_t {
03858 uint8_t major_opcode;
03859 uint8_t pad0;
03860 uint16_t length;
03861 } xcb_get_pointer_control_request_t;
03862
03866 typedef struct xcb_get_pointer_control_reply_t {
03867 uint8_t response_type;
03868 uint8_t pad0;
03869 uint16_t sequence;
03870 uint32_t length;
03871 uint16_t acceleration_numerator;
03872 uint16_t acceleration_denominator;
03873 uint16_t threshold;
03874 } xcb_get_pointer_control_reply_t;
03875
03876 typedef enum xcb_blanking_t {
03877 XCB_BLANKING_NOT_PREFERRED = 0,
03878 XCB_BLANKING_PREFERRED = 1,
03879 XCB_BLANKING_DEFAULT = 2
03880 } xcb_blanking_t;
03881
03882 typedef enum xcb_exposures_t {
03883 XCB_EXPOSURES_NOT_ALLOWED = 0,
03884 XCB_EXPOSURES_ALLOWED = 1,
03885 XCB_EXPOSURES_DEFAULT = 2
03886 } xcb_exposures_t;
03887
03889 #define XCB_SET_SCREEN_SAVER 107
03890
03894 typedef struct xcb_set_screen_saver_request_t {
03895 uint8_t major_opcode;
03896 uint8_t pad0;
03897 uint16_t length;
03898 int16_t timeout;
03899 int16_t interval;
03900 uint8_t prefer_blanking;
03901 uint8_t allow_exposures;
03902 } xcb_set_screen_saver_request_t;
03903
03907 typedef struct xcb_get_screen_saver_cookie_t {
03908 unsigned int sequence;
03909 } xcb_get_screen_saver_cookie_t;
03910
03912 #define XCB_GET_SCREEN_SAVER 108
03913
03917 typedef struct xcb_get_screen_saver_request_t {
03918 uint8_t major_opcode;
03919 uint8_t pad0;
03920 uint16_t length;
03921 } xcb_get_screen_saver_request_t;
03922
03926 typedef struct xcb_get_screen_saver_reply_t {
03927 uint8_t response_type;
03928 uint8_t pad0;
03929 uint16_t sequence;
03930 uint32_t length;
03931 uint16_t timeout;
03932 uint16_t interval;
03933 uint8_t prefer_blanking;
03934 uint8_t allow_exposures;
03935 } xcb_get_screen_saver_reply_t;
03936
03937 typedef enum xcb_host_mode_t {
03938 XCB_HOST_MODE_INSERT = 0,
03939 XCB_HOST_MODE_DELETE = 1
03940 } xcb_host_mode_t;
03941
03942 typedef enum xcb_family_t {
03943 XCB_FAMILY_INTERNET = 0,
03944 XCB_FAMILY_DECNET = 1,
03945 XCB_FAMILY_CHAOS = 2,
03946 XCB_FAMILY_SERVER_INTERPRETED = 5,
03947 XCB_FAMILY_INTERNET_6 = 6
03948 } xcb_family_t;
03949
03951 #define XCB_CHANGE_HOSTS 109
03952
03956 typedef struct xcb_change_hosts_request_t {
03957 uint8_t major_opcode;
03958 uint8_t mode;
03959 uint16_t length;
03960 uint8_t family;
03961 uint8_t pad0;
03962 uint16_t address_len;
03963 } xcb_change_hosts_request_t;
03964
03968 typedef struct xcb_host_t {
03969 uint8_t family;
03970 uint8_t pad0;
03971 uint16_t address_len;
03972 } xcb_host_t;
03973
03977 typedef struct xcb_host_iterator_t {
03978 xcb_host_t *data;
03979 int rem;
03980 int index;
03981 } xcb_host_iterator_t;
03982
03986 typedef struct xcb_list_hosts_cookie_t {
03987 unsigned int sequence;
03988 } xcb_list_hosts_cookie_t;
03989
03991 #define XCB_LIST_HOSTS 110
03992
03996 typedef struct xcb_list_hosts_request_t {
03997 uint8_t major_opcode;
03998 uint8_t pad0;
03999 uint16_t length;
04000 } xcb_list_hosts_request_t;
04001
04005 typedef struct xcb_list_hosts_reply_t {
04006 uint8_t response_type;
04007 uint8_t mode;
04008 uint16_t sequence;
04009 uint32_t length;
04010 uint16_t hosts_len;
04011 uint8_t pad0[22];
04012 } xcb_list_hosts_reply_t;
04013
04014 typedef enum xcb_access_control_t {
04015 XCB_ACCESS_CONTROL_DISABLE = 0,
04016 XCB_ACCESS_CONTROL_ENABLE = 1
04017 } xcb_access_control_t;
04018
04020 #define XCB_SET_ACCESS_CONTROL 111
04021
04025 typedef struct xcb_set_access_control_request_t {
04026 uint8_t major_opcode;
04027 uint8_t mode;
04028 uint16_t length;
04029 } xcb_set_access_control_request_t;
04030
04031 typedef enum xcb_close_down_t {
04032 XCB_CLOSE_DOWN_DESTROY_ALL = 0,
04033 XCB_CLOSE_DOWN_RETAIN_PERMANENT = 1,
04034 XCB_CLOSE_DOWN_RETAIN_TEMPORARY = 2
04035 } xcb_close_down_t;
04036
04038 #define XCB_SET_CLOSE_DOWN_MODE 112
04039
04043 typedef struct xcb_set_close_down_mode_request_t {
04044 uint8_t major_opcode;
04045 uint8_t mode;
04046 uint16_t length;
04047 } xcb_set_close_down_mode_request_t;
04048
04049 typedef enum xcb_kill_t {
04050 XCB_KILL_ALL_TEMPORARY = 0
04051 } xcb_kill_t;
04052
04054 #define XCB_KILL_CLIENT 113
04055
04059 typedef struct xcb_kill_client_request_t {
04060 uint8_t major_opcode;
04061 uint8_t pad0;
04062 uint16_t length;
04063 uint32_t resource;
04064 } xcb_kill_client_request_t;
04065
04067 #define XCB_ROTATE_PROPERTIES 114
04068
04072 typedef struct xcb_rotate_properties_request_t {
04073 uint8_t major_opcode;
04074 xcb_window_t window;
04075 uint16_t length;
04076 uint16_t atoms_len;
04077 int16_t delta;
04078 } xcb_rotate_properties_request_t;
04079
04080 typedef enum xcb_screen_saver_t {
04081 XCB_SCREEN_SAVER_RESET = 0,
04082 XCB_SCREEN_SAVER_ACTIVE = 1
04083 } xcb_screen_saver_t;
04084
04086 #define XCB_FORCE_SCREEN_SAVER 115
04087
04091 typedef struct xcb_force_screen_saver_request_t {
04092 uint8_t major_opcode;
04093 uint8_t mode;
04094 uint16_t length;
04095 } xcb_force_screen_saver_request_t;
04096
04097 typedef enum xcb_mapping_status_t {
04098 XCB_MAPPING_STATUS_SUCCESS = 0,
04099 XCB_MAPPING_STATUS_BUSY = 1,
04100 XCB_MAPPING_STATUS_FAILURE = 2
04101 } xcb_mapping_status_t;
04102
04106 typedef struct xcb_set_pointer_mapping_cookie_t {
04107 unsigned int sequence;
04108 } xcb_set_pointer_mapping_cookie_t;
04109
04111 #define XCB_SET_POINTER_MAPPING 116
04112
04116 typedef struct xcb_set_pointer_mapping_request_t {
04117 uint8_t major_opcode;
04118 uint8_t map_len;
04119 uint16_t length;
04120 } xcb_set_pointer_mapping_request_t;
04121
04125 typedef struct xcb_set_pointer_mapping_reply_t {
04126 uint8_t response_type;
04127 uint8_t status;
04128 uint16_t sequence;
04129 uint32_t length;
04130 } xcb_set_pointer_mapping_reply_t;
04131
04135 typedef struct xcb_get_pointer_mapping_cookie_t {
04136 unsigned int sequence;
04137 } xcb_get_pointer_mapping_cookie_t;
04138
04140 #define XCB_GET_POINTER_MAPPING 117
04141
04145 typedef struct xcb_get_pointer_mapping_request_t {
04146 uint8_t major_opcode;
04147 uint8_t pad0;
04148 uint16_t length;
04149 } xcb_get_pointer_mapping_request_t;
04150
04154 typedef struct xcb_get_pointer_mapping_reply_t {
04155 uint8_t response_type;
04156 uint8_t map_len;
04157 uint16_t sequence;
04158 uint32_t length;
04159 uint8_t pad0[24];
04160 } xcb_get_pointer_mapping_reply_t;
04161
04162 typedef enum xcb_map_index_t {
04163 XCB_MAP_INDEX_SHIFT = 0,
04164 XCB_MAP_INDEX_LOCK = 1,
04165 XCB_MAP_INDEX_CONTROL = 2,
04166 XCB_MAP_INDEX_1 = 3,
04167 XCB_MAP_INDEX_2 = 4,
04168 XCB_MAP_INDEX_3 = 5,
04169 XCB_MAP_INDEX_4 = 6,
04170 XCB_MAP_INDEX_5 = 7
04171 } xcb_map_index_t;
04172
04176 typedef struct xcb_set_modifier_mapping_cookie_t {
04177 unsigned int sequence;
04178 } xcb_set_modifier_mapping_cookie_t;
04179
04181 #define XCB_SET_MODIFIER_MAPPING 118
04182
04186 typedef struct xcb_set_modifier_mapping_request_t {
04187 uint8_t major_opcode;
04188 uint8_t keycodes_per_modifier;
04189 uint16_t length;
04190 } xcb_set_modifier_mapping_request_t;
04191
04195 typedef struct xcb_set_modifier_mapping_reply_t {
04196 uint8_t response_type;
04197 uint8_t status;
04198 uint16_t sequence;
04199 uint32_t length;
04200 } xcb_set_modifier_mapping_reply_t;
04201
04205 typedef struct xcb_get_modifier_mapping_cookie_t {
04206 unsigned int sequence;
04207 } xcb_get_modifier_mapping_cookie_t;
04208
04210 #define XCB_GET_MODIFIER_MAPPING 119
04211
04215 typedef struct xcb_get_modifier_mapping_request_t {
04216 uint8_t major_opcode;
04217 uint8_t pad0;
04218 uint16_t length;
04219 } xcb_get_modifier_mapping_request_t;
04220
04224 typedef struct xcb_get_modifier_mapping_reply_t {
04225 uint8_t response_type;
04226 uint8_t keycodes_per_modifier;
04227 uint16_t sequence;
04228 uint32_t length;
04229 uint8_t pad0[24];
04230 } xcb_get_modifier_mapping_reply_t;
04231
04233 #define XCB_NO_OPERATION 127
04234
04238 typedef struct xcb_no_operation_request_t {
04239 uint8_t major_opcode;
04240 uint8_t pad0;
04241 uint16_t length;
04242 } xcb_no_operation_request_t;
04243
04253
04254
04255
04256
04257
04258
04259
04260
04261
04262 void
04263 xcb_char2b_next (xcb_char2b_iterator_t *i );
04264
04275
04276
04277
04278
04279
04280
04281
04282
04283
04284 xcb_generic_iterator_t
04285 xcb_char2b_end (xcb_char2b_iterator_t i );
04286
04296
04297
04298
04299
04300
04301
04302
04303
04304
04305 void
04306 xcb_window_next (xcb_window_iterator_t *i );
04307
04318
04319
04320
04321
04322
04323
04324
04325
04326
04327 xcb_generic_iterator_t
04328 xcb_window_end (xcb_window_iterator_t i );
04329
04339
04340
04341
04342
04343
04344
04345
04346
04347
04348 void
04349 xcb_pixmap_next (xcb_pixmap_iterator_t *i );
04350
04361
04362
04363
04364
04365
04366
04367
04368
04369
04370 xcb_generic_iterator_t
04371 xcb_pixmap_end (xcb_pixmap_iterator_t i );
04372
04382
04383
04384
04385
04386
04387
04388
04389
04390
04391 void
04392 xcb_cursor_next (xcb_cursor_iterator_t *i );
04393
04404
04405
04406
04407
04408
04409
04410
04411
04412
04413 xcb_generic_iterator_t
04414 xcb_cursor_end (xcb_cursor_iterator_t i );
04415
04425
04426
04427
04428
04429
04430
04431
04432
04433
04434 void
04435 xcb_font_next (xcb_font_iterator_t *i );
04436
04447
04448
04449
04450
04451
04452
04453
04454
04455
04456 xcb_generic_iterator_t
04457 xcb_font_end (xcb_font_iterator_t i );
04458
04468
04469
04470
04471
04472
04473
04474
04475
04476
04477 void
04478 xcb_gcontext_next (xcb_gcontext_iterator_t *i );
04479
04490
04491
04492
04493
04494
04495
04496
04497
04498
04499 xcb_generic_iterator_t
04500 xcb_gcontext_end (xcb_gcontext_iterator_t i );
04501
04511
04512
04513
04514
04515
04516
04517
04518
04519
04520 void
04521 xcb_colormap_next (xcb_colormap_iterator_t *i );
04522
04533
04534
04535
04536
04537
04538
04539
04540
04541
04542 xcb_generic_iterator_t
04543 xcb_colormap_end (xcb_colormap_iterator_t i );
04544
04554
04555
04556
04557
04558
04559
04560
04561
04562
04563 void
04564 xcb_atom_next (xcb_atom_iterator_t *i );
04565
04576
04577
04578
04579
04580
04581
04582
04583
04584
04585 xcb_generic_iterator_t
04586 xcb_atom_end (xcb_atom_iterator_t i );
04587
04597
04598
04599
04600
04601
04602
04603
04604
04605
04606 void
04607 xcb_drawable_next (xcb_drawable_iterator_t *i );
04608
04619
04620
04621
04622
04623
04624
04625
04626
04627
04628 xcb_generic_iterator_t
04629 xcb_drawable_end (xcb_drawable_iterator_t i );
04630
04640
04641
04642
04643
04644
04645
04646
04647
04648
04649 void
04650 xcb_fontable_next (xcb_fontable_iterator_t *i );
04651
04662
04663
04664
04665
04666
04667
04668
04669
04670
04671 xcb_generic_iterator_t
04672 xcb_fontable_end (xcb_fontable_iterator_t i );
04673
04683
04684
04685
04686
04687
04688
04689
04690
04691
04692 void
04693 xcb_visualid_next (xcb_visualid_iterator_t *i );
04694
04705
04706
04707
04708
04709
04710
04711
04712
04713
04714 xcb_generic_iterator_t
04715 xcb_visualid_end (xcb_visualid_iterator_t i );
04716
04726
04727
04728
04729
04730
04731
04732
04733
04734
04735 void
04736 xcb_timestamp_next (xcb_timestamp_iterator_t *i );
04737
04748
04749
04750
04751
04752
04753
04754
04755
04756
04757 xcb_generic_iterator_t
04758 xcb_timestamp_end (xcb_timestamp_iterator_t i );
04759
04769
04770
04771
04772
04773
04774
04775
04776
04777
04778 void
04779 xcb_keysym_next (xcb_keysym_iterator_t *i );
04780
04791
04792
04793
04794
04795
04796
04797
04798
04799
04800 xcb_generic_iterator_t
04801 xcb_keysym_end (xcb_keysym_iterator_t i );
04802
04812
04813
04814
04815
04816
04817
04818
04819
04820
04821 void
04822 xcb_keycode_next (xcb_keycode_iterator_t *i );
04823
04834
04835
04836
04837
04838
04839
04840
04841
04842
04843 xcb_generic_iterator_t
04844 xcb_keycode_end (xcb_keycode_iterator_t i );
04845
04855
04856
04857
04858
04859
04860
04861
04862
04863
04864 void
04865 xcb_button_next (xcb_button_iterator_t *i );
04866
04877
04878
04879
04880
04881
04882
04883
04884
04885
04886 xcb_generic_iterator_t
04887 xcb_button_end (xcb_button_iterator_t i );
04888
04898
04899
04900
04901
04902
04903
04904
04905
04906
04907 void
04908 xcb_point_next (xcb_point_iterator_t *i );
04909
04920
04921
04922
04923
04924
04925
04926
04927
04928
04929 xcb_generic_iterator_t
04930 xcb_point_end (xcb_point_iterator_t i );
04931
04941
04942
04943
04944
04945
04946
04947
04948
04949
04950 void
04951 xcb_rectangle_next (xcb_rectangle_iterator_t *i );
04952
04963
04964
04965
04966
04967
04968
04969
04970
04971
04972 xcb_generic_iterator_t
04973 xcb_rectangle_end (xcb_rectangle_iterator_t i );
04974
04984
04985
04986
04987
04988
04989
04990
04991
04992
04993 void
04994 xcb_arc_next (xcb_arc_iterator_t *i );
04995
05006
05007
05008
05009
05010
05011
05012
05013
05014
05015 xcb_generic_iterator_t
05016 xcb_arc_end (xcb_arc_iterator_t i );
05017
05027
05028
05029
05030
05031
05032
05033
05034
05035
05036 void
05037 xcb_format_next (xcb_format_iterator_t *i );
05038
05049
05050
05051
05052
05053
05054
05055
05056
05057
05058 xcb_generic_iterator_t
05059 xcb_format_end (xcb_format_iterator_t i );
05060
05070
05071
05072
05073
05074
05075
05076
05077
05078
05079 void
05080 xcb_visualtype_next (xcb_visualtype_iterator_t *i );
05081
05092
05093
05094
05095
05096
05097
05098
05099
05100
05101 xcb_generic_iterator_t
05102 xcb_visualtype_end (xcb_visualtype_iterator_t i );
05103
05104
05105
05106
05107
05108
05109
05110
05111
05112
05113
05114 xcb_visualtype_t *
05115 xcb_depth_visuals (const xcb_depth_t *R );
05116
05117
05118
05119
05120
05121
05122
05123
05124
05125
05126
05127 int
05128 xcb_depth_visuals_length (const xcb_depth_t *R );
05129
05130
05131
05132
05133
05134
05135
05136
05137
05138
05139
05140 xcb_visualtype_iterator_t
05141 xcb_depth_visuals_iterator (const xcb_depth_t *R );
05142
05152
05153
05154
05155
05156
05157
05158
05159
05160
05161 void
05162 xcb_depth_next (xcb_depth_iterator_t *i );
05163
05174
05175
05176
05177
05178
05179
05180
05181
05182
05183 xcb_generic_iterator_t
05184 xcb_depth_end (xcb_depth_iterator_t i );
05185
05186
05187
05188
05189
05190
05191
05192
05193
05194
05195
05196 int
05197 xcb_screen_allowed_depths_length (const xcb_screen_t *R );
05198
05199
05200
05201
05202
05203
05204
05205
05206
05207
05208
05209 xcb_depth_iterator_t
05210 xcb_screen_allowed_depths_iterator (const xcb_screen_t *R );
05211
05221
05222
05223
05224
05225
05226
05227
05228
05229
05230 void
05231 xcb_screen_next (xcb_screen_iterator_t *i );
05232
05243
05244
05245
05246
05247
05248
05249
05250
05251
05252 xcb_generic_iterator_t
05253 xcb_screen_end (xcb_screen_iterator_t i );
05254
05255
05256
05257
05258
05259
05260
05261
05262
05263
05264
05265 char *
05266 xcb_setup_request_authorization_protocol_name (const xcb_setup_request_t *R );
05267
05268
05269
05270
05271
05272
05273
05274
05275
05276
05277
05278 int
05279 xcb_setup_request_authorization_protocol_name_length (const xcb_setup_request_t *R );
05280
05281
05282
05283
05284
05285
05286
05287
05288
05289
05290
05291 xcb_generic_iterator_t
05292 xcb_setup_request_authorization_protocol_name_end (const xcb_setup_request_t *R );
05293
05294
05295
05296
05297
05298
05299
05300
05301
05302
05303
05304 char *
05305 xcb_setup_request_authorization_protocol_data (const xcb_setup_request_t *R );
05306
05307
05308
05309
05310
05311
05312
05313
05314
05315
05316
05317 int
05318 xcb_setup_request_authorization_protocol_data_length (const xcb_setup_request_t *R );
05319
05320
05321
05322
05323
05324
05325
05326
05327
05328
05329
05330 xcb_generic_iterator_t
05331 xcb_setup_request_authorization_protocol_data_end (const xcb_setup_request_t *R );
05332
05342
05343
05344
05345
05346
05347
05348
05349
05350
05351 void
05352 xcb_setup_request_next (xcb_setup_request_iterator_t *i );
05353
05364
05365
05366
05367
05368
05369
05370
05371
05372
05373 xcb_generic_iterator_t
05374 xcb_setup_request_end (xcb_setup_request_iterator_t i );
05375
05376
05377
05378
05379
05380
05381
05382
05383
05384
05385
05386 char *
05387 xcb_setup_failed_reason (const xcb_setup_failed_t *R );
05388
05389
05390
05391
05392
05393
05394
05395
05396
05397
05398
05399 int
05400 xcb_setup_failed_reason_length (const xcb_setup_failed_t *R );
05401
05402
05403
05404
05405
05406
05407
05408
05409
05410
05411
05412 xcb_generic_iterator_t
05413 xcb_setup_failed_reason_end (const xcb_setup_failed_t *R );
05414
05424
05425
05426
05427
05428
05429
05430
05431
05432
05433 void
05434 xcb_setup_failed_next (xcb_setup_failed_iterator_t *i );
05435
05446
05447
05448
05449
05450
05451
05452
05453
05454
05455 xcb_generic_iterator_t
05456 xcb_setup_failed_end (xcb_setup_failed_iterator_t i );
05457
05458
05459
05460
05461
05462
05463
05464
05465
05466
05467
05468 char *
05469 xcb_setup_authenticate_reason (const xcb_setup_authenticate_t *R );
05470
05471
05472
05473
05474
05475
05476
05477
05478
05479
05480
05481 int
05482 xcb_setup_authenticate_reason_length (const xcb_setup_authenticate_t *R );
05483
05484
05485
05486
05487
05488
05489
05490
05491
05492
05493
05494 xcb_generic_iterator_t
05495 xcb_setup_authenticate_reason_end (const xcb_setup_authenticate_t *R );
05496
05506
05507
05508
05509
05510
05511
05512
05513
05514
05515 void
05516 xcb_setup_authenticate_next (xcb_setup_authenticate_iterator_t *i );
05517
05528
05529
05530
05531
05532
05533
05534
05535
05536
05537 xcb_generic_iterator_t
05538 xcb_setup_authenticate_end (xcb_setup_authenticate_iterator_t i );
05539
05540
05541
05542
05543
05544
05545
05546
05547
05548
05549
05550 char *
05551 xcb_setup_vendor (const xcb_setup_t *R );
05552
05553
05554
05555
05556
05557
05558
05559
05560
05561
05562
05563 int
05564 xcb_setup_vendor_length (const xcb_setup_t *R );
05565
05566
05567
05568
05569
05570
05571
05572
05573
05574
05575
05576 xcb_generic_iterator_t
05577 xcb_setup_vendor_end (const xcb_setup_t *R );
05578
05579
05580
05581
05582
05583
05584
05585
05586
05587
05588
05589 xcb_format_t *
05590 xcb_setup_pixmap_formats (const xcb_setup_t *R );
05591
05592
05593
05594
05595
05596
05597
05598
05599
05600
05601
05602 int
05603 xcb_setup_pixmap_formats_length (const xcb_setup_t *R );
05604
05605
05606
05607
05608
05609
05610
05611
05612
05613
05614
05615 xcb_format_iterator_t
05616 xcb_setup_pixmap_formats_iterator (const xcb_setup_t *R );
05617
05618
05619
05620
05621
05622
05623
05624
05625
05626
05627
05628 int
05629 xcb_setup_roots_length (const xcb_setup_t *R );
05630
05631
05632
05633
05634
05635
05636
05637
05638
05639
05640
05641 xcb_screen_iterator_t
05642 xcb_setup_roots_iterator (const xcb_setup_t *R );
05643
05653
05654
05655
05656
05657
05658
05659
05660
05661
05662 void
05663 xcb_setup_next (xcb_setup_iterator_t *i );
05664
05675
05676
05677
05678
05679
05680
05681
05682
05683
05684 xcb_generic_iterator_t
05685 xcb_setup_end (xcb_setup_iterator_t i );
05686
05696
05697
05698
05699
05700
05701
05702
05703
05704
05705 void
05706 xcb_client_message_data_next (xcb_client_message_data_iterator_t *i );
05707
05718
05719
05720
05721
05722
05723
05724
05725
05726
05727 xcb_generic_iterator_t
05728 xcb_client_message_data_end (xcb_client_message_data_iterator_t i );
05729
05742
05743
05744
05745
05746
05747
05748
05749
05750
05751
05752
05753
05754
05755
05756
05757
05758
05759
05760
05761
05762
05763 xcb_void_cookie_t
05764 xcb_create_window_checked (xcb_connection_t *c ,
05765 uint8_t depth ,
05766 xcb_window_t wid ,
05767 xcb_window_t parent ,
05768 int16_t x ,
05769 int16_t y ,
05770 uint16_t width ,
05771 uint16_t height ,
05772 uint16_t border_width ,
05773 uint16_t _class ,
05774 xcb_visualid_t visual ,
05775 uint32_t value_mask ,
05776 const uint32_t *value_list );
05777
05787
05788
05789
05790
05791
05792
05793
05794
05795
05796
05797
05798
05799
05800
05801
05802
05803
05804
05805
05806
05807
05808 xcb_void_cookie_t
05809 xcb_create_window (xcb_connection_t *c ,
05810 uint8_t depth ,
05811 xcb_window_t wid ,
05812 xcb_window_t parent ,
05813 int16_t x ,
05814 int16_t y ,
05815 uint16_t width ,
05816 uint16_t height ,
05817 uint16_t border_width ,
05818 uint16_t _class ,
05819 xcb_visualid_t visual ,
05820 uint32_t value_mask ,
05821 const uint32_t *value_list );
05822
05835
05836
05837
05838
05839
05840
05841
05842
05843
05844
05845
05846
05847 xcb_void_cookie_t
05848 xcb_change_window_attributes_checked (xcb_connection_t *c ,
05849 xcb_window_t window ,
05850 uint32_t value_mask ,
05851 const uint32_t *value_list );
05852
05862
05863
05864
05865
05866
05867
05868
05869
05870
05871
05872
05873
05874 xcb_void_cookie_t
05875 xcb_change_window_attributes (xcb_connection_t *c ,
05876 xcb_window_t window ,
05877 uint32_t value_mask ,
05878 const uint32_t *value_list );
05879
05889
05890
05891
05892
05893
05894
05895
05896
05897
05898
05899 xcb_get_window_attributes_cookie_t
05900 xcb_get_window_attributes (xcb_connection_t *c ,
05901 xcb_window_t window );
05902
05915
05916
05917
05918
05919
05920
05921
05922
05923
05924
05925 xcb_get_window_attributes_cookie_t
05926 xcb_get_window_attributes_unchecked (xcb_connection_t *c ,
05927 xcb_window_t window );
05928
05942
05943
05944
05945
05946
05947
05948
05949
05950
05951
05952
05953 xcb_get_window_attributes_reply_t *
05954 xcb_get_window_attributes_reply (xcb_connection_t *c ,
05955 xcb_get_window_attributes_cookie_t cookie ,
05956 xcb_generic_error_t **e );
05957
05970
05971
05972
05973
05974
05975
05976
05977
05978
05979
05980 xcb_void_cookie_t
05981 xcb_destroy_window_checked (xcb_connection_t *c ,
05982 xcb_window_t window );
05983
05993
05994
05995
05996
05997
05998
05999
06000
06001
06002
06003 xcb_void_cookie_t
06004 xcb_destroy_window (xcb_connection_t *c ,
06005 xcb_window_t window );
06006
06019
06020
06021
06022
06023
06024
06025
06026
06027
06028
06029 xcb_void_cookie_t
06030 xcb_destroy_subwindows_checked (xcb_connection_t *c ,
06031 xcb_window_t window );
06032
06042
06043
06044
06045
06046
06047
06048
06049
06050
06051
06052 xcb_void_cookie_t
06053 xcb_destroy_subwindows (xcb_connection_t *c ,
06054 xcb_window_t window );
06055
06068
06069
06070
06071
06072
06073
06074
06075
06076
06077
06078
06079 xcb_void_cookie_t
06080 xcb_change_save_set_checked (xcb_connection_t *c ,
06081 uint8_t mode ,
06082 xcb_window_t window );
06083
06093
06094
06095
06096
06097
06098
06099
06100
06101
06102
06103
06104 xcb_void_cookie_t
06105 xcb_change_save_set (xcb_connection_t *c ,
06106 uint8_t mode ,
06107 xcb_window_t window );
06108
06121
06122
06123
06124
06125
06126
06127
06128
06129
06130
06131
06132
06133
06134 xcb_void_cookie_t
06135 xcb_reparent_window_checked (xcb_connection_t *c ,
06136 xcb_window_t window ,
06137 xcb_window_t parent ,
06138 int16_t x ,
06139 int16_t y );
06140
06150
06151
06152
06153
06154
06155
06156
06157
06158
06159
06160
06161
06162
06163 xcb_void_cookie_t
06164 xcb_reparent_window (xcb_connection_t *c ,
06165 xcb_window_t window ,
06166 xcb_window_t parent ,
06167 int16_t x ,
06168 int16_t y );
06169
06182
06183
06184
06185
06186
06187
06188
06189
06190
06191
06192 xcb_void_cookie_t
06193 xcb_map_window_checked (xcb_connection_t *c ,
06194 xcb_window_t window );
06195
06205
06206
06207
06208
06209
06210
06211
06212
06213
06214
06215 xcb_void_cookie_t
06216 xcb_map_window (xcb_connection_t *c ,
06217 xcb_window_t window );
06218
06231
06232
06233
06234
06235
06236
06237
06238
06239
06240
06241 xcb_void_cookie_t
06242 xcb_map_subwindows_checked (xcb_connection_t *c ,
06243 xcb_window_t window );
06244
06254
06255
06256
06257
06258
06259
06260
06261
06262
06263
06264 xcb_void_cookie_t
06265 xcb_map_subwindows (xcb_connection_t *c ,
06266 xcb_window_t window );
06267
06280
06281
06282
06283
06284
06285
06286
06287
06288
06289
06290 xcb_void_cookie_t
06291 xcb_unmap_window_checked (xcb_connection_t *c ,
06292 xcb_window_t window );
06293
06303
06304
06305
06306
06307
06308
06309
06310
06311
06312
06313 xcb_void_cookie_t
06314 xcb_unmap_window (xcb_connection_t *c ,
06315 xcb_window_t window );
06316
06329
06330
06331
06332
06333
06334
06335
06336
06337
06338
06339 xcb_void_cookie_t
06340 xcb_unmap_subwindows_checked (xcb_connection_t *c ,
06341 xcb_window_t window );
06342
06352
06353
06354
06355
06356
06357
06358
06359
06360
06361
06362 xcb_void_cookie_t
06363 xcb_unmap_subwindows (xcb_connection_t *c ,
06364 xcb_window_t window );
06365
06378
06379
06380
06381
06382
06383
06384
06385
06386
06387
06388
06389
06390 xcb_void_cookie_t
06391 xcb_configure_window_checked (xcb_connection_t *c ,
06392 xcb_window_t window ,
06393 uint16_t value_mask ,
06394 const uint32_t *value_list );
06395
06405
06406
06407
06408
06409
06410
06411
06412
06413
06414
06415
06416
06417 xcb_void_cookie_t
06418 xcb_configure_window (xcb_connection_t *c ,
06419 xcb_window_t window ,
06420 uint16_t value_mask ,
06421 const uint32_t *value_list );
06422
06435
06436
06437
06438
06439
06440
06441
06442
06443
06444
06445
06446 xcb_void_cookie_t
06447 xcb_circulate_window_checked (xcb_connection_t *c ,
06448 uint8_t direction ,
06449 xcb_window_t window );
06450
06460
06461
06462
06463
06464
06465
06466
06467
06468
06469
06470
06471 xcb_void_cookie_t
06472 xcb_circulate_window (xcb_connection_t *c ,
06473 uint8_t direction ,
06474 xcb_window_t window );
06475
06485
06486
06487
06488
06489
06490
06491
06492
06493
06494
06495 xcb_get_geometry_cookie_t
06496 xcb_get_geometry (xcb_connection_t *c ,
06497 xcb_drawable_t drawable );
06498
06511
06512
06513
06514
06515
06516
06517
06518
06519
06520
06521 xcb_get_geometry_cookie_t
06522 xcb_get_geometry_unchecked (xcb_connection_t *c ,
06523 xcb_drawable_t drawable );
06524
06538
06539
06540
06541
06542
06543
06544
06545
06546
06547
06548
06549 xcb_get_geometry_reply_t *
06550 xcb_get_geometry_reply (xcb_connection_t *c ,
06551 xcb_get_geometry_cookie_t cookie ,
06552 xcb_generic_error_t **e );
06553
06563
06564
06565
06566
06567
06568
06569
06570
06571
06572
06573 xcb_query_tree_cookie_t
06574 xcb_query_tree (xcb_connection_t *c ,
06575 xcb_window_t window );
06576
06589
06590
06591
06592
06593
06594
06595
06596
06597
06598
06599 xcb_query_tree_cookie_t
06600 xcb_query_tree_unchecked (xcb_connection_t *c ,
06601 xcb_window_t window );
06602
06603
06604
06605
06606
06607
06608
06609
06610
06611
06612
06613 xcb_window_t *
06614 xcb_query_tree_children (const xcb_query_tree_reply_t *R );
06615
06616
06617
06618
06619
06620
06621
06622
06623
06624
06625
06626 int
06627 xcb_query_tree_children_length (const xcb_query_tree_reply_t *R );
06628
06629
06630
06631
06632
06633
06634
06635
06636
06637
06638
06639 xcb_window_iterator_t
06640 xcb_query_tree_children_iterator (const xcb_query_tree_reply_t *R );
06641
06655
06656
06657
06658
06659
06660
06661
06662
06663
06664
06665
06666 xcb_query_tree_reply_t *
06667 xcb_query_tree_reply (xcb_connection_t *c ,
06668 xcb_query_tree_cookie_t cookie ,
06669 xcb_generic_error_t **e );
06670
06680
06681
06682
06683
06684
06685
06686
06687
06688
06689
06690
06691
06692 xcb_intern_atom_cookie_t
06693 xcb_intern_atom (xcb_connection_t *c ,
06694 uint8_t only_if_exists ,
06695 uint16_t name_len ,
06696 const char *name );
06697
06710
06711
06712
06713
06714
06715
06716
06717
06718
06719
06720
06721
06722 xcb_intern_atom_cookie_t
06723 xcb_intern_atom_unchecked (xcb_connection_t *c ,
06724 uint8_t only_if_exists ,
06725 uint16_t name_len ,
06726 const char *name );
06727
06741
06742
06743
06744
06745
06746
06747
06748
06749
06750
06751
06752 xcb_intern_atom_reply_t *
06753 xcb_intern_atom_reply (xcb_connection_t *c ,
06754 xcb_intern_atom_cookie_t cookie ,
06755 xcb_generic_error_t **e );
06756
06766
06767
06768
06769
06770
06771
06772
06773
06774
06775
06776 xcb_get_atom_name_cookie_t
06777 xcb_get_atom_name (xcb_connection_t *c ,
06778 xcb_atom_t atom );
06779
06792
06793
06794
06795
06796
06797
06798
06799
06800
06801
06802 xcb_get_atom_name_cookie_t
06803 xcb_get_atom_name_unchecked (xcb_connection_t *c ,
06804 xcb_atom_t atom );
06805
06806
06807
06808
06809
06810
06811
06812
06813
06814
06815
06816 uint8_t *
06817 xcb_get_atom_name_name (const xcb_get_atom_name_reply_t *R );
06818
06819
06820
06821
06822
06823
06824
06825
06826
06827
06828
06829 int
06830 xcb_get_atom_name_name_length (const xcb_get_atom_name_reply_t *R );
06831
06832
06833
06834
06835
06836
06837
06838
06839
06840
06841
06842 xcb_generic_iterator_t
06843 xcb_get_atom_name_name_end (const xcb_get_atom_name_reply_t *R );
06844
06858
06859
06860
06861
06862
06863
06864
06865
06866
06867
06868
06869 xcb_get_atom_name_reply_t *
06870 xcb_get_atom_name_reply (xcb_connection_t *c ,
06871 xcb_get_atom_name_cookie_t cookie ,
06872 xcb_generic_error_t **e );
06873
06886
06887
06888
06889
06890
06891
06892
06893
06894
06895
06896
06897
06898
06899
06900
06901
06902 xcb_void_cookie_t
06903 xcb_change_property_checked (xcb_connection_t *c ,
06904 uint8_t mode ,
06905 xcb_window_t window ,
06906 xcb_atom_t property ,
06907 xcb_atom_t type ,
06908 uint8_t format ,
06909 uint32_t data_len ,
06910 const void *data );
06911
06921
06922
06923
06924
06925
06926
06927
06928
06929
06930
06931
06932
06933
06934
06935
06936
06937 xcb_void_cookie_t
06938 xcb_change_property (xcb_connection_t *c ,
06939 uint8_t mode ,
06940 xcb_window_t window ,
06941 xcb_atom_t property ,
06942 xcb_atom_t type ,
06943 uint8_t format ,
06944 uint32_t data_len ,
06945 const void *data );
06946
06959
06960
06961
06962
06963
06964
06965
06966
06967
06968
06969
06970 xcb_void_cookie_t
06971 xcb_delete_property_checked (xcb_connection_t *c ,
06972 xcb_window_t window ,
06973 xcb_atom_t property );
06974
06984
06985
06986
06987
06988
06989
06990
06991
06992
06993
06994
06995 xcb_void_cookie_t
06996 xcb_delete_property (xcb_connection_t *c ,
06997 xcb_window_t window ,
06998 xcb_atom_t property );
06999
07009
07010
07011
07012
07013
07014
07015
07016
07017
07018
07019
07020
07021
07022
07023
07024 xcb_get_property_cookie_t
07025 xcb_get_property (xcb_connection_t *c ,
07026 uint8_t _delete ,
07027 xcb_window_t window ,
07028 xcb_atom_t property ,
07029 xcb_atom_t type ,
07030 uint32_t long_offset ,
07031 uint32_t long_length );
07032
07045
07046
07047
07048
07049
07050
07051
07052
07053
07054
07055
07056
07057
07058
07059
07060 xcb_get_property_cookie_t
07061 xcb_get_property_unchecked (xcb_connection_t *c ,
07062 uint8_t _delete ,
07063 xcb_window_t window ,
07064 xcb_atom_t property ,
07065 xcb_atom_t type ,
07066 uint32_t long_offset ,
07067 uint32_t long_length );
07068
07069
07070
07071
07072
07073
07074
07075
07076
07077
07078
07079 void *
07080 xcb_get_property_value (const xcb_get_property_reply_t *R );
07081
07082
07083
07084
07085
07086
07087
07088
07089
07090
07091
07092 int
07093 xcb_get_property_value_length (const xcb_get_property_reply_t *R );
07094
07095
07096
07097
07098
07099
07100
07101
07102
07103
07104
07105 xcb_generic_iterator_t
07106 xcb_get_property_value_end (const xcb_get_property_reply_t *R );
07107
07121
07122
07123
07124
07125
07126
07127
07128
07129
07130
07131
07132 xcb_get_property_reply_t *
07133 xcb_get_property_reply (xcb_connection_t *c ,
07134 xcb_get_property_cookie_t cookie ,
07135 xcb_generic_error_t **e );
07136
07146
07147
07148
07149
07150
07151
07152
07153
07154
07155
07156 xcb_list_properties_cookie_t
07157 xcb_list_properties (xcb_connection_t *c ,
07158 xcb_window_t window );
07159
07172
07173
07174
07175
07176
07177
07178
07179
07180
07181
07182 xcb_list_properties_cookie_t
07183 xcb_list_properties_unchecked (xcb_connection_t *c ,
07184 xcb_window_t window );
07185
07186
07187
07188
07189
07190
07191
07192
07193
07194
07195
07196 xcb_atom_t *
07197 xcb_list_properties_atoms (const xcb_list_properties_reply_t *R );
07198
07199
07200
07201
07202
07203
07204
07205
07206
07207
07208
07209 int
07210 xcb_list_properties_atoms_length (const xcb_list_properties_reply_t *R );
07211
07212
07213
07214
07215
07216
07217
07218
07219
07220
07221
07222 xcb_atom_iterator_t
07223 xcb_list_properties_atoms_iterator (const xcb_list_properties_reply_t *R );
07224
07238
07239
07240
07241
07242
07243
07244
07245
07246
07247
07248
07249 xcb_list_properties_reply_t *
07250 xcb_list_properties_reply (xcb_connection_t *c ,
07251 xcb_list_properties_cookie_t cookie ,
07252 xcb_generic_error_t **e );
07253
07266
07267
07268
07269
07270
07271
07272
07273
07274
07275
07276
07277
07278 xcb_void_cookie_t
07279 xcb_set_selection_owner_checked (xcb_connection_t *c ,
07280 xcb_window_t owner ,
07281 xcb_atom_t selection ,
07282 xcb_timestamp_t time );
07283
07293
07294
07295
07296
07297
07298
07299
07300
07301
07302
07303
07304
07305 xcb_void_cookie_t
07306 xcb_set_selection_owner (xcb_connection_t *c ,
07307 xcb_window_t owner ,
07308 xcb_atom_t selection ,
07309 xcb_timestamp_t time );
07310
07320
07321
07322
07323
07324
07325
07326
07327
07328
07329
07330 xcb_get_selection_owner_cookie_t
07331 xcb_get_selection_owner (xcb_connection_t *c ,
07332 xcb_atom_t selection );
07333
07346
07347
07348
07349
07350
07351
07352
07353
07354
07355
07356 xcb_get_selection_owner_cookie_t
07357 xcb_get_selection_owner_unchecked (xcb_connection_t *c ,
07358 xcb_atom_t selection );
07359
07373
07374
07375
07376
07377
07378
07379
07380
07381
07382
07383
07384 xcb_get_selection_owner_reply_t *
07385 xcb_get_selection_owner_reply (xcb_connection_t *c ,
07386 xcb_get_selection_owner_cookie_t cookie ,
07387 xcb_generic_error_t **e );
07388
07401
07402
07403
07404
07405
07406
07407
07408
07409
07410
07411
07412
07413
07414
07415 xcb_void_cookie_t
07416 xcb_convert_selection_checked (xcb_connection_t *c ,
07417 xcb_window_t requestor ,
07418 xcb_atom_t selection ,
07419 xcb_atom_t target ,
07420 xcb_atom_t property ,
07421 xcb_timestamp_t time );
07422
07432
07433
07434
07435
07436
07437
07438
07439
07440
07441
07442
07443
07444
07445
07446 xcb_void_cookie_t
07447 xcb_convert_selection (xcb_connection_t *c ,
07448 xcb_window_t requestor ,
07449 xcb_atom_t selection ,
07450 xcb_atom_t target ,
07451 xcb_atom_t property ,
07452 xcb_timestamp_t time );
07453
07466
07467
07468
07469
07470
07471
07472
07473
07474
07475
07476
07477
07478
07479 xcb_void_cookie_t
07480 xcb_send_event_checked (xcb_connection_t *c ,
07481 uint8_t propagate ,
07482 xcb_window_t destination ,
07483 uint32_t event_mask ,
07484 const char *event );
07485
07495
07496
07497
07498
07499
07500
07501
07502
07503
07504
07505
07506
07507
07508 xcb_void_cookie_t
07509 xcb_send_event (xcb_connection_t *c ,
07510 uint8_t propagate ,
07511 xcb_window_t destination ,
07512 uint32_t event_mask ,
07513 const char *event );
07514
07524
07525
07526
07527
07528
07529
07530
07531
07532
07533
07534
07535
07536
07537
07538
07539
07540
07541 xcb_grab_pointer_cookie_t
07542 xcb_grab_pointer (xcb_connection_t *c ,
07543 uint8_t owner_events ,
07544 xcb_window_t grab_window ,
07545 uint16_t event_mask ,
07546 uint8_t pointer_mode ,
07547 uint8_t keyboard_mode ,
07548 xcb_window_t confine_to ,
07549 xcb_cursor_t cursor ,
07550 xcb_timestamp_t time );
07551
07564
07565
07566
07567
07568
07569
07570
07571
07572
07573
07574
07575
07576
07577
07578
07579
07580
07581 xcb_grab_pointer_cookie_t
07582 xcb_grab_pointer_unchecked (xcb_connection_t *c ,
07583 uint8_t owner_events ,
07584 xcb_window_t grab_window ,
07585 uint16_t event_mask ,
07586 uint8_t pointer_mode ,
07587 uint8_t keyboard_mode ,
07588 xcb_window_t confine_to ,
07589 xcb_cursor_t cursor ,
07590 xcb_timestamp_t time );
07591
07605
07606
07607
07608
07609
07610
07611
07612
07613
07614
07615
07616 xcb_grab_pointer_reply_t *
07617 xcb_grab_pointer_reply (xcb_connection_t *c ,
07618 xcb_grab_pointer_cookie_t cookie ,
07619 xcb_generic_error_t **e );
07620
07633
07634
07635
07636
07637
07638
07639
07640
07641
07642
07643 xcb_void_cookie_t
07644 xcb_ungrab_pointer_checked (xcb_connection_t *c ,
07645 xcb_timestamp_t time );
07646
07656
07657
07658
07659
07660
07661
07662
07663
07664
07665
07666 xcb_void_cookie_t
07667 xcb_ungrab_pointer (xcb_connection_t *c ,
07668 xcb_timestamp_t time );
07669
07682
07683
07684
07685
07686
07687
07688
07689
07690
07691
07692
07693
07694
07695
07696
07697
07698
07699
07700 xcb_void_cookie_t
07701 xcb_grab_button_checked (xcb_connection_t *c ,
07702 uint8_t owner_events ,
07703 xcb_window_t grab_window ,
07704 uint16_t event_mask ,
07705 uint8_t pointer_mode ,
07706 uint8_t keyboard_mode ,
07707 xcb_window_t confine_to ,
07708 xcb_cursor_t cursor ,
07709 uint8_t button ,
07710 uint16_t modifiers );
07711
07721
07722
07723
07724
07725
07726
07727
07728
07729
07730
07731
07732
07733
07734
07735
07736
07737
07738
07739 xcb_void_cookie_t
07740 xcb_grab_button (xcb_connection_t *c ,
07741 uint8_t owner_events ,
07742 xcb_window_t grab_window ,
07743 uint16_t event_mask ,
07744 uint8_t pointer_mode ,
07745 uint8_t keyboard_mode ,
07746 xcb_window_t confine_to ,
07747 xcb_cursor_t cursor ,
07748 uint8_t button ,
07749 uint16_t modifiers );
07750
07763
07764
07765
07766
07767
07768
07769
07770
07771
07772
07773
07774
07775 xcb_void_cookie_t
07776 xcb_ungrab_button_checked (xcb_connection_t *c ,
07777 uint8_t button ,
07778 xcb_window_t grab_window ,
07779 uint16_t modifiers );
07780
07790
07791
07792
07793
07794
07795
07796
07797
07798
07799
07800
07801
07802 xcb_void_cookie_t
07803 xcb_ungrab_button (xcb_connection_t *c ,
07804 uint8_t button ,
07805 xcb_window_t grab_window ,
07806 uint16_t modifiers );
07807
07820
07821
07822
07823
07824
07825
07826
07827
07828
07829
07830
07831
07832 xcb_void_cookie_t
07833 xcb_change_active_pointer_grab_checked (xcb_connection_t *c ,
07834 xcb_cursor_t cursor ,
07835 xcb_timestamp_t time ,
07836 uint16_t event_mask );
07837
07847
07848
07849
07850
07851
07852
07853
07854
07855
07856
07857
07858
07859 xcb_void_cookie_t
07860 xcb_change_active_pointer_grab (xcb_connection_t *c ,
07861 xcb_cursor_t cursor ,
07862 xcb_timestamp_t time ,
07863 uint16_t event_mask );
07864
07874
07875
07876
07877
07878
07879
07880
07881
07882
07883
07884
07885
07886
07887
07888 xcb_grab_keyboard_cookie_t
07889 xcb_grab_keyboard (xcb_connection_t *c ,
07890 uint8_t owner_events ,
07891 xcb_window_t grab_window ,
07892 xcb_timestamp_t time ,
07893 uint8_t pointer_mode ,
07894 uint8_t keyboard_mode );
07895
07908
07909
07910
07911
07912
07913
07914
07915
07916
07917
07918
07919
07920
07921
07922 xcb_grab_keyboard_cookie_t
07923 xcb_grab_keyboard_unchecked (xcb_connection_t *c ,
07924 uint8_t owner_events ,
07925 xcb_window_t grab_window ,
07926 xcb_timestamp_t time ,
07927 uint8_t pointer_mode ,
07928 uint8_t keyboard_mode );
07929
07943
07944
07945
07946
07947
07948
07949
07950
07951
07952
07953
07954 xcb_grab_keyboard_reply_t *
07955 xcb_grab_keyboard_reply (xcb_connection_t *c ,
07956 xcb_grab_keyboard_cookie_t cookie ,
07957 xcb_generic_error_t **e );
07958
07971
07972
07973
07974
07975
07976
07977
07978
07979
07980
07981 xcb_void_cookie_t
07982 xcb_ungrab_keyboard_checked (xcb_connection_t *c ,
07983 xcb_timestamp_t time );
07984
07994
07995
07996
07997
07998
07999
08000
08001
08002
08003
08004 xcb_void_cookie_t
08005 xcb_ungrab_keyboard (xcb_connection_t *c ,
08006 xcb_timestamp_t time );
08007
08020
08021
08022
08023
08024
08025
08026
08027
08028
08029
08030
08031
08032
08033
08034
08035 xcb_void_cookie_t
08036 xcb_grab_key_checked (xcb_connection_t *c ,
08037 uint8_t owner_events ,
08038 xcb_window_t grab_window ,
08039 uint16_t modifiers ,
08040 xcb_keycode_t key ,
08041 uint8_t pointer_mode ,
08042 uint8_t keyboard_mode );
08043
08053
08054
08055
08056
08057
08058
08059
08060
08061
08062
08063
08064
08065
08066
08067
08068 xcb_void_cookie_t
08069 xcb_grab_key (xcb_connection_t *c ,
08070 uint8_t owner_events ,
08071 xcb_window_t grab_window ,
08072 uint16_t modifiers ,
08073 xcb_keycode_t key ,
08074 uint8_t pointer_mode ,
08075 uint8_t keyboard_mode );
08076
08089
08090
08091
08092
08093
08094
08095
08096
08097
08098
08099
08100
08101 xcb_void_cookie_t
08102 xcb_ungrab_key_checked (xcb_connection_t *c ,
08103 xcb_keycode_t key ,
08104 xcb_window_t grab_window ,
08105 uint16_t modifiers );
08106
08116
08117
08118
08119
08120
08121
08122
08123
08124
08125
08126
08127
08128 xcb_void_cookie_t
08129 xcb_ungrab_key (xcb_connection_t *c ,
08130 xcb_keycode_t key ,
08131 xcb_window_t grab_window ,
08132 uint16_t modifiers );
08133
08146
08147
08148
08149
08150
08151
08152
08153
08154
08155
08156
08157 xcb_void_cookie_t
08158 xcb_allow_events_checked (xcb_connection_t *c ,
08159 uint8_t mode ,
08160 xcb_timestamp_t time );
08161
08171
08172
08173
08174
08175
08176
08177
08178
08179
08180
08181
08182 xcb_void_cookie_t
08183 xcb_allow_events (xcb_connection_t *c ,
08184 uint8_t mode ,
08185 xcb_timestamp_t time );
08186
08199
08200
08201
08202
08203
08204
08205
08206
08207
08208 xcb_void_cookie_t
08209 xcb_grab_server_checked (xcb_connection_t *c );
08210
08220
08221
08222
08223
08224
08225
08226
08227
08228
08229 xcb_void_cookie_t
08230 xcb_grab_server (xcb_connection_t *c );
08231
08244
08245
08246
08247
08248
08249
08250
08251
08252
08253 xcb_void_cookie_t
08254 xcb_ungrab_server_checked (xcb_connection_t *c );
08255
08265
08266
08267
08268
08269
08270
08271
08272
08273
08274 xcb_void_cookie_t
08275 xcb_ungrab_server (xcb_connection_t *c );
08276
08286
08287
08288
08289
08290
08291
08292
08293
08294
08295
08296 xcb_query_pointer_cookie_t
08297 xcb_query_pointer (xcb_connection_t *c ,
08298 xcb_window_t window );
08299
08312
08313
08314
08315
08316
08317
08318
08319
08320
08321
08322 xcb_query_pointer_cookie_t
08323 xcb_query_pointer_unchecked (xcb_connection_t *c ,
08324 xcb_window_t window );
08325
08339
08340
08341
08342
08343
08344
08345
08346
08347
08348
08349
08350 xcb_query_pointer_reply_t *
08351 xcb_query_pointer_reply (xcb_connection_t *c ,
08352 xcb_query_pointer_cookie_t cookie ,
08353 xcb_generic_error_t **e );
08354
08364
08365
08366
08367
08368
08369
08370
08371
08372
08373 void
08374 xcb_timecoord_next (xcb_timecoord_iterator_t *i );
08375
08386
08387
08388
08389
08390
08391
08392
08393
08394
08395 xcb_generic_iterator_t
08396 xcb_timecoord_end (xcb_timecoord_iterator_t i );
08397
08407
08408
08409
08410
08411
08412
08413
08414
08415
08416
08417
08418
08419 xcb_get_motion_events_cookie_t
08420 xcb_get_motion_events (xcb_connection_t *c ,
08421 xcb_window_t window ,
08422 xcb_timestamp_t start ,
08423 xcb_timestamp_t stop );
08424
08437
08438
08439
08440
08441
08442
08443
08444
08445
08446
08447
08448
08449 xcb_get_motion_events_cookie_t
08450 xcb_get_motion_events_unchecked (xcb_connection_t *c ,
08451 xcb_window_t window ,
08452 xcb_timestamp_t start ,
08453 xcb_timestamp_t stop );
08454
08455
08456
08457
08458
08459
08460
08461
08462
08463
08464
08465 xcb_timecoord_t *
08466 xcb_get_motion_events_events (const xcb_get_motion_events_reply_t *R );
08467
08468
08469
08470
08471
08472
08473
08474
08475
08476
08477
08478 int
08479 xcb_get_motion_events_events_length (const xcb_get_motion_events_reply_t *R );
08480
08481
08482
08483
08484
08485
08486
08487
08488
08489
08490
08491 xcb_timecoord_iterator_t
08492 xcb_get_motion_events_events_iterator (const xcb_get_motion_events_reply_t *R );
08493
08507
08508
08509
08510
08511
08512
08513
08514
08515
08516
08517
08518 xcb_get_motion_events_reply_t *
08519 xcb_get_motion_events_reply (xcb_connection_t *c ,
08520 xcb_get_motion_events_cookie_t cookie ,
08521 xcb_generic_error_t **e );
08522
08532
08533
08534
08535
08536
08537
08538
08539
08540
08541
08542
08543
08544
08545 xcb_translate_coordinates_cookie_t
08546 xcb_translate_coordinates (xcb_connection_t *c ,
08547 xcb_window_t src_window ,
08548 xcb_window_t dst_window ,
08549 int16_t src_x ,
08550 int16_t src_y );
08551
08564
08565
08566
08567
08568
08569
08570
08571
08572
08573
08574
08575
08576
08577 xcb_translate_coordinates_cookie_t
08578 xcb_translate_coordinates_unchecked (xcb_connection_t *c ,
08579 xcb_window_t src_window ,
08580 xcb_window_t dst_window ,
08581 int16_t src_x ,
08582 int16_t src_y );
08583
08597
08598
08599
08600
08601
08602
08603
08604
08605
08606
08607
08608 xcb_translate_coordinates_reply_t *
08609 xcb_translate_coordinates_reply (xcb_connection_t *c ,
08610 xcb_translate_coordinates_cookie_t cookie ,
08611 xcb_generic_error_t **e );
08612
08625
08626
08627
08628
08629
08630
08631
08632
08633
08634
08635
08636
08637
08638
08639
08640
08641
08642 xcb_void_cookie_t
08643 xcb_warp_pointer_checked (xcb_connection_t *c ,
08644 xcb_window_t src_window ,
08645 xcb_window_t dst_window ,
08646 int16_t src_x ,
08647 int16_t src_y ,
08648 uint16_t src_width ,
08649 uint16_t src_height ,
08650 int16_t dst_x ,
08651 int16_t dst_y );
08652
08662
08663
08664
08665
08666
08667
08668
08669
08670
08671
08672
08673
08674
08675
08676
08677
08678
08679 xcb_void_cookie_t
08680 xcb_warp_pointer (xcb_connection_t *c ,
08681 xcb_window_t src_window ,
08682 xcb_window_t dst_window ,
08683 int16_t src_x ,
08684 int16_t src_y ,
08685 uint16_t src_width ,
08686 uint16_t src_height ,
08687 int16_t dst_x ,
08688 int16_t dst_y );
08689
08702
08703
08704
08705
08706
08707
08708
08709
08710
08711
08712
08713
08714 xcb_void_cookie_t
08715 xcb_set_input_focus_checked (xcb_connection_t *c ,
08716 uint8_t revert_to ,
08717 xcb_window_t focus ,
08718 xcb_timestamp_t time );
08719
08729
08730
08731
08732
08733
08734
08735
08736
08737
08738
08739
08740
08741 xcb_void_cookie_t
08742 xcb_set_input_focus (xcb_connection_t *c ,
08743 uint8_t revert_to ,
08744 xcb_window_t focus ,
08745 xcb_timestamp_t time );
08746
08756
08757
08758
08759
08760
08761
08762
08763
08764
08765 xcb_get_input_focus_cookie_t
08766 xcb_get_input_focus (xcb_connection_t *c );
08767
08780
08781
08782
08783
08784
08785
08786
08787
08788
08789 xcb_get_input_focus_cookie_t
08790 xcb_get_input_focus_unchecked (xcb_connection_t *c );
08791
08805
08806
08807
08808
08809
08810
08811
08812
08813
08814
08815
08816 xcb_get_input_focus_reply_t *
08817 xcb_get_input_focus_reply (xcb_connection_t *c ,
08818 xcb_get_input_focus_cookie_t cookie ,
08819 xcb_generic_error_t **e );
08820
08830
08831
08832
08833
08834
08835
08836
08837
08838
08839 xcb_query_keymap_cookie_t
08840 xcb_query_keymap (xcb_connection_t *c );
08841
08854
08855
08856
08857
08858
08859
08860
08861
08862
08863 xcb_query_keymap_cookie_t
08864 xcb_query_keymap_unchecked (xcb_connection_t *c );
08865
08879
08880
08881
08882
08883
08884
08885
08886
08887
08888
08889
08890 xcb_query_keymap_reply_t *
08891 xcb_query_keymap_reply (xcb_connection_t *c ,
08892 xcb_query_keymap_cookie_t cookie ,
08893 xcb_generic_error_t **e );
08894
08907
08908
08909
08910
08911
08912
08913
08914
08915
08916
08917
08918
08919 xcb_void_cookie_t
08920 xcb_open_font_checked (xcb_connection_t *c ,
08921 xcb_font_t fid ,
08922 uint16_t name_len ,
08923 const char *name );
08924
08934
08935
08936
08937
08938
08939
08940
08941
08942
08943
08944
08945
08946 xcb_void_cookie_t
08947 xcb_open_font (xcb_connection_t *c ,
08948 xcb_font_t fid ,
08949 uint16_t name_len ,
08950 const char *name );
08951
08964
08965
08966
08967
08968
08969
08970
08971
08972
08973
08974 xcb_void_cookie_t
08975 xcb_close_font_checked (xcb_connection_t *c ,
08976 xcb_font_t font );
08977
08987
08988
08989
08990
08991
08992
08993
08994
08995
08996
08997 xcb_void_cookie_t
08998 xcb_close_font (xcb_connection_t *c ,
08999 xcb_font_t font );
09000
09010
09011
09012
09013
09014
09015
09016
09017
09018
09019 void
09020 xcb_fontprop_next (xcb_fontprop_iterator_t *i );
09021
09032
09033
09034
09035
09036
09037
09038
09039
09040
09041 xcb_generic_iterator_t
09042 xcb_fontprop_end (xcb_fontprop_iterator_t i );
09043
09053
09054
09055
09056
09057
09058
09059
09060
09061
09062 void
09063 xcb_charinfo_next (xcb_charinfo_iterator_t *i );
09064
09075
09076
09077
09078
09079
09080
09081
09082
09083
09084 xcb_generic_iterator_t
09085 xcb_charinfo_end (xcb_charinfo_iterator_t i );
09086
09096
09097
09098
09099
09100
09101
09102
09103
09104
09105
09106 xcb_query_font_cookie_t
09107 xcb_query_font (xcb_connection_t *c ,
09108 xcb_fontable_t font );
09109
09122
09123
09124
09125
09126
09127
09128
09129
09130
09131
09132 xcb_query_font_cookie_t
09133 xcb_query_font_unchecked (xcb_connection_t *c ,
09134 xcb_fontable_t font );
09135
09136
09137
09138
09139
09140
09141
09142
09143
09144
09145
09146 xcb_fontprop_t *
09147 xcb_query_font_properties (const xcb_query_font_reply_t *R );
09148
09149
09150
09151
09152
09153
09154
09155
09156
09157
09158
09159 int
09160 xcb_query_font_properties_length (const xcb_query_font_reply_t *R );
09161
09162
09163
09164
09165
09166
09167
09168
09169
09170
09171
09172 xcb_fontprop_iterator_t
09173 xcb_query_font_properties_iterator (const xcb_query_font_reply_t *R );
09174
09175
09176
09177
09178
09179
09180
09181
09182
09183
09184
09185 xcb_charinfo_t *
09186 xcb_query_font_char_infos (const xcb_query_font_reply_t *R );
09187
09188
09189
09190
09191
09192
09193
09194
09195
09196
09197
09198 int
09199 xcb_query_font_char_infos_length (const xcb_query_font_reply_t *R );
09200
09201
09202
09203
09204
09205
09206
09207
09208
09209
09210
09211 xcb_charinfo_iterator_t
09212 xcb_query_font_char_infos_iterator (const xcb_query_font_reply_t *R );
09213
09227
09228
09229
09230
09231
09232
09233
09234
09235
09236
09237
09238 xcb_query_font_reply_t *
09239 xcb_query_font_reply (xcb_connection_t *c ,
09240 xcb_query_font_cookie_t cookie ,
09241 xcb_generic_error_t **e );
09242
09252
09253
09254
09255
09256
09257
09258
09259
09260
09261
09262
09263
09264 xcb_query_text_extents_cookie_t
09265 xcb_query_text_extents (xcb_connection_t *c ,
09266 xcb_fontable_t font ,
09267 uint32_t string_len ,
09268 const xcb_char2b_t *string );
09269
09282
09283
09284
09285
09286
09287
09288
09289
09290
09291
09292
09293
09294 xcb_query_text_extents_cookie_t
09295 xcb_query_text_extents_unchecked (xcb_connection_t *c ,
09296 xcb_fontable_t font ,
09297 uint32_t string_len ,
09298 const xcb_char2b_t *string );
09299
09313
09314
09315
09316
09317
09318
09319
09320
09321
09322
09323
09324 xcb_query_text_extents_reply_t *
09325 xcb_query_text_extents_reply (xcb_connection_t *c ,
09326 xcb_query_text_extents_cookie_t cookie ,
09327 xcb_generic_error_t **e );
09328
09329
09330
09331
09332
09333
09334
09335
09336
09337
09338
09339 char *
09340 xcb_str_name (const xcb_str_t *R );
09341
09342
09343
09344
09345
09346
09347
09348
09349
09350
09351
09352 int
09353 xcb_str_name_length (const xcb_str_t *R );
09354
09355
09356
09357
09358
09359
09360
09361
09362
09363
09364
09365 xcb_generic_iterator_t
09366 xcb_str_name_end (const xcb_str_t *R );
09367
09377
09378
09379
09380
09381
09382
09383
09384
09385
09386 void
09387 xcb_str_next (xcb_str_iterator_t *i );
09388
09399
09400
09401
09402
09403
09404
09405
09406
09407
09408 xcb_generic_iterator_t
09409 xcb_str_end (xcb_str_iterator_t i );
09410
09420
09421
09422
09423
09424
09425
09426
09427
09428
09429
09430
09431
09432 xcb_list_fonts_cookie_t
09433 xcb_list_fonts (xcb_connection_t *c ,
09434 uint16_t max_names ,
09435 uint16_t pattern_len ,
09436 const char *pattern );
09437
09450
09451
09452
09453
09454
09455
09456
09457
09458
09459
09460
09461
09462 xcb_list_fonts_cookie_t
09463 xcb_list_fonts_unchecked (xcb_connection_t *c ,
09464 uint16_t max_names ,
09465 uint16_t pattern_len ,
09466 const char *pattern );
09467
09468
09469
09470
09471
09472
09473
09474
09475
09476
09477
09478 int
09479 xcb_list_fonts_names_length (const xcb_list_fonts_reply_t *R );
09480
09481
09482
09483
09484
09485
09486
09487
09488
09489
09490
09491 xcb_str_iterator_t
09492 xcb_list_fonts_names_iterator (const xcb_list_fonts_reply_t *R );
09493
09507
09508
09509
09510
09511
09512
09513
09514
09515
09516
09517
09518 xcb_list_fonts_reply_t *
09519 xcb_list_fonts_reply (xcb_connection_t *c ,
09520 xcb_list_fonts_cookie_t cookie ,
09521 xcb_generic_error_t **e );
09522
09532
09533
09534
09535
09536
09537
09538
09539
09540
09541
09542
09543
09544 xcb_list_fonts_with_info_cookie_t
09545 xcb_list_fonts_with_info (xcb_connection_t *c ,
09546 uint16_t max_names ,
09547 uint16_t pattern_len ,
09548 const char *pattern );
09549
09562
09563
09564
09565
09566
09567
09568
09569
09570
09571
09572
09573
09574 xcb_list_fonts_with_info_cookie_t
09575 xcb_list_fonts_with_info_unchecked (xcb_connection_t *c ,
09576 uint16_t max_names ,
09577 uint16_t pattern_len ,
09578 const char *pattern );
09579
09580
09581
09582
09583
09584
09585
09586
09587
09588
09589
09590 xcb_fontprop_t *
09591 xcb_list_fonts_with_info_properties (const xcb_list_fonts_with_info_reply_t *R );
09592
09593
09594
09595
09596
09597
09598
09599
09600
09601
09602
09603 int
09604 xcb_list_fonts_with_info_properties_length (const xcb_list_fonts_with_info_reply_t *R );
09605
09606
09607
09608
09609
09610
09611
09612
09613
09614
09615
09616 xcb_fontprop_iterator_t
09617 xcb_list_fonts_with_info_properties_iterator (const xcb_list_fonts_with_info_reply_t *R );
09618
09619
09620
09621
09622
09623
09624
09625
09626
09627
09628
09629 char *
09630 xcb_list_fonts_with_info_name (const xcb_list_fonts_with_info_reply_t *R );
09631
09632
09633
09634
09635
09636
09637
09638
09639
09640
09641
09642 int
09643 xcb_list_fonts_with_info_name_length (const xcb_list_fonts_with_info_reply_t *R );
09644
09645
09646
09647
09648
09649
09650
09651
09652
09653
09654
09655 xcb_generic_iterator_t
09656 xcb_list_fonts_with_info_name_end (const xcb_list_fonts_with_info_reply_t *R );
09657
09671
09672
09673
09674
09675
09676
09677
09678
09679
09680
09681
09682 xcb_list_fonts_with_info_reply_t *
09683 xcb_list_fonts_with_info_reply (xcb_connection_t *c ,
09684 xcb_list_fonts_with_info_cookie_t cookie ,
09685 xcb_generic_error_t **e );
09686
09699
09700
09701
09702
09703
09704
09705
09706
09707
09708
09709
09710
09711 xcb_void_cookie_t
09712 xcb_set_font_path_checked (xcb_connection_t *c ,
09713 uint16_t font_qty ,
09714 uint32_t path_len ,
09715 const char *path );
09716
09726
09727
09728
09729
09730
09731
09732
09733
09734
09735
09736
09737
09738 xcb_void_cookie_t
09739 xcb_set_font_path (xcb_connection_t *c ,
09740 uint16_t font_qty ,
09741 uint32_t path_len ,
09742 const char *path );
09743
09753
09754
09755
09756
09757
09758
09759
09760
09761
09762 xcb_get_font_path_cookie_t
09763 xcb_get_font_path (xcb_connection_t *c );
09764
09777
09778
09779
09780
09781
09782
09783
09784
09785
09786 xcb_get_font_path_cookie_t
09787 xcb_get_font_path_unchecked (xcb_connection_t *c );
09788
09789
09790
09791
09792
09793
09794
09795
09796
09797
09798
09799 int
09800 xcb_get_font_path_path_length (const xcb_get_font_path_reply_t *R );
09801
09802
09803
09804
09805
09806
09807
09808
09809
09810
09811
09812 xcb_str_iterator_t
09813 xcb_get_font_path_path_iterator (const xcb_get_font_path_reply_t *R );
09814
09828
09829
09830
09831
09832
09833
09834
09835
09836
09837
09838
09839 xcb_get_font_path_reply_t *
09840 xcb_get_font_path_reply (xcb_connection_t *c ,
09841 xcb_get_font_path_cookie_t cookie ,
09842 xcb_generic_error_t **e );
09843
09856
09857
09858
09859
09860
09861
09862
09863
09864
09865
09866
09867
09868
09869
09870 xcb_void_cookie_t
09871 xcb_create_pixmap_checked (xcb_connection_t *c ,
09872 uint8_t depth ,
09873 xcb_pixmap_t pid ,
09874 xcb_drawable_t drawable ,
09875 uint16_t width ,
09876 uint16_t height );
09877
09887
09888
09889
09890
09891
09892
09893
09894
09895
09896
09897
09898
09899
09900
09901 xcb_void_cookie_t
09902 xcb_create_pixmap (xcb_connection_t *c ,
09903 uint8_t depth ,
09904 xcb_pixmap_t pid ,
09905 xcb_drawable_t drawable ,
09906 uint16_t width ,
09907 uint16_t height );
09908
09921
09922
09923
09924
09925
09926
09927
09928
09929
09930
09931 xcb_void_cookie_t
09932 xcb_free_pixmap_checked (xcb_connection_t *c ,
09933 xcb_pixmap_t pixmap );
09934
09944
09945
09946
09947
09948
09949
09950
09951
09952
09953
09954 xcb_void_cookie_t
09955 xcb_free_pixmap (xcb_connection_t *c ,
09956 xcb_pixmap_t pixmap );
09957
09970
09971
09972
09973
09974
09975
09976
09977
09978
09979
09980
09981
09982
09983 xcb_void_cookie_t
09984 xcb_create_gc_checked (xcb_connection_t *c ,
09985 xcb_gcontext_t cid ,
09986 xcb_drawable_t drawable ,
09987 uint32_t value_mask ,
09988 const uint32_t *value_list );
09989
09999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012 xcb_void_cookie_t
10013 xcb_create_gc (xcb_connection_t *c ,
10014 xcb_gcontext_t cid ,
10015 xcb_drawable_t drawable ,
10016 uint32_t value_mask ,
10017 const uint32_t *value_list );
10018
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043 xcb_void_cookie_t
10044 xcb_change_gc_checked (xcb_connection_t *c ,
10045 xcb_gcontext_t gc ,
10046 uint32_t value_mask ,
10047 const uint32_t *value_list );
10048
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070 xcb_void_cookie_t
10071 xcb_change_gc (xcb_connection_t *c ,
10072 xcb_gcontext_t gc ,
10073 uint32_t value_mask ,
10074 const uint32_t *value_list );
10075
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100 xcb_void_cookie_t
10101 xcb_copy_gc_checked (xcb_connection_t *c ,
10102 xcb_gcontext_t src_gc ,
10103 xcb_gcontext_t dst_gc ,
10104 uint32_t value_mask );
10105
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127 xcb_void_cookie_t
10128 xcb_copy_gc (xcb_connection_t *c ,
10129 xcb_gcontext_t src_gc ,
10130 xcb_gcontext_t dst_gc ,
10131 uint32_t value_mask );
10132
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158 xcb_void_cookie_t
10159 xcb_set_dashes_checked (xcb_connection_t *c ,
10160 xcb_gcontext_t gc ,
10161 uint16_t dash_offset ,
10162 uint16_t dashes_len ,
10163 const uint8_t *dashes );
10164
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187 xcb_void_cookie_t
10188 xcb_set_dashes (xcb_connection_t *c ,
10189 xcb_gcontext_t gc ,
10190 uint16_t dash_offset ,
10191 uint16_t dashes_len ,
10192 const uint8_t *dashes );
10193
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221 xcb_void_cookie_t
10222 xcb_set_clip_rectangles_checked (xcb_connection_t *c ,
10223 uint8_t ordering ,
10224 xcb_gcontext_t gc ,
10225 int16_t clip_x_origin ,
10226 int16_t clip_y_origin ,
10227 uint32_t rectangles_len ,
10228 const xcb_rectangle_t *rectangles );
10229
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254 xcb_void_cookie_t
10255 xcb_set_clip_rectangles (xcb_connection_t *c ,
10256 uint8_t ordering ,
10257 xcb_gcontext_t gc ,
10258 int16_t clip_x_origin ,
10259 int16_t clip_y_origin ,
10260 uint32_t rectangles_len ,
10261 const xcb_rectangle_t *rectangles );
10262
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285 xcb_void_cookie_t
10286 xcb_free_gc_checked (xcb_connection_t *c ,
10287 xcb_gcontext_t gc );
10288
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308 xcb_void_cookie_t
10309 xcb_free_gc (xcb_connection_t *c ,
10310 xcb_gcontext_t gc );
10311
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339 xcb_void_cookie_t
10340 xcb_clear_area_checked (xcb_connection_t *c ,
10341 uint8_t exposures ,
10342 xcb_window_t window ,
10343 int16_t x ,
10344 int16_t y ,
10345 uint16_t width ,
10346 uint16_t height );
10347
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372 xcb_void_cookie_t
10373 xcb_clear_area (xcb_connection_t *c ,
10374 uint8_t exposures ,
10375 xcb_window_t window ,
10376 int16_t x ,
10377 int16_t y ,
10378 uint16_t width ,
10379 uint16_t height );
10380
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411 xcb_void_cookie_t
10412 xcb_copy_area_checked (xcb_connection_t *c ,
10413 xcb_drawable_t src_drawable ,
10414 xcb_drawable_t dst_drawable ,
10415 xcb_gcontext_t gc ,
10416 int16_t src_x ,
10417 int16_t src_y ,
10418 int16_t dst_x ,
10419 int16_t dst_y ,
10420 uint16_t width ,
10421 uint16_t height );
10422
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450 xcb_void_cookie_t
10451 xcb_copy_area (xcb_connection_t *c ,
10452 xcb_drawable_t src_drawable ,
10453 xcb_drawable_t dst_drawable ,
10454 xcb_gcontext_t gc ,
10455 int16_t src_x ,
10456 int16_t src_y ,
10457 int16_t dst_x ,
10458 int16_t dst_y ,
10459 uint16_t width ,
10460 uint16_t height );
10461
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493 xcb_void_cookie_t
10494 xcb_copy_plane_checked (xcb_connection_t *c ,
10495 xcb_drawable_t src_drawable ,
10496 xcb_drawable_t dst_drawable ,
10497 xcb_gcontext_t gc ,
10498 int16_t src_x ,
10499 int16_t src_y ,
10500 int16_t dst_x ,
10501 int16_t dst_y ,
10502 uint16_t width ,
10503 uint16_t height ,
10504 uint32_t bit_plane );
10505
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534 xcb_void_cookie_t
10535 xcb_copy_plane (xcb_connection_t *c ,
10536 xcb_drawable_t src_drawable ,
10537 xcb_drawable_t dst_drawable ,
10538 xcb_gcontext_t gc ,
10539 int16_t src_x ,
10540 int16_t src_y ,
10541 int16_t dst_x ,
10542 int16_t dst_y ,
10543 uint16_t width ,
10544 uint16_t height ,
10545 uint32_t bit_plane );
10546
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573 xcb_void_cookie_t
10574 xcb_poly_point_checked (xcb_connection_t *c ,
10575 uint8_t coordinate_mode ,
10576 xcb_drawable_t drawable ,
10577 xcb_gcontext_t gc ,
10578 uint32_t points_len ,
10579 const xcb_point_t *points );
10580
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604 xcb_void_cookie_t
10605 xcb_poly_point (xcb_connection_t *c ,
10606 uint8_t coordinate_mode ,
10607 xcb_drawable_t drawable ,
10608 xcb_gcontext_t gc ,
10609 uint32_t points_len ,
10610 const xcb_point_t *points );
10611
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638 xcb_void_cookie_t
10639 xcb_poly_line_checked (xcb_connection_t *c ,
10640 uint8_t coordinate_mode ,
10641 xcb_drawable_t drawable ,
10642 xcb_gcontext_t gc ,
10643 uint32_t points_len ,
10644 const xcb_point_t *points );
10645
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669 xcb_void_cookie_t
10670 xcb_poly_line (xcb_connection_t *c ,
10671 uint8_t coordinate_mode ,
10672 xcb_drawable_t drawable ,
10673 xcb_gcontext_t gc ,
10674 uint32_t points_len ,
10675 const xcb_point_t *points );
10676
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695 void
10696 xcb_segment_next (xcb_segment_iterator_t *i );
10697
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717 xcb_generic_iterator_t
10718 xcb_segment_end (xcb_segment_iterator_t i );
10719
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745 xcb_void_cookie_t
10746 xcb_poly_segment_checked (xcb_connection_t *c ,
10747 xcb_drawable_t drawable ,
10748 xcb_gcontext_t gc ,
10749 uint32_t segments_len ,
10750 const xcb_segment_t *segments );
10751
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774 xcb_void_cookie_t
10775 xcb_poly_segment (xcb_connection_t *c ,
10776 xcb_drawable_t drawable ,
10777 xcb_gcontext_t gc ,
10778 uint32_t segments_len ,
10779 const xcb_segment_t *segments );
10780
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806 xcb_void_cookie_t
10807 xcb_poly_rectangle_checked (xcb_connection_t *c ,
10808 xcb_drawable_t drawable ,
10809 xcb_gcontext_t gc ,
10810 uint32_t rectangles_len ,
10811 const xcb_rectangle_t *rectangles );
10812
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835 xcb_void_cookie_t
10836 xcb_poly_rectangle (xcb_connection_t *c ,
10837 xcb_drawable_t drawable ,
10838 xcb_gcontext_t gc ,
10839 uint32_t rectangles_len ,
10840 const xcb_rectangle_t *rectangles );
10841
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867 xcb_void_cookie_t
10868 xcb_poly_arc_checked (xcb_connection_t *c ,
10869 xcb_drawable_t drawable ,
10870 xcb_gcontext_t gc ,
10871 uint32_t arcs_len ,
10872 const xcb_arc_t *arcs );
10873
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896 xcb_void_cookie_t
10897 xcb_poly_arc (xcb_connection_t *c ,
10898 xcb_drawable_t drawable ,
10899 xcb_gcontext_t gc ,
10900 uint32_t arcs_len ,
10901 const xcb_arc_t *arcs );
10902
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930 xcb_void_cookie_t
10931 xcb_fill_poly_checked (xcb_connection_t *c ,
10932 xcb_drawable_t drawable ,
10933 xcb_gcontext_t gc ,
10934 uint8_t shape ,
10935 uint8_t coordinate_mode ,
10936 uint32_t points_len ,
10937 const xcb_point_t *points );
10938
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963 xcb_void_cookie_t
10964 xcb_fill_poly (xcb_connection_t *c ,
10965 xcb_drawable_t drawable ,
10966 xcb_gcontext_t gc ,
10967 uint8_t shape ,
10968 uint8_t coordinate_mode ,
10969 uint32_t points_len ,
10970 const xcb_point_t *points );
10971
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997 xcb_void_cookie_t
10998 xcb_poly_fill_rectangle_checked (xcb_connection_t *c ,
10999 xcb_drawable_t drawable ,
11000 xcb_gcontext_t gc ,
11001 uint32_t rectangles_len ,
11002 const xcb_rectangle_t *rectangles );
11003
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026 xcb_void_cookie_t
11027 xcb_poly_fill_rectangle (xcb_connection_t *c ,
11028 xcb_drawable_t drawable ,
11029 xcb_gcontext_t gc ,
11030 uint32_t rectangles_len ,
11031 const xcb_rectangle_t *rectangles );
11032
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058 xcb_void_cookie_t
11059 xcb_poly_fill_arc_checked (xcb_connection_t *c ,
11060 xcb_drawable_t drawable ,
11061 xcb_gcontext_t gc ,
11062 uint32_t arcs_len ,
11063 const xcb_arc_t *arcs );
11064
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087 xcb_void_cookie_t
11088 xcb_poly_fill_arc (xcb_connection_t *c ,
11089 xcb_drawable_t drawable ,
11090 xcb_gcontext_t gc ,
11091 uint32_t arcs_len ,
11092 const xcb_arc_t *arcs );
11093
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126 xcb_void_cookie_t
11127 xcb_put_image_checked (xcb_connection_t *c ,
11128 uint8_t format ,
11129 xcb_drawable_t drawable ,
11130 xcb_gcontext_t gc ,
11131 uint16_t width ,
11132 uint16_t height ,
11133 int16_t dst_x ,
11134 int16_t dst_y ,
11135 uint8_t left_pad ,
11136 uint8_t depth ,
11137 uint32_t data_len ,
11138 const uint8_t *data );
11139
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169 xcb_void_cookie_t
11170 xcb_put_image (xcb_connection_t *c ,
11171 uint8_t format ,
11172 xcb_drawable_t drawable ,
11173 xcb_gcontext_t gc ,
11174 uint16_t width ,
11175 uint16_t height ,
11176 int16_t dst_x ,
11177 int16_t dst_y ,
11178 uint8_t left_pad ,
11179 uint8_t depth ,
11180 uint32_t data_len ,
11181 const uint8_t *data );
11182
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208 xcb_get_image_cookie_t
11209 xcb_get_image (xcb_connection_t *c ,
11210 uint8_t format ,
11211 xcb_drawable_t drawable ,
11212 int16_t x ,
11213 int16_t y ,
11214 uint16_t width ,
11215 uint16_t height ,
11216 uint32_t plane_mask );
11217
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246 xcb_get_image_cookie_t
11247 xcb_get_image_unchecked (xcb_connection_t *c ,
11248 uint8_t format ,
11249 xcb_drawable_t drawable ,
11250 int16_t x ,
11251 int16_t y ,
11252 uint16_t width ,
11253 uint16_t height ,
11254 uint32_t plane_mask );
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266 uint8_t *
11267 xcb_get_image_data (const xcb_get_image_reply_t *R );
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279 int
11280 xcb_get_image_data_length (const xcb_get_image_reply_t *R );
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292 xcb_generic_iterator_t
11293 xcb_get_image_data_end (const xcb_get_image_reply_t *R );
11294
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319 xcb_get_image_reply_t *
11320 xcb_get_image_reply (xcb_connection_t *c ,
11321 xcb_get_image_cookie_t cookie ,
11322 xcb_generic_error_t **e );
11323
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351 xcb_void_cookie_t
11352 xcb_poly_text_8_checked (xcb_connection_t *c ,
11353 xcb_drawable_t drawable ,
11354 xcb_gcontext_t gc ,
11355 int16_t x ,
11356 int16_t y ,
11357 uint32_t items_len ,
11358 const uint8_t *items );
11359
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384 xcb_void_cookie_t
11385 xcb_poly_text_8 (xcb_connection_t *c ,
11386 xcb_drawable_t drawable ,
11387 xcb_gcontext_t gc ,
11388 int16_t x ,
11389 int16_t y ,
11390 uint32_t items_len ,
11391 const uint8_t *items );
11392
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420 xcb_void_cookie_t
11421 xcb_poly_text_16_checked (xcb_connection_t *c ,
11422 xcb_drawable_t drawable ,
11423 xcb_gcontext_t gc ,
11424 int16_t x ,
11425 int16_t y ,
11426 uint32_t items_len ,
11427 const uint8_t *items );
11428
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453 xcb_void_cookie_t
11454 xcb_poly_text_16 (xcb_connection_t *c ,
11455 xcb_drawable_t drawable ,
11456 xcb_gcontext_t gc ,
11457 int16_t x ,
11458 int16_t y ,
11459 uint32_t items_len ,
11460 const uint8_t *items );
11461
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489 xcb_void_cookie_t
11490 xcb_image_text_8_checked (xcb_connection_t *c ,
11491 uint8_t string_len ,
11492 xcb_drawable_t drawable ,
11493 xcb_gcontext_t gc ,
11494 int16_t x ,
11495 int16_t y ,
11496 const char *string );
11497
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522 xcb_void_cookie_t
11523 xcb_image_text_8 (xcb_connection_t *c ,
11524 uint8_t string_len ,
11525 xcb_drawable_t drawable ,
11526 xcb_gcontext_t gc ,
11527 int16_t x ,
11528 int16_t y ,
11529 const char *string );
11530
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558 xcb_void_cookie_t
11559 xcb_image_text_16_checked (xcb_connection_t *c ,
11560 uint8_t string_len ,
11561 xcb_drawable_t drawable ,
11562 xcb_gcontext_t gc ,
11563 int16_t x ,
11564 int16_t y ,
11565 const xcb_char2b_t *string );
11566
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591 xcb_void_cookie_t
11592 xcb_image_text_16 (xcb_connection_t *c ,
11593 uint8_t string_len ,
11594 xcb_drawable_t drawable ,
11595 xcb_gcontext_t gc ,
11596 int16_t x ,
11597 int16_t y ,
11598 const xcb_char2b_t *string );
11599
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625 xcb_void_cookie_t
11626 xcb_create_colormap_checked (xcb_connection_t *c ,
11627 uint8_t alloc ,
11628 xcb_colormap_t mid ,
11629 xcb_window_t window ,
11630 xcb_visualid_t visual );
11631
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654 xcb_void_cookie_t
11655 xcb_create_colormap (xcb_connection_t *c ,
11656 uint8_t alloc ,
11657 xcb_colormap_t mid ,
11658 xcb_window_t window ,
11659 xcb_visualid_t visual );
11660
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683 xcb_void_cookie_t
11684 xcb_free_colormap_checked (xcb_connection_t *c ,
11685 xcb_colormap_t cmap );
11686
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706 xcb_void_cookie_t
11707 xcb_free_colormap (xcb_connection_t *c ,
11708 xcb_colormap_t cmap );
11709
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733 xcb_void_cookie_t
11734 xcb_copy_colormap_and_free_checked (xcb_connection_t *c ,
11735 xcb_colormap_t mid ,
11736 xcb_colormap_t src_cmap );
11737
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758 xcb_void_cookie_t
11759 xcb_copy_colormap_and_free (xcb_connection_t *c ,
11760 xcb_colormap_t mid ,
11761 xcb_colormap_t src_cmap );
11762
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785 xcb_void_cookie_t
11786 xcb_install_colormap_checked (xcb_connection_t *c ,
11787 xcb_colormap_t cmap );
11788
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808 xcb_void_cookie_t
11809 xcb_install_colormap (xcb_connection_t *c ,
11810 xcb_colormap_t cmap );
11811
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834 xcb_void_cookie_t
11835 xcb_uninstall_colormap_checked (xcb_connection_t *c ,
11836 xcb_colormap_t cmap );
11837
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857 xcb_void_cookie_t
11858 xcb_uninstall_colormap (xcb_connection_t *c ,
11859 xcb_colormap_t cmap );
11860
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880 xcb_list_installed_colormaps_cookie_t
11881 xcb_list_installed_colormaps (xcb_connection_t *c ,
11882 xcb_window_t window );
11883
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906 xcb_list_installed_colormaps_cookie_t
11907 xcb_list_installed_colormaps_unchecked (xcb_connection_t *c ,
11908 xcb_window_t window );
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920 xcb_colormap_t *
11921 xcb_list_installed_colormaps_cmaps (const xcb_list_installed_colormaps_reply_t *R );
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933 int
11934 xcb_list_installed_colormaps_cmaps_length (const xcb_list_installed_colormaps_reply_t *R );
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946 xcb_colormap_iterator_t
11947 xcb_list_installed_colormaps_cmaps_iterator (const xcb_list_installed_colormaps_reply_t *R );
11948
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973 xcb_list_installed_colormaps_reply_t *
11974 xcb_list_installed_colormaps_reply (xcb_connection_t *c ,
11975 xcb_list_installed_colormaps_cookie_t cookie ,
11976 xcb_generic_error_t **e );
11977
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000 xcb_alloc_color_cookie_t
12001 xcb_alloc_color (xcb_connection_t *c ,
12002 xcb_colormap_t cmap ,
12003 uint16_t red ,
12004 uint16_t green ,
12005 uint16_t blue );
12006
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032 xcb_alloc_color_cookie_t
12033 xcb_alloc_color_unchecked (xcb_connection_t *c ,
12034 xcb_colormap_t cmap ,
12035 uint16_t red ,
12036 uint16_t green ,
12037 uint16_t blue );
12038
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063 xcb_alloc_color_reply_t *
12064 xcb_alloc_color_reply (xcb_connection_t *c ,
12065 xcb_alloc_color_cookie_t cookie ,
12066 xcb_generic_error_t **e );
12067
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089 xcb_alloc_named_color_cookie_t
12090 xcb_alloc_named_color (xcb_connection_t *c ,
12091 xcb_colormap_t cmap ,
12092 uint16_t name_len ,
12093 const char *name );
12094
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119 xcb_alloc_named_color_cookie_t
12120 xcb_alloc_named_color_unchecked (xcb_connection_t *c ,
12121 xcb_colormap_t cmap ,
12122 uint16_t name_len ,
12123 const char *name );
12124
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149 xcb_alloc_named_color_reply_t *
12150 xcb_alloc_named_color_reply (xcb_connection_t *c ,
12151 xcb_alloc_named_color_cookie_t cookie ,
12152 xcb_generic_error_t **e );
12153
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176 xcb_alloc_color_cells_cookie_t
12177 xcb_alloc_color_cells (xcb_connection_t *c ,
12178 uint8_t contiguous ,
12179 xcb_colormap_t cmap ,
12180 uint16_t colors ,
12181 uint16_t planes );
12182
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208 xcb_alloc_color_cells_cookie_t
12209 xcb_alloc_color_cells_unchecked (xcb_connection_t *c ,
12210 uint8_t contiguous ,
12211 xcb_colormap_t cmap ,
12212 uint16_t colors ,
12213 uint16_t planes );
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225 uint32_t *
12226 xcb_alloc_color_cells_pixels (const xcb_alloc_color_cells_reply_t *R );
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238 int
12239 xcb_alloc_color_cells_pixels_length (const xcb_alloc_color_cells_reply_t *R );
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251 xcb_generic_iterator_t
12252 xcb_alloc_color_cells_pixels_end (const xcb_alloc_color_cells_reply_t *R );
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264 uint32_t *
12265 xcb_alloc_color_cells_masks (const xcb_alloc_color_cells_reply_t *R );
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277 int
12278 xcb_alloc_color_cells_masks_length (const xcb_alloc_color_cells_reply_t *R );
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290 xcb_generic_iterator_t
12291 xcb_alloc_color_cells_masks_end (const xcb_alloc_color_cells_reply_t *R );
12292
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317 xcb_alloc_color_cells_reply_t *
12318 xcb_alloc_color_cells_reply (xcb_connection_t *c ,
12319 xcb_alloc_color_cells_cookie_t cookie ,
12320 xcb_generic_error_t **e );
12321
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346 xcb_alloc_color_planes_cookie_t
12347 xcb_alloc_color_planes (xcb_connection_t *c ,
12348 uint8_t contiguous ,
12349 xcb_colormap_t cmap ,
12350 uint16_t colors ,
12351 uint16_t reds ,
12352 uint16_t greens ,
12353 uint16_t blues );
12354
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382 xcb_alloc_color_planes_cookie_t
12383 xcb_alloc_color_planes_unchecked (xcb_connection_t *c ,
12384 uint8_t contiguous ,
12385 xcb_colormap_t cmap ,
12386 uint16_t colors ,
12387 uint16_t reds ,
12388 uint16_t greens ,
12389 uint16_t blues );
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401 uint32_t *
12402 xcb_alloc_color_planes_pixels (const xcb_alloc_color_planes_reply_t *R );
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414 int
12415 xcb_alloc_color_planes_pixels_length (const xcb_alloc_color_planes_reply_t *R );
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427 xcb_generic_iterator_t
12428 xcb_alloc_color_planes_pixels_end (const xcb_alloc_color_planes_reply_t *R );
12429
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454 xcb_alloc_color_planes_reply_t *
12455 xcb_alloc_color_planes_reply (xcb_connection_t *c ,
12456 xcb_alloc_color_planes_cookie_t cookie ,
12457 xcb_generic_error_t **e );
12458
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484 xcb_void_cookie_t
12485 xcb_free_colors_checked (xcb_connection_t *c ,
12486 xcb_colormap_t cmap ,
12487 uint32_t plane_mask ,
12488 uint32_t pixels_len ,
12489 const uint32_t *pixels );
12490
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513 xcb_void_cookie_t
12514 xcb_free_colors (xcb_connection_t *c ,
12515 xcb_colormap_t cmap ,
12516 uint32_t plane_mask ,
12517 uint32_t pixels_len ,
12518 const uint32_t *pixels );
12519
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538 void
12539 xcb_coloritem_next (xcb_coloritem_iterator_t *i );
12540
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560 xcb_generic_iterator_t
12561 xcb_coloritem_end (xcb_coloritem_iterator_t i );
12562
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587 xcb_void_cookie_t
12588 xcb_store_colors_checked (xcb_connection_t *c ,
12589 xcb_colormap_t cmap ,
12590 uint32_t items_len ,
12591 const xcb_coloritem_t *items );
12592
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614 xcb_void_cookie_t
12615 xcb_store_colors (xcb_connection_t *c ,
12616 xcb_colormap_t cmap ,
12617 uint32_t items_len ,
12618 const xcb_coloritem_t *items );
12619
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646 xcb_void_cookie_t
12647 xcb_store_named_color_checked (xcb_connection_t *c ,
12648 uint8_t flags ,
12649 xcb_colormap_t cmap ,
12650 uint32_t pixel ,
12651 uint16_t name_len ,
12652 const char *name );
12653
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677 xcb_void_cookie_t
12678 xcb_store_named_color (xcb_connection_t *c ,
12679 uint8_t flags ,
12680 xcb_colormap_t cmap ,
12681 uint32_t pixel ,
12682 uint16_t name_len ,
12683 const char *name );
12684
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703 void
12704 xcb_rgb_next (xcb_rgb_iterator_t *i );
12705
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725 xcb_generic_iterator_t
12726 xcb_rgb_end (xcb_rgb_iterator_t i );
12727
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749 xcb_query_colors_cookie_t
12750 xcb_query_colors (xcb_connection_t *c ,
12751 xcb_colormap_t cmap ,
12752 uint32_t pixels_len ,
12753 const uint32_t *pixels );
12754
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779 xcb_query_colors_cookie_t
12780 xcb_query_colors_unchecked (xcb_connection_t *c ,
12781 xcb_colormap_t cmap ,
12782 uint32_t pixels_len ,
12783 const uint32_t *pixels );
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795 xcb_rgb_t *
12796 xcb_query_colors_colors (const xcb_query_colors_reply_t *R );
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808 int
12809 xcb_query_colors_colors_length (const xcb_query_colors_reply_t *R );
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821 xcb_rgb_iterator_t
12822 xcb_query_colors_colors_iterator (const xcb_query_colors_reply_t *R );
12823
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848 xcb_query_colors_reply_t *
12849 xcb_query_colors_reply (xcb_connection_t *c ,
12850 xcb_query_colors_cookie_t cookie ,
12851 xcb_generic_error_t **e );
12852
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874 xcb_lookup_color_cookie_t
12875 xcb_lookup_color (xcb_connection_t *c ,
12876 xcb_colormap_t cmap ,
12877 uint16_t name_len ,
12878 const char *name );
12879
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904 xcb_lookup_color_cookie_t
12905 xcb_lookup_color_unchecked (xcb_connection_t *c ,
12906 xcb_colormap_t cmap ,
12907 uint16_t name_len ,
12908 const char *name );
12909
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934 xcb_lookup_color_reply_t *
12935 xcb_lookup_color_reply (xcb_connection_t *c ,
12936 xcb_lookup_color_cookie_t cookie ,
12937 xcb_generic_error_t **e );
12938
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971 xcb_void_cookie_t
12972 xcb_create_cursor_checked (xcb_connection_t *c ,
12973 xcb_cursor_t cid ,
12974 xcb_pixmap_t source ,
12975 xcb_pixmap_t mask ,
12976 uint16_t fore_red ,
12977 uint16_t fore_green ,
12978 uint16_t fore_blue ,
12979 uint16_t back_red ,
12980 uint16_t back_green ,
12981 uint16_t back_blue ,
12982 uint16_t x ,
12983 uint16_t y );
12984
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014 xcb_void_cookie_t
13015 xcb_create_cursor (xcb_connection_t *c ,
13016 xcb_cursor_t cid ,
13017 xcb_pixmap_t source ,
13018 xcb_pixmap_t mask ,
13019 uint16_t fore_red ,
13020 uint16_t fore_green ,
13021 uint16_t fore_blue ,
13022 uint16_t back_red ,
13023 uint16_t back_green ,
13024 uint16_t back_blue ,
13025 uint16_t x ,
13026 uint16_t y );
13027
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060 xcb_void_cookie_t
13061 xcb_create_glyph_cursor_checked (xcb_connection_t *c ,
13062 xcb_cursor_t cid ,
13063 xcb_font_t source_font ,
13064 xcb_font_t mask_font ,
13065 uint16_t source_char ,
13066 uint16_t mask_char ,
13067 uint16_t fore_red ,
13068 uint16_t fore_green ,
13069 uint16_t fore_blue ,
13070 uint16_t back_red ,
13071 uint16_t back_green ,
13072 uint16_t back_blue );
13073
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103 xcb_void_cookie_t
13104 xcb_create_glyph_cursor (xcb_connection_t *c ,
13105 xcb_cursor_t cid ,
13106 xcb_font_t source_font ,
13107 xcb_font_t mask_font ,
13108 uint16_t source_char ,
13109 uint16_t mask_char ,
13110 uint16_t fore_red ,
13111 uint16_t fore_green ,
13112 uint16_t fore_blue ,
13113 uint16_t back_red ,
13114 uint16_t back_green ,
13115 uint16_t back_blue );
13116
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139 xcb_void_cookie_t
13140 xcb_free_cursor_checked (xcb_connection_t *c ,
13141 xcb_cursor_t cursor );
13142
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162 xcb_void_cookie_t
13163 xcb_free_cursor (xcb_connection_t *c ,
13164 xcb_cursor_t cursor );
13165
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194 xcb_void_cookie_t
13195 xcb_recolor_cursor_checked (xcb_connection_t *c ,
13196 xcb_cursor_t cursor ,
13197 uint16_t fore_red ,
13198 uint16_t fore_green ,
13199 uint16_t fore_blue ,
13200 uint16_t back_red ,
13201 uint16_t back_green ,
13202 uint16_t back_blue );
13203
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229 xcb_void_cookie_t
13230 xcb_recolor_cursor (xcb_connection_t *c ,
13231 xcb_cursor_t cursor ,
13232 uint16_t fore_red ,
13233 uint16_t fore_green ,
13234 uint16_t fore_blue ,
13235 uint16_t back_red ,
13236 uint16_t back_green ,
13237 uint16_t back_blue );
13238
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261 xcb_query_best_size_cookie_t
13262 xcb_query_best_size (xcb_connection_t *c ,
13263 uint8_t _class ,
13264 xcb_drawable_t drawable ,
13265 uint16_t width ,
13266 uint16_t height );
13267
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293 xcb_query_best_size_cookie_t
13294 xcb_query_best_size_unchecked (xcb_connection_t *c ,
13295 uint8_t _class ,
13296 xcb_drawable_t drawable ,
13297 uint16_t width ,
13298 uint16_t height );
13299
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324 xcb_query_best_size_reply_t *
13325 xcb_query_best_size_reply (xcb_connection_t *c ,
13326 xcb_query_best_size_cookie_t cookie ,
13327 xcb_generic_error_t **e );
13328
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349 xcb_query_extension_cookie_t
13350 xcb_query_extension (xcb_connection_t *c ,
13351 uint16_t name_len ,
13352 const char *name );
13353
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377 xcb_query_extension_cookie_t
13378 xcb_query_extension_unchecked (xcb_connection_t *c ,
13379 uint16_t name_len ,
13380 const char *name );
13381
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406 xcb_query_extension_reply_t *
13407 xcb_query_extension_reply (xcb_connection_t *c ,
13408 xcb_query_extension_cookie_t cookie ,
13409 xcb_generic_error_t **e );
13410
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429 xcb_list_extensions_cookie_t
13430 xcb_list_extensions (xcb_connection_t *c );
13431
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453 xcb_list_extensions_cookie_t
13454 xcb_list_extensions_unchecked (xcb_connection_t *c );
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466 int
13467 xcb_list_extensions_names_length (const xcb_list_extensions_reply_t *R );
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479 xcb_str_iterator_t
13480 xcb_list_extensions_names_iterator (const xcb_list_extensions_reply_t *R );
13481
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506 xcb_list_extensions_reply_t *
13507 xcb_list_extensions_reply (xcb_connection_t *c ,
13508 xcb_list_extensions_cookie_t cookie ,
13509 xcb_generic_error_t **e );
13510
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536 xcb_void_cookie_t
13537 xcb_change_keyboard_mapping_checked (xcb_connection_t *c ,
13538 uint8_t keycode_count ,
13539 xcb_keycode_t first_keycode ,
13540 uint8_t keysyms_per_keycode ,
13541 const xcb_keysym_t *keysyms );
13542
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565 xcb_void_cookie_t
13566 xcb_change_keyboard_mapping (xcb_connection_t *c ,
13567 uint8_t keycode_count ,
13568 xcb_keycode_t first_keycode ,
13569 uint8_t keysyms_per_keycode ,
13570 const xcb_keysym_t *keysyms );
13571
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592 xcb_get_keyboard_mapping_cookie_t
13593 xcb_get_keyboard_mapping (xcb_connection_t *c ,
13594 xcb_keycode_t first_keycode ,
13595 uint8_t count );
13596
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620 xcb_get_keyboard_mapping_cookie_t
13621 xcb_get_keyboard_mapping_unchecked (xcb_connection_t *c ,
13622 xcb_keycode_t first_keycode ,
13623 uint8_t count );
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635 xcb_keysym_t *
13636 xcb_get_keyboard_mapping_keysyms (const xcb_get_keyboard_mapping_reply_t *R );
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648 int
13649 xcb_get_keyboard_mapping_keysyms_length (const xcb_get_keyboard_mapping_reply_t *R );
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661 xcb_keysym_iterator_t
13662 xcb_get_keyboard_mapping_keysyms_iterator (const xcb_get_keyboard_mapping_reply_t *R );
13663
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688 xcb_get_keyboard_mapping_reply_t *
13689 xcb_get_keyboard_mapping_reply (xcb_connection_t *c ,
13690 xcb_get_keyboard_mapping_cookie_t cookie ,
13691 xcb_generic_error_t **e );
13692
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716 xcb_void_cookie_t
13717 xcb_change_keyboard_control_checked (xcb_connection_t *c ,
13718 uint32_t value_mask ,
13719 const uint32_t *value_list );
13720
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741 xcb_void_cookie_t
13742 xcb_change_keyboard_control (xcb_connection_t *c ,
13743 uint32_t value_mask ,
13744 const uint32_t *value_list );
13745
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764 xcb_get_keyboard_control_cookie_t
13765 xcb_get_keyboard_control (xcb_connection_t *c );
13766
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788 xcb_get_keyboard_control_cookie_t
13789 xcb_get_keyboard_control_unchecked (xcb_connection_t *c );
13790
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815 xcb_get_keyboard_control_reply_t *
13816 xcb_get_keyboard_control_reply (xcb_connection_t *c ,
13817 xcb_get_keyboard_control_cookie_t cookie ,
13818 xcb_generic_error_t **e );
13819
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842 xcb_void_cookie_t
13843 xcb_bell_checked (xcb_connection_t *c ,
13844 int8_t percent );
13845
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865 xcb_void_cookie_t
13866 xcb_bell (xcb_connection_t *c ,
13867 int8_t percent );
13868
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895 xcb_void_cookie_t
13896 xcb_change_pointer_control_checked (xcb_connection_t *c ,
13897 int16_t acceleration_numerator ,
13898 int16_t acceleration_denominator ,
13899 int16_t threshold ,
13900 uint8_t do_acceleration ,
13901 uint8_t do_threshold );
13902
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926 xcb_void_cookie_t
13927 xcb_change_pointer_control (xcb_connection_t *c ,
13928 int16_t acceleration_numerator ,
13929 int16_t acceleration_denominator ,
13930 int16_t threshold ,
13931 uint8_t do_acceleration ,
13932 uint8_t do_threshold );
13933
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952 xcb_get_pointer_control_cookie_t
13953 xcb_get_pointer_control (xcb_connection_t *c );
13954
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976 xcb_get_pointer_control_cookie_t
13977 xcb_get_pointer_control_unchecked (xcb_connection_t *c );
13978
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003 xcb_get_pointer_control_reply_t *
14004 xcb_get_pointer_control_reply (xcb_connection_t *c ,
14005 xcb_get_pointer_control_cookie_t cookie ,
14006 xcb_generic_error_t **e );
14007
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033 xcb_void_cookie_t
14034 xcb_set_screen_saver_checked (xcb_connection_t *c ,
14035 int16_t timeout ,
14036 int16_t interval ,
14037 uint8_t prefer_blanking ,
14038 uint8_t allow_exposures );
14039
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062 xcb_void_cookie_t
14063 xcb_set_screen_saver (xcb_connection_t *c ,
14064 int16_t timeout ,
14065 int16_t interval ,
14066 uint8_t prefer_blanking ,
14067 uint8_t allow_exposures );
14068
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087 xcb_get_screen_saver_cookie_t
14088 xcb_get_screen_saver (xcb_connection_t *c );
14089
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111 xcb_get_screen_saver_cookie_t
14112 xcb_get_screen_saver_unchecked (xcb_connection_t *c );
14113
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138 xcb_get_screen_saver_reply_t *
14139 xcb_get_screen_saver_reply (xcb_connection_t *c ,
14140 xcb_get_screen_saver_cookie_t cookie ,
14141 xcb_generic_error_t **e );
14142
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168 xcb_void_cookie_t
14169 xcb_change_hosts_checked (xcb_connection_t *c ,
14170 uint8_t mode ,
14171 uint8_t family ,
14172 uint16_t address_len ,
14173 const char *address );
14174
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197 xcb_void_cookie_t
14198 xcb_change_hosts (xcb_connection_t *c ,
14199 uint8_t mode ,
14200 uint8_t family ,
14201 uint16_t address_len ,
14202 const char *address );
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214 uint8_t *
14215 xcb_host_address (const xcb_host_t *R );
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227 int
14228 xcb_host_address_length (const xcb_host_t *R );
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240 xcb_generic_iterator_t
14241 xcb_host_address_end (const xcb_host_t *R );
14242
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261 void
14262 xcb_host_next (xcb_host_iterator_t *i );
14263
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283 xcb_generic_iterator_t
14284 xcb_host_end (xcb_host_iterator_t i );
14285
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304 xcb_list_hosts_cookie_t
14305 xcb_list_hosts (xcb_connection_t *c );
14306
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328 xcb_list_hosts_cookie_t
14329 xcb_list_hosts_unchecked (xcb_connection_t *c );
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341 int
14342 xcb_list_hosts_hosts_length (const xcb_list_hosts_reply_t *R );
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354 xcb_host_iterator_t
14355 xcb_list_hosts_hosts_iterator (const xcb_list_hosts_reply_t *R );
14356
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381 xcb_list_hosts_reply_t *
14382 xcb_list_hosts_reply (xcb_connection_t *c ,
14383 xcb_list_hosts_cookie_t cookie ,
14384 xcb_generic_error_t **e );
14385
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408 xcb_void_cookie_t
14409 xcb_set_access_control_checked (xcb_connection_t *c ,
14410 uint8_t mode );
14411
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431 xcb_void_cookie_t
14432 xcb_set_access_control (xcb_connection_t *c ,
14433 uint8_t mode );
14434
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457 xcb_void_cookie_t
14458 xcb_set_close_down_mode_checked (xcb_connection_t *c ,
14459 uint8_t mode );
14460
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480 xcb_void_cookie_t
14481 xcb_set_close_down_mode (xcb_connection_t *c ,
14482 uint8_t mode );
14483
14496
14497
14498
14499
14500
14501
14502
14503
14504
14505
14506 xcb_void_cookie_t
14507 xcb_kill_client_checked (xcb_connection_t *c ,
14508 uint32_t resource );
14509
14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529 xcb_void_cookie_t
14530 xcb_kill_client (xcb_connection_t *c ,
14531 uint32_t resource );
14532
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558 xcb_void_cookie_t
14559 xcb_rotate_properties_checked (xcb_connection_t *c ,
14560 xcb_window_t window ,
14561 uint16_t atoms_len ,
14562 int16_t delta ,
14563 const xcb_atom_t *atoms );
14564
14574
14575
14576
14577
14578
14579
14580
14581
14582
14583
14584
14585
14586
14587 xcb_void_cookie_t
14588 xcb_rotate_properties (xcb_connection_t *c ,
14589 xcb_window_t window ,
14590 uint16_t atoms_len ,
14591 int16_t delta ,
14592 const xcb_atom_t *atoms );
14593
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616 xcb_void_cookie_t
14617 xcb_force_screen_saver_checked (xcb_connection_t *c ,
14618 uint8_t mode );
14619
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639 xcb_void_cookie_t
14640 xcb_force_screen_saver (xcb_connection_t *c ,
14641 uint8_t mode );
14642
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663 xcb_set_pointer_mapping_cookie_t
14664 xcb_set_pointer_mapping (xcb_connection_t *c ,
14665 uint8_t map_len ,
14666 const uint8_t *map );
14667
14680
14681
14682
14683
14684
14685
14686
14687
14688
14689
14690
14691 xcb_set_pointer_mapping_cookie_t
14692 xcb_set_pointer_mapping_unchecked (xcb_connection_t *c ,
14693 uint8_t map_len ,
14694 const uint8_t *map );
14695
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720 xcb_set_pointer_mapping_reply_t *
14721 xcb_set_pointer_mapping_reply (xcb_connection_t *c ,
14722 xcb_set_pointer_mapping_cookie_t cookie ,
14723 xcb_generic_error_t **e );
14724
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743 xcb_get_pointer_mapping_cookie_t
14744 xcb_get_pointer_mapping (xcb_connection_t *c );
14745
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767 xcb_get_pointer_mapping_cookie_t
14768 xcb_get_pointer_mapping_unchecked (xcb_connection_t *c );
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780 uint8_t *
14781 xcb_get_pointer_mapping_map (const xcb_get_pointer_mapping_reply_t *R );
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793 int
14794 xcb_get_pointer_mapping_map_length (const xcb_get_pointer_mapping_reply_t *R );
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806 xcb_generic_iterator_t
14807 xcb_get_pointer_mapping_map_end (const xcb_get_pointer_mapping_reply_t *R );
14808
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833 xcb_get_pointer_mapping_reply_t *
14834 xcb_get_pointer_mapping_reply (xcb_connection_t *c ,
14835 xcb_get_pointer_mapping_cookie_t cookie ,
14836 xcb_generic_error_t **e );
14837
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858 xcb_set_modifier_mapping_cookie_t
14859 xcb_set_modifier_mapping (xcb_connection_t *c ,
14860 uint8_t keycodes_per_modifier ,
14861 const xcb_keycode_t *keycodes );
14862
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886 xcb_set_modifier_mapping_cookie_t
14887 xcb_set_modifier_mapping_unchecked (xcb_connection_t *c ,
14888 uint8_t keycodes_per_modifier ,
14889 const xcb_keycode_t *keycodes );
14890
14904
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915 xcb_set_modifier_mapping_reply_t *
14916 xcb_set_modifier_mapping_reply (xcb_connection_t *c ,
14917 xcb_set_modifier_mapping_cookie_t cookie ,
14918 xcb_generic_error_t **e );
14919
14929
14930
14931
14932
14933
14934
14935
14936
14937
14938 xcb_get_modifier_mapping_cookie_t
14939 xcb_get_modifier_mapping (xcb_connection_t *c );
14940
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962 xcb_get_modifier_mapping_cookie_t
14963 xcb_get_modifier_mapping_unchecked (xcb_connection_t *c );
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975 xcb_keycode_t *
14976 xcb_get_modifier_mapping_keycodes (const xcb_get_modifier_mapping_reply_t *R );
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988 int
14989 xcb_get_modifier_mapping_keycodes_length (const xcb_get_modifier_mapping_reply_t *R );
14990
14991
14992
14993
14994
14995
14996
14997
14998
14999
15000
15001 xcb_keycode_iterator_t
15002 xcb_get_modifier_mapping_keycodes_iterator (const xcb_get_modifier_mapping_reply_t *R );
15003
15017
15018
15019
15020
15021
15022
15023
15024
15025
15026
15027
15028 xcb_get_modifier_mapping_reply_t *
15029 xcb_get_modifier_mapping_reply (xcb_connection_t *c ,
15030 xcb_get_modifier_mapping_cookie_t cookie ,
15031 xcb_generic_error_t **e );
15032
15045
15046
15047
15048
15049
15050
15051
15052
15053
15054 xcb_void_cookie_t
15055 xcb_no_operation_checked (xcb_connection_t *c );
15056
15066
15067
15068
15069
15070
15071
15072
15073
15074
15075 xcb_void_cookie_t
15076 xcb_no_operation (xcb_connection_t *c );
15077
15078
15079 #endif
15080