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 char event[32];
01795 } xcb_send_event_request_t;
01796
01797 typedef enum xcb_grab_mode_t {
01798 XCB_GRAB_MODE_SYNC = 0,
01799 XCB_GRAB_MODE_ASYNC = 1
01800 } xcb_grab_mode_t;
01801
01802 typedef enum xcb_grab_status_t {
01803 XCB_GRAB_STATUS_SUCCESS = 0,
01804 XCB_GRAB_STATUS_ALREADY_GRABBED = 1,
01805 XCB_GRAB_STATUS_INVALID_TIME = 2,
01806 XCB_GRAB_STATUS_NOT_VIEWABLE = 3,
01807 XCB_GRAB_STATUS_FROZEN = 4
01808 } xcb_grab_status_t;
01809
01813 typedef struct xcb_grab_pointer_cookie_t {
01814 unsigned int sequence;
01815 } xcb_grab_pointer_cookie_t;
01816
01818 #define XCB_GRAB_POINTER 26
01819
01823 typedef struct xcb_grab_pointer_request_t {
01824 uint8_t major_opcode;
01825 uint8_t owner_events;
01826 uint16_t length;
01827 xcb_window_t grab_window;
01828 uint16_t event_mask;
01829 uint8_t pointer_mode;
01830 uint8_t keyboard_mode;
01831 xcb_window_t confine_to;
01832 xcb_cursor_t cursor;
01833 xcb_timestamp_t time;
01834 } xcb_grab_pointer_request_t;
01835
01839 typedef struct xcb_grab_pointer_reply_t {
01840 uint8_t response_type;
01841 uint8_t status;
01842 uint16_t sequence;
01843 uint32_t length;
01844 } xcb_grab_pointer_reply_t;
01845
01847 #define XCB_UNGRAB_POINTER 27
01848
01852 typedef struct xcb_ungrab_pointer_request_t {
01853 uint8_t major_opcode;
01854 uint8_t pad0;
01855 uint16_t length;
01856 xcb_timestamp_t time;
01857 } xcb_ungrab_pointer_request_t;
01858
01859 typedef enum xcb_button_index_t {
01860 XCB_BUTTON_INDEX_ANY = 0,
01861 XCB_BUTTON_INDEX_1 = 1,
01862 XCB_BUTTON_INDEX_2 = 2,
01863 XCB_BUTTON_INDEX_3 = 3,
01864 XCB_BUTTON_INDEX_4 = 4,
01865 XCB_BUTTON_INDEX_5 = 5
01866 } xcb_button_index_t;
01867
01869 #define XCB_GRAB_BUTTON 28
01870
01874 typedef struct xcb_grab_button_request_t {
01875 uint8_t major_opcode;
01876 uint8_t owner_events;
01877 uint16_t length;
01878 xcb_window_t grab_window;
01879 uint16_t event_mask;
01880 uint8_t pointer_mode;
01881 uint8_t keyboard_mode;
01882 xcb_window_t confine_to;
01883 xcb_cursor_t cursor;
01884 uint8_t button;
01885 uint8_t pad0;
01886 uint16_t modifiers;
01887 } xcb_grab_button_request_t;
01888
01890 #define XCB_UNGRAB_BUTTON 29
01891
01895 typedef struct xcb_ungrab_button_request_t {
01896 uint8_t major_opcode;
01897 uint8_t button;
01898 uint16_t length;
01899 xcb_window_t grab_window;
01900 uint16_t modifiers;
01901 uint8_t pad0[2];
01902 } xcb_ungrab_button_request_t;
01903
01905 #define XCB_CHANGE_ACTIVE_POINTER_GRAB 30
01906
01910 typedef struct xcb_change_active_pointer_grab_request_t {
01911 uint8_t major_opcode;
01912 uint8_t pad0;
01913 uint16_t length;
01914 xcb_cursor_t cursor;
01915 xcb_timestamp_t time;
01916 uint16_t event_mask;
01917 } xcb_change_active_pointer_grab_request_t;
01918
01922 typedef struct xcb_grab_keyboard_cookie_t {
01923 unsigned int sequence;
01924 } xcb_grab_keyboard_cookie_t;
01925
01927 #define XCB_GRAB_KEYBOARD 31
01928
01932 typedef struct xcb_grab_keyboard_request_t {
01933 uint8_t major_opcode;
01934 uint8_t owner_events;
01935 uint16_t length;
01936 xcb_window_t grab_window;
01937 xcb_timestamp_t time;
01938 uint8_t pointer_mode;
01939 uint8_t keyboard_mode;
01940 } xcb_grab_keyboard_request_t;
01941
01945 typedef struct xcb_grab_keyboard_reply_t {
01946 uint8_t response_type;
01947 uint8_t status;
01948 uint16_t sequence;
01949 uint32_t length;
01950 } xcb_grab_keyboard_reply_t;
01951
01953 #define XCB_UNGRAB_KEYBOARD 32
01954
01958 typedef struct xcb_ungrab_keyboard_request_t {
01959 uint8_t major_opcode;
01960 uint8_t pad0;
01961 uint16_t length;
01962 xcb_timestamp_t time;
01963 } xcb_ungrab_keyboard_request_t;
01964
01965 typedef enum xcb_grab_t {
01966 XCB_GRAB_ANY = 0
01967 } xcb_grab_t;
01968
01970 #define XCB_GRAB_KEY 33
01971
01975 typedef struct xcb_grab_key_request_t {
01976 uint8_t major_opcode;
01977 uint8_t owner_events;
01978 uint16_t length;
01979 xcb_window_t grab_window;
01980 uint16_t modifiers;
01981 xcb_keycode_t key;
01982 uint8_t pointer_mode;
01983 uint8_t keyboard_mode;
01984 } xcb_grab_key_request_t;
01985
01987 #define XCB_UNGRAB_KEY 34
01988
01992 typedef struct xcb_ungrab_key_request_t {
01993 uint8_t major_opcode;
01994 xcb_keycode_t key;
01995 uint16_t length;
01996 xcb_window_t grab_window;
01997 uint16_t modifiers;
01998 } xcb_ungrab_key_request_t;
01999
02000 typedef enum xcb_allow_t {
02001 XCB_ALLOW_ASYNC_POINTER = 0,
02002 XCB_ALLOW_SYNC_POINTER = 1,
02003 XCB_ALLOW_REPLAY_POINTER = 2,
02004 XCB_ALLOW_ASYNC_KEYBOARD = 3,
02005 XCB_ALLOW_SYNC_KEYBOARD = 4,
02006 XCB_ALLOW_REPLAY_KEYBOARD = 5,
02007 XCB_ALLOW_ASYNC_BOTH = 6,
02008 XCB_ALLOW_SYNC_BOTH = 7
02009 } xcb_allow_t;
02010
02012 #define XCB_ALLOW_EVENTS 35
02013
02017 typedef struct xcb_allow_events_request_t {
02018 uint8_t major_opcode;
02019 uint8_t mode;
02020 uint16_t length;
02021 xcb_timestamp_t time;
02022 } xcb_allow_events_request_t;
02023
02025 #define XCB_GRAB_SERVER 36
02026
02030 typedef struct xcb_grab_server_request_t {
02031 uint8_t major_opcode;
02032 uint8_t pad0;
02033 uint16_t length;
02034 } xcb_grab_server_request_t;
02035
02037 #define XCB_UNGRAB_SERVER 37
02038
02042 typedef struct xcb_ungrab_server_request_t {
02043 uint8_t major_opcode;
02044 uint8_t pad0;
02045 uint16_t length;
02046 } xcb_ungrab_server_request_t;
02047
02051 typedef struct xcb_query_pointer_cookie_t {
02052 unsigned int sequence;
02053 } xcb_query_pointer_cookie_t;
02054
02056 #define XCB_QUERY_POINTER 38
02057
02061 typedef struct xcb_query_pointer_request_t {
02062 uint8_t major_opcode;
02063 uint8_t pad0;
02064 uint16_t length;
02065 xcb_window_t window;
02066 } xcb_query_pointer_request_t;
02067
02071 typedef struct xcb_query_pointer_reply_t {
02072 uint8_t response_type;
02073 uint8_t same_screen;
02074 uint16_t sequence;
02075 uint32_t length;
02076 xcb_window_t root;
02077 xcb_window_t child;
02078 int16_t root_x;
02079 int16_t root_y;
02080 int16_t win_x;
02081 int16_t win_y;
02082 uint16_t mask;
02083 } xcb_query_pointer_reply_t;
02084
02088 typedef struct xcb_timecoord_t {
02089 xcb_timestamp_t time;
02090 int16_t x;
02091 int16_t y;
02092 } xcb_timecoord_t;
02093
02097 typedef struct xcb_timecoord_iterator_t {
02098 xcb_timecoord_t *data;
02099 int rem;
02100 int index;
02101 } xcb_timecoord_iterator_t;
02102
02106 typedef struct xcb_get_motion_events_cookie_t {
02107 unsigned int sequence;
02108 } xcb_get_motion_events_cookie_t;
02109
02111 #define XCB_GET_MOTION_EVENTS 39
02112
02116 typedef struct xcb_get_motion_events_request_t {
02117 uint8_t major_opcode;
02118 uint8_t pad0;
02119 uint16_t length;
02120 xcb_window_t window;
02121 xcb_timestamp_t start;
02122 xcb_timestamp_t stop;
02123 } xcb_get_motion_events_request_t;
02124
02128 typedef struct xcb_get_motion_events_reply_t {
02129 uint8_t response_type;
02130 uint8_t pad0;
02131 uint16_t sequence;
02132 uint32_t length;
02133 uint32_t events_len;
02134 uint8_t pad1[20];
02135 } xcb_get_motion_events_reply_t;
02136
02140 typedef struct xcb_translate_coordinates_cookie_t {
02141 unsigned int sequence;
02142 } xcb_translate_coordinates_cookie_t;
02143
02145 #define XCB_TRANSLATE_COORDINATES 40
02146
02150 typedef struct xcb_translate_coordinates_request_t {
02151 uint8_t major_opcode;
02152 uint8_t pad0;
02153 uint16_t length;
02154 xcb_window_t src_window;
02155 xcb_window_t dst_window;
02156 int16_t src_x;
02157 int16_t src_y;
02158 } xcb_translate_coordinates_request_t;
02159
02163 typedef struct xcb_translate_coordinates_reply_t {
02164 uint8_t response_type;
02165 uint8_t same_screen;
02166 uint16_t sequence;
02167 uint32_t length;
02168 xcb_window_t child;
02169 uint16_t dst_x;
02170 uint16_t dst_y;
02171 } xcb_translate_coordinates_reply_t;
02172
02174 #define XCB_WARP_POINTER 41
02175
02179 typedef struct xcb_warp_pointer_request_t {
02180 uint8_t major_opcode;
02181 uint8_t pad0;
02182 uint16_t length;
02183 xcb_window_t src_window;
02184 xcb_window_t dst_window;
02185 int16_t src_x;
02186 int16_t src_y;
02187 uint16_t src_width;
02188 uint16_t src_height;
02189 int16_t dst_x;
02190 int16_t dst_y;
02191 } xcb_warp_pointer_request_t;
02192
02193 typedef enum xcb_input_focus_t {
02194 XCB_INPUT_FOCUS_NONE = 0,
02195 XCB_INPUT_FOCUS_POINTER_ROOT = 1,
02196 XCB_INPUT_FOCUS_PARENT = 2
02197 } xcb_input_focus_t;
02198
02200 #define XCB_SET_INPUT_FOCUS 42
02201
02205 typedef struct xcb_set_input_focus_request_t {
02206 uint8_t major_opcode;
02207 uint8_t revert_to;
02208 uint16_t length;
02209 xcb_window_t focus;
02210 xcb_timestamp_t time;
02211 } xcb_set_input_focus_request_t;
02212
02216 typedef struct xcb_get_input_focus_cookie_t {
02217 unsigned int sequence;
02218 } xcb_get_input_focus_cookie_t;
02219
02221 #define XCB_GET_INPUT_FOCUS 43
02222
02226 typedef struct xcb_get_input_focus_request_t {
02227 uint8_t major_opcode;
02228 uint8_t pad0;
02229 uint16_t length;
02230 } xcb_get_input_focus_request_t;
02231
02235 typedef struct xcb_get_input_focus_reply_t {
02236 uint8_t response_type;
02237 uint8_t revert_to;
02238 uint16_t sequence;
02239 uint32_t length;
02240 xcb_window_t focus;
02241 } xcb_get_input_focus_reply_t;
02242
02246 typedef struct xcb_query_keymap_cookie_t {
02247 unsigned int sequence;
02248 } xcb_query_keymap_cookie_t;
02249
02251 #define XCB_QUERY_KEYMAP 44
02252
02256 typedef struct xcb_query_keymap_request_t {
02257 uint8_t major_opcode;
02258 uint8_t pad0;
02259 uint16_t length;
02260 } xcb_query_keymap_request_t;
02261
02265 typedef struct xcb_query_keymap_reply_t {
02266 uint8_t response_type;
02267 uint8_t pad0;
02268 uint16_t sequence;
02269 uint32_t length;
02270 uint8_t keys[32];
02271 } xcb_query_keymap_reply_t;
02272
02274 #define XCB_OPEN_FONT 45
02275
02279 typedef struct xcb_open_font_request_t {
02280 uint8_t major_opcode;
02281 uint8_t pad0;
02282 uint16_t length;
02283 xcb_font_t fid;
02284 uint16_t name_len;
02285 } xcb_open_font_request_t;
02286
02288 #define XCB_CLOSE_FONT 46
02289
02293 typedef struct xcb_close_font_request_t {
02294 uint8_t major_opcode;
02295 uint8_t pad0;
02296 uint16_t length;
02297 xcb_font_t font;
02298 } xcb_close_font_request_t;
02299
02300 typedef enum xcb_font_draw_t {
02301 XCB_FONT_DRAW_LEFT_TO_RIGHT = 0,
02302 XCB_FONT_DRAW_RIGHT_TO_LEFT = 1
02303 } xcb_font_draw_t;
02304
02308 typedef struct xcb_fontprop_t {
02309 xcb_atom_t name;
02310 uint32_t value;
02311 } xcb_fontprop_t;
02312
02316 typedef struct xcb_fontprop_iterator_t {
02317 xcb_fontprop_t *data;
02318 int rem;
02319 int index;
02320 } xcb_fontprop_iterator_t;
02321
02325 typedef struct xcb_charinfo_t {
02326 int16_t left_side_bearing;
02327 int16_t right_side_bearing;
02328 int16_t character_width;
02329 int16_t ascent;
02330 int16_t descent;
02331 uint16_t attributes;
02332 } xcb_charinfo_t;
02333
02337 typedef struct xcb_charinfo_iterator_t {
02338 xcb_charinfo_t *data;
02339 int rem;
02340 int index;
02341 } xcb_charinfo_iterator_t;
02342
02346 typedef struct xcb_query_font_cookie_t {
02347 unsigned int sequence;
02348 } xcb_query_font_cookie_t;
02349
02351 #define XCB_QUERY_FONT 47
02352
02356 typedef struct xcb_query_font_request_t {
02357 uint8_t major_opcode;
02358 uint8_t pad0;
02359 uint16_t length;
02360 xcb_fontable_t font;
02361 } xcb_query_font_request_t;
02362
02366 typedef struct xcb_query_font_reply_t {
02367 uint8_t response_type;
02368 uint8_t pad0;
02369 uint16_t sequence;
02370 uint32_t length;
02371 xcb_charinfo_t min_bounds;
02372 uint8_t pad1[4];
02373 xcb_charinfo_t max_bounds;
02374 uint8_t pad2[4];
02375 uint16_t min_char_or_byte2;
02376 uint16_t max_char_or_byte2;
02377 uint16_t default_char;
02378 uint16_t properties_len;
02379 uint8_t draw_direction;
02380 uint8_t min_byte1;
02381 uint8_t max_byte1;
02382 uint8_t all_chars_exist;
02383 int16_t font_ascent;
02384 int16_t font_descent;
02385 uint32_t char_infos_len;
02386 } xcb_query_font_reply_t;
02387
02391 typedef struct xcb_query_text_extents_cookie_t {
02392 unsigned int sequence;
02393 } xcb_query_text_extents_cookie_t;
02394
02396 #define XCB_QUERY_TEXT_EXTENTS 48
02397
02401 typedef struct xcb_query_text_extents_request_t {
02402 uint8_t major_opcode;
02403 uint8_t odd_length;
02404 uint16_t length;
02405 xcb_fontable_t font;
02406 } xcb_query_text_extents_request_t;
02407
02411 typedef struct xcb_query_text_extents_reply_t {
02412 uint8_t response_type;
02413 uint8_t draw_direction;
02414 uint16_t sequence;
02415 uint32_t length;
02416 int16_t font_ascent;
02417 int16_t font_descent;
02418 int16_t overall_ascent;
02419 int16_t overall_descent;
02420 int32_t overall_width;
02421 int32_t overall_left;
02422 int32_t overall_right;
02423 } xcb_query_text_extents_reply_t;
02424
02428 typedef struct xcb_str_t {
02429 uint8_t name_len;
02430 } xcb_str_t;
02431
02435 typedef struct xcb_str_iterator_t {
02436 xcb_str_t *data;
02437 int rem;
02438 int index;
02439 } xcb_str_iterator_t;
02440
02444 typedef struct xcb_list_fonts_cookie_t {
02445 unsigned int sequence;
02446 } xcb_list_fonts_cookie_t;
02447
02449 #define XCB_LIST_FONTS 49
02450
02454 typedef struct xcb_list_fonts_request_t {
02455 uint8_t major_opcode;
02456 uint8_t pad0;
02457 uint16_t length;
02458 uint16_t max_names;
02459 uint16_t pattern_len;
02460 } xcb_list_fonts_request_t;
02461
02465 typedef struct xcb_list_fonts_reply_t {
02466 uint8_t response_type;
02467 uint8_t pad0;
02468 uint16_t sequence;
02469 uint32_t length;
02470 uint16_t names_len;
02471 uint8_t pad1[22];
02472 } xcb_list_fonts_reply_t;
02473
02477 typedef struct xcb_list_fonts_with_info_cookie_t {
02478 unsigned int sequence;
02479 } xcb_list_fonts_with_info_cookie_t;
02480
02482 #define XCB_LIST_FONTS_WITH_INFO 50
02483
02487 typedef struct xcb_list_fonts_with_info_request_t {
02488 uint8_t major_opcode;
02489 uint8_t pad0;
02490 uint16_t length;
02491 uint16_t max_names;
02492 uint16_t pattern_len;
02493 } xcb_list_fonts_with_info_request_t;
02494
02498 typedef struct xcb_list_fonts_with_info_reply_t {
02499 uint8_t response_type;
02500 uint8_t name_len;
02501 uint16_t sequence;
02502 uint32_t length;
02503 xcb_charinfo_t min_bounds;
02504 uint8_t pad0[4];
02505 xcb_charinfo_t max_bounds;
02506 uint8_t pad1[4];
02507 uint16_t min_char_or_byte2;
02508 uint16_t max_char_or_byte2;
02509 uint16_t default_char;
02510 uint16_t properties_len;
02511 uint8_t draw_direction;
02512 uint8_t min_byte1;
02513 uint8_t max_byte1;
02514 uint8_t all_chars_exist;
02515 int16_t font_ascent;
02516 int16_t font_descent;
02517 uint32_t replies_hint;
02518 } xcb_list_fonts_with_info_reply_t;
02519
02521 #define XCB_SET_FONT_PATH 51
02522
02526 typedef struct xcb_set_font_path_request_t {
02527 uint8_t major_opcode;
02528 uint8_t pad0;
02529 uint16_t length;
02530 uint16_t font_qty;
02531 } xcb_set_font_path_request_t;
02532
02536 typedef struct xcb_get_font_path_cookie_t {
02537 unsigned int sequence;
02538 } xcb_get_font_path_cookie_t;
02539
02541 #define XCB_GET_FONT_PATH 52
02542
02546 typedef struct xcb_get_font_path_request_t {
02547 uint8_t major_opcode;
02548 uint8_t pad0;
02549 uint16_t length;
02550 } xcb_get_font_path_request_t;
02551
02555 typedef struct xcb_get_font_path_reply_t {
02556 uint8_t response_type;
02557 uint8_t pad0;
02558 uint16_t sequence;
02559 uint32_t length;
02560 uint16_t path_len;
02561 uint8_t pad1[22];
02562 } xcb_get_font_path_reply_t;
02563
02565 #define XCB_CREATE_PIXMAP 53
02566
02570 typedef struct xcb_create_pixmap_request_t {
02571 uint8_t major_opcode;
02572 uint8_t depth;
02573 uint16_t length;
02574 xcb_pixmap_t pid;
02575 xcb_drawable_t drawable;
02576 uint16_t width;
02577 uint16_t height;
02578 } xcb_create_pixmap_request_t;
02579
02581 #define XCB_FREE_PIXMAP 54
02582
02586 typedef struct xcb_free_pixmap_request_t {
02587 uint8_t major_opcode;
02588 uint8_t pad0;
02589 uint16_t length;
02590 xcb_pixmap_t pixmap;
02591 } xcb_free_pixmap_request_t;
02592
02593 typedef enum xcb_gc_t {
02594 XCB_GC_FUNCTION = (1 << 0),
02595 XCB_GC_PLANE_MASK = (1 << 1),
02596 XCB_GC_FOREGROUND = (1 << 2),
02597 XCB_GC_BACKGROUND = (1 << 3),
02598 XCB_GC_LINE_WIDTH = (1 << 4),
02599 XCB_GC_LINE_STYLE = (1 << 5),
02600 XCB_GC_CAP_STYLE = (1 << 6),
02601 XCB_GC_JOIN_STYLE = (1 << 7),
02602 XCB_GC_FILL_STYLE = (1 << 8),
02603 XCB_GC_FILL_RULE = (1 << 9),
02604 XCB_GC_TILE = (1 << 10),
02605 XCB_GC_STIPPLE = (1 << 11),
02606 XCB_GC_TILE_STIPPLE_ORIGIN_X = (1 << 12),
02607 XCB_GC_TILE_STIPPLE_ORIGIN_Y = (1 << 13),
02608 XCB_GC_FONT = (1 << 14),
02609 XCB_GC_SUBWINDOW_MODE = (1 << 15),
02610 XCB_GC_GRAPHICS_EXPOSURES = (1 << 16),
02611 XCB_GC_CLIP_ORIGIN_X = (1 << 17),
02612 XCB_GC_CLIP_ORIGIN_Y = (1 << 18),
02613 XCB_GC_CLIP_MASK = (1 << 19),
02614 XCB_GC_DASH_OFFSET = (1 << 20),
02615 XCB_GC_DASH_LIST = (1 << 21),
02616 XCB_GC_ARC_MODE = (1 << 22)
02617 } xcb_gc_t;
02618
02619 typedef enum xcb_gx_t {
02620 XCB_GX_CLEAR = 0x0,
02621 XCB_GX_AND = 0x1,
02622 XCB_GX_AND_REVERSE = 0x2,
02623 XCB_GX_COPY = 0x3,
02624 XCB_GX_AND_INVERTED = 0x4,
02625 XCB_GX_NOOP = 0x5,
02626 XCB_GX_XOR = 0x6,
02627 XCB_GX_OR = 0x7,
02628 XCB_GX_NOR = 0x8,
02629 XCB_GX_EQUIV = 0x9,
02630 XCB_GX_INVERT = 0xa,
02631 XCB_GX_OR_REVERSE = 0xb,
02632 XCB_GX_COPY_INVERTED = 0xc,
02633 XCB_GX_OR_INVERTED = 0xd,
02634 XCB_GX_NAND = 0xe,
02635 XCB_GX_SET = 0xf
02636 } xcb_gx_t;
02637
02638 typedef enum xcb_line_style_t {
02639 XCB_LINE_STYLE_SOLID = 0,
02640 XCB_LINE_STYLE_ON_OFF_DASH = 1,
02641 XCB_LINE_STYLE_DOUBLE_DASH = 2
02642 } xcb_line_style_t;
02643
02644 typedef enum xcb_cap_style_t {
02645 XCB_CAP_STYLE_NOT_LAST = 0,
02646 XCB_CAP_STYLE_BUTT = 1,
02647 XCB_CAP_STYLE_ROUND = 2,
02648 XCB_CAP_STYLE_PROJECTING = 3
02649 } xcb_cap_style_t;
02650
02651 typedef enum xcb_join_style_t {
02652 XCB_JOIN_STYLE_MITRE = 0,
02653 XCB_JOIN_STYLE_ROUND = 1,
02654 XCB_JOIN_STYLE_BEVEL = 2
02655 } xcb_join_style_t;
02656
02657 typedef enum xcb_fill_style_t {
02658 XCB_FILL_STYLE_SOLID = 0,
02659 XCB_FILL_STYLE_TILED = 1,
02660 XCB_FILL_STYLE_STIPPLED = 2,
02661 XCB_FILL_STYLE_OPAQUE_STIPPLED = 3
02662 } xcb_fill_style_t;
02663
02664 typedef enum xcb_fill_rule_t {
02665 XCB_FILL_RULE_EVEN_ODD = 0,
02666 XCB_FILL_RULE_WINDING = 1
02667 } xcb_fill_rule_t;
02668
02669 typedef enum xcb_subwindow_mode_t {
02670 XCB_SUBWINDOW_MODE_CLIP_BY_CHILDREN = 0,
02671 XCB_SUBWINDOW_MODE_INCLUDE_INFERIORS = 1
02672 } xcb_subwindow_mode_t;
02673
02674 typedef enum xcb_arc_mode_t {
02675 XCB_ARC_MODE_CHORD = 0,
02676 XCB_ARC_MODE_PIE_SLICE = 1
02677 } xcb_arc_mode_t;
02678
02680 #define XCB_CREATE_GC 55
02681
02685 typedef struct xcb_create_gc_request_t {
02686 uint8_t major_opcode;
02687 uint8_t pad0;
02688 uint16_t length;
02689 xcb_gcontext_t cid;
02690 xcb_drawable_t drawable;
02691 uint32_t value_mask;
02692 } xcb_create_gc_request_t;
02693
02695 #define XCB_CHANGE_GC 56
02696
02700 typedef struct xcb_change_gc_request_t {
02701 uint8_t major_opcode;
02702 uint8_t pad0;
02703 uint16_t length;
02704 xcb_gcontext_t gc;
02705 uint32_t value_mask;
02706 } xcb_change_gc_request_t;
02707
02709 #define XCB_COPY_GC 57
02710
02714 typedef struct xcb_copy_gc_request_t {
02715 uint8_t major_opcode;
02716 uint8_t pad0;
02717 uint16_t length;
02718 xcb_gcontext_t src_gc;
02719 xcb_gcontext_t dst_gc;
02720 uint32_t value_mask;
02721 } xcb_copy_gc_request_t;
02722
02724 #define XCB_SET_DASHES 58
02725
02729 typedef struct xcb_set_dashes_request_t {
02730 uint8_t major_opcode;
02731 uint8_t pad0;
02732 uint16_t length;
02733 xcb_gcontext_t gc;
02734 uint16_t dash_offset;
02735 uint16_t dashes_len;
02736 } xcb_set_dashes_request_t;
02737
02738 typedef enum xcb_clip_ordering_t {
02739 XCB_CLIP_ORDERING_UNSORTED = 0,
02740 XCB_CLIP_ORDERING_Y_SORTED = 1,
02741 XCB_CLIP_ORDERING_YX_SORTED = 2,
02742 XCB_CLIP_ORDERING_YX_BANDED = 3
02743 } xcb_clip_ordering_t;
02744
02746 #define XCB_SET_CLIP_RECTANGLES 59
02747
02751 typedef struct xcb_set_clip_rectangles_request_t {
02752 uint8_t major_opcode;
02753 uint8_t ordering;
02754 uint16_t length;
02755 xcb_gcontext_t gc;
02756 int16_t clip_x_origin;
02757 int16_t clip_y_origin;
02758 } xcb_set_clip_rectangles_request_t;
02759
02761 #define XCB_FREE_GC 60
02762
02766 typedef struct xcb_free_gc_request_t {
02767 uint8_t major_opcode;
02768 uint8_t pad0;
02769 uint16_t length;
02770 xcb_gcontext_t gc;
02771 } xcb_free_gc_request_t;
02772
02774 #define XCB_CLEAR_AREA 61
02775
02779 typedef struct xcb_clear_area_request_t {
02780 uint8_t major_opcode;
02781 uint8_t exposures;
02782 uint16_t length;
02783 xcb_window_t window;
02784 int16_t x;
02785 int16_t y;
02786 uint16_t width;
02787 uint16_t height;
02788 } xcb_clear_area_request_t;
02789
02791 #define XCB_COPY_AREA 62
02792
02796 typedef struct xcb_copy_area_request_t {
02797 uint8_t major_opcode;
02798 uint8_t pad0;
02799 uint16_t length;
02800 xcb_drawable_t src_drawable;
02801 xcb_drawable_t dst_drawable;
02802 xcb_gcontext_t gc;
02803 int16_t src_x;
02804 int16_t src_y;
02805 int16_t dst_x;
02806 int16_t dst_y;
02807 uint16_t width;
02808 uint16_t height;
02809 } xcb_copy_area_request_t;
02810
02812 #define XCB_COPY_PLANE 63
02813
02817 typedef struct xcb_copy_plane_request_t {
02818 uint8_t major_opcode;
02819 uint8_t pad0;
02820 uint16_t length;
02821 xcb_drawable_t src_drawable;
02822 xcb_drawable_t dst_drawable;
02823 xcb_gcontext_t gc;
02824 int16_t src_x;
02825 int16_t src_y;
02826 int16_t dst_x;
02827 int16_t dst_y;
02828 uint16_t width;
02829 uint16_t height;
02830 uint32_t bit_plane;
02831 } xcb_copy_plane_request_t;
02832
02833 typedef enum xcb_coord_mode_t {
02834 XCB_COORD_MODE_ORIGIN = 0,
02835 XCB_COORD_MODE_PREVIOUS = 1
02836 } xcb_coord_mode_t;
02837
02839 #define XCB_POLY_POINT 64
02840
02844 typedef struct xcb_poly_point_request_t {
02845 uint8_t major_opcode;
02846 uint8_t coordinate_mode;
02847 uint16_t length;
02848 xcb_drawable_t drawable;
02849 xcb_gcontext_t gc;
02850 } xcb_poly_point_request_t;
02851
02853 #define XCB_POLY_LINE 65
02854
02858 typedef struct xcb_poly_line_request_t {
02859 uint8_t major_opcode;
02860 uint8_t coordinate_mode;
02861 uint16_t length;
02862 xcb_drawable_t drawable;
02863 xcb_gcontext_t gc;
02864 } xcb_poly_line_request_t;
02865
02869 typedef struct xcb_segment_t {
02870 int16_t x1;
02871 int16_t y1;
02872 int16_t x2;
02873 int16_t y2;
02874 } xcb_segment_t;
02875
02879 typedef struct xcb_segment_iterator_t {
02880 xcb_segment_t *data;
02881 int rem;
02882 int index;
02883 } xcb_segment_iterator_t;
02884
02886 #define XCB_POLY_SEGMENT 66
02887
02891 typedef struct xcb_poly_segment_request_t {
02892 uint8_t major_opcode;
02893 uint8_t pad0;
02894 uint16_t length;
02895 xcb_drawable_t drawable;
02896 xcb_gcontext_t gc;
02897 } xcb_poly_segment_request_t;
02898
02900 #define XCB_POLY_RECTANGLE 67
02901
02905 typedef struct xcb_poly_rectangle_request_t {
02906 uint8_t major_opcode;
02907 uint8_t pad0;
02908 uint16_t length;
02909 xcb_drawable_t drawable;
02910 xcb_gcontext_t gc;
02911 } xcb_poly_rectangle_request_t;
02912
02914 #define XCB_POLY_ARC 68
02915
02919 typedef struct xcb_poly_arc_request_t {
02920 uint8_t major_opcode;
02921 uint8_t pad0;
02922 uint16_t length;
02923 xcb_drawable_t drawable;
02924 xcb_gcontext_t gc;
02925 } xcb_poly_arc_request_t;
02926
02927 typedef enum xcb_poly_shape_t {
02928 XCB_POLY_SHAPE_COMPLEX = 0,
02929 XCB_POLY_SHAPE_NONCONVEX = 1,
02930 XCB_POLY_SHAPE_CONVEX = 2
02931 } xcb_poly_shape_t;
02932
02934 #define XCB_FILL_POLY 69
02935
02939 typedef struct xcb_fill_poly_request_t {
02940 uint8_t major_opcode;
02941 uint8_t pad0;
02942 uint16_t length;
02943 xcb_drawable_t drawable;
02944 xcb_gcontext_t gc;
02945 uint8_t shape;
02946 uint8_t coordinate_mode;
02947 } xcb_fill_poly_request_t;
02948
02950 #define XCB_POLY_FILL_RECTANGLE 70
02951
02955 typedef struct xcb_poly_fill_rectangle_request_t {
02956 uint8_t major_opcode;
02957 uint8_t pad0;
02958 uint16_t length;
02959 xcb_drawable_t drawable;
02960 xcb_gcontext_t gc;
02961 } xcb_poly_fill_rectangle_request_t;
02962
02964 #define XCB_POLY_FILL_ARC 71
02965
02969 typedef struct xcb_poly_fill_arc_request_t {
02970 uint8_t major_opcode;
02971 uint8_t pad0;
02972 uint16_t length;
02973 xcb_drawable_t drawable;
02974 xcb_gcontext_t gc;
02975 } xcb_poly_fill_arc_request_t;
02976
02977 typedef enum xcb_image_format_t {
02978 XCB_IMAGE_FORMAT_XY_BITMAP = 0,
02979 XCB_IMAGE_FORMAT_XY_PIXMAP = 1,
02980 XCB_IMAGE_FORMAT_Z_PIXMAP = 2
02981 } xcb_image_format_t;
02982
02984 #define XCB_PUT_IMAGE 72
02985
02989 typedef struct xcb_put_image_request_t {
02990 uint8_t major_opcode;
02991 uint8_t format;
02992 uint16_t length;
02993 xcb_drawable_t drawable;
02994 xcb_gcontext_t gc;
02995 uint16_t width;
02996 uint16_t height;
02997 int16_t dst_x;
02998 int16_t dst_y;
02999 uint8_t left_pad;
03000 uint8_t depth;
03001 } xcb_put_image_request_t;
03002
03006 typedef struct xcb_get_image_cookie_t {
03007 unsigned int sequence;
03008 } xcb_get_image_cookie_t;
03009
03011 #define XCB_GET_IMAGE 73
03012
03016 typedef struct xcb_get_image_request_t {
03017 uint8_t major_opcode;
03018 uint8_t format;
03019 uint16_t length;
03020 xcb_drawable_t drawable;
03021 int16_t x;
03022 int16_t y;
03023 uint16_t width;
03024 uint16_t height;
03025 uint32_t plane_mask;
03026 } xcb_get_image_request_t;
03027
03031 typedef struct xcb_get_image_reply_t {
03032 uint8_t response_type;
03033 uint8_t depth;
03034 uint16_t sequence;
03035 uint32_t length;
03036 xcb_visualid_t visual;
03037 uint8_t pad0[20];
03038 } xcb_get_image_reply_t;
03039
03041 #define XCB_POLY_TEXT_8 74
03042
03046 typedef struct xcb_poly_text_8_request_t {
03047 uint8_t major_opcode;
03048 uint8_t pad0;
03049 uint16_t length;
03050 xcb_drawable_t drawable;
03051 xcb_gcontext_t gc;
03052 int16_t x;
03053 int16_t y;
03054 } xcb_poly_text_8_request_t;
03055
03057 #define XCB_POLY_TEXT_16 75
03058
03062 typedef struct xcb_poly_text_16_request_t {
03063 uint8_t major_opcode;
03064 uint8_t pad0;
03065 uint16_t length;
03066 xcb_drawable_t drawable;
03067 xcb_gcontext_t gc;
03068 int16_t x;
03069 int16_t y;
03070 } xcb_poly_text_16_request_t;
03071
03073 #define XCB_IMAGE_TEXT_8 76
03074
03078 typedef struct xcb_image_text_8_request_t {
03079 uint8_t major_opcode;
03080 uint8_t string_len;
03081 uint16_t length;
03082 xcb_drawable_t drawable;
03083 xcb_gcontext_t gc;
03084 int16_t x;
03085 int16_t y;
03086 } xcb_image_text_8_request_t;
03087
03089 #define XCB_IMAGE_TEXT_16 77
03090
03094 typedef struct xcb_image_text_16_request_t {
03095 uint8_t major_opcode;
03096 uint8_t string_len;
03097 uint16_t length;
03098 xcb_drawable_t drawable;
03099 xcb_gcontext_t gc;
03100 int16_t x;
03101 int16_t y;
03102 } xcb_image_text_16_request_t;
03103
03104 typedef enum xcb_colormap_alloc_t {
03105 XCB_COLORMAP_ALLOC_NONE = 0,
03106 XCB_COLORMAP_ALLOC_ALL = 1
03107 } xcb_colormap_alloc_t;
03108
03110 #define XCB_CREATE_COLORMAP 78
03111
03115 typedef struct xcb_create_colormap_request_t {
03116 uint8_t major_opcode;
03117 uint8_t alloc;
03118 uint16_t length;
03119 xcb_colormap_t mid;
03120 xcb_window_t window;
03121 xcb_visualid_t visual;
03122 } xcb_create_colormap_request_t;
03123
03125 #define XCB_FREE_COLORMAP 79
03126
03130 typedef struct xcb_free_colormap_request_t {
03131 uint8_t major_opcode;
03132 uint8_t pad0;
03133 uint16_t length;
03134 xcb_colormap_t cmap;
03135 } xcb_free_colormap_request_t;
03136
03138 #define XCB_COPY_COLORMAP_AND_FREE 80
03139
03143 typedef struct xcb_copy_colormap_and_free_request_t {
03144 uint8_t major_opcode;
03145 uint8_t pad0;
03146 uint16_t length;
03147 xcb_colormap_t mid;
03148 xcb_colormap_t src_cmap;
03149 } xcb_copy_colormap_and_free_request_t;
03150
03152 #define XCB_INSTALL_COLORMAP 81
03153
03157 typedef struct xcb_install_colormap_request_t {
03158 uint8_t major_opcode;
03159 uint8_t pad0;
03160 uint16_t length;
03161 xcb_colormap_t cmap;
03162 } xcb_install_colormap_request_t;
03163
03165 #define XCB_UNINSTALL_COLORMAP 82
03166
03170 typedef struct xcb_uninstall_colormap_request_t {
03171 uint8_t major_opcode;
03172 uint8_t pad0;
03173 uint16_t length;
03174 xcb_colormap_t cmap;
03175 } xcb_uninstall_colormap_request_t;
03176
03180 typedef struct xcb_list_installed_colormaps_cookie_t {
03181 unsigned int sequence;
03182 } xcb_list_installed_colormaps_cookie_t;
03183
03185 #define XCB_LIST_INSTALLED_COLORMAPS 83
03186
03190 typedef struct xcb_list_installed_colormaps_request_t {
03191 uint8_t major_opcode;
03192 uint8_t pad0;
03193 uint16_t length;
03194 xcb_window_t window;
03195 } xcb_list_installed_colormaps_request_t;
03196
03200 typedef struct xcb_list_installed_colormaps_reply_t {
03201 uint8_t response_type;
03202 uint8_t pad0;
03203 uint16_t sequence;
03204 uint32_t length;
03205 uint16_t cmaps_len;
03206 uint8_t pad1[22];
03207 } xcb_list_installed_colormaps_reply_t;
03208
03212 typedef struct xcb_alloc_color_cookie_t {
03213 unsigned int sequence;
03214 } xcb_alloc_color_cookie_t;
03215
03217 #define XCB_ALLOC_COLOR 84
03218
03222 typedef struct xcb_alloc_color_request_t {
03223 uint8_t major_opcode;
03224 uint8_t pad0;
03225 uint16_t length;
03226 xcb_colormap_t cmap;
03227 uint16_t red;
03228 uint16_t green;
03229 uint16_t blue;
03230 } xcb_alloc_color_request_t;
03231
03235 typedef struct xcb_alloc_color_reply_t {
03236 uint8_t response_type;
03237 uint8_t pad0;
03238 uint16_t sequence;
03239 uint32_t length;
03240 uint16_t red;
03241 uint16_t green;
03242 uint16_t blue;
03243 uint8_t pad1[2];
03244 uint32_t pixel;
03245 } xcb_alloc_color_reply_t;
03246
03250 typedef struct xcb_alloc_named_color_cookie_t {
03251 unsigned int sequence;
03252 } xcb_alloc_named_color_cookie_t;
03253
03255 #define XCB_ALLOC_NAMED_COLOR 85
03256
03260 typedef struct xcb_alloc_named_color_request_t {
03261 uint8_t major_opcode;
03262 uint8_t pad0;
03263 uint16_t length;
03264 xcb_colormap_t cmap;
03265 uint16_t name_len;
03266 } xcb_alloc_named_color_request_t;
03267
03271 typedef struct xcb_alloc_named_color_reply_t {
03272 uint8_t response_type;
03273 uint8_t pad0;
03274 uint16_t sequence;
03275 uint32_t length;
03276 uint32_t pixel;
03277 uint16_t exact_red;
03278 uint16_t exact_green;
03279 uint16_t exact_blue;
03280 uint16_t visual_red;
03281 uint16_t visual_green;
03282 uint16_t visual_blue;
03283 } xcb_alloc_named_color_reply_t;
03284
03288 typedef struct xcb_alloc_color_cells_cookie_t {
03289 unsigned int sequence;
03290 } xcb_alloc_color_cells_cookie_t;
03291
03293 #define XCB_ALLOC_COLOR_CELLS 86
03294
03298 typedef struct xcb_alloc_color_cells_request_t {
03299 uint8_t major_opcode;
03300 uint8_t contiguous;
03301 uint16_t length;
03302 xcb_colormap_t cmap;
03303 uint16_t colors;
03304 uint16_t planes;
03305 } xcb_alloc_color_cells_request_t;
03306
03310 typedef struct xcb_alloc_color_cells_reply_t {
03311 uint8_t response_type;
03312 uint8_t pad0;
03313 uint16_t sequence;
03314 uint32_t length;
03315 uint16_t pixels_len;
03316 uint16_t masks_len;
03317 uint8_t pad1[20];
03318 } xcb_alloc_color_cells_reply_t;
03319
03323 typedef struct xcb_alloc_color_planes_cookie_t {
03324 unsigned int sequence;
03325 } xcb_alloc_color_planes_cookie_t;
03326
03328 #define XCB_ALLOC_COLOR_PLANES 87
03329
03333 typedef struct xcb_alloc_color_planes_request_t {
03334 uint8_t major_opcode;
03335 uint8_t contiguous;
03336 uint16_t length;
03337 xcb_colormap_t cmap;
03338 uint16_t colors;
03339 uint16_t reds;
03340 uint16_t greens;
03341 uint16_t blues;
03342 } xcb_alloc_color_planes_request_t;
03343
03347 typedef struct xcb_alloc_color_planes_reply_t {
03348 uint8_t response_type;
03349 uint8_t pad0;
03350 uint16_t sequence;
03351 uint32_t length;
03352 uint16_t pixels_len;
03353 uint8_t pad1[2];
03354 uint32_t red_mask;
03355 uint32_t green_mask;
03356 uint32_t blue_mask;
03357 uint8_t pad2[8];
03358 } xcb_alloc_color_planes_reply_t;
03359
03361 #define XCB_FREE_COLORS 88
03362
03366 typedef struct xcb_free_colors_request_t {
03367 uint8_t major_opcode;
03368 uint8_t pad0;
03369 uint16_t length;
03370 xcb_colormap_t cmap;
03371 uint32_t plane_mask;
03372 } xcb_free_colors_request_t;
03373
03374 typedef enum xcb_color_flag_t {
03375 XCB_COLOR_FLAG_RED = (1 << 0),
03376 XCB_COLOR_FLAG_GREEN = (1 << 1),
03377 XCB_COLOR_FLAG_BLUE = (1 << 2)
03378 } xcb_color_flag_t;
03379
03383 typedef struct xcb_coloritem_t {
03384 uint32_t pixel;
03385 uint16_t red;
03386 uint16_t green;
03387 uint16_t blue;
03388 uint8_t flags;
03389 uint8_t pad0;
03390 } xcb_coloritem_t;
03391
03395 typedef struct xcb_coloritem_iterator_t {
03396 xcb_coloritem_t *data;
03397 int rem;
03398 int index;
03399 } xcb_coloritem_iterator_t;
03400
03402 #define XCB_STORE_COLORS 89
03403
03407 typedef struct xcb_store_colors_request_t {
03408 uint8_t major_opcode;
03409 uint8_t pad0;
03410 uint16_t length;
03411 xcb_colormap_t cmap;
03412 } xcb_store_colors_request_t;
03413
03415 #define XCB_STORE_NAMED_COLOR 90
03416
03420 typedef struct xcb_store_named_color_request_t {
03421 uint8_t major_opcode;
03422 uint8_t flags;
03423 uint16_t length;
03424 xcb_colormap_t cmap;
03425 uint32_t pixel;
03426 uint16_t name_len;
03427 } xcb_store_named_color_request_t;
03428
03432 typedef struct xcb_rgb_t {
03433 uint16_t red;
03434 uint16_t green;
03435 uint16_t blue;
03436 uint8_t pad0[2];
03437 } xcb_rgb_t;
03438
03442 typedef struct xcb_rgb_iterator_t {
03443 xcb_rgb_t *data;
03444 int rem;
03445 int index;
03446 } xcb_rgb_iterator_t;
03447
03451 typedef struct xcb_query_colors_cookie_t {
03452 unsigned int sequence;
03453 } xcb_query_colors_cookie_t;
03454
03456 #define XCB_QUERY_COLORS 91
03457
03461 typedef struct xcb_query_colors_request_t {
03462 uint8_t major_opcode;
03463 uint8_t pad0;
03464 uint16_t length;
03465 xcb_colormap_t cmap;
03466 } xcb_query_colors_request_t;
03467
03471 typedef struct xcb_query_colors_reply_t {
03472 uint8_t response_type;
03473 uint8_t pad0;
03474 uint16_t sequence;
03475 uint32_t length;
03476 uint16_t colors_len;
03477 uint8_t pad1[22];
03478 } xcb_query_colors_reply_t;
03479
03483 typedef struct xcb_lookup_color_cookie_t {
03484 unsigned int sequence;
03485 } xcb_lookup_color_cookie_t;
03486
03488 #define XCB_LOOKUP_COLOR 92
03489
03493 typedef struct xcb_lookup_color_request_t {
03494 uint8_t major_opcode;
03495 uint8_t pad0;
03496 uint16_t length;
03497 xcb_colormap_t cmap;
03498 uint16_t name_len;
03499 } xcb_lookup_color_request_t;
03500
03504 typedef struct xcb_lookup_color_reply_t {
03505 uint8_t response_type;
03506 uint8_t pad0;
03507 uint16_t sequence;
03508 uint32_t length;
03509 uint16_t exact_red;
03510 uint16_t exact_green;
03511 uint16_t exact_blue;
03512 uint16_t visual_red;
03513 uint16_t visual_green;
03514 uint16_t visual_blue;
03515 } xcb_lookup_color_reply_t;
03516
03518 #define XCB_CREATE_CURSOR 93
03519
03523 typedef struct xcb_create_cursor_request_t {
03524 uint8_t major_opcode;
03525 uint8_t pad0;
03526 uint16_t length;
03527 xcb_cursor_t cid;
03528 xcb_pixmap_t source;
03529 xcb_pixmap_t mask;
03530 uint16_t fore_red;
03531 uint16_t fore_green;
03532 uint16_t fore_blue;
03533 uint16_t back_red;
03534 uint16_t back_green;
03535 uint16_t back_blue;
03536 uint16_t x;
03537 uint16_t y;
03538 } xcb_create_cursor_request_t;
03539
03541 #define XCB_CREATE_GLYPH_CURSOR 94
03542
03546 typedef struct xcb_create_glyph_cursor_request_t {
03547 uint8_t major_opcode;
03548 uint8_t pad0;
03549 uint16_t length;
03550 xcb_cursor_t cid;
03551 xcb_font_t source_font;
03552 xcb_font_t mask_font;
03553 uint16_t source_char;
03554 uint16_t mask_char;
03555 uint16_t fore_red;
03556 uint16_t fore_green;
03557 uint16_t fore_blue;
03558 uint16_t back_red;
03559 uint16_t back_green;
03560 uint16_t back_blue;
03561 } xcb_create_glyph_cursor_request_t;
03562
03564 #define XCB_FREE_CURSOR 95
03565
03569 typedef struct xcb_free_cursor_request_t {
03570 uint8_t major_opcode;
03571 uint8_t pad0;
03572 uint16_t length;
03573 xcb_cursor_t cursor;
03574 } xcb_free_cursor_request_t;
03575
03577 #define XCB_RECOLOR_CURSOR 96
03578
03582 typedef struct xcb_recolor_cursor_request_t {
03583 uint8_t major_opcode;
03584 uint8_t pad0;
03585 uint16_t length;
03586 xcb_cursor_t cursor;
03587 uint16_t fore_red;
03588 uint16_t fore_green;
03589 uint16_t fore_blue;
03590 uint16_t back_red;
03591 uint16_t back_green;
03592 uint16_t back_blue;
03593 } xcb_recolor_cursor_request_t;
03594
03595 typedef enum xcb_query_shape_of_t {
03596 XCB_QUERY_SHAPE_OF_LARGEST_CURSOR = 0,
03597 XCB_QUERY_SHAPE_OF_FASTEST_TILE = 1,
03598 XCB_QUERY_SHAPE_OF_FASTEST_STIPPLE = 2
03599 } xcb_query_shape_of_t;
03600
03604 typedef struct xcb_query_best_size_cookie_t {
03605 unsigned int sequence;
03606 } xcb_query_best_size_cookie_t;
03607
03609 #define XCB_QUERY_BEST_SIZE 97
03610
03614 typedef struct xcb_query_best_size_request_t {
03615 uint8_t major_opcode;
03616 uint8_t _class;
03617 uint16_t length;
03618 xcb_drawable_t drawable;
03619 uint16_t width;
03620 uint16_t height;
03621 } xcb_query_best_size_request_t;
03622
03626 typedef struct xcb_query_best_size_reply_t {
03627 uint8_t response_type;
03628 uint8_t pad0;
03629 uint16_t sequence;
03630 uint32_t length;
03631 uint16_t width;
03632 uint16_t height;
03633 } xcb_query_best_size_reply_t;
03634
03638 typedef struct xcb_query_extension_cookie_t {
03639 unsigned int sequence;
03640 } xcb_query_extension_cookie_t;
03641
03643 #define XCB_QUERY_EXTENSION 98
03644
03648 typedef struct xcb_query_extension_request_t {
03649 uint8_t major_opcode;
03650 uint8_t pad0;
03651 uint16_t length;
03652 uint16_t name_len;
03653 } xcb_query_extension_request_t;
03654
03658 typedef struct xcb_query_extension_reply_t {
03659 uint8_t response_type;
03660 uint8_t pad0;
03661 uint16_t sequence;
03662 uint32_t length;
03663 uint8_t present;
03664 uint8_t major_opcode;
03665 uint8_t first_event;
03666 uint8_t first_error;
03667 } xcb_query_extension_reply_t;
03668
03672 typedef struct xcb_list_extensions_cookie_t {
03673 unsigned int sequence;
03674 } xcb_list_extensions_cookie_t;
03675
03677 #define XCB_LIST_EXTENSIONS 99
03678
03682 typedef struct xcb_list_extensions_request_t {
03683 uint8_t major_opcode;
03684 uint8_t pad0;
03685 uint16_t length;
03686 } xcb_list_extensions_request_t;
03687
03691 typedef struct xcb_list_extensions_reply_t {
03692 uint8_t response_type;
03693 uint8_t names_len;
03694 uint16_t sequence;
03695 uint32_t length;
03696 uint8_t pad0[24];
03697 } xcb_list_extensions_reply_t;
03698
03700 #define XCB_CHANGE_KEYBOARD_MAPPING 100
03701
03705 typedef struct xcb_change_keyboard_mapping_request_t {
03706 uint8_t major_opcode;
03707 uint8_t keycode_count;
03708 uint16_t length;
03709 xcb_keycode_t first_keycode;
03710 uint8_t keysyms_per_keycode;
03711 } xcb_change_keyboard_mapping_request_t;
03712
03716 typedef struct xcb_get_keyboard_mapping_cookie_t {
03717 unsigned int sequence;
03718 } xcb_get_keyboard_mapping_cookie_t;
03719
03721 #define XCB_GET_KEYBOARD_MAPPING 101
03722
03726 typedef struct xcb_get_keyboard_mapping_request_t {
03727 uint8_t major_opcode;
03728 uint8_t pad0;
03729 uint16_t length;
03730 xcb_keycode_t first_keycode;
03731 uint8_t count;
03732 } xcb_get_keyboard_mapping_request_t;
03733
03737 typedef struct xcb_get_keyboard_mapping_reply_t {
03738 uint8_t response_type;
03739 uint8_t keysyms_per_keycode;
03740 uint16_t sequence;
03741 uint32_t length;
03742 uint8_t pad0[24];
03743 } xcb_get_keyboard_mapping_reply_t;
03744
03745 typedef enum xcb_kb_t {
03746 XCB_KB_KEY_CLICK_PERCENT = (1 << 0),
03747 XCB_KB_BELL_PERCENT = (1 << 1),
03748 XCB_KB_BELL_PITCH = (1 << 2),
03749 XCB_KB_BELL_DURATION = (1 << 3),
03750 XCB_KB_LED = (1 << 4),
03751 XCB_KB_LED_MODE = (1 << 5),
03752 XCB_KB_KEY = (1 << 6),
03753 XCB_KB_AUTO_REPEAT_MODE = (1 << 7)
03754 } xcb_kb_t;
03755
03756 typedef enum xcb_led_mode_t {
03757 XCB_LED_MODE_OFF = 0,
03758 XCB_LED_MODE_ON = 1
03759 } xcb_led_mode_t;
03760
03761 typedef enum xcb_auto_repeat_mode_t {
03762 XCB_AUTO_REPEAT_MODE_OFF = 0,
03763 XCB_AUTO_REPEAT_MODE_ON = 1,
03764 XCB_AUTO_REPEAT_MODE_DEFAULT = 2
03765 } xcb_auto_repeat_mode_t;
03766
03768 #define XCB_CHANGE_KEYBOARD_CONTROL 102
03769
03773 typedef struct xcb_change_keyboard_control_request_t {
03774 uint8_t major_opcode;
03775 uint8_t pad0;
03776 uint16_t length;
03777 uint32_t value_mask;
03778 } xcb_change_keyboard_control_request_t;
03779
03783 typedef struct xcb_get_keyboard_control_cookie_t {
03784 unsigned int sequence;
03785 } xcb_get_keyboard_control_cookie_t;
03786
03788 #define XCB_GET_KEYBOARD_CONTROL 103
03789
03793 typedef struct xcb_get_keyboard_control_request_t {
03794 uint8_t major_opcode;
03795 uint8_t pad0;
03796 uint16_t length;
03797 } xcb_get_keyboard_control_request_t;
03798
03802 typedef struct xcb_get_keyboard_control_reply_t {
03803 uint8_t response_type;
03804 uint8_t global_auto_repeat;
03805 uint16_t sequence;
03806 uint32_t length;
03807 uint32_t led_mask;
03808 uint8_t key_click_percent;
03809 uint8_t bell_percent;
03810 uint16_t bell_pitch;
03811 uint16_t bell_duration;
03812 uint8_t pad0[2];
03813 uint8_t auto_repeats[32];
03814 } xcb_get_keyboard_control_reply_t;
03815
03817 #define XCB_BELL 104
03818
03822 typedef struct xcb_bell_request_t {
03823 uint8_t major_opcode;
03824 int8_t percent;
03825 uint16_t length;
03826 } xcb_bell_request_t;
03827
03829 #define XCB_CHANGE_POINTER_CONTROL 105
03830
03834 typedef struct xcb_change_pointer_control_request_t {
03835 uint8_t major_opcode;
03836 uint8_t pad0;
03837 uint16_t length;
03838 int16_t acceleration_numerator;
03839 int16_t acceleration_denominator;
03840 int16_t threshold;
03841 uint8_t do_acceleration;
03842 uint8_t do_threshold;
03843 } xcb_change_pointer_control_request_t;
03844
03848 typedef struct xcb_get_pointer_control_cookie_t {
03849 unsigned int sequence;
03850 } xcb_get_pointer_control_cookie_t;
03851
03853 #define XCB_GET_POINTER_CONTROL 106
03854
03858 typedef struct xcb_get_pointer_control_request_t {
03859 uint8_t major_opcode;
03860 uint8_t pad0;
03861 uint16_t length;
03862 } xcb_get_pointer_control_request_t;
03863
03867 typedef struct xcb_get_pointer_control_reply_t {
03868 uint8_t response_type;
03869 uint8_t pad0;
03870 uint16_t sequence;
03871 uint32_t length;
03872 uint16_t acceleration_numerator;
03873 uint16_t acceleration_denominator;
03874 uint16_t threshold;
03875 } xcb_get_pointer_control_reply_t;
03876
03877 typedef enum xcb_blanking_t {
03878 XCB_BLANKING_NOT_PREFERRED = 0,
03879 XCB_BLANKING_PREFERRED = 1,
03880 XCB_BLANKING_DEFAULT = 2
03881 } xcb_blanking_t;
03882
03883 typedef enum xcb_exposures_t {
03884 XCB_EXPOSURES_NOT_ALLOWED = 0,
03885 XCB_EXPOSURES_ALLOWED = 1,
03886 XCB_EXPOSURES_DEFAULT = 2
03887 } xcb_exposures_t;
03888
03890 #define XCB_SET_SCREEN_SAVER 107
03891
03895 typedef struct xcb_set_screen_saver_request_t {
03896 uint8_t major_opcode;
03897 uint8_t pad0;
03898 uint16_t length;
03899 int16_t timeout;
03900 int16_t interval;
03901 uint8_t prefer_blanking;
03902 uint8_t allow_exposures;
03903 } xcb_set_screen_saver_request_t;
03904
03908 typedef struct xcb_get_screen_saver_cookie_t {
03909 unsigned int sequence;
03910 } xcb_get_screen_saver_cookie_t;
03911
03913 #define XCB_GET_SCREEN_SAVER 108
03914
03918 typedef struct xcb_get_screen_saver_request_t {
03919 uint8_t major_opcode;
03920 uint8_t pad0;
03921 uint16_t length;
03922 } xcb_get_screen_saver_request_t;
03923
03927 typedef struct xcb_get_screen_saver_reply_t {
03928 uint8_t response_type;
03929 uint8_t pad0;
03930 uint16_t sequence;
03931 uint32_t length;
03932 uint16_t timeout;
03933 uint16_t interval;
03934 uint8_t prefer_blanking;
03935 uint8_t allow_exposures;
03936 } xcb_get_screen_saver_reply_t;
03937
03938 typedef enum xcb_host_mode_t {
03939 XCB_HOST_MODE_INSERT = 0,
03940 XCB_HOST_MODE_DELETE = 1
03941 } xcb_host_mode_t;
03942
03943 typedef enum xcb_family_t {
03944 XCB_FAMILY_INTERNET = 0,
03945 XCB_FAMILY_DECNET = 1,
03946 XCB_FAMILY_CHAOS = 2,
03947 XCB_FAMILY_SERVER_INTERPRETED = 5,
03948 XCB_FAMILY_INTERNET_6 = 6
03949 } xcb_family_t;
03950
03952 #define XCB_CHANGE_HOSTS 109
03953
03957 typedef struct xcb_change_hosts_request_t {
03958 uint8_t major_opcode;
03959 uint8_t mode;
03960 uint16_t length;
03961 uint8_t family;
03962 uint8_t pad0;
03963 uint16_t address_len;
03964 } xcb_change_hosts_request_t;
03965
03969 typedef struct xcb_host_t {
03970 uint8_t family;
03971 uint8_t pad0;
03972 uint16_t address_len;
03973 } xcb_host_t;
03974
03978 typedef struct xcb_host_iterator_t {
03979 xcb_host_t *data;
03980 int rem;
03981 int index;
03982 } xcb_host_iterator_t;
03983
03987 typedef struct xcb_list_hosts_cookie_t {
03988 unsigned int sequence;
03989 } xcb_list_hosts_cookie_t;
03990
03992 #define XCB_LIST_HOSTS 110
03993
03997 typedef struct xcb_list_hosts_request_t {
03998 uint8_t major_opcode;
03999 uint8_t pad0;
04000 uint16_t length;
04001 } xcb_list_hosts_request_t;
04002
04006 typedef struct xcb_list_hosts_reply_t {
04007 uint8_t response_type;
04008 uint8_t mode;
04009 uint16_t sequence;
04010 uint32_t length;
04011 uint16_t hosts_len;
04012 uint8_t pad0[22];
04013 } xcb_list_hosts_reply_t;
04014
04015 typedef enum xcb_access_control_t {
04016 XCB_ACCESS_CONTROL_DISABLE = 0,
04017 XCB_ACCESS_CONTROL_ENABLE = 1
04018 } xcb_access_control_t;
04019
04021 #define XCB_SET_ACCESS_CONTROL 111
04022
04026 typedef struct xcb_set_access_control_request_t {
04027 uint8_t major_opcode;
04028 uint8_t mode;
04029 uint16_t length;
04030 } xcb_set_access_control_request_t;
04031
04032 typedef enum xcb_close_down_t {
04033 XCB_CLOSE_DOWN_DESTROY_ALL = 0,
04034 XCB_CLOSE_DOWN_RETAIN_PERMANENT = 1,
04035 XCB_CLOSE_DOWN_RETAIN_TEMPORARY = 2
04036 } xcb_close_down_t;
04037
04039 #define XCB_SET_CLOSE_DOWN_MODE 112
04040
04044 typedef struct xcb_set_close_down_mode_request_t {
04045 uint8_t major_opcode;
04046 uint8_t mode;
04047 uint16_t length;
04048 } xcb_set_close_down_mode_request_t;
04049
04050 typedef enum xcb_kill_t {
04051 XCB_KILL_ALL_TEMPORARY = 0
04052 } xcb_kill_t;
04053
04055 #define XCB_KILL_CLIENT 113
04056
04060 typedef struct xcb_kill_client_request_t {
04061 uint8_t major_opcode;
04062 uint8_t pad0;
04063 uint16_t length;
04064 uint32_t resource;
04065 } xcb_kill_client_request_t;
04066
04068 #define XCB_ROTATE_PROPERTIES 114
04069
04073 typedef struct xcb_rotate_properties_request_t {
04074 uint8_t major_opcode;
04075 xcb_window_t window;
04076 uint16_t length;
04077 uint16_t atoms_len;
04078 int16_t delta;
04079 } xcb_rotate_properties_request_t;
04080
04081 typedef enum xcb_screen_saver_t {
04082 XCB_SCREEN_SAVER_RESET = 0,
04083 XCB_SCREEN_SAVER_ACTIVE = 1
04084 } xcb_screen_saver_t;
04085
04087 #define XCB_FORCE_SCREEN_SAVER 115
04088
04092 typedef struct xcb_force_screen_saver_request_t {
04093 uint8_t major_opcode;
04094 uint8_t mode;
04095 uint16_t length;
04096 } xcb_force_screen_saver_request_t;
04097
04098 typedef enum xcb_mapping_status_t {
04099 XCB_MAPPING_STATUS_SUCCESS = 0,
04100 XCB_MAPPING_STATUS_BUSY = 1,
04101 XCB_MAPPING_STATUS_FAILURE = 2
04102 } xcb_mapping_status_t;
04103
04107 typedef struct xcb_set_pointer_mapping_cookie_t {
04108 unsigned int sequence;
04109 } xcb_set_pointer_mapping_cookie_t;
04110
04112 #define XCB_SET_POINTER_MAPPING 116
04113
04117 typedef struct xcb_set_pointer_mapping_request_t {
04118 uint8_t major_opcode;
04119 uint8_t map_len;
04120 uint16_t length;
04121 } xcb_set_pointer_mapping_request_t;
04122
04126 typedef struct xcb_set_pointer_mapping_reply_t {
04127 uint8_t response_type;
04128 uint8_t status;
04129 uint16_t sequence;
04130 uint32_t length;
04131 } xcb_set_pointer_mapping_reply_t;
04132
04136 typedef struct xcb_get_pointer_mapping_cookie_t {
04137 unsigned int sequence;
04138 } xcb_get_pointer_mapping_cookie_t;
04139
04141 #define XCB_GET_POINTER_MAPPING 117
04142
04146 typedef struct xcb_get_pointer_mapping_request_t {
04147 uint8_t major_opcode;
04148 uint8_t pad0;
04149 uint16_t length;
04150 } xcb_get_pointer_mapping_request_t;
04151
04155 typedef struct xcb_get_pointer_mapping_reply_t {
04156 uint8_t response_type;
04157 uint8_t map_len;
04158 uint16_t sequence;
04159 uint32_t length;
04160 uint8_t pad0[24];
04161 } xcb_get_pointer_mapping_reply_t;
04162
04163 typedef enum xcb_map_index_t {
04164 XCB_MAP_INDEX_SHIFT = 0,
04165 XCB_MAP_INDEX_LOCK = 1,
04166 XCB_MAP_INDEX_CONTROL = 2,
04167 XCB_MAP_INDEX_1 = 3,
04168 XCB_MAP_INDEX_2 = 4,
04169 XCB_MAP_INDEX_3 = 5,
04170 XCB_MAP_INDEX_4 = 6,
04171 XCB_MAP_INDEX_5 = 7
04172 } xcb_map_index_t;
04173
04177 typedef struct xcb_set_modifier_mapping_cookie_t {
04178 unsigned int sequence;
04179 } xcb_set_modifier_mapping_cookie_t;
04180
04182 #define XCB_SET_MODIFIER_MAPPING 118
04183
04187 typedef struct xcb_set_modifier_mapping_request_t {
04188 uint8_t major_opcode;
04189 uint8_t keycodes_per_modifier;
04190 uint16_t length;
04191 } xcb_set_modifier_mapping_request_t;
04192
04196 typedef struct xcb_set_modifier_mapping_reply_t {
04197 uint8_t response_type;
04198 uint8_t status;
04199 uint16_t sequence;
04200 uint32_t length;
04201 } xcb_set_modifier_mapping_reply_t;
04202
04206 typedef struct xcb_get_modifier_mapping_cookie_t {
04207 unsigned int sequence;
04208 } xcb_get_modifier_mapping_cookie_t;
04209
04211 #define XCB_GET_MODIFIER_MAPPING 119
04212
04216 typedef struct xcb_get_modifier_mapping_request_t {
04217 uint8_t major_opcode;
04218 uint8_t pad0;
04219 uint16_t length;
04220 } xcb_get_modifier_mapping_request_t;
04221
04225 typedef struct xcb_get_modifier_mapping_reply_t {
04226 uint8_t response_type;
04227 uint8_t keycodes_per_modifier;
04228 uint16_t sequence;
04229 uint32_t length;
04230 uint8_t pad0[24];
04231 } xcb_get_modifier_mapping_reply_t;
04232
04234 #define XCB_NO_OPERATION 127
04235
04239 typedef struct xcb_no_operation_request_t {
04240 uint8_t major_opcode;
04241 uint8_t pad0;
04242 uint16_t length;
04243 } xcb_no_operation_request_t;
04244
04254
04255
04256
04257
04258
04259
04260
04261
04262
04263 void
04264 xcb_char2b_next (xcb_char2b_iterator_t *i );
04265
04276
04277
04278
04279
04280
04281
04282
04283
04284
04285 xcb_generic_iterator_t
04286 xcb_char2b_end (xcb_char2b_iterator_t i );
04287
04297
04298
04299
04300
04301
04302
04303
04304
04305
04306 void
04307 xcb_window_next (xcb_window_iterator_t *i );
04308
04319
04320
04321
04322
04323
04324
04325
04326
04327
04328 xcb_generic_iterator_t
04329 xcb_window_end (xcb_window_iterator_t i );
04330
04340
04341
04342
04343
04344
04345
04346
04347
04348
04349 void
04350 xcb_pixmap_next (xcb_pixmap_iterator_t *i );
04351
04362
04363
04364
04365
04366
04367
04368
04369
04370
04371 xcb_generic_iterator_t
04372 xcb_pixmap_end (xcb_pixmap_iterator_t i );
04373
04383
04384
04385
04386
04387
04388
04389
04390
04391
04392 void
04393 xcb_cursor_next (xcb_cursor_iterator_t *i );
04394
04405
04406
04407
04408
04409
04410
04411
04412
04413
04414 xcb_generic_iterator_t
04415 xcb_cursor_end (xcb_cursor_iterator_t i );
04416
04426
04427
04428
04429
04430
04431
04432
04433
04434
04435 void
04436 xcb_font_next (xcb_font_iterator_t *i );
04437
04448
04449
04450
04451
04452
04453
04454
04455
04456
04457 xcb_generic_iterator_t
04458 xcb_font_end (xcb_font_iterator_t i );
04459
04469
04470
04471
04472
04473
04474
04475
04476
04477
04478 void
04479 xcb_gcontext_next (xcb_gcontext_iterator_t *i );
04480
04491
04492
04493
04494
04495
04496
04497
04498
04499
04500 xcb_generic_iterator_t
04501 xcb_gcontext_end (xcb_gcontext_iterator_t i );
04502
04512
04513
04514
04515
04516
04517
04518
04519
04520
04521 void
04522 xcb_colormap_next (xcb_colormap_iterator_t *i );
04523
04534
04535
04536
04537
04538
04539
04540
04541
04542
04543 xcb_generic_iterator_t
04544 xcb_colormap_end (xcb_colormap_iterator_t i );
04545
04555
04556
04557
04558
04559
04560
04561
04562
04563
04564 void
04565 xcb_atom_next (xcb_atom_iterator_t *i );
04566
04577
04578
04579
04580
04581
04582
04583
04584
04585
04586 xcb_generic_iterator_t
04587 xcb_atom_end (xcb_atom_iterator_t i );
04588
04598
04599
04600
04601
04602
04603
04604
04605
04606
04607 void
04608 xcb_drawable_next (xcb_drawable_iterator_t *i );
04609
04620
04621
04622
04623
04624
04625
04626
04627
04628
04629 xcb_generic_iterator_t
04630 xcb_drawable_end (xcb_drawable_iterator_t i );
04631
04641
04642
04643
04644
04645
04646
04647
04648
04649
04650 void
04651 xcb_fontable_next (xcb_fontable_iterator_t *i );
04652
04663
04664
04665
04666
04667
04668
04669
04670
04671
04672 xcb_generic_iterator_t
04673 xcb_fontable_end (xcb_fontable_iterator_t i );
04674
04684
04685
04686
04687
04688
04689
04690
04691
04692
04693 void
04694 xcb_visualid_next (xcb_visualid_iterator_t *i );
04695
04706
04707
04708
04709
04710
04711
04712
04713
04714
04715 xcb_generic_iterator_t
04716 xcb_visualid_end (xcb_visualid_iterator_t i );
04717
04727
04728
04729
04730
04731
04732
04733
04734
04735
04736 void
04737 xcb_timestamp_next (xcb_timestamp_iterator_t *i );
04738
04749
04750
04751
04752
04753
04754
04755
04756
04757
04758 xcb_generic_iterator_t
04759 xcb_timestamp_end (xcb_timestamp_iterator_t i );
04760
04770
04771
04772
04773
04774
04775
04776
04777
04778
04779 void
04780 xcb_keysym_next (xcb_keysym_iterator_t *i );
04781
04792
04793
04794
04795
04796
04797
04798
04799
04800
04801 xcb_generic_iterator_t
04802 xcb_keysym_end (xcb_keysym_iterator_t i );
04803
04813
04814
04815
04816
04817
04818
04819
04820
04821
04822 void
04823 xcb_keycode_next (xcb_keycode_iterator_t *i );
04824
04835
04836
04837
04838
04839
04840
04841
04842
04843
04844 xcb_generic_iterator_t
04845 xcb_keycode_end (xcb_keycode_iterator_t i );
04846
04856
04857
04858
04859
04860
04861
04862
04863
04864
04865 void
04866 xcb_button_next (xcb_button_iterator_t *i );
04867
04878
04879
04880
04881
04882
04883
04884
04885
04886
04887 xcb_generic_iterator_t
04888 xcb_button_end (xcb_button_iterator_t i );
04889
04899
04900
04901
04902
04903
04904
04905
04906
04907
04908 void
04909 xcb_point_next (xcb_point_iterator_t *i );
04910
04921
04922
04923
04924
04925
04926
04927
04928
04929
04930 xcb_generic_iterator_t
04931 xcb_point_end (xcb_point_iterator_t i );
04932
04942
04943
04944
04945
04946
04947
04948
04949
04950
04951 void
04952 xcb_rectangle_next (xcb_rectangle_iterator_t *i );
04953
04964
04965
04966
04967
04968
04969
04970
04971
04972
04973 xcb_generic_iterator_t
04974 xcb_rectangle_end (xcb_rectangle_iterator_t i );
04975
04985
04986
04987
04988
04989
04990
04991
04992
04993
04994 void
04995 xcb_arc_next (xcb_arc_iterator_t *i );
04996
05007
05008
05009
05010
05011
05012
05013
05014
05015
05016 xcb_generic_iterator_t
05017 xcb_arc_end (xcb_arc_iterator_t i );
05018
05028
05029
05030
05031
05032
05033
05034
05035
05036
05037 void
05038 xcb_format_next (xcb_format_iterator_t *i );
05039
05050
05051
05052
05053
05054
05055
05056
05057
05058
05059 xcb_generic_iterator_t
05060 xcb_format_end (xcb_format_iterator_t i );
05061
05071
05072
05073
05074
05075
05076
05077
05078
05079
05080 void
05081 xcb_visualtype_next (xcb_visualtype_iterator_t *i );
05082
05093
05094
05095
05096
05097
05098
05099
05100
05101
05102 xcb_generic_iterator_t
05103 xcb_visualtype_end (xcb_visualtype_iterator_t i );
05104
05105
05106
05107
05108
05109
05110
05111
05112
05113
05114
05115 xcb_visualtype_t *
05116 xcb_depth_visuals (const xcb_depth_t *R );
05117
05118
05119
05120
05121
05122
05123
05124
05125
05126
05127
05128 int
05129 xcb_depth_visuals_length (const xcb_depth_t *R );
05130
05131
05132
05133
05134
05135
05136
05137
05138
05139
05140
05141 xcb_visualtype_iterator_t
05142 xcb_depth_visuals_iterator (const xcb_depth_t *R );
05143
05153
05154
05155
05156
05157
05158
05159
05160
05161
05162 void
05163 xcb_depth_next (xcb_depth_iterator_t *i );
05164
05175
05176
05177
05178
05179
05180
05181
05182
05183
05184 xcb_generic_iterator_t
05185 xcb_depth_end (xcb_depth_iterator_t i );
05186
05187
05188
05189
05190
05191
05192
05193
05194
05195
05196
05197 int
05198 xcb_screen_allowed_depths_length (const xcb_screen_t *R );
05199
05200
05201
05202
05203
05204
05205
05206
05207
05208
05209
05210 xcb_depth_iterator_t
05211 xcb_screen_allowed_depths_iterator (const xcb_screen_t *R );
05212
05222
05223
05224
05225
05226
05227
05228
05229
05230
05231 void
05232 xcb_screen_next (xcb_screen_iterator_t *i );
05233
05244
05245
05246
05247
05248
05249
05250
05251
05252
05253 xcb_generic_iterator_t
05254 xcb_screen_end (xcb_screen_iterator_t i );
05255
05256
05257
05258
05259
05260
05261
05262
05263
05264
05265
05266 char *
05267 xcb_setup_request_authorization_protocol_name (const xcb_setup_request_t *R );
05268
05269
05270
05271
05272
05273
05274
05275
05276
05277
05278
05279 int
05280 xcb_setup_request_authorization_protocol_name_length (const xcb_setup_request_t *R );
05281
05282
05283
05284
05285
05286
05287
05288
05289
05290
05291
05292 xcb_generic_iterator_t
05293 xcb_setup_request_authorization_protocol_name_end (const xcb_setup_request_t *R );
05294
05295
05296
05297
05298
05299
05300
05301
05302
05303
05304
05305 char *
05306 xcb_setup_request_authorization_protocol_data (const xcb_setup_request_t *R );
05307
05308
05309
05310
05311
05312
05313
05314
05315
05316
05317
05318 int
05319 xcb_setup_request_authorization_protocol_data_length (const xcb_setup_request_t *R );
05320
05321
05322
05323
05324
05325
05326
05327
05328
05329
05330
05331 xcb_generic_iterator_t
05332 xcb_setup_request_authorization_protocol_data_end (const xcb_setup_request_t *R );
05333
05343
05344
05345
05346
05347
05348
05349
05350
05351
05352 void
05353 xcb_setup_request_next (xcb_setup_request_iterator_t *i );
05354
05365
05366
05367
05368
05369
05370
05371
05372
05373
05374 xcb_generic_iterator_t
05375 xcb_setup_request_end (xcb_setup_request_iterator_t i );
05376
05377
05378
05379
05380
05381
05382
05383
05384
05385
05386
05387 char *
05388 xcb_setup_failed_reason (const xcb_setup_failed_t *R );
05389
05390
05391
05392
05393
05394
05395
05396
05397
05398
05399
05400 int
05401 xcb_setup_failed_reason_length (const xcb_setup_failed_t *R );
05402
05403
05404
05405
05406
05407
05408
05409
05410
05411
05412
05413 xcb_generic_iterator_t
05414 xcb_setup_failed_reason_end (const xcb_setup_failed_t *R );
05415
05425
05426
05427
05428
05429
05430
05431
05432
05433
05434 void
05435 xcb_setup_failed_next (xcb_setup_failed_iterator_t *i );
05436
05447
05448
05449
05450
05451
05452
05453
05454
05455
05456 xcb_generic_iterator_t
05457 xcb_setup_failed_end (xcb_setup_failed_iterator_t i );
05458
05459
05460
05461
05462
05463
05464
05465
05466
05467
05468
05469 char *
05470 xcb_setup_authenticate_reason (const xcb_setup_authenticate_t *R );
05471
05472
05473
05474
05475
05476
05477
05478
05479
05480
05481
05482 int
05483 xcb_setup_authenticate_reason_length (const xcb_setup_authenticate_t *R );
05484
05485
05486
05487
05488
05489
05490
05491
05492
05493
05494
05495 xcb_generic_iterator_t
05496 xcb_setup_authenticate_reason_end (const xcb_setup_authenticate_t *R );
05497
05507
05508
05509
05510
05511
05512
05513
05514
05515
05516 void
05517 xcb_setup_authenticate_next (xcb_setup_authenticate_iterator_t *i );
05518
05529
05530
05531
05532
05533
05534
05535
05536
05537
05538 xcb_generic_iterator_t
05539 xcb_setup_authenticate_end (xcb_setup_authenticate_iterator_t i );
05540
05541
05542
05543
05544
05545
05546
05547
05548
05549
05550
05551 char *
05552 xcb_setup_vendor (const xcb_setup_t *R );
05553
05554
05555
05556
05557
05558
05559
05560
05561
05562
05563
05564 int
05565 xcb_setup_vendor_length (const xcb_setup_t *R );
05566
05567
05568
05569
05570
05571
05572
05573
05574
05575
05576
05577 xcb_generic_iterator_t
05578 xcb_setup_vendor_end (const xcb_setup_t *R );
05579
05580
05581
05582
05583
05584
05585
05586
05587
05588
05589
05590 xcb_format_t *
05591 xcb_setup_pixmap_formats (const xcb_setup_t *R );
05592
05593
05594
05595
05596
05597
05598
05599
05600
05601
05602
05603 int
05604 xcb_setup_pixmap_formats_length (const xcb_setup_t *R );
05605
05606
05607
05608
05609
05610
05611
05612
05613
05614
05615
05616 xcb_format_iterator_t
05617 xcb_setup_pixmap_formats_iterator (const xcb_setup_t *R );
05618
05619
05620
05621
05622
05623
05624
05625
05626
05627
05628
05629 int
05630 xcb_setup_roots_length (const xcb_setup_t *R );
05631
05632
05633
05634
05635
05636
05637
05638
05639
05640
05641
05642 xcb_screen_iterator_t
05643 xcb_setup_roots_iterator (const xcb_setup_t *R );
05644
05654
05655
05656
05657
05658
05659
05660
05661
05662
05663 void
05664 xcb_setup_next (xcb_setup_iterator_t *i );
05665
05676
05677
05678
05679
05680
05681
05682
05683
05684
05685 xcb_generic_iterator_t
05686 xcb_setup_end (xcb_setup_iterator_t i );
05687
05697
05698
05699
05700
05701
05702
05703
05704
05705
05706 void
05707 xcb_client_message_data_next (xcb_client_message_data_iterator_t *i );
05708
05719
05720
05721
05722
05723
05724
05725
05726
05727
05728 xcb_generic_iterator_t
05729 xcb_client_message_data_end (xcb_client_message_data_iterator_t i );
05730
05743
05744
05745
05746
05747
05748
05749
05750
05751
05752
05753
05754
05755
05756
05757
05758
05759
05760
05761
05762
05763
05764 xcb_void_cookie_t
05765 xcb_create_window_checked (xcb_connection_t *c ,
05766 uint8_t depth ,
05767 xcb_window_t wid ,
05768 xcb_window_t parent ,
05769 int16_t x ,
05770 int16_t y ,
05771 uint16_t width ,
05772 uint16_t height ,
05773 uint16_t border_width ,
05774 uint16_t _class ,
05775 xcb_visualid_t visual ,
05776 uint32_t value_mask ,
05777 const uint32_t *value_list );
05778
05788
05789
05790
05791
05792
05793
05794
05795
05796
05797
05798
05799
05800
05801
05802
05803
05804
05805
05806
05807
05808
05809 xcb_void_cookie_t
05810 xcb_create_window (xcb_connection_t *c ,
05811 uint8_t depth ,
05812 xcb_window_t wid ,
05813 xcb_window_t parent ,
05814 int16_t x ,
05815 int16_t y ,
05816 uint16_t width ,
05817 uint16_t height ,
05818 uint16_t border_width ,
05819 uint16_t _class ,
05820 xcb_visualid_t visual ,
05821 uint32_t value_mask ,
05822 const uint32_t *value_list );
05823
05836
05837
05838
05839
05840
05841
05842
05843
05844
05845
05846
05847
05848 xcb_void_cookie_t
05849 xcb_change_window_attributes_checked (xcb_connection_t *c ,
05850 xcb_window_t window ,
05851 uint32_t value_mask ,
05852 const uint32_t *value_list );
05853
05863
05864
05865
05866
05867
05868
05869
05870
05871
05872
05873
05874
05875 xcb_void_cookie_t
05876 xcb_change_window_attributes (xcb_connection_t *c ,
05877 xcb_window_t window ,
05878 uint32_t value_mask ,
05879 const uint32_t *value_list );
05880
05890
05891
05892
05893
05894
05895
05896
05897
05898
05899
05900 xcb_get_window_attributes_cookie_t
05901 xcb_get_window_attributes (xcb_connection_t *c ,
05902 xcb_window_t window );
05903
05916
05917
05918
05919
05920
05921
05922
05923
05924
05925
05926 xcb_get_window_attributes_cookie_t
05927 xcb_get_window_attributes_unchecked (xcb_connection_t *c ,
05928 xcb_window_t window );
05929
05945
05946
05947
05948
05949
05950
05951
05952
05953
05954
05955
05956 xcb_get_window_attributes_reply_t *
05957 xcb_get_window_attributes_reply (xcb_connection_t *c ,
05958 xcb_get_window_attributes_cookie_t cookie ,
05959 xcb_generic_error_t **e );
05960
05973
05974
05975
05976
05977
05978
05979
05980
05981
05982
05983 xcb_void_cookie_t
05984 xcb_destroy_window_checked (xcb_connection_t *c ,
05985 xcb_window_t window );
05986
05996
05997
05998
05999
06000
06001
06002
06003
06004
06005
06006 xcb_void_cookie_t
06007 xcb_destroy_window (xcb_connection_t *c ,
06008 xcb_window_t window );
06009
06022
06023
06024
06025
06026
06027
06028
06029
06030
06031
06032 xcb_void_cookie_t
06033 xcb_destroy_subwindows_checked (xcb_connection_t *c ,
06034 xcb_window_t window );
06035
06045
06046
06047
06048
06049
06050
06051
06052
06053
06054
06055 xcb_void_cookie_t
06056 xcb_destroy_subwindows (xcb_connection_t *c ,
06057 xcb_window_t window );
06058
06071
06072
06073
06074
06075
06076
06077
06078
06079
06080
06081
06082 xcb_void_cookie_t
06083 xcb_change_save_set_checked (xcb_connection_t *c ,
06084 uint8_t mode ,
06085 xcb_window_t window );
06086
06096
06097
06098
06099
06100
06101
06102
06103
06104
06105
06106
06107 xcb_void_cookie_t
06108 xcb_change_save_set (xcb_connection_t *c ,
06109 uint8_t mode ,
06110 xcb_window_t window );
06111
06124
06125
06126
06127
06128
06129
06130
06131
06132
06133
06134
06135
06136
06137 xcb_void_cookie_t
06138 xcb_reparent_window_checked (xcb_connection_t *c ,
06139 xcb_window_t window ,
06140 xcb_window_t parent ,
06141 int16_t x ,
06142 int16_t y );
06143
06153
06154
06155
06156
06157
06158
06159
06160
06161
06162
06163
06164
06165
06166 xcb_void_cookie_t
06167 xcb_reparent_window (xcb_connection_t *c ,
06168 xcb_window_t window ,
06169 xcb_window_t parent ,
06170 int16_t x ,
06171 int16_t y );
06172
06185
06186
06187
06188
06189
06190
06191
06192
06193
06194
06195 xcb_void_cookie_t
06196 xcb_map_window_checked (xcb_connection_t *c ,
06197 xcb_window_t window );
06198
06208
06209
06210
06211
06212
06213
06214
06215
06216
06217
06218 xcb_void_cookie_t
06219 xcb_map_window (xcb_connection_t *c ,
06220 xcb_window_t window );
06221
06234
06235
06236
06237
06238
06239
06240
06241
06242
06243
06244 xcb_void_cookie_t
06245 xcb_map_subwindows_checked (xcb_connection_t *c ,
06246 xcb_window_t window );
06247
06257
06258
06259
06260
06261
06262
06263
06264
06265
06266
06267 xcb_void_cookie_t
06268 xcb_map_subwindows (xcb_connection_t *c ,
06269 xcb_window_t window );
06270
06283
06284
06285
06286
06287
06288
06289
06290
06291
06292
06293 xcb_void_cookie_t
06294 xcb_unmap_window_checked (xcb_connection_t *c ,
06295 xcb_window_t window );
06296
06306
06307
06308
06309
06310
06311
06312
06313
06314
06315
06316 xcb_void_cookie_t
06317 xcb_unmap_window (xcb_connection_t *c ,
06318 xcb_window_t window );
06319
06332
06333
06334
06335
06336
06337
06338
06339
06340
06341
06342 xcb_void_cookie_t
06343 xcb_unmap_subwindows_checked (xcb_connection_t *c ,
06344 xcb_window_t window );
06345
06355
06356
06357
06358
06359
06360
06361
06362
06363
06364
06365 xcb_void_cookie_t
06366 xcb_unmap_subwindows (xcb_connection_t *c ,
06367 xcb_window_t window );
06368
06381
06382
06383
06384
06385
06386
06387
06388
06389
06390
06391
06392
06393 xcb_void_cookie_t
06394 xcb_configure_window_checked (xcb_connection_t *c ,
06395 xcb_window_t window ,
06396 uint16_t value_mask ,
06397 const uint32_t *value_list );
06398
06408
06409
06410
06411
06412
06413
06414
06415
06416
06417
06418
06419
06420 xcb_void_cookie_t
06421 xcb_configure_window (xcb_connection_t *c ,
06422 xcb_window_t window ,
06423 uint16_t value_mask ,
06424 const uint32_t *value_list );
06425
06438
06439
06440
06441
06442
06443
06444
06445
06446
06447
06448
06449 xcb_void_cookie_t
06450 xcb_circulate_window_checked (xcb_connection_t *c ,
06451 uint8_t direction ,
06452 xcb_window_t window );
06453
06463
06464
06465
06466
06467
06468
06469
06470
06471
06472
06473
06474 xcb_void_cookie_t
06475 xcb_circulate_window (xcb_connection_t *c ,
06476 uint8_t direction ,
06477 xcb_window_t window );
06478
06488
06489
06490
06491
06492
06493
06494
06495
06496
06497
06498 xcb_get_geometry_cookie_t
06499 xcb_get_geometry (xcb_connection_t *c ,
06500 xcb_drawable_t drawable );
06501
06514
06515
06516
06517
06518
06519
06520
06521
06522
06523
06524 xcb_get_geometry_cookie_t
06525 xcb_get_geometry_unchecked (xcb_connection_t *c ,
06526 xcb_drawable_t drawable );
06527
06543
06544
06545
06546
06547
06548
06549
06550
06551
06552
06553
06554 xcb_get_geometry_reply_t *
06555 xcb_get_geometry_reply (xcb_connection_t *c ,
06556 xcb_get_geometry_cookie_t cookie ,
06557 xcb_generic_error_t **e );
06558
06568
06569
06570
06571
06572
06573
06574
06575
06576
06577
06578 xcb_query_tree_cookie_t
06579 xcb_query_tree (xcb_connection_t *c ,
06580 xcb_window_t window );
06581
06594
06595
06596
06597
06598
06599
06600
06601
06602
06603
06604 xcb_query_tree_cookie_t
06605 xcb_query_tree_unchecked (xcb_connection_t *c ,
06606 xcb_window_t window );
06607
06608
06609
06610
06611
06612
06613
06614
06615
06616
06617
06618 xcb_window_t *
06619 xcb_query_tree_children (const xcb_query_tree_reply_t *R );
06620
06621
06622
06623
06624
06625
06626
06627
06628
06629
06630
06631 int
06632 xcb_query_tree_children_length (const xcb_query_tree_reply_t *R );
06633
06634
06635
06636
06637
06638
06639
06640
06641
06642
06643
06644 xcb_window_iterator_t
06645 xcb_query_tree_children_iterator (const xcb_query_tree_reply_t *R );
06646
06662
06663
06664
06665
06666
06667
06668
06669
06670
06671
06672
06673 xcb_query_tree_reply_t *
06674 xcb_query_tree_reply (xcb_connection_t *c ,
06675 xcb_query_tree_cookie_t cookie ,
06676 xcb_generic_error_t **e );
06677
06687
06688
06689
06690
06691
06692
06693
06694
06695
06696
06697
06698
06699 xcb_intern_atom_cookie_t
06700 xcb_intern_atom (xcb_connection_t *c ,
06701 uint8_t only_if_exists ,
06702 uint16_t name_len ,
06703 const char *name );
06704
06717
06718
06719
06720
06721
06722
06723
06724
06725
06726
06727
06728
06729 xcb_intern_atom_cookie_t
06730 xcb_intern_atom_unchecked (xcb_connection_t *c ,
06731 uint8_t only_if_exists ,
06732 uint16_t name_len ,
06733 const char *name );
06734
06750
06751
06752
06753
06754
06755
06756
06757
06758
06759
06760
06761 xcb_intern_atom_reply_t *
06762 xcb_intern_atom_reply (xcb_connection_t *c ,
06763 xcb_intern_atom_cookie_t cookie ,
06764 xcb_generic_error_t **e );
06765
06775
06776
06777
06778
06779
06780
06781
06782
06783
06784
06785 xcb_get_atom_name_cookie_t
06786 xcb_get_atom_name (xcb_connection_t *c ,
06787 xcb_atom_t atom );
06788
06801
06802
06803
06804
06805
06806
06807
06808
06809
06810
06811 xcb_get_atom_name_cookie_t
06812 xcb_get_atom_name_unchecked (xcb_connection_t *c ,
06813 xcb_atom_t atom );
06814
06815
06816
06817
06818
06819
06820
06821
06822
06823
06824
06825 uint8_t *
06826 xcb_get_atom_name_name (const xcb_get_atom_name_reply_t *R );
06827
06828
06829
06830
06831
06832
06833
06834
06835
06836
06837
06838 int
06839 xcb_get_atom_name_name_length (const xcb_get_atom_name_reply_t *R );
06840
06841
06842
06843
06844
06845
06846
06847
06848
06849
06850
06851 xcb_generic_iterator_t
06852 xcb_get_atom_name_name_end (const xcb_get_atom_name_reply_t *R );
06853
06869
06870
06871
06872
06873
06874
06875
06876
06877
06878
06879
06880 xcb_get_atom_name_reply_t *
06881 xcb_get_atom_name_reply (xcb_connection_t *c ,
06882 xcb_get_atom_name_cookie_t cookie ,
06883 xcb_generic_error_t **e );
06884
06897
06898
06899
06900
06901
06902
06903
06904
06905
06906
06907
06908
06909
06910
06911
06912
06913 xcb_void_cookie_t
06914 xcb_change_property_checked (xcb_connection_t *c ,
06915 uint8_t mode ,
06916 xcb_window_t window ,
06917 xcb_atom_t property ,
06918 xcb_atom_t type ,
06919 uint8_t format ,
06920 uint32_t data_len ,
06921 const void *data );
06922
06932
06933
06934
06935
06936
06937
06938
06939
06940
06941
06942
06943
06944
06945
06946
06947
06948 xcb_void_cookie_t
06949 xcb_change_property (xcb_connection_t *c ,
06950 uint8_t mode ,
06951 xcb_window_t window ,
06952 xcb_atom_t property ,
06953 xcb_atom_t type ,
06954 uint8_t format ,
06955 uint32_t data_len ,
06956 const void *data );
06957
06970
06971
06972
06973
06974
06975
06976
06977
06978
06979
06980
06981 xcb_void_cookie_t
06982 xcb_delete_property_checked (xcb_connection_t *c ,
06983 xcb_window_t window ,
06984 xcb_atom_t property );
06985
06995
06996
06997
06998
06999
07000
07001
07002
07003
07004
07005
07006 xcb_void_cookie_t
07007 xcb_delete_property (xcb_connection_t *c ,
07008 xcb_window_t window ,
07009 xcb_atom_t property );
07010
07020
07021
07022
07023
07024
07025
07026
07027
07028
07029
07030
07031
07032
07033
07034
07035 xcb_get_property_cookie_t
07036 xcb_get_property (xcb_connection_t *c ,
07037 uint8_t _delete ,
07038 xcb_window_t window ,
07039 xcb_atom_t property ,
07040 xcb_atom_t type ,
07041 uint32_t long_offset ,
07042 uint32_t long_length );
07043
07056
07057
07058
07059
07060
07061
07062
07063
07064
07065
07066
07067
07068
07069
07070
07071 xcb_get_property_cookie_t
07072 xcb_get_property_unchecked (xcb_connection_t *c ,
07073 uint8_t _delete ,
07074 xcb_window_t window ,
07075 xcb_atom_t property ,
07076 xcb_atom_t type ,
07077 uint32_t long_offset ,
07078 uint32_t long_length );
07079
07080
07081
07082
07083
07084
07085
07086
07087
07088
07089
07090 void *
07091 xcb_get_property_value (const xcb_get_property_reply_t *R );
07092
07093
07094
07095
07096
07097
07098
07099
07100
07101
07102
07103 int
07104 xcb_get_property_value_length (const xcb_get_property_reply_t *R );
07105
07106
07107
07108
07109
07110
07111
07112
07113
07114
07115
07116 xcb_generic_iterator_t
07117 xcb_get_property_value_end (const xcb_get_property_reply_t *R );
07118
07134
07135
07136
07137
07138
07139
07140
07141
07142
07143
07144
07145 xcb_get_property_reply_t *
07146 xcb_get_property_reply (xcb_connection_t *c ,
07147 xcb_get_property_cookie_t cookie ,
07148 xcb_generic_error_t **e );
07149
07159
07160
07161
07162
07163
07164
07165
07166
07167
07168
07169 xcb_list_properties_cookie_t
07170 xcb_list_properties (xcb_connection_t *c ,
07171 xcb_window_t window );
07172
07185
07186
07187
07188
07189
07190
07191
07192
07193
07194
07195 xcb_list_properties_cookie_t
07196 xcb_list_properties_unchecked (xcb_connection_t *c ,
07197 xcb_window_t window );
07198
07199
07200
07201
07202
07203
07204
07205
07206
07207
07208
07209 xcb_atom_t *
07210 xcb_list_properties_atoms (const xcb_list_properties_reply_t *R );
07211
07212
07213
07214
07215
07216
07217
07218
07219
07220
07221
07222 int
07223 xcb_list_properties_atoms_length (const xcb_list_properties_reply_t *R );
07224
07225
07226
07227
07228
07229
07230
07231
07232
07233
07234
07235 xcb_atom_iterator_t
07236 xcb_list_properties_atoms_iterator (const xcb_list_properties_reply_t *R );
07237
07253
07254
07255
07256
07257
07258
07259
07260
07261
07262
07263
07264 xcb_list_properties_reply_t *
07265 xcb_list_properties_reply (xcb_connection_t *c ,
07266 xcb_list_properties_cookie_t cookie ,
07267 xcb_generic_error_t **e );
07268
07281
07282
07283
07284
07285
07286
07287
07288
07289
07290
07291
07292
07293 xcb_void_cookie_t
07294 xcb_set_selection_owner_checked (xcb_connection_t *c ,
07295 xcb_window_t owner ,
07296 xcb_atom_t selection ,
07297 xcb_timestamp_t time );
07298
07308
07309
07310
07311
07312
07313
07314
07315
07316
07317
07318
07319
07320 xcb_void_cookie_t
07321 xcb_set_selection_owner (xcb_connection_t *c ,
07322 xcb_window_t owner ,
07323 xcb_atom_t selection ,
07324 xcb_timestamp_t time );
07325
07335
07336
07337
07338
07339
07340
07341
07342
07343
07344
07345 xcb_get_selection_owner_cookie_t
07346 xcb_get_selection_owner (xcb_connection_t *c ,
07347 xcb_atom_t selection );
07348
07361
07362
07363
07364
07365
07366
07367
07368
07369
07370
07371 xcb_get_selection_owner_cookie_t
07372 xcb_get_selection_owner_unchecked (xcb_connection_t *c ,
07373 xcb_atom_t selection );
07374
07390
07391
07392
07393
07394
07395
07396
07397
07398
07399
07400
07401 xcb_get_selection_owner_reply_t *
07402 xcb_get_selection_owner_reply (xcb_connection_t *c ,
07403 xcb_get_selection_owner_cookie_t cookie ,
07404 xcb_generic_error_t **e );
07405
07418
07419
07420
07421
07422
07423
07424
07425
07426
07427
07428
07429
07430
07431
07432 xcb_void_cookie_t
07433 xcb_convert_selection_checked (xcb_connection_t *c ,
07434 xcb_window_t requestor ,
07435 xcb_atom_t selection ,
07436 xcb_atom_t target ,
07437 xcb_atom_t property ,
07438 xcb_timestamp_t time );
07439
07449
07450
07451
07452
07453
07454
07455
07456
07457
07458
07459
07460
07461
07462
07463 xcb_void_cookie_t
07464 xcb_convert_selection (xcb_connection_t *c ,
07465 xcb_window_t requestor ,
07466 xcb_atom_t selection ,
07467 xcb_atom_t target ,
07468 xcb_atom_t property ,
07469 xcb_timestamp_t time );
07470
07483
07484
07485
07486
07487
07488
07489
07490
07491
07492
07493
07494
07495
07496 xcb_void_cookie_t
07497 xcb_send_event_checked (xcb_connection_t *c ,
07498 uint8_t propagate ,
07499 xcb_window_t destination ,
07500 uint32_t event_mask ,
07501 const char *event );
07502
07512
07513
07514
07515
07516
07517
07518
07519
07520
07521
07522
07523
07524
07525 xcb_void_cookie_t
07526 xcb_send_event (xcb_connection_t *c ,
07527 uint8_t propagate ,
07528 xcb_window_t destination ,
07529 uint32_t event_mask ,
07530 const char *event );
07531
07541
07542
07543
07544
07545
07546
07547
07548
07549
07550
07551
07552
07553
07554
07555
07556
07557
07558 xcb_grab_pointer_cookie_t
07559 xcb_grab_pointer (xcb_connection_t *c ,
07560 uint8_t owner_events ,
07561 xcb_window_t grab_window ,
07562 uint16_t event_mask ,
07563 uint8_t pointer_mode ,
07564 uint8_t keyboard_mode ,
07565 xcb_window_t confine_to ,
07566 xcb_cursor_t cursor ,
07567 xcb_timestamp_t time );
07568
07581
07582
07583
07584
07585
07586
07587
07588
07589
07590
07591
07592
07593
07594
07595
07596
07597
07598 xcb_grab_pointer_cookie_t
07599 xcb_grab_pointer_unchecked (xcb_connection_t *c ,
07600 uint8_t owner_events ,
07601 xcb_window_t grab_window ,
07602 uint16_t event_mask ,
07603 uint8_t pointer_mode ,
07604 uint8_t keyboard_mode ,
07605 xcb_window_t confine_to ,
07606 xcb_cursor_t cursor ,
07607 xcb_timestamp_t time );
07608
07624
07625
07626
07627
07628
07629
07630
07631
07632
07633
07634
07635 xcb_grab_pointer_reply_t *
07636 xcb_grab_pointer_reply (xcb_connection_t *c ,
07637 xcb_grab_pointer_cookie_t cookie ,
07638 xcb_generic_error_t **e );
07639
07652
07653
07654
07655
07656
07657
07658
07659
07660
07661
07662 xcb_void_cookie_t
07663 xcb_ungrab_pointer_checked (xcb_connection_t *c ,
07664 xcb_timestamp_t time );
07665
07675
07676
07677
07678
07679
07680
07681
07682
07683
07684
07685 xcb_void_cookie_t
07686 xcb_ungrab_pointer (xcb_connection_t *c ,
07687 xcb_timestamp_t time );
07688
07701
07702
07703
07704
07705
07706
07707
07708
07709
07710
07711
07712
07713
07714
07715
07716
07717
07718
07719 xcb_void_cookie_t
07720 xcb_grab_button_checked (xcb_connection_t *c ,
07721 uint8_t owner_events ,
07722 xcb_window_t grab_window ,
07723 uint16_t event_mask ,
07724 uint8_t pointer_mode ,
07725 uint8_t keyboard_mode ,
07726 xcb_window_t confine_to ,
07727 xcb_cursor_t cursor ,
07728 uint8_t button ,
07729 uint16_t modifiers );
07730
07740
07741
07742
07743
07744
07745
07746
07747
07748
07749
07750
07751
07752
07753
07754
07755
07756
07757
07758 xcb_void_cookie_t
07759 xcb_grab_button (xcb_connection_t *c ,
07760 uint8_t owner_events ,
07761 xcb_window_t grab_window ,
07762 uint16_t event_mask ,
07763 uint8_t pointer_mode ,
07764 uint8_t keyboard_mode ,
07765 xcb_window_t confine_to ,
07766 xcb_cursor_t cursor ,
07767 uint8_t button ,
07768 uint16_t modifiers );
07769
07782
07783
07784
07785
07786
07787
07788
07789
07790
07791
07792
07793
07794 xcb_void_cookie_t
07795 xcb_ungrab_button_checked (xcb_connection_t *c ,
07796 uint8_t button ,
07797 xcb_window_t grab_window ,
07798 uint16_t modifiers );
07799
07809
07810
07811
07812
07813
07814
07815
07816
07817
07818
07819
07820
07821 xcb_void_cookie_t
07822 xcb_ungrab_button (xcb_connection_t *c ,
07823 uint8_t button ,
07824 xcb_window_t grab_window ,
07825 uint16_t modifiers );
07826
07839
07840
07841
07842
07843
07844
07845
07846
07847
07848
07849
07850
07851 xcb_void_cookie_t
07852 xcb_change_active_pointer_grab_checked (xcb_connection_t *c ,
07853 xcb_cursor_t cursor ,
07854 xcb_timestamp_t time ,
07855 uint16_t event_mask );
07856
07866
07867
07868
07869
07870
07871
07872
07873
07874
07875
07876
07877
07878 xcb_void_cookie_t
07879 xcb_change_active_pointer_grab (xcb_connection_t *c ,
07880 xcb_cursor_t cursor ,
07881 xcb_timestamp_t time ,
07882 uint16_t event_mask );
07883
07893
07894
07895
07896
07897
07898
07899
07900
07901
07902
07903
07904
07905
07906
07907 xcb_grab_keyboard_cookie_t
07908 xcb_grab_keyboard (xcb_connection_t *c ,
07909 uint8_t owner_events ,
07910 xcb_window_t grab_window ,
07911 xcb_timestamp_t time ,
07912 uint8_t pointer_mode ,
07913 uint8_t keyboard_mode );
07914
07927
07928
07929
07930
07931
07932
07933
07934
07935
07936
07937
07938
07939
07940
07941 xcb_grab_keyboard_cookie_t
07942 xcb_grab_keyboard_unchecked (xcb_connection_t *c ,
07943 uint8_t owner_events ,
07944 xcb_window_t grab_window ,
07945 xcb_timestamp_t time ,
07946 uint8_t pointer_mode ,
07947 uint8_t keyboard_mode );
07948
07964
07965
07966
07967
07968
07969
07970
07971
07972
07973
07974
07975 xcb_grab_keyboard_reply_t *
07976 xcb_grab_keyboard_reply (xcb_connection_t *c ,
07977 xcb_grab_keyboard_cookie_t cookie ,
07978 xcb_generic_error_t **e );
07979
07992
07993
07994
07995
07996
07997
07998
07999
08000
08001
08002 xcb_void_cookie_t
08003 xcb_ungrab_keyboard_checked (xcb_connection_t *c ,
08004 xcb_timestamp_t time );
08005
08015
08016
08017
08018
08019
08020
08021
08022
08023
08024
08025 xcb_void_cookie_t
08026 xcb_ungrab_keyboard (xcb_connection_t *c ,
08027 xcb_timestamp_t time );
08028
08041
08042
08043
08044
08045
08046
08047
08048
08049
08050
08051
08052
08053
08054
08055
08056 xcb_void_cookie_t
08057 xcb_grab_key_checked (xcb_connection_t *c ,
08058 uint8_t owner_events ,
08059 xcb_window_t grab_window ,
08060 uint16_t modifiers ,
08061 xcb_keycode_t key ,
08062 uint8_t pointer_mode ,
08063 uint8_t keyboard_mode );
08064
08074
08075
08076
08077
08078
08079
08080
08081
08082
08083
08084
08085
08086
08087
08088
08089 xcb_void_cookie_t
08090 xcb_grab_key (xcb_connection_t *c ,
08091 uint8_t owner_events ,
08092 xcb_window_t grab_window ,
08093 uint16_t modifiers ,
08094 xcb_keycode_t key ,
08095 uint8_t pointer_mode ,
08096 uint8_t keyboard_mode );
08097
08110
08111
08112
08113
08114
08115
08116
08117
08118
08119
08120
08121
08122 xcb_void_cookie_t
08123 xcb_ungrab_key_checked (xcb_connection_t *c ,
08124 xcb_keycode_t key ,
08125 xcb_window_t grab_window ,
08126 uint16_t modifiers );
08127
08137
08138
08139
08140
08141
08142
08143
08144
08145
08146
08147
08148
08149 xcb_void_cookie_t
08150 xcb_ungrab_key (xcb_connection_t *c ,
08151 xcb_keycode_t key ,
08152 xcb_window_t grab_window ,
08153 uint16_t modifiers );
08154
08167
08168
08169
08170
08171
08172
08173
08174
08175
08176
08177
08178 xcb_void_cookie_t
08179 xcb_allow_events_checked (xcb_connection_t *c ,
08180 uint8_t mode ,
08181 xcb_timestamp_t time );
08182
08192
08193
08194
08195
08196
08197
08198
08199
08200
08201
08202
08203 xcb_void_cookie_t
08204 xcb_allow_events (xcb_connection_t *c ,
08205 uint8_t mode ,
08206 xcb_timestamp_t time );
08207
08220
08221
08222
08223
08224
08225
08226
08227
08228
08229 xcb_void_cookie_t
08230 xcb_grab_server_checked (xcb_connection_t *c );
08231
08241
08242
08243
08244
08245
08246
08247
08248
08249
08250 xcb_void_cookie_t
08251 xcb_grab_server (xcb_connection_t *c );
08252
08265
08266
08267
08268
08269
08270
08271
08272
08273
08274 xcb_void_cookie_t
08275 xcb_ungrab_server_checked (xcb_connection_t *c );
08276
08286
08287
08288
08289
08290
08291
08292
08293
08294
08295 xcb_void_cookie_t
08296 xcb_ungrab_server (xcb_connection_t *c );
08297
08307
08308
08309
08310
08311
08312
08313
08314
08315
08316
08317 xcb_query_pointer_cookie_t
08318 xcb_query_pointer (xcb_connection_t *c ,
08319 xcb_window_t window );
08320
08333
08334
08335
08336
08337
08338
08339
08340
08341
08342
08343 xcb_query_pointer_cookie_t
08344 xcb_query_pointer_unchecked (xcb_connection_t *c ,
08345 xcb_window_t window );
08346
08362
08363
08364
08365
08366
08367
08368
08369
08370
08371
08372
08373 xcb_query_pointer_reply_t *
08374 xcb_query_pointer_reply (xcb_connection_t *c ,
08375 xcb_query_pointer_cookie_t cookie ,
08376 xcb_generic_error_t **e );
08377
08387
08388
08389
08390
08391
08392
08393
08394
08395
08396 void
08397 xcb_timecoord_next (xcb_timecoord_iterator_t *i );
08398
08409
08410
08411
08412
08413
08414
08415
08416
08417
08418 xcb_generic_iterator_t
08419 xcb_timecoord_end (xcb_timecoord_iterator_t i );
08420
08430
08431
08432
08433
08434
08435
08436
08437
08438
08439
08440
08441
08442 xcb_get_motion_events_cookie_t
08443 xcb_get_motion_events (xcb_connection_t *c ,
08444 xcb_window_t window ,
08445 xcb_timestamp_t start ,
08446 xcb_timestamp_t stop );
08447
08460
08461
08462
08463
08464
08465
08466
08467
08468
08469
08470
08471
08472 xcb_get_motion_events_cookie_t
08473 xcb_get_motion_events_unchecked (xcb_connection_t *c ,
08474 xcb_window_t window ,
08475 xcb_timestamp_t start ,
08476 xcb_timestamp_t stop );
08477
08478
08479
08480
08481
08482
08483
08484
08485
08486
08487
08488 xcb_timecoord_t *
08489 xcb_get_motion_events_events (const xcb_get_motion_events_reply_t *R );
08490
08491
08492
08493
08494
08495
08496
08497
08498
08499
08500
08501 int
08502 xcb_get_motion_events_events_length (const xcb_get_motion_events_reply_t *R );
08503
08504
08505
08506
08507
08508
08509
08510
08511
08512
08513
08514 xcb_timecoord_iterator_t
08515 xcb_get_motion_events_events_iterator (const xcb_get_motion_events_reply_t *R );
08516
08532
08533
08534
08535
08536
08537
08538
08539
08540
08541
08542
08543 xcb_get_motion_events_reply_t *
08544 xcb_get_motion_events_reply (xcb_connection_t *c ,
08545 xcb_get_motion_events_cookie_t cookie ,
08546 xcb_generic_error_t **e );
08547
08557
08558
08559
08560
08561
08562
08563
08564
08565
08566
08567
08568
08569
08570 xcb_translate_coordinates_cookie_t
08571 xcb_translate_coordinates (xcb_connection_t *c ,
08572 xcb_window_t src_window ,
08573 xcb_window_t dst_window ,
08574 int16_t src_x ,
08575 int16_t src_y );
08576
08589
08590
08591
08592
08593
08594
08595
08596
08597
08598
08599
08600
08601
08602 xcb_translate_coordinates_cookie_t
08603 xcb_translate_coordinates_unchecked (xcb_connection_t *c ,
08604 xcb_window_t src_window ,
08605 xcb_window_t dst_window ,
08606 int16_t src_x ,
08607 int16_t src_y );
08608
08624
08625
08626
08627
08628
08629
08630
08631
08632
08633
08634
08635 xcb_translate_coordinates_reply_t *
08636 xcb_translate_coordinates_reply (xcb_connection_t *c ,
08637 xcb_translate_coordinates_cookie_t cookie ,
08638 xcb_generic_error_t **e );
08639
08652
08653
08654
08655
08656
08657
08658
08659
08660
08661
08662
08663
08664
08665
08666
08667
08668
08669 xcb_void_cookie_t
08670 xcb_warp_pointer_checked (xcb_connection_t *c ,
08671 xcb_window_t src_window ,
08672 xcb_window_t dst_window ,
08673 int16_t src_x ,
08674 int16_t src_y ,
08675 uint16_t src_width ,
08676 uint16_t src_height ,
08677 int16_t dst_x ,
08678 int16_t dst_y );
08679
08689
08690
08691
08692
08693
08694
08695
08696
08697
08698
08699
08700
08701
08702
08703
08704
08705
08706 xcb_void_cookie_t
08707 xcb_warp_pointer (xcb_connection_t *c ,
08708 xcb_window_t src_window ,
08709 xcb_window_t dst_window ,
08710 int16_t src_x ,
08711 int16_t src_y ,
08712 uint16_t src_width ,
08713 uint16_t src_height ,
08714 int16_t dst_x ,
08715 int16_t dst_y );
08716
08729
08730
08731
08732
08733
08734
08735
08736
08737
08738
08739
08740
08741 xcb_void_cookie_t
08742 xcb_set_input_focus_checked (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
08766
08767
08768 xcb_void_cookie_t
08769 xcb_set_input_focus (xcb_connection_t *c ,
08770 uint8_t revert_to ,
08771 xcb_window_t focus ,
08772 xcb_timestamp_t time );
08773
08783
08784
08785
08786
08787
08788
08789
08790
08791
08792 xcb_get_input_focus_cookie_t
08793 xcb_get_input_focus (xcb_connection_t *c );
08794
08807
08808
08809
08810
08811
08812
08813
08814
08815
08816 xcb_get_input_focus_cookie_t
08817 xcb_get_input_focus_unchecked (xcb_connection_t *c );
08818
08834
08835
08836
08837
08838
08839
08840
08841
08842
08843
08844
08845 xcb_get_input_focus_reply_t *
08846 xcb_get_input_focus_reply (xcb_connection_t *c ,
08847 xcb_get_input_focus_cookie_t cookie ,
08848 xcb_generic_error_t **e );
08849
08859
08860
08861
08862
08863
08864
08865
08866
08867
08868 xcb_query_keymap_cookie_t
08869 xcb_query_keymap (xcb_connection_t *c );
08870
08883
08884
08885
08886
08887
08888
08889
08890
08891
08892 xcb_query_keymap_cookie_t
08893 xcb_query_keymap_unchecked (xcb_connection_t *c );
08894
08910
08911
08912
08913
08914
08915
08916
08917
08918
08919
08920
08921 xcb_query_keymap_reply_t *
08922 xcb_query_keymap_reply (xcb_connection_t *c ,
08923 xcb_query_keymap_cookie_t cookie ,
08924 xcb_generic_error_t **e );
08925
08938
08939
08940
08941
08942
08943
08944
08945
08946
08947
08948
08949
08950 xcb_void_cookie_t
08951 xcb_open_font_checked (xcb_connection_t *c ,
08952 xcb_font_t fid ,
08953 uint16_t name_len ,
08954 const char *name );
08955
08965
08966
08967
08968
08969
08970
08971
08972
08973
08974
08975
08976
08977 xcb_void_cookie_t
08978 xcb_open_font (xcb_connection_t *c ,
08979 xcb_font_t fid ,
08980 uint16_t name_len ,
08981 const char *name );
08982
08995
08996
08997
08998
08999
09000
09001
09002
09003
09004
09005 xcb_void_cookie_t
09006 xcb_close_font_checked (xcb_connection_t *c ,
09007 xcb_font_t font );
09008
09018
09019
09020
09021
09022
09023
09024
09025
09026
09027
09028 xcb_void_cookie_t
09029 xcb_close_font (xcb_connection_t *c ,
09030 xcb_font_t font );
09031
09041
09042
09043
09044
09045
09046
09047
09048
09049
09050 void
09051 xcb_fontprop_next (xcb_fontprop_iterator_t *i );
09052
09063
09064
09065
09066
09067
09068
09069
09070
09071
09072 xcb_generic_iterator_t
09073 xcb_fontprop_end (xcb_fontprop_iterator_t i );
09074
09084
09085
09086
09087
09088
09089
09090
09091
09092
09093 void
09094 xcb_charinfo_next (xcb_charinfo_iterator_t *i );
09095
09106
09107
09108
09109
09110
09111
09112
09113
09114
09115 xcb_generic_iterator_t
09116 xcb_charinfo_end (xcb_charinfo_iterator_t i );
09117
09127
09128
09129
09130
09131
09132
09133
09134
09135
09136
09137 xcb_query_font_cookie_t
09138 xcb_query_font (xcb_connection_t *c ,
09139 xcb_fontable_t font );
09140
09153
09154
09155
09156
09157
09158
09159
09160
09161
09162
09163 xcb_query_font_cookie_t
09164 xcb_query_font_unchecked (xcb_connection_t *c ,
09165 xcb_fontable_t font );
09166
09167
09168
09169
09170
09171
09172
09173
09174
09175
09176
09177 xcb_fontprop_t *
09178 xcb_query_font_properties (const xcb_query_font_reply_t *R );
09179
09180
09181
09182
09183
09184
09185
09186
09187
09188
09189
09190 int
09191 xcb_query_font_properties_length (const xcb_query_font_reply_t *R );
09192
09193
09194
09195
09196
09197
09198
09199
09200
09201
09202
09203 xcb_fontprop_iterator_t
09204 xcb_query_font_properties_iterator (const xcb_query_font_reply_t *R );
09205
09206
09207
09208
09209
09210
09211
09212
09213
09214
09215
09216 xcb_charinfo_t *
09217 xcb_query_font_char_infos (const xcb_query_font_reply_t *R );
09218
09219
09220
09221
09222
09223
09224
09225
09226
09227
09228
09229 int
09230 xcb_query_font_char_infos_length (const xcb_query_font_reply_t *R );
09231
09232
09233
09234
09235
09236
09237
09238
09239
09240
09241
09242 xcb_charinfo_iterator_t
09243 xcb_query_font_char_infos_iterator (const xcb_query_font_reply_t *R );
09244
09260
09261
09262
09263
09264
09265
09266
09267
09268
09269
09270
09271 xcb_query_font_reply_t *
09272 xcb_query_font_reply (xcb_connection_t *c ,
09273 xcb_query_font_cookie_t cookie ,
09274 xcb_generic_error_t **e );
09275
09285
09286
09287
09288
09289
09290
09291
09292
09293
09294
09295
09296
09297 xcb_query_text_extents_cookie_t
09298 xcb_query_text_extents (xcb_connection_t *c ,
09299 xcb_fontable_t font ,
09300 uint32_t string_len ,
09301 const xcb_char2b_t *string );
09302
09315
09316
09317
09318
09319
09320
09321
09322
09323
09324
09325
09326
09327 xcb_query_text_extents_cookie_t
09328 xcb_query_text_extents_unchecked (xcb_connection_t *c ,
09329 xcb_fontable_t font ,
09330 uint32_t string_len ,
09331 const xcb_char2b_t *string );
09332
09348
09349
09350
09351
09352
09353
09354
09355
09356
09357
09358
09359 xcb_query_text_extents_reply_t *
09360 xcb_query_text_extents_reply (xcb_connection_t *c ,
09361 xcb_query_text_extents_cookie_t cookie ,
09362 xcb_generic_error_t **e );
09363
09364
09365
09366
09367
09368
09369
09370
09371
09372
09373
09374 char *
09375 xcb_str_name (const xcb_str_t *R );
09376
09377
09378
09379
09380
09381
09382
09383
09384
09385
09386
09387 int
09388 xcb_str_name_length (const xcb_str_t *R );
09389
09390
09391
09392
09393
09394
09395
09396
09397
09398
09399
09400 xcb_generic_iterator_t
09401 xcb_str_name_end (const xcb_str_t *R );
09402
09412
09413
09414
09415
09416
09417
09418
09419
09420
09421 void
09422 xcb_str_next (xcb_str_iterator_t *i );
09423
09434
09435
09436
09437
09438
09439
09440
09441
09442
09443 xcb_generic_iterator_t
09444 xcb_str_end (xcb_str_iterator_t i );
09445
09455
09456
09457
09458
09459
09460
09461
09462
09463
09464
09465
09466
09467 xcb_list_fonts_cookie_t
09468 xcb_list_fonts (xcb_connection_t *c ,
09469 uint16_t max_names ,
09470 uint16_t pattern_len ,
09471 const char *pattern );
09472
09485
09486
09487
09488
09489
09490
09491
09492
09493
09494
09495
09496
09497 xcb_list_fonts_cookie_t
09498 xcb_list_fonts_unchecked (xcb_connection_t *c ,
09499 uint16_t max_names ,
09500 uint16_t pattern_len ,
09501 const char *pattern );
09502
09503
09504
09505
09506
09507
09508
09509
09510
09511
09512
09513 int
09514 xcb_list_fonts_names_length (const xcb_list_fonts_reply_t *R );
09515
09516
09517
09518
09519
09520
09521
09522
09523
09524
09525
09526 xcb_str_iterator_t
09527 xcb_list_fonts_names_iterator (const xcb_list_fonts_reply_t *R );
09528
09544
09545
09546
09547
09548
09549
09550
09551
09552
09553
09554
09555 xcb_list_fonts_reply_t *
09556 xcb_list_fonts_reply (xcb_connection_t *c ,
09557 xcb_list_fonts_cookie_t cookie ,
09558 xcb_generic_error_t **e );
09559
09569
09570
09571
09572
09573
09574
09575
09576
09577
09578
09579
09580
09581 xcb_list_fonts_with_info_cookie_t
09582 xcb_list_fonts_with_info (xcb_connection_t *c ,
09583 uint16_t max_names ,
09584 uint16_t pattern_len ,
09585 const char *pattern );
09586
09599
09600
09601
09602
09603
09604
09605
09606
09607
09608
09609
09610
09611 xcb_list_fonts_with_info_cookie_t
09612 xcb_list_fonts_with_info_unchecked (xcb_connection_t *c ,
09613 uint16_t max_names ,
09614 uint16_t pattern_len ,
09615 const char *pattern );
09616
09617
09618
09619
09620
09621
09622
09623
09624
09625
09626
09627 xcb_fontprop_t *
09628 xcb_list_fonts_with_info_properties (const xcb_list_fonts_with_info_reply_t *R );
09629
09630
09631
09632
09633
09634
09635
09636
09637
09638
09639
09640 int
09641 xcb_list_fonts_with_info_properties_length (const xcb_list_fonts_with_info_reply_t *R );
09642
09643
09644
09645
09646
09647
09648
09649
09650
09651
09652
09653 xcb_fontprop_iterator_t
09654 xcb_list_fonts_with_info_properties_iterator (const xcb_list_fonts_with_info_reply_t *R );
09655
09656
09657
09658
09659
09660
09661
09662
09663
09664
09665
09666 char *
09667 xcb_list_fonts_with_info_name (const xcb_list_fonts_with_info_reply_t *R );
09668
09669
09670
09671
09672
09673
09674
09675
09676
09677
09678
09679 int
09680 xcb_list_fonts_with_info_name_length (const xcb_list_fonts_with_info_reply_t *R );
09681
09682
09683
09684
09685
09686
09687
09688
09689
09690
09691
09692 xcb_generic_iterator_t
09693 xcb_list_fonts_with_info_name_end (const xcb_list_fonts_with_info_reply_t *R );
09694
09710
09711
09712
09713
09714
09715
09716
09717
09718
09719
09720
09721 xcb_list_fonts_with_info_reply_t *
09722 xcb_list_fonts_with_info_reply (xcb_connection_t *c ,
09723 xcb_list_fonts_with_info_cookie_t cookie ,
09724 xcb_generic_error_t **e );
09725
09738
09739
09740
09741
09742
09743
09744
09745
09746
09747
09748
09749
09750 xcb_void_cookie_t
09751 xcb_set_font_path_checked (xcb_connection_t *c ,
09752 uint16_t font_qty ,
09753 uint32_t path_len ,
09754 const char *path );
09755
09765
09766
09767
09768
09769
09770
09771
09772
09773
09774
09775
09776
09777 xcb_void_cookie_t
09778 xcb_set_font_path (xcb_connection_t *c ,
09779 uint16_t font_qty ,
09780 uint32_t path_len ,
09781 const char *path );
09782
09792
09793
09794
09795
09796
09797
09798
09799
09800
09801 xcb_get_font_path_cookie_t
09802 xcb_get_font_path (xcb_connection_t *c );
09803
09816
09817
09818
09819
09820
09821
09822
09823
09824
09825 xcb_get_font_path_cookie_t
09826 xcb_get_font_path_unchecked (xcb_connection_t *c );
09827
09828
09829
09830
09831
09832
09833
09834
09835
09836
09837
09838 int
09839 xcb_get_font_path_path_length (const xcb_get_font_path_reply_t *R );
09840
09841
09842
09843
09844
09845
09846
09847
09848
09849
09850
09851 xcb_str_iterator_t
09852 xcb_get_font_path_path_iterator (const xcb_get_font_path_reply_t *R );
09853
09869
09870
09871
09872
09873
09874
09875
09876
09877
09878
09879
09880 xcb_get_font_path_reply_t *
09881 xcb_get_font_path_reply (xcb_connection_t *c ,
09882 xcb_get_font_path_cookie_t cookie ,
09883 xcb_generic_error_t **e );
09884
09897
09898
09899
09900
09901
09902
09903
09904
09905
09906
09907
09908
09909
09910
09911 xcb_void_cookie_t
09912 xcb_create_pixmap_checked (xcb_connection_t *c ,
09913 uint8_t depth ,
09914 xcb_pixmap_t pid ,
09915 xcb_drawable_t drawable ,
09916 uint16_t width ,
09917 uint16_t height );
09918
09928
09929
09930
09931
09932
09933
09934
09935
09936
09937
09938
09939
09940
09941
09942 xcb_void_cookie_t
09943 xcb_create_pixmap (xcb_connection_t *c ,
09944 uint8_t depth ,
09945 xcb_pixmap_t pid ,
09946 xcb_drawable_t drawable ,
09947 uint16_t width ,
09948 uint16_t height );
09949
09962
09963
09964
09965
09966
09967
09968
09969
09970
09971
09972 xcb_void_cookie_t
09973 xcb_free_pixmap_checked (xcb_connection_t *c ,
09974 xcb_pixmap_t pixmap );
09975
09985
09986
09987
09988
09989
09990
09991
09992
09993
09994
09995 xcb_void_cookie_t
09996 xcb_free_pixmap (xcb_connection_t *c ,
09997 xcb_pixmap_t pixmap );
09998
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024 xcb_void_cookie_t
10025 xcb_create_gc_checked (xcb_connection_t *c ,
10026 xcb_gcontext_t cid ,
10027 xcb_drawable_t drawable ,
10028 uint32_t value_mask ,
10029 const uint32_t *value_list );
10030
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053 xcb_void_cookie_t
10054 xcb_create_gc (xcb_connection_t *c ,
10055 xcb_gcontext_t cid ,
10056 xcb_drawable_t drawable ,
10057 uint32_t value_mask ,
10058 const uint32_t *value_list );
10059
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084 xcb_void_cookie_t
10085 xcb_change_gc_checked (xcb_connection_t *c ,
10086 xcb_gcontext_t gc ,
10087 uint32_t value_mask ,
10088 const uint32_t *value_list );
10089
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111 xcb_void_cookie_t
10112 xcb_change_gc (xcb_connection_t *c ,
10113 xcb_gcontext_t gc ,
10114 uint32_t value_mask ,
10115 const uint32_t *value_list );
10116
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141 xcb_void_cookie_t
10142 xcb_copy_gc_checked (xcb_connection_t *c ,
10143 xcb_gcontext_t src_gc ,
10144 xcb_gcontext_t dst_gc ,
10145 uint32_t value_mask );
10146
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168 xcb_void_cookie_t
10169 xcb_copy_gc (xcb_connection_t *c ,
10170 xcb_gcontext_t src_gc ,
10171 xcb_gcontext_t dst_gc ,
10172 uint32_t value_mask );
10173
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199 xcb_void_cookie_t
10200 xcb_set_dashes_checked (xcb_connection_t *c ,
10201 xcb_gcontext_t gc ,
10202 uint16_t dash_offset ,
10203 uint16_t dashes_len ,
10204 const uint8_t *dashes );
10205
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228 xcb_void_cookie_t
10229 xcb_set_dashes (xcb_connection_t *c ,
10230 xcb_gcontext_t gc ,
10231 uint16_t dash_offset ,
10232 uint16_t dashes_len ,
10233 const uint8_t *dashes );
10234
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262 xcb_void_cookie_t
10263 xcb_set_clip_rectangles_checked (xcb_connection_t *c ,
10264 uint8_t ordering ,
10265 xcb_gcontext_t gc ,
10266 int16_t clip_x_origin ,
10267 int16_t clip_y_origin ,
10268 uint32_t rectangles_len ,
10269 const xcb_rectangle_t *rectangles );
10270
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295 xcb_void_cookie_t
10296 xcb_set_clip_rectangles (xcb_connection_t *c ,
10297 uint8_t ordering ,
10298 xcb_gcontext_t gc ,
10299 int16_t clip_x_origin ,
10300 int16_t clip_y_origin ,
10301 uint32_t rectangles_len ,
10302 const xcb_rectangle_t *rectangles );
10303
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326 xcb_void_cookie_t
10327 xcb_free_gc_checked (xcb_connection_t *c ,
10328 xcb_gcontext_t gc );
10329
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349 xcb_void_cookie_t
10350 xcb_free_gc (xcb_connection_t *c ,
10351 xcb_gcontext_t gc );
10352
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380 xcb_void_cookie_t
10381 xcb_clear_area_checked (xcb_connection_t *c ,
10382 uint8_t exposures ,
10383 xcb_window_t window ,
10384 int16_t x ,
10385 int16_t y ,
10386 uint16_t width ,
10387 uint16_t height );
10388
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413 xcb_void_cookie_t
10414 xcb_clear_area (xcb_connection_t *c ,
10415 uint8_t exposures ,
10416 xcb_window_t window ,
10417 int16_t x ,
10418 int16_t y ,
10419 uint16_t width ,
10420 uint16_t height );
10421
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452 xcb_void_cookie_t
10453 xcb_copy_area_checked (xcb_connection_t *c ,
10454 xcb_drawable_t src_drawable ,
10455 xcb_drawable_t dst_drawable ,
10456 xcb_gcontext_t gc ,
10457 int16_t src_x ,
10458 int16_t src_y ,
10459 int16_t dst_x ,
10460 int16_t dst_y ,
10461 uint16_t width ,
10462 uint16_t height );
10463
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491 xcb_void_cookie_t
10492 xcb_copy_area (xcb_connection_t *c ,
10493 xcb_drawable_t src_drawable ,
10494 xcb_drawable_t dst_drawable ,
10495 xcb_gcontext_t gc ,
10496 int16_t src_x ,
10497 int16_t src_y ,
10498 int16_t dst_x ,
10499 int16_t dst_y ,
10500 uint16_t width ,
10501 uint16_t height );
10502
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_checked (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
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575 xcb_void_cookie_t
10576 xcb_copy_plane (xcb_connection_t *c ,
10577 xcb_drawable_t src_drawable ,
10578 xcb_drawable_t dst_drawable ,
10579 xcb_gcontext_t gc ,
10580 int16_t src_x ,
10581 int16_t src_y ,
10582 int16_t dst_x ,
10583 int16_t dst_y ,
10584 uint16_t width ,
10585 uint16_t height ,
10586 uint32_t bit_plane );
10587
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614 xcb_void_cookie_t
10615 xcb_poly_point_checked (xcb_connection_t *c ,
10616 uint8_t coordinate_mode ,
10617 xcb_drawable_t drawable ,
10618 xcb_gcontext_t gc ,
10619 uint32_t points_len ,
10620 const xcb_point_t *points );
10621
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645 xcb_void_cookie_t
10646 xcb_poly_point (xcb_connection_t *c ,
10647 uint8_t coordinate_mode ,
10648 xcb_drawable_t drawable ,
10649 xcb_gcontext_t gc ,
10650 uint32_t points_len ,
10651 const xcb_point_t *points );
10652
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679 xcb_void_cookie_t
10680 xcb_poly_line_checked (xcb_connection_t *c ,
10681 uint8_t coordinate_mode ,
10682 xcb_drawable_t drawable ,
10683 xcb_gcontext_t gc ,
10684 uint32_t points_len ,
10685 const xcb_point_t *points );
10686
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710 xcb_void_cookie_t
10711 xcb_poly_line (xcb_connection_t *c ,
10712 uint8_t coordinate_mode ,
10713 xcb_drawable_t drawable ,
10714 xcb_gcontext_t gc ,
10715 uint32_t points_len ,
10716 const xcb_point_t *points );
10717
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736 void
10737 xcb_segment_next (xcb_segment_iterator_t *i );
10738
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758 xcb_generic_iterator_t
10759 xcb_segment_end (xcb_segment_iterator_t i );
10760
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786 xcb_void_cookie_t
10787 xcb_poly_segment_checked (xcb_connection_t *c ,
10788 xcb_drawable_t drawable ,
10789 xcb_gcontext_t gc ,
10790 uint32_t segments_len ,
10791 const xcb_segment_t *segments );
10792
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815 xcb_void_cookie_t
10816 xcb_poly_segment (xcb_connection_t *c ,
10817 xcb_drawable_t drawable ,
10818 xcb_gcontext_t gc ,
10819 uint32_t segments_len ,
10820 const xcb_segment_t *segments );
10821
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847 xcb_void_cookie_t
10848 xcb_poly_rectangle_checked (xcb_connection_t *c ,
10849 xcb_drawable_t drawable ,
10850 xcb_gcontext_t gc ,
10851 uint32_t rectangles_len ,
10852 const xcb_rectangle_t *rectangles );
10853
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876 xcb_void_cookie_t
10877 xcb_poly_rectangle (xcb_connection_t *c ,
10878 xcb_drawable_t drawable ,
10879 xcb_gcontext_t gc ,
10880 uint32_t rectangles_len ,
10881 const xcb_rectangle_t *rectangles );
10882
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908 xcb_void_cookie_t
10909 xcb_poly_arc_checked (xcb_connection_t *c ,
10910 xcb_drawable_t drawable ,
10911 xcb_gcontext_t gc ,
10912 uint32_t arcs_len ,
10913 const xcb_arc_t *arcs );
10914
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937 xcb_void_cookie_t
10938 xcb_poly_arc (xcb_connection_t *c ,
10939 xcb_drawable_t drawable ,
10940 xcb_gcontext_t gc ,
10941 uint32_t arcs_len ,
10942 const xcb_arc_t *arcs );
10943
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971 xcb_void_cookie_t
10972 xcb_fill_poly_checked (xcb_connection_t *c ,
10973 xcb_drawable_t drawable ,
10974 xcb_gcontext_t gc ,
10975 uint8_t shape ,
10976 uint8_t coordinate_mode ,
10977 uint32_t points_len ,
10978 const xcb_point_t *points );
10979
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004 xcb_void_cookie_t
11005 xcb_fill_poly (xcb_connection_t *c ,
11006 xcb_drawable_t drawable ,
11007 xcb_gcontext_t gc ,
11008 uint8_t shape ,
11009 uint8_t coordinate_mode ,
11010 uint32_t points_len ,
11011 const xcb_point_t *points );
11012
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038 xcb_void_cookie_t
11039 xcb_poly_fill_rectangle_checked (xcb_connection_t *c ,
11040 xcb_drawable_t drawable ,
11041 xcb_gcontext_t gc ,
11042 uint32_t rectangles_len ,
11043 const xcb_rectangle_t *rectangles );
11044
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067 xcb_void_cookie_t
11068 xcb_poly_fill_rectangle (xcb_connection_t *c ,
11069 xcb_drawable_t drawable ,
11070 xcb_gcontext_t gc ,
11071 uint32_t rectangles_len ,
11072 const xcb_rectangle_t *rectangles );
11073
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099 xcb_void_cookie_t
11100 xcb_poly_fill_arc_checked (xcb_connection_t *c ,
11101 xcb_drawable_t drawable ,
11102 xcb_gcontext_t gc ,
11103 uint32_t arcs_len ,
11104 const xcb_arc_t *arcs );
11105
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128 xcb_void_cookie_t
11129 xcb_poly_fill_arc (xcb_connection_t *c ,
11130 xcb_drawable_t drawable ,
11131 xcb_gcontext_t gc ,
11132 uint32_t arcs_len ,
11133 const xcb_arc_t *arcs );
11134
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167 xcb_void_cookie_t
11168 xcb_put_image_checked (xcb_connection_t *c ,
11169 uint8_t format ,
11170 xcb_drawable_t drawable ,
11171 xcb_gcontext_t gc ,
11172 uint16_t width ,
11173 uint16_t height ,
11174 int16_t dst_x ,
11175 int16_t dst_y ,
11176 uint8_t left_pad ,
11177 uint8_t depth ,
11178 uint32_t data_len ,
11179 const uint8_t *data );
11180
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210 xcb_void_cookie_t
11211 xcb_put_image (xcb_connection_t *c ,
11212 uint8_t format ,
11213 xcb_drawable_t drawable ,
11214 xcb_gcontext_t gc ,
11215 uint16_t width ,
11216 uint16_t height ,
11217 int16_t dst_x ,
11218 int16_t dst_y ,
11219 uint8_t left_pad ,
11220 uint8_t depth ,
11221 uint32_t data_len ,
11222 const uint8_t *data );
11223
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249 xcb_get_image_cookie_t
11250 xcb_get_image (xcb_connection_t *c ,
11251 uint8_t format ,
11252 xcb_drawable_t drawable ,
11253 int16_t x ,
11254 int16_t y ,
11255 uint16_t width ,
11256 uint16_t height ,
11257 uint32_t plane_mask );
11258
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287 xcb_get_image_cookie_t
11288 xcb_get_image_unchecked (xcb_connection_t *c ,
11289 uint8_t format ,
11290 xcb_drawable_t drawable ,
11291 int16_t x ,
11292 int16_t y ,
11293 uint16_t width ,
11294 uint16_t height ,
11295 uint32_t plane_mask );
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307 uint8_t *
11308 xcb_get_image_data (const xcb_get_image_reply_t *R );
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320 int
11321 xcb_get_image_data_length (const xcb_get_image_reply_t *R );
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333 xcb_generic_iterator_t
11334 xcb_get_image_data_end (const xcb_get_image_reply_t *R );
11335
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362 xcb_get_image_reply_t *
11363 xcb_get_image_reply (xcb_connection_t *c ,
11364 xcb_get_image_cookie_t cookie ,
11365 xcb_generic_error_t **e );
11366
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394 xcb_void_cookie_t
11395 xcb_poly_text_8_checked (xcb_connection_t *c ,
11396 xcb_drawable_t drawable ,
11397 xcb_gcontext_t gc ,
11398 int16_t x ,
11399 int16_t y ,
11400 uint32_t items_len ,
11401 const uint8_t *items );
11402
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427 xcb_void_cookie_t
11428 xcb_poly_text_8 (xcb_connection_t *c ,
11429 xcb_drawable_t drawable ,
11430 xcb_gcontext_t gc ,
11431 int16_t x ,
11432 int16_t y ,
11433 uint32_t items_len ,
11434 const uint8_t *items );
11435
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463 xcb_void_cookie_t
11464 xcb_poly_text_16_checked (xcb_connection_t *c ,
11465 xcb_drawable_t drawable ,
11466 xcb_gcontext_t gc ,
11467 int16_t x ,
11468 int16_t y ,
11469 uint32_t items_len ,
11470 const uint8_t *items );
11471
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496 xcb_void_cookie_t
11497 xcb_poly_text_16 (xcb_connection_t *c ,
11498 xcb_drawable_t drawable ,
11499 xcb_gcontext_t gc ,
11500 int16_t x ,
11501 int16_t y ,
11502 uint32_t items_len ,
11503 const uint8_t *items );
11504
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532 xcb_void_cookie_t
11533 xcb_image_text_8_checked (xcb_connection_t *c ,
11534 uint8_t string_len ,
11535 xcb_drawable_t drawable ,
11536 xcb_gcontext_t gc ,
11537 int16_t x ,
11538 int16_t y ,
11539 const char *string );
11540
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565 xcb_void_cookie_t
11566 xcb_image_text_8 (xcb_connection_t *c ,
11567 uint8_t string_len ,
11568 xcb_drawable_t drawable ,
11569 xcb_gcontext_t gc ,
11570 int16_t x ,
11571 int16_t y ,
11572 const char *string );
11573
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601 xcb_void_cookie_t
11602 xcb_image_text_16_checked (xcb_connection_t *c ,
11603 uint8_t string_len ,
11604 xcb_drawable_t drawable ,
11605 xcb_gcontext_t gc ,
11606 int16_t x ,
11607 int16_t y ,
11608 const xcb_char2b_t *string );
11609
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634 xcb_void_cookie_t
11635 xcb_image_text_16 (xcb_connection_t *c ,
11636 uint8_t string_len ,
11637 xcb_drawable_t drawable ,
11638 xcb_gcontext_t gc ,
11639 int16_t x ,
11640 int16_t y ,
11641 const xcb_char2b_t *string );
11642
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668 xcb_void_cookie_t
11669 xcb_create_colormap_checked (xcb_connection_t *c ,
11670 uint8_t alloc ,
11671 xcb_colormap_t mid ,
11672 xcb_window_t window ,
11673 xcb_visualid_t visual );
11674
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697 xcb_void_cookie_t
11698 xcb_create_colormap (xcb_connection_t *c ,
11699 uint8_t alloc ,
11700 xcb_colormap_t mid ,
11701 xcb_window_t window ,
11702 xcb_visualid_t visual );
11703
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726 xcb_void_cookie_t
11727 xcb_free_colormap_checked (xcb_connection_t *c ,
11728 xcb_colormap_t cmap );
11729
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749 xcb_void_cookie_t
11750 xcb_free_colormap (xcb_connection_t *c ,
11751 xcb_colormap_t cmap );
11752
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776 xcb_void_cookie_t
11777 xcb_copy_colormap_and_free_checked (xcb_connection_t *c ,
11778 xcb_colormap_t mid ,
11779 xcb_colormap_t src_cmap );
11780
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801 xcb_void_cookie_t
11802 xcb_copy_colormap_and_free (xcb_connection_t *c ,
11803 xcb_colormap_t mid ,
11804 xcb_colormap_t src_cmap );
11805
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828 xcb_void_cookie_t
11829 xcb_install_colormap_checked (xcb_connection_t *c ,
11830 xcb_colormap_t cmap );
11831
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851 xcb_void_cookie_t
11852 xcb_install_colormap (xcb_connection_t *c ,
11853 xcb_colormap_t cmap );
11854
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877 xcb_void_cookie_t
11878 xcb_uninstall_colormap_checked (xcb_connection_t *c ,
11879 xcb_colormap_t cmap );
11880
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900 xcb_void_cookie_t
11901 xcb_uninstall_colormap (xcb_connection_t *c ,
11902 xcb_colormap_t cmap );
11903
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923 xcb_list_installed_colormaps_cookie_t
11924 xcb_list_installed_colormaps (xcb_connection_t *c ,
11925 xcb_window_t window );
11926
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949 xcb_list_installed_colormaps_cookie_t
11950 xcb_list_installed_colormaps_unchecked (xcb_connection_t *c ,
11951 xcb_window_t window );
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963 xcb_colormap_t *
11964 xcb_list_installed_colormaps_cmaps (const xcb_list_installed_colormaps_reply_t *R );
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976 int
11977 xcb_list_installed_colormaps_cmaps_length (const xcb_list_installed_colormaps_reply_t *R );
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989 xcb_colormap_iterator_t
11990 xcb_list_installed_colormaps_cmaps_iterator (const xcb_list_installed_colormaps_reply_t *R );
11991
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018 xcb_list_installed_colormaps_reply_t *
12019 xcb_list_installed_colormaps_reply (xcb_connection_t *c ,
12020 xcb_list_installed_colormaps_cookie_t cookie ,
12021 xcb_generic_error_t **e );
12022
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045 xcb_alloc_color_cookie_t
12046 xcb_alloc_color (xcb_connection_t *c ,
12047 xcb_colormap_t cmap ,
12048 uint16_t red ,
12049 uint16_t green ,
12050 uint16_t blue );
12051
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077 xcb_alloc_color_cookie_t
12078 xcb_alloc_color_unchecked (xcb_connection_t *c ,
12079 xcb_colormap_t cmap ,
12080 uint16_t red ,
12081 uint16_t green ,
12082 uint16_t blue );
12083
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110 xcb_alloc_color_reply_t *
12111 xcb_alloc_color_reply (xcb_connection_t *c ,
12112 xcb_alloc_color_cookie_t cookie ,
12113 xcb_generic_error_t **e );
12114
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136 xcb_alloc_named_color_cookie_t
12137 xcb_alloc_named_color (xcb_connection_t *c ,
12138 xcb_colormap_t cmap ,
12139 uint16_t name_len ,
12140 const char *name );
12141
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166 xcb_alloc_named_color_cookie_t
12167 xcb_alloc_named_color_unchecked (xcb_connection_t *c ,
12168 xcb_colormap_t cmap ,
12169 uint16_t name_len ,
12170 const char *name );
12171
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198 xcb_alloc_named_color_reply_t *
12199 xcb_alloc_named_color_reply (xcb_connection_t *c ,
12200 xcb_alloc_named_color_cookie_t cookie ,
12201 xcb_generic_error_t **e );
12202
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225 xcb_alloc_color_cells_cookie_t
12226 xcb_alloc_color_cells (xcb_connection_t *c ,
12227 uint8_t contiguous ,
12228 xcb_colormap_t cmap ,
12229 uint16_t colors ,
12230 uint16_t planes );
12231
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257 xcb_alloc_color_cells_cookie_t
12258 xcb_alloc_color_cells_unchecked (xcb_connection_t *c ,
12259 uint8_t contiguous ,
12260 xcb_colormap_t cmap ,
12261 uint16_t colors ,
12262 uint16_t planes );
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274 uint32_t *
12275 xcb_alloc_color_cells_pixels (const xcb_alloc_color_cells_reply_t *R );
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287 int
12288 xcb_alloc_color_cells_pixels_length (const xcb_alloc_color_cells_reply_t *R );
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300 xcb_generic_iterator_t
12301 xcb_alloc_color_cells_pixels_end (const xcb_alloc_color_cells_reply_t *R );
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313 uint32_t *
12314 xcb_alloc_color_cells_masks (const xcb_alloc_color_cells_reply_t *R );
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326 int
12327 xcb_alloc_color_cells_masks_length (const xcb_alloc_color_cells_reply_t *R );
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339 xcb_generic_iterator_t
12340 xcb_alloc_color_cells_masks_end (const xcb_alloc_color_cells_reply_t *R );
12341
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368 xcb_alloc_color_cells_reply_t *
12369 xcb_alloc_color_cells_reply (xcb_connection_t *c ,
12370 xcb_alloc_color_cells_cookie_t cookie ,
12371 xcb_generic_error_t **e );
12372
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397 xcb_alloc_color_planes_cookie_t
12398 xcb_alloc_color_planes (xcb_connection_t *c ,
12399 uint8_t contiguous ,
12400 xcb_colormap_t cmap ,
12401 uint16_t colors ,
12402 uint16_t reds ,
12403 uint16_t greens ,
12404 uint16_t blues );
12405
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433 xcb_alloc_color_planes_cookie_t
12434 xcb_alloc_color_planes_unchecked (xcb_connection_t *c ,
12435 uint8_t contiguous ,
12436 xcb_colormap_t cmap ,
12437 uint16_t colors ,
12438 uint16_t reds ,
12439 uint16_t greens ,
12440 uint16_t blues );
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452 uint32_t *
12453 xcb_alloc_color_planes_pixels (const xcb_alloc_color_planes_reply_t *R );
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465 int
12466 xcb_alloc_color_planes_pixels_length (const xcb_alloc_color_planes_reply_t *R );
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478 xcb_generic_iterator_t
12479 xcb_alloc_color_planes_pixels_end (const xcb_alloc_color_planes_reply_t *R );
12480
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507 xcb_alloc_color_planes_reply_t *
12508 xcb_alloc_color_planes_reply (xcb_connection_t *c ,
12509 xcb_alloc_color_planes_cookie_t cookie ,
12510 xcb_generic_error_t **e );
12511
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537 xcb_void_cookie_t
12538 xcb_free_colors_checked (xcb_connection_t *c ,
12539 xcb_colormap_t cmap ,
12540 uint32_t plane_mask ,
12541 uint32_t pixels_len ,
12542 const uint32_t *pixels );
12543
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566 xcb_void_cookie_t
12567 xcb_free_colors (xcb_connection_t *c ,
12568 xcb_colormap_t cmap ,
12569 uint32_t plane_mask ,
12570 uint32_t pixels_len ,
12571 const uint32_t *pixels );
12572
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591 void
12592 xcb_coloritem_next (xcb_coloritem_iterator_t *i );
12593
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613 xcb_generic_iterator_t
12614 xcb_coloritem_end (xcb_coloritem_iterator_t i );
12615
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640 xcb_void_cookie_t
12641 xcb_store_colors_checked (xcb_connection_t *c ,
12642 xcb_colormap_t cmap ,
12643 uint32_t items_len ,
12644 const xcb_coloritem_t *items );
12645
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667 xcb_void_cookie_t
12668 xcb_store_colors (xcb_connection_t *c ,
12669 xcb_colormap_t cmap ,
12670 uint32_t items_len ,
12671 const xcb_coloritem_t *items );
12672
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699 xcb_void_cookie_t
12700 xcb_store_named_color_checked (xcb_connection_t *c ,
12701 uint8_t flags ,
12702 xcb_colormap_t cmap ,
12703 uint32_t pixel ,
12704 uint16_t name_len ,
12705 const char *name );
12706
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730 xcb_void_cookie_t
12731 xcb_store_named_color (xcb_connection_t *c ,
12732 uint8_t flags ,
12733 xcb_colormap_t cmap ,
12734 uint32_t pixel ,
12735 uint16_t name_len ,
12736 const char *name );
12737
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756 void
12757 xcb_rgb_next (xcb_rgb_iterator_t *i );
12758
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778 xcb_generic_iterator_t
12779 xcb_rgb_end (xcb_rgb_iterator_t i );
12780
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802 xcb_query_colors_cookie_t
12803 xcb_query_colors (xcb_connection_t *c ,
12804 xcb_colormap_t cmap ,
12805 uint32_t pixels_len ,
12806 const uint32_t *pixels );
12807
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832 xcb_query_colors_cookie_t
12833 xcb_query_colors_unchecked (xcb_connection_t *c ,
12834 xcb_colormap_t cmap ,
12835 uint32_t pixels_len ,
12836 const uint32_t *pixels );
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848 xcb_rgb_t *
12849 xcb_query_colors_colors (const xcb_query_colors_reply_t *R );
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861 int
12862 xcb_query_colors_colors_length (const xcb_query_colors_reply_t *R );
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874 xcb_rgb_iterator_t
12875 xcb_query_colors_colors_iterator (const xcb_query_colors_reply_t *R );
12876
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903 xcb_query_colors_reply_t *
12904 xcb_query_colors_reply (xcb_connection_t *c ,
12905 xcb_query_colors_cookie_t cookie ,
12906 xcb_generic_error_t **e );
12907
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929 xcb_lookup_color_cookie_t
12930 xcb_lookup_color (xcb_connection_t *c ,
12931 xcb_colormap_t cmap ,
12932 uint16_t name_len ,
12933 const char *name );
12934
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959 xcb_lookup_color_cookie_t
12960 xcb_lookup_color_unchecked (xcb_connection_t *c ,
12961 xcb_colormap_t cmap ,
12962 uint16_t name_len ,
12963 const char *name );
12964
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991 xcb_lookup_color_reply_t *
12992 xcb_lookup_color_reply (xcb_connection_t *c ,
12993 xcb_lookup_color_cookie_t cookie ,
12994 xcb_generic_error_t **e );
12995
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028 xcb_void_cookie_t
13029 xcb_create_cursor_checked (xcb_connection_t *c ,
13030 xcb_cursor_t cid ,
13031 xcb_pixmap_t source ,
13032 xcb_pixmap_t mask ,
13033 uint16_t fore_red ,
13034 uint16_t fore_green ,
13035 uint16_t fore_blue ,
13036 uint16_t back_red ,
13037 uint16_t back_green ,
13038 uint16_t back_blue ,
13039 uint16_t x ,
13040 uint16_t y );
13041
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071 xcb_void_cookie_t
13072 xcb_create_cursor (xcb_connection_t *c ,
13073 xcb_cursor_t cid ,
13074 xcb_pixmap_t source ,
13075 xcb_pixmap_t mask ,
13076 uint16_t fore_red ,
13077 uint16_t fore_green ,
13078 uint16_t fore_blue ,
13079 uint16_t back_red ,
13080 uint16_t back_green ,
13081 uint16_t back_blue ,
13082 uint16_t x ,
13083 uint16_t y );
13084
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117 xcb_void_cookie_t
13118 xcb_create_glyph_cursor_checked (xcb_connection_t *c ,
13119 xcb_cursor_t cid ,
13120 xcb_font_t source_font ,
13121 xcb_font_t mask_font ,
13122 uint16_t source_char ,
13123 uint16_t mask_char ,
13124 uint16_t fore_red ,
13125 uint16_t fore_green ,
13126 uint16_t fore_blue ,
13127 uint16_t back_red ,
13128 uint16_t back_green ,
13129 uint16_t back_blue );
13130
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160 xcb_void_cookie_t
13161 xcb_create_glyph_cursor (xcb_connection_t *c ,
13162 xcb_cursor_t cid ,
13163 xcb_font_t source_font ,
13164 xcb_font_t mask_font ,
13165 uint16_t source_char ,
13166 uint16_t mask_char ,
13167 uint16_t fore_red ,
13168 uint16_t fore_green ,
13169 uint16_t fore_blue ,
13170 uint16_t back_red ,
13171 uint16_t back_green ,
13172 uint16_t back_blue );
13173
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196 xcb_void_cookie_t
13197 xcb_free_cursor_checked (xcb_connection_t *c ,
13198 xcb_cursor_t cursor );
13199
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219 xcb_void_cookie_t
13220 xcb_free_cursor (xcb_connection_t *c ,
13221 xcb_cursor_t cursor );
13222
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251 xcb_void_cookie_t
13252 xcb_recolor_cursor_checked (xcb_connection_t *c ,
13253 xcb_cursor_t cursor ,
13254 uint16_t fore_red ,
13255 uint16_t fore_green ,
13256 uint16_t fore_blue ,
13257 uint16_t back_red ,
13258 uint16_t back_green ,
13259 uint16_t back_blue );
13260
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286 xcb_void_cookie_t
13287 xcb_recolor_cursor (xcb_connection_t *c ,
13288 xcb_cursor_t cursor ,
13289 uint16_t fore_red ,
13290 uint16_t fore_green ,
13291 uint16_t fore_blue ,
13292 uint16_t back_red ,
13293 uint16_t back_green ,
13294 uint16_t back_blue );
13295
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318 xcb_query_best_size_cookie_t
13319 xcb_query_best_size (xcb_connection_t *c ,
13320 uint8_t _class ,
13321 xcb_drawable_t drawable ,
13322 uint16_t width ,
13323 uint16_t height );
13324
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350 xcb_query_best_size_cookie_t
13351 xcb_query_best_size_unchecked (xcb_connection_t *c ,
13352 uint8_t _class ,
13353 xcb_drawable_t drawable ,
13354 uint16_t width ,
13355 uint16_t height );
13356
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383 xcb_query_best_size_reply_t *
13384 xcb_query_best_size_reply (xcb_connection_t *c ,
13385 xcb_query_best_size_cookie_t cookie ,
13386 xcb_generic_error_t **e );
13387
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408 xcb_query_extension_cookie_t
13409 xcb_query_extension (xcb_connection_t *c ,
13410 uint16_t name_len ,
13411 const char *name );
13412
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436 xcb_query_extension_cookie_t
13437 xcb_query_extension_unchecked (xcb_connection_t *c ,
13438 uint16_t name_len ,
13439 const char *name );
13440
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467 xcb_query_extension_reply_t *
13468 xcb_query_extension_reply (xcb_connection_t *c ,
13469 xcb_query_extension_cookie_t cookie ,
13470 xcb_generic_error_t **e );
13471
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490 xcb_list_extensions_cookie_t
13491 xcb_list_extensions (xcb_connection_t *c );
13492
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514 xcb_list_extensions_cookie_t
13515 xcb_list_extensions_unchecked (xcb_connection_t *c );
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527 int
13528 xcb_list_extensions_names_length (const xcb_list_extensions_reply_t *R );
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540 xcb_str_iterator_t
13541 xcb_list_extensions_names_iterator (const xcb_list_extensions_reply_t *R );
13542
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569 xcb_list_extensions_reply_t *
13570 xcb_list_extensions_reply (xcb_connection_t *c ,
13571 xcb_list_extensions_cookie_t cookie ,
13572 xcb_generic_error_t **e );
13573
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599 xcb_void_cookie_t
13600 xcb_change_keyboard_mapping_checked (xcb_connection_t *c ,
13601 uint8_t keycode_count ,
13602 xcb_keycode_t first_keycode ,
13603 uint8_t keysyms_per_keycode ,
13604 const xcb_keysym_t *keysyms );
13605
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628 xcb_void_cookie_t
13629 xcb_change_keyboard_mapping (xcb_connection_t *c ,
13630 uint8_t keycode_count ,
13631 xcb_keycode_t first_keycode ,
13632 uint8_t keysyms_per_keycode ,
13633 const xcb_keysym_t *keysyms );
13634
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655 xcb_get_keyboard_mapping_cookie_t
13656 xcb_get_keyboard_mapping (xcb_connection_t *c ,
13657 xcb_keycode_t first_keycode ,
13658 uint8_t count );
13659
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683 xcb_get_keyboard_mapping_cookie_t
13684 xcb_get_keyboard_mapping_unchecked (xcb_connection_t *c ,
13685 xcb_keycode_t first_keycode ,
13686 uint8_t count );
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698 xcb_keysym_t *
13699 xcb_get_keyboard_mapping_keysyms (const xcb_get_keyboard_mapping_reply_t *R );
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711 int
13712 xcb_get_keyboard_mapping_keysyms_length (const xcb_get_keyboard_mapping_reply_t *R );
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724 xcb_keysym_iterator_t
13725 xcb_get_keyboard_mapping_keysyms_iterator (const xcb_get_keyboard_mapping_reply_t *R );
13726
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753 xcb_get_keyboard_mapping_reply_t *
13754 xcb_get_keyboard_mapping_reply (xcb_connection_t *c ,
13755 xcb_get_keyboard_mapping_cookie_t cookie ,
13756 xcb_generic_error_t **e );
13757
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781 xcb_void_cookie_t
13782 xcb_change_keyboard_control_checked (xcb_connection_t *c ,
13783 uint32_t value_mask ,
13784 const uint32_t *value_list );
13785
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806 xcb_void_cookie_t
13807 xcb_change_keyboard_control (xcb_connection_t *c ,
13808 uint32_t value_mask ,
13809 const uint32_t *value_list );
13810
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829 xcb_get_keyboard_control_cookie_t
13830 xcb_get_keyboard_control (xcb_connection_t *c );
13831
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853 xcb_get_keyboard_control_cookie_t
13854 xcb_get_keyboard_control_unchecked (xcb_connection_t *c );
13855
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882 xcb_get_keyboard_control_reply_t *
13883 xcb_get_keyboard_control_reply (xcb_connection_t *c ,
13884 xcb_get_keyboard_control_cookie_t cookie ,
13885 xcb_generic_error_t **e );
13886
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909 xcb_void_cookie_t
13910 xcb_bell_checked (xcb_connection_t *c ,
13911 int8_t percent );
13912
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932 xcb_void_cookie_t
13933 xcb_bell (xcb_connection_t *c ,
13934 int8_t percent );
13935
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962 xcb_void_cookie_t
13963 xcb_change_pointer_control_checked (xcb_connection_t *c ,
13964 int16_t acceleration_numerator ,
13965 int16_t acceleration_denominator ,
13966 int16_t threshold ,
13967 uint8_t do_acceleration ,
13968 uint8_t do_threshold );
13969
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993 xcb_void_cookie_t
13994 xcb_change_pointer_control (xcb_connection_t *c ,
13995 int16_t acceleration_numerator ,
13996 int16_t acceleration_denominator ,
13997 int16_t threshold ,
13998 uint8_t do_acceleration ,
13999 uint8_t do_threshold );
14000
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019 xcb_get_pointer_control_cookie_t
14020 xcb_get_pointer_control (xcb_connection_t *c );
14021
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043 xcb_get_pointer_control_cookie_t
14044 xcb_get_pointer_control_unchecked (xcb_connection_t *c );
14045
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072 xcb_get_pointer_control_reply_t *
14073 xcb_get_pointer_control_reply (xcb_connection_t *c ,
14074 xcb_get_pointer_control_cookie_t cookie ,
14075 xcb_generic_error_t **e );
14076
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102 xcb_void_cookie_t
14103 xcb_set_screen_saver_checked (xcb_connection_t *c ,
14104 int16_t timeout ,
14105 int16_t interval ,
14106 uint8_t prefer_blanking ,
14107 uint8_t allow_exposures );
14108
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131 xcb_void_cookie_t
14132 xcb_set_screen_saver (xcb_connection_t *c ,
14133 int16_t timeout ,
14134 int16_t interval ,
14135 uint8_t prefer_blanking ,
14136 uint8_t allow_exposures );
14137
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156 xcb_get_screen_saver_cookie_t
14157 xcb_get_screen_saver (xcb_connection_t *c );
14158
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180 xcb_get_screen_saver_cookie_t
14181 xcb_get_screen_saver_unchecked (xcb_connection_t *c );
14182
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209 xcb_get_screen_saver_reply_t *
14210 xcb_get_screen_saver_reply (xcb_connection_t *c ,
14211 xcb_get_screen_saver_cookie_t cookie ,
14212 xcb_generic_error_t **e );
14213
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239 xcb_void_cookie_t
14240 xcb_change_hosts_checked (xcb_connection_t *c ,
14241 uint8_t mode ,
14242 uint8_t family ,
14243 uint16_t address_len ,
14244 const char *address );
14245
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268 xcb_void_cookie_t
14269 xcb_change_hosts (xcb_connection_t *c ,
14270 uint8_t mode ,
14271 uint8_t family ,
14272 uint16_t address_len ,
14273 const char *address );
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285 uint8_t *
14286 xcb_host_address (const xcb_host_t *R );
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298 int
14299 xcb_host_address_length (const xcb_host_t *R );
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311 xcb_generic_iterator_t
14312 xcb_host_address_end (const xcb_host_t *R );
14313
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332 void
14333 xcb_host_next (xcb_host_iterator_t *i );
14334
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354 xcb_generic_iterator_t
14355 xcb_host_end (xcb_host_iterator_t i );
14356
14366
14367
14368
14369
14370
14371
14372
14373
14374
14375 xcb_list_hosts_cookie_t
14376 xcb_list_hosts (xcb_connection_t *c );
14377
14390
14391
14392
14393
14394
14395
14396
14397
14398
14399 xcb_list_hosts_cookie_t
14400 xcb_list_hosts_unchecked (xcb_connection_t *c );
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412 int
14413 xcb_list_hosts_hosts_length (const xcb_list_hosts_reply_t *R );
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425 xcb_host_iterator_t
14426 xcb_list_hosts_hosts_iterator (const xcb_list_hosts_reply_t *R );
14427
14443
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454 xcb_list_hosts_reply_t *
14455 xcb_list_hosts_reply (xcb_connection_t *c ,
14456 xcb_list_hosts_cookie_t cookie ,
14457 xcb_generic_error_t **e );
14458
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480
14481 xcb_void_cookie_t
14482 xcb_set_access_control_checked (xcb_connection_t *c ,
14483 uint8_t mode );
14484
14494
14495
14496
14497
14498
14499
14500
14501
14502
14503
14504 xcb_void_cookie_t
14505 xcb_set_access_control (xcb_connection_t *c ,
14506 uint8_t mode );
14507
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
14530 xcb_void_cookie_t
14531 xcb_set_close_down_mode_checked (xcb_connection_t *c ,
14532 uint8_t mode );
14533
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553 xcb_void_cookie_t
14554 xcb_set_close_down_mode (xcb_connection_t *c ,
14555 uint8_t mode );
14556
14569
14570
14571
14572
14573
14574
14575
14576
14577
14578
14579 xcb_void_cookie_t
14580 xcb_kill_client_checked (xcb_connection_t *c ,
14581 uint32_t resource );
14582
14592
14593
14594
14595
14596
14597
14598
14599
14600
14601
14602 xcb_void_cookie_t
14603 xcb_kill_client (xcb_connection_t *c ,
14604 uint32_t resource );
14605
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631 xcb_void_cookie_t
14632 xcb_rotate_properties_checked (xcb_connection_t *c ,
14633 xcb_window_t window ,
14634 uint16_t atoms_len ,
14635 int16_t delta ,
14636 const xcb_atom_t *atoms );
14637
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660 xcb_void_cookie_t
14661 xcb_rotate_properties (xcb_connection_t *c ,
14662 xcb_window_t window ,
14663 uint16_t atoms_len ,
14664 int16_t delta ,
14665 const xcb_atom_t *atoms );
14666
14679
14680
14681
14682
14683
14684
14685
14686
14687
14688
14689 xcb_void_cookie_t
14690 xcb_force_screen_saver_checked (xcb_connection_t *c ,
14691 uint8_t mode );
14692
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712 xcb_void_cookie_t
14713 xcb_force_screen_saver (xcb_connection_t *c ,
14714 uint8_t mode );
14715
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736 xcb_set_pointer_mapping_cookie_t
14737 xcb_set_pointer_mapping (xcb_connection_t *c ,
14738 uint8_t map_len ,
14739 const uint8_t *map );
14740
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764 xcb_set_pointer_mapping_cookie_t
14765 xcb_set_pointer_mapping_unchecked (xcb_connection_t *c ,
14766 uint8_t map_len ,
14767 const uint8_t *map );
14768
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795 xcb_set_pointer_mapping_reply_t *
14796 xcb_set_pointer_mapping_reply (xcb_connection_t *c ,
14797 xcb_set_pointer_mapping_cookie_t cookie ,
14798 xcb_generic_error_t **e );
14799
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818 xcb_get_pointer_mapping_cookie_t
14819 xcb_get_pointer_mapping (xcb_connection_t *c );
14820
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842 xcb_get_pointer_mapping_cookie_t
14843 xcb_get_pointer_mapping_unchecked (xcb_connection_t *c );
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855 uint8_t *
14856 xcb_get_pointer_mapping_map (const xcb_get_pointer_mapping_reply_t *R );
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868 int
14869 xcb_get_pointer_mapping_map_length (const xcb_get_pointer_mapping_reply_t *R );
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881 xcb_generic_iterator_t
14882 xcb_get_pointer_mapping_map_end (const xcb_get_pointer_mapping_reply_t *R );
14883
14899
14900
14901
14902
14903
14904
14905
14906
14907
14908
14909
14910 xcb_get_pointer_mapping_reply_t *
14911 xcb_get_pointer_mapping_reply (xcb_connection_t *c ,
14912 xcb_get_pointer_mapping_cookie_t cookie ,
14913 xcb_generic_error_t **e );
14914
14924
14925
14926
14927
14928
14929
14930
14931
14932
14933
14934
14935 xcb_set_modifier_mapping_cookie_t
14936 xcb_set_modifier_mapping (xcb_connection_t *c ,
14937 uint8_t keycodes_per_modifier ,
14938 const xcb_keycode_t *keycodes );
14939
14952
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963 xcb_set_modifier_mapping_cookie_t
14964 xcb_set_modifier_mapping_unchecked (xcb_connection_t *c ,
14965 uint8_t keycodes_per_modifier ,
14966 const xcb_keycode_t *keycodes );
14967
14983
14984
14985
14986
14987
14988
14989
14990
14991
14992
14993
14994 xcb_set_modifier_mapping_reply_t *
14995 xcb_set_modifier_mapping_reply (xcb_connection_t *c ,
14996 xcb_set_modifier_mapping_cookie_t cookie ,
14997 xcb_generic_error_t **e );
14998
15008
15009
15010
15011
15012
15013
15014
15015
15016
15017 xcb_get_modifier_mapping_cookie_t
15018 xcb_get_modifier_mapping (xcb_connection_t *c );
15019
15032
15033
15034
15035
15036
15037
15038
15039
15040
15041 xcb_get_modifier_mapping_cookie_t
15042 xcb_get_modifier_mapping_unchecked (xcb_connection_t *c );
15043
15044
15045
15046
15047
15048
15049
15050
15051
15052
15053
15054 xcb_keycode_t *
15055 xcb_get_modifier_mapping_keycodes (const xcb_get_modifier_mapping_reply_t *R );
15056
15057
15058
15059
15060
15061
15062
15063
15064
15065
15066
15067 int
15068 xcb_get_modifier_mapping_keycodes_length (const xcb_get_modifier_mapping_reply_t *R );
15069
15070
15071
15072
15073
15074
15075
15076
15077
15078
15079
15080 xcb_keycode_iterator_t
15081 xcb_get_modifier_mapping_keycodes_iterator (const xcb_get_modifier_mapping_reply_t *R );
15082
15098
15099
15100
15101
15102
15103
15104
15105
15106
15107
15108
15109 xcb_get_modifier_mapping_reply_t *
15110 xcb_get_modifier_mapping_reply (xcb_connection_t *c ,
15111 xcb_get_modifier_mapping_cookie_t cookie ,
15112 xcb_generic_error_t **e );
15113
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135 xcb_void_cookie_t
15136 xcb_no_operation_checked (xcb_connection_t *c );
15137
15147
15148
15149
15150
15151
15152
15153
15154
15155
15156 xcb_void_cookie_t
15157 xcb_no_operation (xcb_connection_t *c );
15158
15159
15160 #endif
15161