00001
00002
00003
00004
00005
00012 #ifndef __XPROTO_H
00013 #define __XPROTO_H
00014
00015 #include "xcb.h"
00016
00020 typedef struct xcb_char2b_t {
00021 uint8_t byte1;
00022 uint8_t byte2;
00023 } xcb_char2b_t;
00024
00028 typedef struct xcb_char2b_iterator_t {
00029 xcb_char2b_t *data;
00030 int rem;
00031 int index;
00032 } xcb_char2b_iterator_t;
00033
00034 typedef uint32_t xcb_window_t;
00035
00039 typedef struct xcb_window_iterator_t {
00040 xcb_window_t *data;
00041 int rem;
00042 int index;
00043 } xcb_window_iterator_t;
00044
00045 typedef uint32_t xcb_pixmap_t;
00046
00050 typedef struct xcb_pixmap_iterator_t {
00051 xcb_pixmap_t *data;
00052 int rem;
00053 int index;
00054 } xcb_pixmap_iterator_t;
00055
00056 typedef uint32_t xcb_cursor_t;
00057
00061 typedef struct xcb_cursor_iterator_t {
00062 xcb_cursor_t *data;
00063 int rem;
00064 int index;
00065 } xcb_cursor_iterator_t;
00066
00067 typedef uint32_t xcb_font_t;
00068
00072 typedef struct xcb_font_iterator_t {
00073 xcb_font_t *data;
00074 int rem;
00075 int index;
00076 } xcb_font_iterator_t;
00077
00078 typedef uint32_t xcb_gcontext_t;
00079
00083 typedef struct xcb_gcontext_iterator_t {
00084 xcb_gcontext_t *data;
00085 int rem;
00086 int index;
00087 } xcb_gcontext_iterator_t;
00088
00089 typedef uint32_t xcb_colormap_t;
00090
00094 typedef struct xcb_colormap_iterator_t {
00095 xcb_colormap_t *data;
00096 int rem;
00097 int index;
00098 } xcb_colormap_iterator_t;
00099
00100 typedef uint32_t xcb_atom_t;
00101
00105 typedef struct xcb_atom_iterator_t {
00106 xcb_atom_t *data;
00107 int rem;
00108 int index;
00109 } xcb_atom_iterator_t;
00110
00111 typedef uint32_t xcb_drawable_t;
00112
00116 typedef struct xcb_drawable_iterator_t {
00117 xcb_drawable_t *data;
00118 int rem;
00119 int index;
00120 } xcb_drawable_iterator_t;
00121
00122 typedef uint32_t xcb_fontable_t;
00123
00127 typedef struct xcb_fontable_iterator_t {
00128 xcb_fontable_t *data;
00129 int rem;
00130 int index;
00131 } xcb_fontable_iterator_t;
00132
00133 typedef uint32_t xcb_visualid_t;
00134
00138 typedef struct xcb_visualid_iterator_t {
00139 xcb_visualid_t *data;
00140 int rem;
00141 int index;
00142 } xcb_visualid_iterator_t;
00143
00144 typedef uint32_t xcb_timestamp_t;
00145
00149 typedef struct xcb_timestamp_iterator_t {
00150 xcb_timestamp_t *data;
00151 int rem;
00152 int index;
00153 } xcb_timestamp_iterator_t;
00154
00155 typedef uint32_t xcb_keysym_t;
00156
00160 typedef struct xcb_keysym_iterator_t {
00161 xcb_keysym_t *data;
00162 int rem;
00163 int index;
00164 } xcb_keysym_iterator_t;
00165
00166 typedef uint8_t xcb_keycode_t;
00167
00171 typedef struct xcb_keycode_iterator_t {
00172 xcb_keycode_t *data;
00173 int rem;
00174 int index;
00175 } xcb_keycode_iterator_t;
00176
00177 typedef uint8_t xcb_button_t;
00178
00182 typedef struct xcb_button_iterator_t {
00183 xcb_button_t *data;
00184 int rem;
00185 int index;
00186 } xcb_button_iterator_t;
00187
00191 typedef struct xcb_point_t {
00192 int16_t x;
00193 int16_t y;
00194 } xcb_point_t;
00195
00199 typedef struct xcb_point_iterator_t {
00200 xcb_point_t *data;
00201 int rem;
00202 int index;
00203 } xcb_point_iterator_t;
00204
00208 typedef struct xcb_rectangle_t {
00209 int16_t x;
00210 int16_t y;
00211 uint16_t width;
00212 uint16_t height;
00213 } xcb_rectangle_t;
00214
00218 typedef struct xcb_rectangle_iterator_t {
00219 xcb_rectangle_t *data;
00220 int rem;
00221 int index;
00222 } xcb_rectangle_iterator_t;
00223
00227 typedef struct xcb_arc_t {
00228 int16_t x;
00229 int16_t y;
00230 uint16_t width;
00231 uint16_t height;
00232 int16_t angle1;
00233 int16_t angle2;
00234 } xcb_arc_t;
00235
00239 typedef struct xcb_arc_iterator_t {
00240 xcb_arc_t *data;
00241 int rem;
00242 int index;
00243 } xcb_arc_iterator_t;
00244
00248 typedef struct xcb_format_t {
00249 uint8_t depth;
00250 uint8_t bits_per_pixel;
00251 uint8_t scanline_pad;
00252 uint8_t pad0[5];
00253 } xcb_format_t;
00254
00258 typedef struct xcb_format_iterator_t {
00259 xcb_format_t *data;
00260 int rem;
00261 int index;
00262 } xcb_format_iterator_t;
00263
00264 typedef enum xcb_visual_class_t {
00265 XCB_VISUAL_CLASS_STATIC_GRAY = 0,
00266 XCB_VISUAL_CLASS_GRAY_SCALE = 1,
00267 XCB_VISUAL_CLASS_STATIC_COLOR = 2,
00268 XCB_VISUAL_CLASS_PSEUDO_COLOR = 3,
00269 XCB_VISUAL_CLASS_TRUE_COLOR = 4,
00270 XCB_VISUAL_CLASS_DIRECT_COLOR = 5
00271 } xcb_visual_class_t;
00272
00276 typedef struct xcb_visualtype_t {
00277 xcb_visualid_t visual_id;
00278 uint8_t _class;
00279 uint8_t bits_per_rgb_value;
00280 uint16_t colormap_entries;
00281 uint32_t red_mask;
00282 uint32_t green_mask;
00283 uint32_t blue_mask;
00284 uint8_t pad0[4];
00285 } xcb_visualtype_t;
00286
00290 typedef struct xcb_visualtype_iterator_t {
00291 xcb_visualtype_t *data;
00292 int rem;
00293 int index;
00294 } xcb_visualtype_iterator_t;
00295
00299 typedef struct xcb_depth_t {
00300 uint8_t depth;
00301 uint8_t pad0;
00302 uint16_t visuals_len;
00303 uint8_t pad1[4];
00304 } xcb_depth_t;
00305
00309 typedef struct xcb_depth_iterator_t {
00310 xcb_depth_t *data;
00311 int rem;
00312 int index;
00313 } xcb_depth_iterator_t;
00314
00318 typedef struct xcb_screen_t {
00319 xcb_window_t root;
00320 xcb_colormap_t default_colormap;
00321 uint32_t white_pixel;
00322 uint32_t black_pixel;
00323 uint32_t current_input_masks;
00324 uint16_t width_in_pixels;
00325 uint16_t height_in_pixels;
00326 uint16_t width_in_millimeters;
00327 uint16_t height_in_millimeters;
00328 uint16_t min_installed_maps;
00329 uint16_t max_installed_maps;
00330 xcb_visualid_t root_visual;
00331 uint8_t backing_stores;
00332 uint8_t save_unders;
00333 uint8_t root_depth;
00334 uint8_t allowed_depths_len;
00335 } xcb_screen_t;
00336
00340 typedef struct xcb_screen_iterator_t {
00341 xcb_screen_t *data;
00342 int rem;
00343 int index;
00344 } xcb_screen_iterator_t;
00345
00349 typedef struct xcb_setup_request_t {
00350 uint8_t byte_order;
00351 uint8_t pad0;
00352 uint16_t protocol_major_version;
00353 uint16_t protocol_minor_version;
00354 uint16_t authorization_protocol_name_len;
00355 uint16_t authorization_protocol_data_len;
00356 } xcb_setup_request_t;
00357
00361 typedef struct xcb_setup_request_iterator_t {
00362 xcb_setup_request_t *data;
00363 int rem;
00364 int index;
00365 } xcb_setup_request_iterator_t;
00366
00370 typedef struct xcb_setup_failed_t {
00371 uint8_t status;
00372 uint8_t reason_len;
00373 uint16_t protocol_major_version;
00374 uint16_t protocol_minor_version;
00375 uint16_t length;
00376 } xcb_setup_failed_t;
00377
00381 typedef struct xcb_setup_failed_iterator_t {
00382 xcb_setup_failed_t *data;
00383 int rem;
00384 int index;
00385 } xcb_setup_failed_iterator_t;
00386
00390 typedef struct xcb_setup_authenticate_t {
00391 uint8_t status;
00392 uint8_t pad0[5];
00393 uint16_t length;
00394 } xcb_setup_authenticate_t;
00395
00399 typedef struct xcb_setup_authenticate_iterator_t {
00400 xcb_setup_authenticate_t *data;
00401 int rem;
00402 int index;
00403 } xcb_setup_authenticate_iterator_t;
00404
00405 typedef enum xcb_image_order_t {
00406 XCB_IMAGE_ORDER_LSB_FIRST = 0,
00407 XCB_IMAGE_ORDER_MSB_FIRST = 1
00408 } xcb_image_order_t;
00409
00413 typedef struct xcb_setup_t {
00414 uint8_t status;
00415 uint8_t pad0;
00416 uint16_t protocol_major_version;
00417 uint16_t protocol_minor_version;
00418 uint16_t length;
00419 uint32_t release_number;
00420 uint32_t resource_id_base;
00421 uint32_t resource_id_mask;
00422 uint32_t motion_buffer_size;
00423 uint16_t vendor_len;
00424 uint16_t maximum_request_length;
00425 uint8_t roots_len;
00426 uint8_t pixmap_formats_len;
00427 uint8_t image_byte_order;
00428 uint8_t bitmap_format_bit_order;
00429 uint8_t bitmap_format_scanline_unit;
00430 uint8_t bitmap_format_scanline_pad;
00431 xcb_keycode_t min_keycode;
00432 xcb_keycode_t max_keycode;
00433 uint8_t pad1[4];
00434 } xcb_setup_t;
00435
00439 typedef struct xcb_setup_iterator_t {
00440 xcb_setup_t *data;
00441 int rem;
00442 int index;
00443 } xcb_setup_iterator_t;
00444
00445 typedef enum xcb_mod_mask_t {
00446 XCB_MOD_MASK_SHIFT = (1 << 0),
00447 XCB_MOD_MASK_LOCK = (1 << 1),
00448 XCB_MOD_MASK_CONTROL = (1 << 2),
00449 XCB_MOD_MASK_1 = (1 << 3),
00450 XCB_MOD_MASK_2 = (1 << 4),
00451 XCB_MOD_MASK_3 = (1 << 5),
00452 XCB_MOD_MASK_4 = (1 << 6),
00453 XCB_MOD_MASK_5 = (1 << 7)
00454 } xcb_mod_mask_t;
00455
00457 #define XCB_KEY_PRESS 2
00458
00462 typedef struct xcb_key_press_event_t {
00463 uint8_t response_type;
00464 xcb_keycode_t detail;
00465 uint16_t sequence;
00466 xcb_timestamp_t time;
00467 xcb_window_t root;
00468 xcb_window_t event;
00469 xcb_window_t child;
00470 int16_t root_x;
00471 int16_t root_y;
00472 int16_t event_x;
00473 int16_t event_y;
00474 uint16_t state;
00475 uint8_t same_screen;
00476 } xcb_key_press_event_t;
00477
00479 #define XCB_KEY_RELEASE 3
00480
00481 typedef xcb_key_press_event_t xcb_key_release_event_t;
00482
00483 typedef enum xcb_button_mask_t {
00484 XCB_BUTTON_MASK_1 = (1 << 8),
00485 XCB_BUTTON_MASK_2 = (1 << 9),
00486 XCB_BUTTON_MASK_3 = (1 << 10),
00487 XCB_BUTTON_MASK_4 = (1 << 11),
00488 XCB_BUTTON_MASK_5 = (1 << 12),
00489 XCB_BUTTON_MASK_ANY = (1 << 15)
00490 } xcb_button_mask_t;
00491
00493 #define XCB_BUTTON_PRESS 4
00494
00498 typedef struct xcb_button_press_event_t {
00499 uint8_t response_type;
00500 xcb_button_t detail;
00501 uint16_t sequence;
00502 xcb_timestamp_t time;
00503 xcb_window_t root;
00504 xcb_window_t event;
00505 xcb_window_t child;
00506 int16_t root_x;
00507 int16_t root_y;
00508 int16_t event_x;
00509 int16_t event_y;
00510 uint16_t state;
00511 uint8_t same_screen;
00512 } xcb_button_press_event_t;
00513
00515 #define XCB_BUTTON_RELEASE 5
00516
00517 typedef xcb_button_press_event_t xcb_button_release_event_t;
00518
00519 typedef enum xcb_motion_t {
00520 XCB_MOTION_NORMAL = 0,
00521 XCB_MOTION_HINT = 1
00522 } xcb_motion_t;
00523
00525 #define XCB_MOTION_NOTIFY 6
00526
00530 typedef struct xcb_motion_notify_event_t {
00531 uint8_t response_type;
00532 uint8_t detail;
00533 uint16_t sequence;
00534 xcb_timestamp_t time;
00535 xcb_window_t root;
00536 xcb_window_t event;
00537 xcb_window_t child;
00538 int16_t root_x;
00539 int16_t root_y;
00540 int16_t event_x;
00541 int16_t event_y;
00542 uint16_t state;
00543 uint8_t same_screen;
00544 } xcb_motion_notify_event_t;
00545
00546 typedef enum xcb_notify_detail_t {
00547 XCB_NOTIFY_DETAIL_ANCESTOR = 0,
00548 XCB_NOTIFY_DETAIL_VIRTUAL = 1,
00549 XCB_NOTIFY_DETAIL_INFERIOR = 2,
00550 XCB_NOTIFY_DETAIL_NONLINEAR = 3,
00551 XCB_NOTIFY_DETAIL_NONLINEAR_VIRTUAL = 4,
00552 XCB_NOTIFY_DETAIL_POINTER = 5,
00553 XCB_NOTIFY_DETAIL_POINTER_ROOT = 6,
00554 XCB_NOTIFY_DETAIL_NONE = 7
00555 } xcb_notify_detail_t;
00556
00557 typedef enum xcb_notify_mode_t {
00558 XCB_NOTIFY_MODE_NORMAL = 0,
00559 XCB_NOTIFY_MODE_GRAB = 1,
00560 XCB_NOTIFY_MODE_UNGRAB = 2,
00561 XCB_NOTIFY_MODE_WHILE_GRABBED = 3
00562 } xcb_notify_mode_t;
00563
00565 #define XCB_ENTER_NOTIFY 7
00566
00570 typedef struct xcb_enter_notify_event_t {
00571 uint8_t response_type;
00572 uint8_t detail;
00573 uint16_t sequence;
00574 xcb_timestamp_t time;
00575 xcb_window_t root;
00576 xcb_window_t event;
00577 xcb_window_t child;
00578 int16_t root_x;
00579 int16_t root_y;
00580 int16_t event_x;
00581 int16_t event_y;
00582 uint16_t state;
00583 uint8_t mode;
00584 uint8_t same_screen_focus;
00585 } xcb_enter_notify_event_t;
00586
00588 #define XCB_LEAVE_NOTIFY 8
00589
00590 typedef xcb_enter_notify_event_t xcb_leave_notify_event_t;
00591
00593 #define XCB_FOCUS_IN 9
00594
00598 typedef struct xcb_focus_in_event_t {
00599 uint8_t response_type;
00600 uint8_t detail;
00601 uint16_t sequence;
00602 xcb_window_t event;
00603 uint8_t mode;
00604 } xcb_focus_in_event_t;
00605
00607 #define XCB_FOCUS_OUT 10
00608
00609 typedef xcb_focus_in_event_t xcb_focus_out_event_t;
00610
00612 #define XCB_KEYMAP_NOTIFY 11
00613
00617 typedef struct xcb_keymap_notify_event_t {
00618 uint8_t response_type;
00619 uint8_t keys[31];
00620 } xcb_keymap_notify_event_t;
00621
00623 #define XCB_EXPOSE 12
00624
00628 typedef struct xcb_expose_event_t {
00629 uint8_t response_type;
00630 uint8_t pad0;
00631 uint16_t sequence;
00632 xcb_window_t window;
00633 uint16_t x;
00634 uint16_t y;
00635 uint16_t width;
00636 uint16_t height;
00637 uint16_t count;
00638 } xcb_expose_event_t;
00639
00641 #define XCB_GRAPHICS_EXPOSURE 13
00642
00646 typedef struct xcb_graphics_exposure_event_t {
00647 uint8_t response_type;
00648 uint8_t pad0;
00649 uint16_t sequence;
00650 xcb_drawable_t drawable;
00651 uint16_t x;
00652 uint16_t y;
00653 uint16_t width;
00654 uint16_t height;
00655 uint16_t minor_opcode;
00656 uint16_t count;
00657 uint8_t major_opcode;
00658 } xcb_graphics_exposure_event_t;
00659
00661 #define XCB_NO_EXPOSURE 14
00662
00666 typedef struct xcb_no_exposure_event_t {
00667 uint8_t response_type;
00668 uint8_t pad0;
00669 uint16_t sequence;
00670 xcb_drawable_t drawable;
00671 uint16_t minor_opcode;
00672 uint8_t major_opcode;
00673 } xcb_no_exposure_event_t;
00674
00675 typedef enum xcb_visibility_t {
00676 XCB_VISIBILITY_UNOBSCURED = 0,
00677 XCB_VISIBILITY_PARTIALLY_OBSCURED = 1,
00678 XCB_VISIBILITY_FULLY_OBSCURED = 2
00679 } xcb_visibility_t;
00680
00682 #define XCB_VISIBILITY_NOTIFY 15
00683
00687 typedef struct xcb_visibility_notify_event_t {
00688 uint8_t response_type;
00689 uint8_t pad0;
00690 uint16_t sequence;
00691 xcb_window_t window;
00692 uint8_t state;
00693 } xcb_visibility_notify_event_t;
00694
00696 #define XCB_CREATE_NOTIFY 16
00697
00701 typedef struct xcb_create_notify_event_t {
00702 uint8_t response_type;
00703 uint8_t pad0;
00704 uint16_t sequence;
00705 xcb_window_t parent;
00706 xcb_window_t window;
00707 int16_t x;
00708 int16_t y;
00709 uint16_t width;
00710 uint16_t height;
00711 uint16_t border_width;
00712 uint8_t override_redirect;
00713 } xcb_create_notify_event_t;
00714
00716 #define XCB_DESTROY_NOTIFY 17
00717
00721 typedef struct xcb_destroy_notify_event_t {
00722 uint8_t response_type;
00723 uint8_t pad0;
00724 uint16_t sequence;
00725 xcb_window_t event;
00726 xcb_window_t window;
00727 } xcb_destroy_notify_event_t;
00728
00730 #define XCB_UNMAP_NOTIFY 18
00731
00735 typedef struct xcb_unmap_notify_event_t {
00736 uint8_t response_type;
00737 uint8_t pad0;
00738 uint16_t sequence;
00739 xcb_window_t event;
00740 xcb_window_t window;
00741 uint8_t from_configure;
00742 } xcb_unmap_notify_event_t;
00743
00745 #define XCB_MAP_NOTIFY 19
00746
00750 typedef struct xcb_map_notify_event_t {
00751 uint8_t response_type;
00752 uint8_t pad0;
00753 uint16_t sequence;
00754 xcb_window_t event;
00755 xcb_window_t window;
00756 uint8_t override_redirect;
00757 } xcb_map_notify_event_t;
00758
00760 #define XCB_MAP_REQUEST 20
00761
00765 typedef struct xcb_map_request_event_t {
00766 uint8_t response_type;
00767 uint8_t pad0;
00768 uint16_t sequence;
00769 xcb_window_t parent;
00770 xcb_window_t window;
00771 } xcb_map_request_event_t;
00772
00774 #define XCB_REPARENT_NOTIFY 21
00775
00779 typedef struct xcb_reparent_notify_event_t {
00780 uint8_t response_type;
00781 uint8_t pad0;
00782 uint16_t sequence;
00783 xcb_window_t event;
00784 xcb_window_t window;
00785 xcb_window_t parent;
00786 int16_t x;
00787 int16_t y;
00788 uint8_t override_redirect;
00789 } xcb_reparent_notify_event_t;
00790
00792 #define XCB_CONFIGURE_NOTIFY 22
00793
00797 typedef struct xcb_configure_notify_event_t {
00798 uint8_t response_type;
00799 uint8_t pad0;
00800 uint16_t sequence;
00801 xcb_window_t event;
00802 xcb_window_t window;
00803 xcb_window_t above_sibling;
00804 int16_t x;
00805 int16_t y;
00806 uint16_t width;
00807 uint16_t height;
00808 uint16_t border_width;
00809 uint8_t override_redirect;
00810 } xcb_configure_notify_event_t;
00811
00813 #define XCB_CONFIGURE_REQUEST 23
00814
00818 typedef struct xcb_configure_request_event_t {
00819 uint8_t response_type;
00820 uint8_t stack_mode;
00821 uint16_t sequence;
00822 xcb_window_t parent;
00823 xcb_window_t window;
00824 xcb_window_t sibling;
00825 int16_t x;
00826 int16_t y;
00827 uint16_t width;
00828 uint16_t height;
00829 uint16_t border_width;
00830 uint16_t value_mask;
00831 } xcb_configure_request_event_t;
00832
00834 #define XCB_GRAVITY_NOTIFY 24
00835
00839 typedef struct xcb_gravity_notify_event_t {
00840 uint8_t response_type;
00841 uint8_t pad0;
00842 uint16_t sequence;
00843 xcb_window_t event;
00844 xcb_window_t window;
00845 int16_t x;
00846 int16_t y;
00847 } xcb_gravity_notify_event_t;
00848
00850 #define XCB_RESIZE_REQUEST 25
00851
00855 typedef struct xcb_resize_request_event_t {
00856 uint8_t response_type;
00857 uint8_t pad0;
00858 uint16_t sequence;
00859 xcb_window_t window;
00860 uint16_t width;
00861 uint16_t height;
00862 } xcb_resize_request_event_t;
00863
00864 typedef enum xcb_place_t {
00865 XCB_PLACE_ON_TOP = 0,
00866 XCB_PLACE_ON_BOTTOM = 1
00867 } xcb_place_t;
00868
00870 #define XCB_CIRCULATE_NOTIFY 26
00871
00875 typedef struct xcb_circulate_notify_event_t {
00876 uint8_t response_type;
00877 uint8_t pad0;
00878 uint16_t sequence;
00879 xcb_window_t event;
00880 xcb_window_t window;
00881 uint8_t pad1[4];
00882 uint8_t place;
00883 } xcb_circulate_notify_event_t;
00884
00886 #define XCB_CIRCULATE_REQUEST 27
00887
00888 typedef xcb_circulate_notify_event_t xcb_circulate_request_event_t;
00889
00890 typedef enum xcb_property_t {
00891 XCB_PROPERTY_NEW_VALUE = 0,
00892 XCB_PROPERTY_DELETE = 1
00893 } xcb_property_t;
00894
00896 #define XCB_PROPERTY_NOTIFY 28
00897
00901 typedef struct xcb_property_notify_event_t {
00902 uint8_t response_type;
00903 uint8_t pad0;
00904 uint16_t sequence;
00905 xcb_window_t window;
00906 xcb_atom_t atom;
00907 xcb_timestamp_t time;
00908 uint8_t state;
00909 } xcb_property_notify_event_t;
00910
00912 #define XCB_SELECTION_CLEAR 29
00913
00917 typedef struct xcb_selection_clear_event_t {
00918 uint8_t response_type;
00919 uint8_t pad0;
00920 uint16_t sequence;
00921 xcb_timestamp_t time;
00922 xcb_window_t owner;
00923 xcb_atom_t selection;
00924 } xcb_selection_clear_event_t;
00925
00927 #define XCB_SELECTION_REQUEST 30
00928
00932 typedef struct xcb_selection_request_event_t {
00933 uint8_t response_type;
00934 uint8_t pad0;
00935 uint16_t sequence;
00936 xcb_timestamp_t time;
00937 xcb_window_t owner;
00938 xcb_window_t requestor;
00939 xcb_atom_t selection;
00940 xcb_atom_t target;
00941 xcb_atom_t property;
00942 } xcb_selection_request_event_t;
00943
00945 #define XCB_SELECTION_NOTIFY 31
00946
00950 typedef struct xcb_selection_notify_event_t {
00951 uint8_t response_type;
00952 uint8_t pad0;
00953 uint16_t sequence;
00954 xcb_timestamp_t time;
00955 xcb_window_t requestor;
00956 xcb_atom_t selection;
00957 xcb_atom_t target;
00958 xcb_atom_t property;
00959 } xcb_selection_notify_event_t;
00960
00961 typedef enum xcb_colormap_state_t {
00962 XCB_COLORMAP_STATE_UNINSTALLED = 0,
00963 XCB_COLORMAP_STATE_INSTALLED = 1
00964 } xcb_colormap_state_t;
00965
00967 #define XCB_COLORMAP_NOTIFY 32
00968
00972 typedef struct xcb_colormap_notify_event_t {
00973 uint8_t response_type;
00974 uint8_t pad0;
00975 uint16_t sequence;
00976 xcb_window_t window;
00977 xcb_colormap_t colormap;
00978 uint8_t _new;
00979 uint8_t state;
00980 } xcb_colormap_notify_event_t;
00981
00985 typedef union xcb_client_message_data_t {
00986 uint8_t data8[20];
00987 uint16_t data16[10];
00988 uint32_t data32[5];
00989 } xcb_client_message_data_t;
00990
00994 typedef struct xcb_client_message_data_iterator_t {
00995 xcb_client_message_data_t *data;
00996 int rem;
00997 int index;
00998 } xcb_client_message_data_iterator_t;
00999
01001 #define XCB_CLIENT_MESSAGE 33
01002
01006 typedef struct xcb_client_message_event_t {
01007 uint8_t response_type;
01008 uint8_t format;
01009 uint16_t sequence;
01010 xcb_window_t window;
01011 xcb_atom_t type;
01012 xcb_client_message_data_t data;
01013 } xcb_client_message_event_t;
01014
01015 typedef enum xcb_mapping_t {
01016 XCB_MAPPING_MODIFIER = 0,
01017 XCB_MAPPING_KEYBOARD = 1,
01018 XCB_MAPPING_POINTER = 2
01019 } xcb_mapping_t;
01020
01022 #define XCB_MAPPING_NOTIFY 34
01023
01027 typedef struct xcb_mapping_notify_event_t {
01028 uint8_t response_type;
01029 uint8_t pad0;
01030 uint16_t sequence;
01031 uint8_t request;
01032 xcb_keycode_t first_keycode;
01033 uint8_t count;
01034 } xcb_mapping_notify_event_t;
01035
01037 #define XCB_REQUEST 1
01038
01042 typedef struct xcb_request_error_t {
01043 uint8_t response_type;
01044 uint8_t error_code;
01045 uint16_t sequence;
01046 uint32_t bad_value;
01047 uint16_t minor_opcode;
01048 uint8_t major_opcode;
01049 } xcb_request_error_t;
01050
01052 #define XCB_VALUE 2
01053
01057 typedef struct xcb_value_error_t {
01058 uint8_t response_type;
01059 uint8_t error_code;
01060 uint16_t sequence;
01061 uint32_t bad_value;
01062 uint16_t minor_opcode;
01063 uint8_t major_opcode;
01064 } xcb_value_error_t;
01065
01067 #define XCB_WINDOW 3
01068
01069 typedef xcb_value_error_t xcb_window_error_t;
01070
01072 #define XCB_PIXMAP 4
01073
01074 typedef xcb_value_error_t xcb_pixmap_error_t;
01075
01077 #define XCB_ATOM 5
01078
01079 typedef xcb_value_error_t xcb_atom_error_t;
01080
01082 #define XCB_CURSOR 6
01083
01084 typedef xcb_value_error_t xcb_cursor_error_t;
01085
01087 #define XCB_FONT 7
01088
01089 typedef xcb_value_error_t xcb_font_error_t;
01090
01092 #define XCB_MATCH 8
01093
01094 typedef xcb_request_error_t xcb_match_error_t;
01095
01097 #define XCB_DRAWABLE 9
01098
01099 typedef xcb_value_error_t xcb_drawable_error_t;
01100
01102 #define XCB_ACCESS 10
01103
01104 typedef xcb_request_error_t xcb_access_error_t;
01105
01107 #define XCB_ALLOC 11
01108
01109 typedef xcb_request_error_t xcb_alloc_error_t;
01110
01112 #define XCB_COLORMAP 12
01113
01114 typedef xcb_value_error_t xcb_colormap_error_t;
01115
01117 #define XCB_G_CONTEXT 13
01118
01119 typedef xcb_value_error_t xcb_g_context_error_t;
01120
01122 #define XCB_ID_CHOICE 14
01123
01124 typedef xcb_value_error_t xcb_id_choice_error_t;
01125
01127 #define XCB_NAME 15
01128
01129 typedef xcb_request_error_t xcb_name_error_t;
01130
01132 #define XCB_LENGTH 16
01133
01134 typedef xcb_request_error_t xcb_length_error_t;
01135
01137 #define XCB_IMPLEMENTATION 17
01138
01139 typedef xcb_request_error_t xcb_implementation_error_t;
01140
01141 typedef enum xcb_window_class_t {
01142 XCB_WINDOW_CLASS_COPY_FROM_PARENT = 0,
01143 XCB_WINDOW_CLASS_INPUT_OUTPUT = 1,
01144 XCB_WINDOW_CLASS_INPUT_ONLY = 2
01145 } xcb_window_class_t;
01146
01147 typedef enum xcb_cw_t {
01148 XCB_CW_BACK_PIXMAP = (1 << 0),
01149 XCB_CW_BACK_PIXEL = (1 << 1),
01150 XCB_CW_BORDER_PIXMAP = (1 << 2),
01151 XCB_CW_BORDER_PIXEL = (1 << 3),
01152 XCB_CW_BIT_GRAVITY = (1 << 4),
01153 XCB_CW_WIN_GRAVITY = (1 << 5),
01154 XCB_CW_BACKING_STORE = (1 << 6),
01155 XCB_CW_BACKING_PLANES = (1 << 7),
01156 XCB_CW_BACKING_PIXEL = (1 << 8),
01157 XCB_CW_OVERRIDE_REDIRECT = (1 << 9),
01158 XCB_CW_SAVE_UNDER = (1 << 10),
01159 XCB_CW_EVENT_MASK = (1 << 11),
01160 XCB_CW_DONT_PROPAGATE = (1 << 12),
01161 XCB_CW_COLORMAP = (1 << 13),
01162 XCB_CW_CURSOR = (1 << 14)
01163 } xcb_cw_t;
01164
01165 typedef enum xcb_back_pixmap_t {
01166 XCB_BACK_PIXMAP_NONE = 0,
01167 XCB_BACK_PIXMAP_PARENT_RELATIVE = 1
01168 } xcb_back_pixmap_t;
01169
01170 typedef enum xcb_gravity_t {
01171 XCB_GRAVITY_BIT_FORGET = 0,
01172 XCB_GRAVITY_WIN_UNMAP = 0,
01173 XCB_GRAVITY_NORTH_WEST = 1,
01174 XCB_GRAVITY_NORTH = 2,
01175 XCB_GRAVITY_NORTH_EAST = 3,
01176 XCB_GRAVITY_WEST = 4,
01177 XCB_GRAVITY_CENTER = 5,
01178 XCB_GRAVITY_EAST = 6,
01179 XCB_GRAVITY_SOUTH_WEST = 7,
01180 XCB_GRAVITY_SOUTH = 8,
01181 XCB_GRAVITY_SOUTH_EAST = 9,
01182 XCB_GRAVITY_STATIC = 10
01183 } xcb_gravity_t;
01184
01185 typedef enum xcb_backing_store_t {
01186 XCB_BACKING_STORE_NOT_USEFUL = 0,
01187 XCB_BACKING_STORE_WHEN_MAPPED = 1,
01188 XCB_BACKING_STORE_ALWAYS = 2
01189 } xcb_backing_store_t;
01190
01191 typedef enum xcb_event_mask_t {
01192 XCB_EVENT_MASK_NO_EVENT = 0,
01193 XCB_EVENT_MASK_KEY_PRESS = (1 << 0),
01194 XCB_EVENT_MASK_KEY_RELEASE = (1 << 1),
01195 XCB_EVENT_MASK_BUTTON_PRESS = (1 << 2),
01196 XCB_EVENT_MASK_BUTTON_RELEASE = (1 << 3),
01197 XCB_EVENT_MASK_ENTER_WINDOW = (1 << 4),
01198 XCB_EVENT_MASK_LEAVE_WINDOW = (1 << 5),
01199 XCB_EVENT_MASK_POINTER_MOTION = (1 << 6),
01200 XCB_EVENT_MASK_POINTER_MOTION_HINT = (1 << 7),
01201 XCB_EVENT_MASK_BUTTON_1_MOTION = (1 << 8),
01202 XCB_EVENT_MASK_BUTTON_2_MOTION = (1 << 9),
01203 XCB_EVENT_MASK_BUTTON_3_MOTION = (1 << 10),
01204 XCB_EVENT_MASK_BUTTON_4_MOTION = (1 << 11),
01205 XCB_EVENT_MASK_BUTTON_5_MOTION = (1 << 12),
01206 XCB_EVENT_MASK_BUTTON_MOTION = (1 << 13),
01207 XCB_EVENT_MASK_KEYMAP_STATE = (1 << 14),
01208 XCB_EVENT_MASK_EXPOSURE = (1 << 15),
01209 XCB_EVENT_MASK_VISIBILITY_CHANGE = (1 << 16),
01210 XCB_EVENT_MASK_STRUCTURE_NOTIFY = (1 << 17),
01211 XCB_EVENT_MASK_RESIZE_REDIRECT = (1 << 18),
01212 XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY = (1 << 19),
01213 XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT = (1 << 20),
01214 XCB_EVENT_MASK_FOCUS_CHANGE = (1 << 21),
01215 XCB_EVENT_MASK_PROPERTY_CHANGE = (1 << 22),
01216 XCB_EVENT_MASK_COLOR_MAP_CHANGE = (1 << 23),
01217 XCB_EVENT_MASK_OWNER_GRAB_BUTTON = (1 << 24)
01218 } xcb_event_mask_t;
01219
01221 #define XCB_CREATE_WINDOW 1
01222
01226 typedef struct xcb_create_window_request_t {
01227 uint8_t major_opcode;
01228 uint8_t depth;
01229 uint16_t length;
01230 xcb_window_t wid;
01231 xcb_window_t parent;
01232 int16_t x;
01233 int16_t y;
01234 uint16_t width;
01235 uint16_t height;
01236 uint16_t border_width;
01237 uint16_t _class;
01238 xcb_visualid_t visual;
01239 uint32_t value_mask;
01240 } xcb_create_window_request_t;
01241
01243 #define XCB_CHANGE_WINDOW_ATTRIBUTES 2
01244
01248 typedef struct xcb_change_window_attributes_request_t {
01249 uint8_t major_opcode;
01250 uint8_t pad0;
01251 uint16_t length;
01252 xcb_window_t window;
01253 uint32_t value_mask;
01254 } xcb_change_window_attributes_request_t;
01255
01256 typedef enum xcb_map_state_t {
01257 XCB_MAP_STATE_UNMAPPED = 0,
01258 XCB_MAP_STATE_UNVIEWABLE = 1,
01259 XCB_MAP_STATE_VIEWABLE = 2
01260 } xcb_map_state_t;
01261
01265 typedef struct xcb_get_window_attributes_cookie_t {
01266 unsigned int sequence;
01267 } xcb_get_window_attributes_cookie_t;
01268
01270 #define XCB_GET_WINDOW_ATTRIBUTES 3
01271
01275 typedef struct xcb_get_window_attributes_request_t {
01276 uint8_t major_opcode;
01277 uint8_t pad0;
01278 uint16_t length;
01279 xcb_window_t window;
01280 } xcb_get_window_attributes_request_t;
01281
01285 typedef struct xcb_get_window_attributes_reply_t {
01286 uint8_t response_type;
01287 uint8_t backing_store;
01288 uint16_t sequence;
01289 uint32_t length;
01290 xcb_visualid_t visual;
01291 uint16_t _class;
01292 uint8_t bit_gravity;
01293 uint8_t win_gravity;
01294 uint32_t backing_planes;
01295 uint32_t backing_pixel;
01296 uint8_t save_under;
01297 uint8_t map_is_installed;
01298 uint8_t map_state;
01299 uint8_t override_redirect;
01300 xcb_colormap_t colormap;
01301 uint32_t all_event_masks;
01302 uint32_t your_event_mask;
01303 uint16_t do_not_propagate_mask;
01304 } xcb_get_window_attributes_reply_t;
01305
01307 #define XCB_DESTROY_WINDOW 4
01308
01312 typedef struct xcb_destroy_window_request_t {
01313 uint8_t major_opcode;
01314 uint8_t pad0;
01315 uint16_t length;
01316 xcb_window_t window;
01317 } xcb_destroy_window_request_t;
01318
01320 #define XCB_DESTROY_SUBWINDOWS 5
01321
01325 typedef struct xcb_destroy_subwindows_request_t {
01326 uint8_t major_opcode;
01327 uint8_t pad0;
01328 uint16_t length;
01329 xcb_window_t window;
01330 } xcb_destroy_subwindows_request_t;
01331
01332 typedef enum xcb_set_mode_t {
01333 XCB_SET_MODE_INSERT = 0,
01334 XCB_SET_MODE_DELETE = 1
01335 } xcb_set_mode_t;
01336
01338 #define XCB_CHANGE_SAVE_SET 6
01339
01343 typedef struct xcb_change_save_set_request_t {
01344 uint8_t major_opcode;
01345 uint8_t mode;
01346 uint16_t length;
01347 xcb_window_t window;
01348 } xcb_change_save_set_request_t;
01349
01351 #define XCB_REPARENT_WINDOW 7
01352
01356 typedef struct xcb_reparent_window_request_t {
01357 uint8_t major_opcode;
01358 uint8_t pad0;
01359 uint16_t length;
01360 xcb_window_t window;
01361 xcb_window_t parent;
01362 int16_t x;
01363 int16_t y;
01364 } xcb_reparent_window_request_t;
01365
01367 #define XCB_MAP_WINDOW 8
01368
01372 typedef struct xcb_map_window_request_t {
01373 uint8_t major_opcode;
01374 uint8_t pad0;
01375 uint16_t length;
01376 xcb_window_t window;
01377 } xcb_map_window_request_t;
01378
01380 #define XCB_MAP_SUBWINDOWS 9
01381
01385 typedef struct xcb_map_subwindows_request_t {
01386 uint8_t major_opcode;
01387 uint8_t pad0;
01388 uint16_t length;
01389 xcb_window_t window;
01390 } xcb_map_subwindows_request_t;
01391
01393 #define XCB_UNMAP_WINDOW 10
01394
01398 typedef struct xcb_unmap_window_request_t {
01399 uint8_t major_opcode;
01400 uint8_t pad0;
01401 uint16_t length;
01402 xcb_window_t window;
01403 } xcb_unmap_window_request_t;
01404
01406 #define XCB_UNMAP_SUBWINDOWS 11
01407
01411 typedef struct xcb_unmap_subwindows_request_t {
01412 uint8_t major_opcode;
01413 uint8_t pad0;
01414 uint16_t length;
01415 xcb_window_t window;
01416 } xcb_unmap_subwindows_request_t;
01417
01418 typedef enum xcb_config_window_t {
01419 XCB_CONFIG_WINDOW_X = (1 << 0),
01420 XCB_CONFIG_WINDOW_Y = (1 << 1),
01421 XCB_CONFIG_WINDOW_WIDTH = (1 << 2),
01422 XCB_CONFIG_WINDOW_HEIGHT = (1 << 3),
01423 XCB_CONFIG_WINDOW_BORDER_WIDTH = (1 << 4),
01424 XCB_CONFIG_WINDOW_SIBLING = (1 << 5),
01425 XCB_CONFIG_WINDOW_STACK_MODE = (1 << 6)
01426 } xcb_config_window_t;
01427
01428 typedef enum xcb_stack_mode_t {
01429 XCB_STACK_MODE_ABOVE = 0,
01430 XCB_STACK_MODE_BELOW = 1,
01431 XCB_STACK_MODE_TOP_IF = 2,
01432 XCB_STACK_MODE_BOTTOM_IF = 3,
01433 XCB_STACK_MODE_OPPOSITE = 4
01434 } xcb_stack_mode_t;
01435
01437 #define XCB_CONFIGURE_WINDOW 12
01438
01442 typedef struct xcb_configure_window_request_t {
01443 uint8_t major_opcode;
01444 uint8_t pad0;
01445 uint16_t length;
01446 xcb_window_t window;
01447 uint16_t value_mask;
01448 } xcb_configure_window_request_t;
01449
01450 typedef enum xcb_circulate_t {
01451 XCB_CIRCULATE_RAISE_LOWEST = 0,
01452 XCB_CIRCULATE_LOWER_HIGHEST = 1
01453 } xcb_circulate_t;
01454
01456 #define XCB_CIRCULATE_WINDOW 13
01457
01461 typedef struct xcb_circulate_window_request_t {
01462 uint8_t major_opcode;
01463 uint8_t direction;
01464 uint16_t length;
01465 xcb_window_t window;
01466 } xcb_circulate_window_request_t;
01467
01471 typedef struct xcb_get_geometry_cookie_t {
01472 unsigned int sequence;
01473 } xcb_get_geometry_cookie_t;
01474
01476 #define XCB_GET_GEOMETRY 14
01477
01481 typedef struct xcb_get_geometry_request_t {
01482 uint8_t major_opcode;
01483 uint8_t pad0;
01484 uint16_t length;
01485 xcb_drawable_t drawable;
01486 } xcb_get_geometry_request_t;
01487
01491 typedef struct xcb_get_geometry_reply_t {
01492 uint8_t response_type;
01493 uint8_t depth;
01494 uint16_t sequence;
01495 uint32_t length;
01496 xcb_window_t root;
01497 int16_t x;
01498 int16_t y;
01499 uint16_t width;
01500 uint16_t height;
01501 uint16_t border_width;
01502 } xcb_get_geometry_reply_t;
01503
01507 typedef struct xcb_query_tree_cookie_t {
01508 unsigned int sequence;
01509 } xcb_query_tree_cookie_t;
01510
01512 #define XCB_QUERY_TREE 15
01513
01517 typedef struct xcb_query_tree_request_t {
01518 uint8_t major_opcode;
01519 uint8_t pad0;
01520 uint16_t length;
01521 xcb_window_t window;
01522 } xcb_query_tree_request_t;
01523
01527 typedef struct xcb_query_tree_reply_t {
01528 uint8_t response_type;
01529 uint8_t pad0;
01530 uint16_t sequence;
01531 uint32_t length;
01532 xcb_window_t root;
01533 xcb_window_t parent;
01534 uint16_t children_len;
01535 uint8_t pad1[14];
01536 } xcb_query_tree_reply_t;
01537
01541 typedef struct xcb_intern_atom_cookie_t {
01542 unsigned int sequence;
01543 } xcb_intern_atom_cookie_t;
01544
01546 #define XCB_INTERN_ATOM 16
01547
01551 typedef struct xcb_intern_atom_request_t {
01552 uint8_t major_opcode;
01553 uint8_t only_if_exists;
01554 uint16_t length;
01555 uint16_t name_len;
01556 uint8_t pad0[2];
01557 } xcb_intern_atom_request_t;
01558
01562 typedef struct xcb_intern_atom_reply_t {
01563 uint8_t response_type;
01564 uint8_t pad0;
01565 uint16_t sequence;
01566 uint32_t length;
01567 xcb_atom_t atom;
01568 } xcb_intern_atom_reply_t;
01569
01573 typedef struct xcb_get_atom_name_cookie_t {
01574 unsigned int sequence;
01575 } xcb_get_atom_name_cookie_t;
01576
01578 #define XCB_GET_ATOM_NAME 17
01579
01583 typedef struct xcb_get_atom_name_request_t {
01584 uint8_t major_opcode;
01585 uint8_t pad0;
01586 uint16_t length;
01587 xcb_atom_t atom;
01588 } xcb_get_atom_name_request_t;
01589
01593 typedef struct xcb_get_atom_name_reply_t {
01594 uint8_t response_type;
01595 uint8_t pad0;
01596 uint16_t sequence;
01597 uint32_t length;
01598 uint16_t name_len;
01599 uint8_t pad1[22];
01600 } xcb_get_atom_name_reply_t;
01601
01602 typedef enum xcb_prop_mode_t {
01603 XCB_PROP_MODE_REPLACE = 0,
01604 XCB_PROP_MODE_PREPEND = 1,
01605 XCB_PROP_MODE_APPEND = 2
01606 } xcb_prop_mode_t;
01607
01609 #define XCB_CHANGE_PROPERTY 18
01610
01614 typedef struct xcb_change_property_request_t {
01615 uint8_t major_opcode;
01616 uint8_t mode;
01617 uint16_t length;
01618 xcb_window_t window;
01619 xcb_atom_t property;
01620 xcb_atom_t type;
01621 uint8_t format;
01622 uint8_t pad0[3];
01623 uint32_t data_len;
01624 } xcb_change_property_request_t;
01625
01627 #define XCB_DELETE_PROPERTY 19
01628
01632 typedef struct xcb_delete_property_request_t {
01633 uint8_t major_opcode;
01634 uint8_t pad0;
01635 uint16_t length;
01636 xcb_window_t window;
01637 xcb_atom_t property;
01638 } xcb_delete_property_request_t;
01639
01640 typedef enum xcb_get_property_type_t {
01641 XCB_GET_PROPERTY_TYPE_ANY = 0
01642 } xcb_get_property_type_t;
01643
01647 typedef struct xcb_get_property_cookie_t {
01648 unsigned int sequence;
01649 } xcb_get_property_cookie_t;
01650
01652 #define XCB_GET_PROPERTY 20
01653
01657 typedef struct xcb_get_property_request_t {
01658 uint8_t major_opcode;
01659 uint8_t _delete;
01660 uint16_t length;
01661 xcb_window_t window;
01662 xcb_atom_t property;
01663 xcb_atom_t type;
01664 uint32_t long_offset;
01665 uint32_t long_length;
01666 } xcb_get_property_request_t;
01667
01671 typedef struct xcb_get_property_reply_t {
01672 uint8_t response_type;
01673 uint8_t format;
01674 uint16_t sequence;
01675 uint32_t length;
01676 xcb_atom_t type;
01677 uint32_t bytes_after;
01678 uint32_t value_len;
01679 uint8_t pad0[12];
01680 } xcb_get_property_reply_t;
01681
01685 typedef struct xcb_list_properties_cookie_t {
01686 unsigned int sequence;
01687 } xcb_list_properties_cookie_t;
01688
01690 #define XCB_LIST_PROPERTIES 21
01691
01695 typedef struct xcb_list_properties_request_t {
01696 uint8_t major_opcode;
01697 uint8_t pad0;
01698 uint16_t length;
01699 xcb_window_t window;
01700 } xcb_list_properties_request_t;
01701
01705 typedef struct xcb_list_properties_reply_t {
01706 uint8_t response_type;
01707 uint8_t pad0;
01708 uint16_t sequence;
01709 uint32_t length;
01710 uint16_t atoms_len;
01711 uint8_t pad1[22];
01712 } xcb_list_properties_reply_t;
01713
01715 #define XCB_SET_SELECTION_OWNER 22
01716
01720 typedef struct xcb_set_selection_owner_request_t {
01721 uint8_t major_opcode;
01722 uint8_t pad0;
01723 uint16_t length;
01724 xcb_window_t owner;
01725 xcb_atom_t selection;
01726 xcb_timestamp_t time;
01727 } xcb_set_selection_owner_request_t;
01728
01732 typedef struct xcb_get_selection_owner_cookie_t {
01733 unsigned int sequence;
01734 } xcb_get_selection_owner_cookie_t;
01735
01737 #define XCB_GET_SELECTION_OWNER 23
01738
01742 typedef struct xcb_get_selection_owner_request_t {
01743 uint8_t major_opcode;
01744 uint8_t pad0;
01745 uint16_t length;
01746 xcb_atom_t selection;
01747 } xcb_get_selection_owner_request_t;
01748
01752 typedef struct xcb_get_selection_owner_reply_t {
01753 uint8_t response_type;
01754 uint8_t pad0;
01755 uint16_t sequence;
01756 uint32_t length;
01757 xcb_window_t owner;
01758 } xcb_get_selection_owner_reply_t;
01759
01761 #define XCB_CONVERT_SELECTION 24
01762
01766 typedef struct xcb_convert_selection_request_t {
01767 uint8_t major_opcode;
01768 uint8_t pad0;
01769 uint16_t length;
01770 xcb_window_t requestor;
01771 xcb_atom_t selection;
01772 xcb_atom_t target;
01773 xcb_atom_t property;
01774 xcb_timestamp_t time;
01775 } xcb_convert_selection_request_t;
01776
01777 typedef enum xcb_send_event_dest_t {
01778 XCB_SEND_EVENT_DEST_POINTER_WINDOW = 0,
01779 XCB_SEND_EVENT_DEST_ITEM_FOCUS = 1
01780 } xcb_send_event_dest_t;
01781
01783 #define XCB_SEND_EVENT 25
01784
01788 typedef struct xcb_send_event_request_t {
01789 uint8_t major_opcode;
01790 uint8_t propagate;
01791 uint16_t length;
01792 xcb_window_t destination;
01793 uint32_t event_mask;
01794 } xcb_send_event_request_t;
01795
01796 typedef enum xcb_grab_mode_t {
01797 XCB_GRAB_MODE_SYNC = 0,
01798 XCB_GRAB_MODE_ASYNC = 1
01799 } xcb_grab_mode_t;
01800
01801 typedef enum xcb_grab_status_t {
01802 XCB_GRAB_STATUS_SUCCESS = 0,
01803 XCB_GRAB_STATUS_ALREADY_GRABBED = 1,
01804 XCB_GRAB_STATUS_INVALID_TIME = 2,
01805 XCB_GRAB_STATUS_NOT_VIEWABLE = 3,
01806 XCB_GRAB_STATUS_FROZEN = 4
01807 } xcb_grab_status_t;
01808
01812 typedef struct xcb_grab_pointer_cookie_t {
01813 unsigned int sequence;
01814 } xcb_grab_pointer_cookie_t;
01815
01817 #define XCB_GRAB_POINTER 26
01818
01822 typedef struct xcb_grab_pointer_request_t {
01823 uint8_t major_opcode;
01824 uint8_t owner_events;
01825 uint16_t length;
01826 xcb_window_t grab_window;
01827 uint16_t event_mask;
01828 uint8_t pointer_mode;
01829 uint8_t keyboard_mode;
01830 xcb_window_t confine_to;
01831 xcb_cursor_t cursor;
01832 xcb_timestamp_t time;
01833 } xcb_grab_pointer_request_t;
01834
01838 typedef struct xcb_grab_pointer_reply_t {
01839 uint8_t response_type;
01840 uint8_t status;
01841 uint16_t sequence;
01842 uint32_t length;
01843 } xcb_grab_pointer_reply_t;
01844
01846 #define XCB_UNGRAB_POINTER 27
01847
01851 typedef struct xcb_ungrab_pointer_request_t {
01852 uint8_t major_opcode;
01853 uint8_t pad0;
01854 uint16_t length;
01855 xcb_timestamp_t time;
01856 } xcb_ungrab_pointer_request_t;
01857
01858 typedef enum xcb_button_index_t {
01859 XCB_BUTTON_INDEX_ANY = 0,
01860 XCB_BUTTON_INDEX_1 = 1,
01861 XCB_BUTTON_INDEX_2 = 2,
01862 XCB_BUTTON_INDEX_3 = 3,
01863 XCB_BUTTON_INDEX_4 = 4,
01864 XCB_BUTTON_INDEX_5 = 5
01865 } xcb_button_index_t;
01866
01868 #define XCB_GRAB_BUTTON 28
01869
01873 typedef struct xcb_grab_button_request_t {
01874 uint8_t major_opcode;
01875 uint8_t owner_events;
01876 uint16_t length;
01877 xcb_window_t grab_window;
01878 uint16_t event_mask;
01879 uint8_t pointer_mode;
01880 uint8_t keyboard_mode;
01881 xcb_window_t confine_to;
01882 xcb_cursor_t cursor;
01883 uint8_t button;
01884 uint8_t pad0;
01885 uint16_t modifiers;
01886 } xcb_grab_button_request_t;
01887
01889 #define XCB_UNGRAB_BUTTON 29
01890
01894 typedef struct xcb_ungrab_button_request_t {
01895 uint8_t major_opcode;
01896 uint8_t button;
01897 uint16_t length;
01898 xcb_window_t grab_window;
01899 uint16_t modifiers;
01900 uint8_t pad0[2];
01901 } xcb_ungrab_button_request_t;
01902
01904 #define XCB_CHANGE_ACTIVE_POINTER_GRAB 30
01905
01909 typedef struct xcb_change_active_pointer_grab_request_t {
01910 uint8_t major_opcode;
01911 uint8_t pad0;
01912 uint16_t length;
01913 xcb_cursor_t cursor;
01914 xcb_timestamp_t time;
01915 uint16_t event_mask;
01916 } xcb_change_active_pointer_grab_request_t;
01917
01921 typedef struct xcb_grab_keyboard_cookie_t {
01922 unsigned int sequence;
01923 } xcb_grab_keyboard_cookie_t;
01924
01926 #define XCB_GRAB_KEYBOARD 31
01927
01931 typedef struct xcb_grab_keyboard_request_t {
01932 uint8_t major_opcode;
01933 uint8_t owner_events;
01934 uint16_t length;
01935 xcb_window_t grab_window;
01936 xcb_timestamp_t time;
01937 uint8_t pointer_mode;
01938 uint8_t keyboard_mode;
01939 } xcb_grab_keyboard_request_t;
01940
01944 typedef struct xcb_grab_keyboard_reply_t {
01945 uint8_t response_type;
01946 uint8_t status;
01947 uint16_t sequence;
01948 uint32_t length;
01949 } xcb_grab_keyboard_reply_t;
01950
01952 #define XCB_UNGRAB_KEYBOARD 32
01953
01957 typedef struct xcb_ungrab_keyboard_request_t {
01958 uint8_t major_opcode;
01959 uint8_t pad0;
01960 uint16_t length;
01961 xcb_timestamp_t time;
01962 } xcb_ungrab_keyboard_request_t;
01963
01964 typedef enum xcb_grab_t {
01965 XCB_GRAB_ANY = 0
01966 } xcb_grab_t;
01967
01969 #define XCB_GRAB_KEY 33
01970
01974 typedef struct xcb_grab_key_request_t {
01975 uint8_t major_opcode;
01976 uint8_t owner_events;
01977 uint16_t length;
01978 xcb_window_t grab_window;
01979 uint16_t modifiers;
01980 xcb_keycode_t key;
01981 uint8_t pointer_mode;
01982 uint8_t keyboard_mode;
01983 } xcb_grab_key_request_t;
01984
01986 #define XCB_UNGRAB_KEY 34
01987
01991 typedef struct xcb_ungrab_key_request_t {
01992 uint8_t major_opcode;
01993 xcb_keycode_t key;
01994 uint16_t length;
01995 xcb_window_t grab_window;
01996 uint16_t modifiers;
01997 } xcb_ungrab_key_request_t;
01998
01999 typedef enum xcb_allow_t {
02000 XCB_ALLOW_ASYNC_POINTER = 0,
02001 XCB_ALLOW_SYNC_POINTER = 1,
02002 XCB_ALLOW_REPLAY_POINTER = 2,
02003 XCB_ALLOW_ASYNC_KEYBOARD = 3,
02004 XCB_ALLOW_SYNC_KEYBOARD = 4,
02005 XCB_ALLOW_REPLAY_KEYBOARD = 5,
02006 XCB_ALLOW_ASYNC_BOTH = 6,
02007 XCB_ALLOW_SYNC_BOTH = 7
02008 } xcb_allow_t;
02009
02011 #define XCB_ALLOW_EVENTS 35
02012
02016 typedef struct xcb_allow_events_request_t {
02017 uint8_t major_opcode;
02018 uint8_t mode;
02019 uint16_t length;
02020 xcb_timestamp_t time;
02021 } xcb_allow_events_request_t;
02022
02024 #define XCB_GRAB_SERVER 36
02025
02029 typedef struct xcb_grab_server_request_t {
02030 uint8_t major_opcode;
02031 uint8_t pad0;
02032 uint16_t length;
02033 } xcb_grab_server_request_t;
02034
02036 #define XCB_UNGRAB_SERVER 37
02037
02041 typedef struct xcb_ungrab_server_request_t {
02042 uint8_t major_opcode;
02043 uint8_t pad0;
02044 uint16_t length;
02045 } xcb_ungrab_server_request_t;
02046
02050 typedef struct xcb_query_pointer_cookie_t {
02051 unsigned int sequence;
02052 } xcb_query_pointer_cookie_t;
02053
02055 #define XCB_QUERY_POINTER 38
02056
02060 typedef struct xcb_query_pointer_request_t {
02061 uint8_t major_opcode;
02062 uint8_t pad0;
02063 uint16_t length;
02064 xcb_window_t window;
02065 } xcb_query_pointer_request_t;
02066
02070 typedef struct xcb_query_pointer_reply_t {
02071 uint8_t response_type;
02072 uint8_t same_screen;
02073 uint16_t sequence;
02074 uint32_t length;
02075 xcb_window_t root;
02076 xcb_window_t child;
02077 int16_t root_x;
02078 int16_t root_y;
02079 int16_t win_x;
02080 int16_t win_y;
02081 uint16_t mask;
02082 } xcb_query_pointer_reply_t;
02083
02087 typedef struct xcb_timecoord_t {
02088 xcb_timestamp_t time;
02089 int16_t x;
02090 int16_t y;
02091 } xcb_timecoord_t;
02092
02096 typedef struct xcb_timecoord_iterator_t {
02097 xcb_timecoord_t *data;
02098 int rem;
02099 int index;
02100 } xcb_timecoord_iterator_t;
02101
02105 typedef struct xcb_get_motion_events_cookie_t {
02106 unsigned int sequence;
02107 } xcb_get_motion_events_cookie_t;
02108
02110 #define XCB_GET_MOTION_EVENTS 39
02111
02115 typedef struct xcb_get_motion_events_request_t {
02116 uint8_t major_opcode;
02117 uint8_t pad0;
02118 uint16_t length;
02119 xcb_window_t window;
02120 xcb_timestamp_t start;
02121 xcb_timestamp_t stop;
02122 } xcb_get_motion_events_request_t;
02123
02127 typedef struct xcb_get_motion_events_reply_t {
02128 uint8_t response_type;
02129 uint8_t pad0;
02130 uint16_t sequence;
02131 uint32_t length;
02132 uint32_t events_len;
02133 uint8_t pad1[20];
02134 } xcb_get_motion_events_reply_t;
02135
02139 typedef struct xcb_translate_coordinates_cookie_t {
02140 unsigned int sequence;
02141 } xcb_translate_coordinates_cookie_t;
02142
02144 #define XCB_TRANSLATE_COORDINATES 40
02145
02149 typedef struct xcb_translate_coordinates_request_t {
02150 uint8_t major_opcode;
02151 uint8_t pad0;
02152 uint16_t length;
02153 xcb_window_t src_window;
02154 xcb_window_t dst_window;
02155 int16_t src_x;
02156 int16_t src_y;
02157 } xcb_translate_coordinates_request_t;
02158
02162 typedef struct xcb_translate_coordinates_reply_t {
02163 uint8_t response_type;
02164 uint8_t same_screen;
02165 uint16_t sequence;
02166 uint32_t length;
02167 xcb_window_t child;
02168 uint16_t dst_x;
02169 uint16_t dst_y;
02170 } xcb_translate_coordinates_reply_t;
02171
02173 #define XCB_WARP_POINTER 41
02174
02178 typedef struct xcb_warp_pointer_request_t {
02179 uint8_t major_opcode;
02180 uint8_t pad0;
02181 uint16_t length;
02182 xcb_window_t src_window;
02183 xcb_window_t dst_window;
02184 int16_t src_x;
02185 int16_t src_y;
02186 uint16_t src_width;
02187 uint16_t src_height;
02188 int16_t dst_x;
02189 int16_t dst_y;
02190 } xcb_warp_pointer_request_t;
02191
02192 typedef enum xcb_input_focus_t {
02193 XCB_INPUT_FOCUS_NONE = 0,
02194 XCB_INPUT_FOCUS_POINTER_ROOT = 1,
02195 XCB_INPUT_FOCUS_PARENT = 2
02196 } xcb_input_focus_t;
02197
02199 #define XCB_SET_INPUT_FOCUS 42
02200
02204 typedef struct xcb_set_input_focus_request_t {
02205 uint8_t major_opcode;
02206 uint8_t revert_to;
02207 uint16_t length;
02208 xcb_window_t focus;
02209 xcb_timestamp_t time;
02210 } xcb_set_input_focus_request_t;
02211
02215 typedef struct xcb_get_input_focus_cookie_t {
02216 unsigned int sequence;
02217 } xcb_get_input_focus_cookie_t;
02218
02220 #define XCB_GET_INPUT_FOCUS 43
02221
02225 typedef struct xcb_get_input_focus_request_t {
02226 uint8_t major_opcode;
02227 uint8_t pad0;
02228 uint16_t length;
02229 } xcb_get_input_focus_request_t;
02230
02234 typedef struct xcb_get_input_focus_reply_t {
02235 uint8_t response_type;
02236 uint8_t revert_to;
02237 uint16_t sequence;
02238 uint32_t length;
02239 xcb_window_t focus;
02240 } xcb_get_input_focus_reply_t;
02241
02245 typedef struct xcb_query_keymap_cookie_t {
02246 unsigned int sequence;
02247 } xcb_query_keymap_cookie_t;
02248
02250 #define XCB_QUERY_KEYMAP 44
02251
02255 typedef struct xcb_query_keymap_request_t {
02256 uint8_t major_opcode;
02257 uint8_t pad0;
02258 uint16_t length;
02259 } xcb_query_keymap_request_t;
02260
02264 typedef struct xcb_query_keymap_reply_t {
02265 uint8_t response_type;
02266 uint8_t pad0;
02267 uint16_t sequence;
02268 uint32_t length;
02269 uint8_t keys[32];
02270 } xcb_query_keymap_reply_t;
02271
02273 #define XCB_OPEN_FONT 45
02274
02278 typedef struct xcb_open_font_request_t {
02279 uint8_t major_opcode;
02280 uint8_t pad0;
02281 uint16_t length;
02282 xcb_font_t fid;
02283 uint16_t name_len;
02284 } xcb_open_font_request_t;
02285
02287 #define XCB_CLOSE_FONT 46
02288
02292 typedef struct xcb_close_font_request_t {
02293 uint8_t major_opcode;
02294 uint8_t pad0;
02295 uint16_t length;
02296 xcb_font_t font;
02297 } xcb_close_font_request_t;
02298
02299 typedef enum xcb_font_draw_t {
02300 XCB_FONT_DRAW_LEFT_TO_RIGHT = 0,
02301 XCB_FONT_DRAW_RIGHT_TO_LEFT = 1
02302 } xcb_font_draw_t;
02303
02307 typedef struct xcb_fontprop_t {
02308 xcb_atom_t name;
02309 uint32_t value;
02310 } xcb_fontprop_t;
02311
02315 typedef struct xcb_fontprop_iterator_t {
02316 xcb_fontprop_t *data;
02317 int rem;
02318 int index;
02319 } xcb_fontprop_iterator_t;
02320
02324 typedef struct xcb_charinfo_t {
02325 int16_t left_side_bearing;
02326 int16_t right_side_bearing;
02327 int16_t character_width;
02328 int16_t ascent;
02329 int16_t descent;
02330 uint16_t attributes;
02331 } xcb_charinfo_t;
02332
02336 typedef struct xcb_charinfo_iterator_t {
02337 xcb_charinfo_t *data;
02338 int rem;
02339 int index;
02340 } xcb_charinfo_iterator_t;
02341
02345 typedef struct xcb_query_font_cookie_t {
02346 unsigned int sequence;
02347 } xcb_query_font_cookie_t;
02348
02350 #define XCB_QUERY_FONT 47
02351
02355 typedef struct xcb_query_font_request_t {
02356 uint8_t major_opcode;
02357 uint8_t pad0;
02358 uint16_t length;
02359 xcb_fontable_t font;
02360 } xcb_query_font_request_t;
02361
02365 typedef struct xcb_query_font_reply_t {
02366 uint8_t response_type;
02367 uint8_t pad0;
02368 uint16_t sequence;
02369 uint32_t length;
02370 xcb_charinfo_t min_bounds;
02371 uint8_t pad1[4];
02372 xcb_charinfo_t max_bounds;
02373 uint8_t pad2[4];
02374 uint16_t min_char_or_byte2;
02375 uint16_t max_char_or_byte2;
02376 uint16_t default_char;
02377 uint16_t properties_len;
02378 uint8_t draw_direction;
02379 uint8_t min_byte1;
02380 uint8_t max_byte1;
02381 uint8_t all_chars_exist;
02382 int16_t font_ascent;
02383 int16_t font_descent;
02384 uint32_t char_infos_len;
02385 } xcb_query_font_reply_t;
02386
02390 typedef struct xcb_query_text_extents_cookie_t {
02391 unsigned int sequence;
02392 } xcb_query_text_extents_cookie_t;
02393
02395 #define XCB_QUERY_TEXT_EXTENTS 48
02396
02400 typedef struct xcb_query_text_extents_request_t {
02401 uint8_t major_opcode;
02402 uint8_t odd_length;
02403 uint16_t length;
02404 xcb_fontable_t font;
02405 } xcb_query_text_extents_request_t;
02406
02410 typedef struct xcb_query_text_extents_reply_t {
02411 uint8_t response_type;
02412 uint8_t draw_direction;
02413 uint16_t sequence;
02414 uint32_t length;
02415 int16_t font_ascent;
02416 int16_t font_descent;
02417 int16_t overall_ascent;
02418 int16_t overall_descent;
02419 int32_t overall_width;
02420 int32_t overall_left;
02421 int32_t overall_right;
02422 } xcb_query_text_extents_reply_t;
02423
02427 typedef struct xcb_str_t {
02428 uint8_t name_len;
02429 } xcb_str_t;
02430
02434 typedef struct xcb_str_iterator_t {
02435 xcb_str_t *data;
02436 int rem;
02437 int index;
02438 } xcb_str_iterator_t;
02439
02443 typedef struct xcb_list_fonts_cookie_t {
02444 unsigned int sequence;
02445 } xcb_list_fonts_cookie_t;
02446
02448 #define XCB_LIST_FONTS 49
02449
02453 typedef struct xcb_list_fonts_request_t {
02454 uint8_t major_opcode;
02455 uint8_t pad0;
02456 uint16_t length;
02457 uint16_t max_names;
02458 uint16_t pattern_len;
02459 } xcb_list_fonts_request_t;
02460
02464 typedef struct xcb_list_fonts_reply_t {
02465 uint8_t response_type;
02466 uint8_t pad0;
02467 uint16_t sequence;
02468 uint32_t length;
02469 uint16_t names_len;
02470 uint8_t pad1[22];
02471 } xcb_list_fonts_reply_t;
02472
02476 typedef struct xcb_list_fonts_with_info_cookie_t {
02477 unsigned int sequence;
02478 } xcb_list_fonts_with_info_cookie_t;
02479
02481 #define XCB_LIST_FONTS_WITH_INFO 50
02482
02486 typedef struct xcb_list_fonts_with_info_request_t {
02487 uint8_t major_opcode;
02488 uint8_t pad0;
02489 uint16_t length;
02490 uint16_t max_names;
02491 uint16_t pattern_len;
02492 } xcb_list_fonts_with_info_request_t;
02493
02497 typedef struct xcb_list_fonts_with_info_reply_t {
02498 uint8_t response_type;
02499 uint8_t name_len;
02500 uint16_t sequence;
02501 uint32_t length;
02502 xcb_charinfo_t min_bounds;
02503 uint8_t pad0[4];
02504 xcb_charinfo_t max_bounds;
02505 uint8_t pad1[4];
02506 uint16_t min_char_or_byte2;
02507 uint16_t max_char_or_byte2;
02508 uint16_t default_char;
02509 uint16_t properties_len;
02510 uint8_t draw_direction;
02511 uint8_t min_byte1;
02512 uint8_t max_byte1;
02513 uint8_t all_chars_exist;
02514 int16_t font_ascent;
02515 int16_t font_descent;
02516 uint32_t replies_hint;
02517 } xcb_list_fonts_with_info_reply_t;
02518
02520 #define XCB_SET_FONT_PATH 51
02521
02525 typedef struct xcb_set_font_path_request_t {
02526 uint8_t major_opcode;
02527 uint8_t pad0;
02528 uint16_t length;
02529 uint16_t font_qty;
02530 } xcb_set_font_path_request_t;
02531
02535 typedef struct xcb_get_font_path_cookie_t {
02536 unsigned int sequence;
02537 } xcb_get_font_path_cookie_t;
02538
02540 #define XCB_GET_FONT_PATH 52
02541
02545 typedef struct xcb_get_font_path_request_t {
02546 uint8_t major_opcode;
02547 uint8_t pad0;
02548 uint16_t length;
02549 } xcb_get_font_path_request_t;
02550
02554 typedef struct xcb_get_font_path_reply_t {
02555 uint8_t response_type;
02556 uint8_t pad0;
02557 uint16_t sequence;
02558 uint32_t length;
02559 uint16_t path_len;
02560 uint8_t pad1[22];
02561 } xcb_get_font_path_reply_t;
02562
02564 #define XCB_CREATE_PIXMAP 53
02565
02569 typedef struct xcb_create_pixmap_request_t {
02570 uint8_t major_opcode;
02571 uint8_t depth;
02572 uint16_t length;
02573 xcb_pixmap_t pid;
02574 xcb_drawable_t drawable;
02575 uint16_t width;
02576 uint16_t height;
02577 } xcb_create_pixmap_request_t;
02578
02580 #define XCB_FREE_PIXMAP 54
02581
02585 typedef struct xcb_free_pixmap_request_t {
02586 uint8_t major_opcode;
02587 uint8_t pad0;
02588 uint16_t length;
02589 xcb_pixmap_t pixmap;
02590 } xcb_free_pixmap_request_t;
02591
02592 typedef enum xcb_gc_t {
02593 XCB_GC_FUNCTION = (1 << 0),
02594 XCB_GC_PLANE_MASK = (1 << 1),
02595 XCB_GC_FOREGROUND = (1 << 2),
02596 XCB_GC_BACKGROUND = (1 << 3),
02597 XCB_GC_LINE_WIDTH = (1 << 4),
02598 XCB_GC_LINE_STYLE = (1 << 5),
02599 XCB_GC_CAP_STYLE = (1 << 6),
02600 XCB_GC_JOIN_STYLE = (1 << 7),
02601 XCB_GC_FILL_STYLE = (1 << 8),
02602 XCB_GC_FILL_RULE = (1 << 9),
02603 XCB_GC_TILE = (1 << 10),
02604 XCB_GC_STIPPLE = (1 << 11),
02605 XCB_GC_TILE_STIPPLE_ORIGIN_X = (1 << 12),
02606 XCB_GC_TILE_STIPPLE_ORIGIN_Y = (1 << 13),
02607 XCB_GC_FONT = (1 << 14),
02608 XCB_GC_SUBWINDOW_MODE = (1 << 15),
02609 XCB_GC_GRAPHICS_EXPOSURES = (1 << 16),
02610 XCB_GC_CLIP_ORIGIN_X = (1 << 17),
02611 XCB_GC_CLIP_ORIGIN_Y = (1 << 18),
02612 XCB_GC_CLIP_MASK = (1 << 19),
02613 XCB_GC_DASH_OFFSET = (1 << 20),
02614 XCB_GC_DASH_LIST = (1 << 21),
02615 XCB_GC_ARC_MODE = (1 << 22)
02616 } xcb_gc_t;
02617
02618 typedef enum xcb_gx_t {
02619 XCB_GX_CLEAR = 0x0,
02620 XCB_GX_AND = 0x1,
02621 XCB_GX_AND_REVERSE = 0x2,
02622 XCB_GX_COPY = 0x3,
02623 XCB_GX_AND_INVERTED = 0x4,
02624 XCB_GX_NOOP = 0x5,
02625 XCB_GX_XOR = 0x6,
02626 XCB_GX_OR = 0x7,
02627 XCB_GX_NOR = 0x8,
02628 XCB_GX_EQUIV = 0x9,
02629 XCB_GX_INVERT = 0xa,
02630 XCB_GX_OR_REVERSE = 0xb,
02631 XCB_GX_COPY_INVERTED = 0xc,
02632 XCB_GX_OR_INVERTED = 0xd,
02633 XCB_GX_NAND = 0xe,
02634 XCB_GX_SET = 0xf
02635 } xcb_gx_t;
02636
02637 typedef enum xcb_line_style_t {
02638 XCB_LINE_STYLE_SOLID = 0,
02639 XCB_LINE_STYLE_ON_OFF_DASH = 1,
02640 XCB_LINE_STYLE_DOUBLE_DASH = 2
02641 } xcb_line_style_t;
02642
02643 typedef enum xcb_cap_style_t {
02644 XCB_CAP_STYLE_NOT_LAST = 0,
02645 XCB_CAP_STYLE_BUTT = 1,
02646 XCB_CAP_STYLE_ROUND = 2,
02647 XCB_CAP_STYLE_PROJECTING = 3
02648 } xcb_cap_style_t;
02649
02650 typedef enum xcb_join_style_t {
02651 XCB_JOIN_STYLE_MITRE = 0,
02652 XCB_JOIN_STYLE_ROUND = 1,
02653 XCB_JOIN_STYLE_BEVEL = 2
02654 } xcb_join_style_t;
02655
02656 typedef enum xcb_fill_style_t {
02657 XCB_FILL_STYLE_SOLID = 0,
02658 XCB_FILL_STYLE_TILED = 1,
02659 XCB_FILL_STYLE_STIPPLED = 2,
02660 XCB_FILL_STYLE_OPAQUE_STIPPLED = 3
02661 } xcb_fill_style_t;
02662
02663 typedef enum xcb_fill_rule_t {
02664 XCB_FILL_RULE_EVEN_ODD = 0,
02665 XCB_FILL_RULE_WINDING = 1
02666 } xcb_fill_rule_t;
02667
02668 typedef enum xcb_subwindow_mode_t {
02669 XCB_SUBWINDOW_MODE_CLIP_BY_CHILDREN = 0,
02670 XCB_SUBWINDOW_MODE_INCLUDE_INFERIORS = 1
02671 } xcb_subwindow_mode_t;
02672
02673 typedef enum xcb_arc_mode_t {
02674 XCB_ARC_MODE_CHORD = 0,
02675 XCB_ARC_MODE_PIE_SLICE = 1
02676 } xcb_arc_mode_t;
02677
02679 #define XCB_CREATE_GC 55
02680
02684 typedef struct xcb_create_gc_request_t {
02685 uint8_t major_opcode;
02686 uint8_t pad0;
02687 uint16_t length;
02688 xcb_gcontext_t cid;
02689 xcb_drawable_t drawable;
02690 uint32_t value_mask;
02691 } xcb_create_gc_request_t;
02692
02694 #define XCB_CHANGE_GC 56
02695
02699 typedef struct xcb_change_gc_request_t {
02700 uint8_t major_opcode;
02701 uint8_t pad0;
02702 uint16_t length;
02703 xcb_gcontext_t gc;
02704 uint32_t value_mask;
02705 } xcb_change_gc_request_t;
02706
02708 #define XCB_COPY_GC 57
02709
02713 typedef struct xcb_copy_gc_request_t {
02714 uint8_t major_opcode;
02715 uint8_t pad0;
02716 uint16_t length;
02717 xcb_gcontext_t src_gc;
02718 xcb_gcontext_t dst_gc;
02719 uint32_t value_mask;
02720 } xcb_copy_gc_request_t;
02721
02723 #define XCB_SET_DASHES 58
02724
02728 typedef struct xcb_set_dashes_request_t {
02729 uint8_t major_opcode;
02730 uint8_t pad0;
02731 uint16_t length;
02732 xcb_gcontext_t gc;
02733 uint16_t dash_offset;
02734 uint16_t dashes_len;
02735 } xcb_set_dashes_request_t;
02736
02737 typedef enum xcb_clip_ordering_t {
02738 XCB_CLIP_ORDERING_UNSORTED = 0,
02739 XCB_CLIP_ORDERING_Y_SORTED = 1,
02740 XCB_CLIP_ORDERING_YX_SORTED = 2,
02741 XCB_CLIP_ORDERING_YX_BANDED = 3
02742 } xcb_clip_ordering_t;
02743
02745 #define XCB_SET_CLIP_RECTANGLES 59
02746
02750 typedef struct xcb_set_clip_rectangles_request_t {
02751 uint8_t major_opcode;
02752 uint8_t ordering;
02753 uint16_t length;
02754 xcb_gcontext_t gc;
02755 int16_t clip_x_origin;
02756 int16_t clip_y_origin;
02757 } xcb_set_clip_rectangles_request_t;
02758
02760 #define XCB_FREE_GC 60
02761
02765 typedef struct xcb_free_gc_request_t {
02766 uint8_t major_opcode;
02767 uint8_t pad0;
02768 uint16_t length;
02769 xcb_gcontext_t gc;
02770 } xcb_free_gc_request_t;
02771
02773 #define XCB_CLEAR_AREA 61
02774
02778 typedef struct xcb_clear_area_request_t {
02779 uint8_t major_opcode;
02780 uint8_t exposures;
02781 uint16_t length;
02782 xcb_window_t window;
02783 int16_t x;
02784 int16_t y;
02785 uint16_t width;
02786 uint16_t height;
02787 } xcb_clear_area_request_t;
02788
02790 #define XCB_COPY_AREA 62
02791
02795 typedef struct xcb_copy_area_request_t {
02796 uint8_t major_opcode;
02797 uint8_t pad0;
02798 uint16_t length;
02799 xcb_drawable_t src_drawable;
02800 xcb_drawable_t dst_drawable;
02801 xcb_gcontext_t gc;
02802 int16_t src_x;
02803 int16_t src_y;
02804 int16_t dst_x;
02805 int16_t dst_y;
02806 uint16_t width;
02807 uint16_t height;
02808 } xcb_copy_area_request_t;
02809
02811 #define XCB_COPY_PLANE 63
02812
02816 typedef struct xcb_copy_plane_request_t {
02817 uint8_t major_opcode;
02818 uint8_t pad0;
02819 uint16_t length;
02820 xcb_drawable_t src_drawable;
02821 xcb_drawable_t dst_drawable;
02822 xcb_gcontext_t gc;
02823 int16_t src_x;
02824 int16_t src_y;
02825 int16_t dst_x;
02826 int16_t dst_y;
02827 uint16_t width;
02828 uint16_t height;
02829 uint32_t bit_plane;
02830 } xcb_copy_plane_request_t;
02831
02832 typedef enum xcb_coord_mode_t {
02833 XCB_COORD_MODE_ORIGIN = 0,
02834 XCB_COORD_MODE_PREVIOUS = 1
02835 } xcb_coord_mode_t;
02836
02838 #define XCB_POLY_POINT 64
02839
02843 typedef struct xcb_poly_point_request_t {
02844 uint8_t major_opcode;
02845 uint8_t coordinate_mode;
02846 uint16_t length;
02847 xcb_drawable_t drawable;
02848 xcb_gcontext_t gc;
02849 } xcb_poly_point_request_t;
02850
02852 #define XCB_POLY_LINE 65
02853
02857 typedef struct xcb_poly_line_request_t {
02858 uint8_t major_opcode;
02859 uint8_t coordinate_mode;
02860 uint16_t length;
02861 xcb_drawable_t drawable;
02862 xcb_gcontext_t gc;
02863 } xcb_poly_line_request_t;
02864
02868 typedef struct xcb_segment_t {
02869 int16_t x1;
02870 int16_t y1;
02871 int16_t x2;
02872 int16_t y2;
02873 } xcb_segment_t;
02874
02878 typedef struct xcb_segment_iterator_t {
02879 xcb_segment_t *data;
02880 int rem;
02881 int index;
02882 } xcb_segment_iterator_t;
02883
02885 #define XCB_POLY_SEGMENT 66
02886
02890 typedef struct xcb_poly_segment_request_t {
02891 uint8_t major_opcode;
02892 uint8_t pad0;
02893 uint16_t length;
02894 xcb_drawable_t drawable;
02895 xcb_gcontext_t gc;
02896 } xcb_poly_segment_request_t;
02897
02899 #define XCB_POLY_RECTANGLE 67
02900
02904 typedef struct xcb_poly_rectangle_request_t {
02905 uint8_t major_opcode;
02906 uint8_t pad0;
02907 uint16_t length;
02908 xcb_drawable_t drawable;
02909 xcb_gcontext_t gc;
02910 } xcb_poly_rectangle_request_t;
02911
02913 #define XCB_POLY_ARC 68
02914
02918 typedef struct xcb_poly_arc_request_t {
02919 uint8_t major_opcode;
02920 uint8_t pad0;
02921 uint16_t length;
02922 xcb_drawable_t drawable;
02923 xcb_gcontext_t gc;
02924 } xcb_poly_arc_request_t;
02925
02926 typedef enum xcb_poly_shape_t {
02927 XCB_POLY_SHAPE_COMPLEX = 0,
02928 XCB_POLY_SHAPE_NONCONVEX = 1,
02929 XCB_POLY_SHAPE_CONVEX = 2
02930 } xcb_poly_shape_t;
02931
02933 #define XCB_FILL_POLY 69
02934
02938 typedef struct xcb_fill_poly_request_t {
02939 uint8_t major_opcode;
02940 uint8_t pad0;
02941 uint16_t length;
02942 xcb_drawable_t drawable;
02943 xcb_gcontext_t gc;
02944 uint8_t shape;
02945 uint8_t coordinate_mode;
02946 } xcb_fill_poly_request_t;
02947
02949 #define XCB_POLY_FILL_RECTANGLE 70
02950
02954 typedef struct xcb_poly_fill_rectangle_request_t {
02955 uint8_t major_opcode;
02956 uint8_t pad0;
02957 uint16_t length;
02958 xcb_drawable_t drawable;
02959 xcb_gcontext_t gc;
02960 } xcb_poly_fill_rectangle_request_t;
02961
02963 #define XCB_POLY_FILL_ARC 71
02964
02968 typedef struct xcb_poly_fill_arc_request_t {
02969 uint8_t major_opcode;
02970 uint8_t pad0;
02971 uint16_t length;
02972 xcb_drawable_t drawable;
02973 xcb_gcontext_t gc;
02974 } xcb_poly_fill_arc_request_t;
02975
02976 typedef enum xcb_image_format_t {
02977 XCB_IMAGE_FORMAT_XY_BITMAP = 0,
02978 XCB_IMAGE_FORMAT_XY_PIXMAP = 1,
02979 XCB_IMAGE_FORMAT_Z_PIXMAP = 2
02980 } xcb_image_format_t;
02981
02983 #define XCB_PUT_IMAGE 72
02984
02988 typedef struct xcb_put_image_request_t {
02989 uint8_t major_opcode;
02990 uint8_t format;
02991 uint16_t length;
02992 xcb_drawable_t drawable;
02993 xcb_gcontext_t gc;
02994 uint16_t width;
02995 uint16_t height;
02996 int16_t dst_x;
02997 int16_t dst_y;
02998 uint8_t left_pad;
02999 uint8_t depth;
03000 } xcb_put_image_request_t;
03001
03005 typedef struct xcb_get_image_cookie_t {
03006 unsigned int sequence;
03007 } xcb_get_image_cookie_t;
03008
03010 #define XCB_GET_IMAGE 73
03011
03015 typedef struct xcb_get_image_request_t {
03016 uint8_t major_opcode;
03017 uint8_t format;
03018 uint16_t length;
03019 xcb_drawable_t drawable;
03020 int16_t x;
03021 int16_t y;
03022 uint16_t width;
03023 uint16_t height;
03024 uint32_t plane_mask;
03025 } xcb_get_image_request_t;
03026
03030 typedef struct xcb_get_image_reply_t {
03031 uint8_t response_type;
03032 uint8_t depth;
03033 uint16_t sequence;
03034 uint32_t length;
03035 xcb_visualid_t visual;
03036 uint8_t pad0[20];
03037 } xcb_get_image_reply_t;
03038
03040 #define XCB_POLY_TEXT_8 74
03041
03045 typedef struct xcb_poly_text_8_request_t {
03046 uint8_t major_opcode;
03047 uint8_t pad0;
03048 uint16_t length;
03049 xcb_drawable_t drawable;
03050 xcb_gcontext_t gc;
03051 int16_t x;
03052 int16_t y;
03053 } xcb_poly_text_8_request_t;
03054
03056 #define XCB_POLY_TEXT_16 75
03057
03061 typedef struct xcb_poly_text_16_request_t {
03062 uint8_t major_opcode;
03063 uint8_t pad0;
03064 uint16_t length;
03065 xcb_drawable_t drawable;
03066 xcb_gcontext_t gc;
03067 int16_t x;
03068 int16_t y;
03069 } xcb_poly_text_16_request_t;
03070
03072 #define XCB_IMAGE_TEXT_8 76
03073
03077 typedef struct xcb_image_text_8_request_t {
03078 uint8_t major_opcode;
03079 uint8_t string_len;
03080 uint16_t length;
03081 xcb_drawable_t drawable;
03082 xcb_gcontext_t gc;
03083 int16_t x;
03084 int16_t y;
03085 } xcb_image_text_8_request_t;
03086
03088 #define XCB_IMAGE_TEXT_16 77
03089
03093 typedef struct xcb_image_text_16_request_t {
03094 uint8_t major_opcode;
03095 uint8_t string_len;
03096 uint16_t length;
03097 xcb_drawable_t drawable;
03098 xcb_gcontext_t gc;
03099 int16_t x;
03100 int16_t y;
03101 } xcb_image_text_16_request_t;
03102
03103 typedef enum xcb_colormap_alloc_t {
03104 XCB_COLORMAP_ALLOC_NONE = 0,
03105 XCB_COLORMAP_ALLOC_ALL = 1
03106 } xcb_colormap_alloc_t;
03107
03109 #define XCB_CREATE_COLORMAP 78
03110
03114 typedef struct xcb_create_colormap_request_t {
03115 uint8_t major_opcode;
03116 uint8_t alloc;
03117 uint16_t length;
03118 xcb_colormap_t mid;
03119 xcb_window_t window;
03120 xcb_visualid_t visual;
03121 } xcb_create_colormap_request_t;
03122
03124 #define XCB_FREE_COLORMAP 79
03125
03129 typedef struct xcb_free_colormap_request_t {
03130 uint8_t major_opcode;
03131 uint8_t pad0;
03132 uint16_t length;
03133 xcb_colormap_t cmap;
03134 } xcb_free_colormap_request_t;
03135
03137 #define XCB_COPY_COLORMAP_AND_FREE 80
03138
03142 typedef struct xcb_copy_colormap_and_free_request_t {
03143 uint8_t major_opcode;
03144 uint8_t pad0;
03145 uint16_t length;
03146 xcb_colormap_t mid;
03147 xcb_colormap_t src_cmap;
03148 } xcb_copy_colormap_and_free_request_t;
03149
03151 #define XCB_INSTALL_COLORMAP 81
03152
03156 typedef struct xcb_install_colormap_request_t {
03157 uint8_t major_opcode;
03158 uint8_t pad0;
03159 uint16_t length;
03160 xcb_colormap_t cmap;
03161 } xcb_install_colormap_request_t;
03162
03164 #define XCB_UNINSTALL_COLORMAP 82
03165
03169 typedef struct xcb_uninstall_colormap_request_t {
03170 uint8_t major_opcode;
03171 uint8_t pad0;
03172 uint16_t length;
03173 xcb_colormap_t cmap;
03174 } xcb_uninstall_colormap_request_t;
03175
03179 typedef struct xcb_list_installed_colormaps_cookie_t {
03180 unsigned int sequence;
03181 } xcb_list_installed_colormaps_cookie_t;
03182
03184 #define XCB_LIST_INSTALLED_COLORMAPS 83
03185
03189 typedef struct xcb_list_installed_colormaps_request_t {
03190 uint8_t major_opcode;
03191 uint8_t pad0;
03192 uint16_t length;
03193 xcb_window_t window;
03194 } xcb_list_installed_colormaps_request_t;
03195
03199 typedef struct xcb_list_installed_colormaps_reply_t {
03200 uint8_t response_type;
03201 uint8_t pad0;
03202 uint16_t sequence;
03203 uint32_t length;
03204 uint16_t cmaps_len;
03205 uint8_t pad1[22];
03206 } xcb_list_installed_colormaps_reply_t;
03207
03211 typedef struct xcb_alloc_color_cookie_t {
03212 unsigned int sequence;
03213 } xcb_alloc_color_cookie_t;
03214
03216 #define XCB_ALLOC_COLOR 84
03217
03221 typedef struct xcb_alloc_color_request_t {
03222 uint8_t major_opcode;
03223 uint8_t pad0;
03224 uint16_t length;
03225 xcb_colormap_t cmap;
03226 uint16_t red;
03227 uint16_t green;
03228 uint16_t blue;
03229 } xcb_alloc_color_request_t;
03230
03234 typedef struct xcb_alloc_color_reply_t {
03235 uint8_t response_type;
03236 uint8_t pad0;
03237 uint16_t sequence;
03238 uint32_t length;
03239 uint16_t red;
03240 uint16_t green;
03241 uint16_t blue;
03242 uint8_t pad1[2];
03243 uint32_t pixel;
03244 } xcb_alloc_color_reply_t;
03245
03249 typedef struct xcb_alloc_named_color_cookie_t {
03250 unsigned int sequence;
03251 } xcb_alloc_named_color_cookie_t;
03252
03254 #define XCB_ALLOC_NAMED_COLOR 85
03255
03259 typedef struct xcb_alloc_named_color_request_t {
03260 uint8_t major_opcode;
03261 uint8_t pad0;
03262 uint16_t length;
03263 xcb_colormap_t cmap;
03264 uint16_t name_len;
03265 } xcb_alloc_named_color_request_t;
03266
03270 typedef struct xcb_alloc_named_color_reply_t {
03271 uint8_t response_type;
03272 uint8_t pad0;
03273 uint16_t sequence;
03274 uint32_t length;
03275 uint32_t pixel;
03276 uint16_t exact_red;
03277 uint16_t exact_green;
03278 uint16_t exact_blue;
03279 uint16_t visual_red;
03280 uint16_t visual_green;
03281 uint16_t visual_blue;
03282 } xcb_alloc_named_color_reply_t;
03283
03287 typedef struct xcb_alloc_color_cells_cookie_t {
03288 unsigned int sequence;
03289 } xcb_alloc_color_cells_cookie_t;
03290
03292 #define XCB_ALLOC_COLOR_CELLS 86
03293
03297 typedef struct xcb_alloc_color_cells_request_t {
03298 uint8_t major_opcode;
03299 uint8_t contiguous;
03300 uint16_t length;
03301 xcb_colormap_t cmap;
03302 uint16_t colors;
03303 uint16_t planes;
03304 } xcb_alloc_color_cells_request_t;
03305
03309 typedef struct xcb_alloc_color_cells_reply_t {
03310 uint8_t response_type;
03311 uint8_t pad0;
03312 uint16_t sequence;
03313 uint32_t length;
03314 uint16_t pixels_len;
03315 uint16_t masks_len;
03316 uint8_t pad1[20];
03317 } xcb_alloc_color_cells_reply_t;
03318
03322 typedef struct xcb_alloc_color_planes_cookie_t {
03323 unsigned int sequence;
03324 } xcb_alloc_color_planes_cookie_t;
03325
03327 #define XCB_ALLOC_COLOR_PLANES 87
03328
03332 typedef struct xcb_alloc_color_planes_request_t {
03333 uint8_t major_opcode;
03334 uint8_t contiguous;
03335 uint16_t length;
03336 xcb_colormap_t cmap;
03337 uint16_t colors;
03338 uint16_t reds;
03339 uint16_t greens;
03340 uint16_t blues;
03341 } xcb_alloc_color_planes_request_t;
03342
03346 typedef struct xcb_alloc_color_planes_reply_t {
03347 uint8_t response_type;
03348 uint8_t pad0;
03349 uint16_t sequence;
03350 uint32_t length;
03351 uint16_t pixels_len;
03352 uint8_t pad1[2];
03353 uint32_t red_mask;
03354 uint32_t green_mask;
03355 uint32_t blue_mask;
03356 uint8_t pad2[8];
03357 } xcb_alloc_color_planes_reply_t;
03358
03360 #define XCB_FREE_COLORS 88
03361
03365 typedef struct xcb_free_colors_request_t {
03366 uint8_t major_opcode;
03367 uint8_t pad0;
03368 uint16_t length;
03369 xcb_colormap_t cmap;
03370 uint32_t plane_mask;
03371 } xcb_free_colors_request_t;
03372
03373 typedef enum xcb_color_flag_t {
03374 XCB_COLOR_FLAG_RED = (1 << 0),
03375 XCB_COLOR_FLAG_GREEN = (1 << 1),
03376 XCB_COLOR_FLAG_BLUE = (1 << 2)
03377 } xcb_color_flag_t;
03378
03382 typedef struct xcb_coloritem_t {
03383 uint32_t pixel;
03384 uint16_t red;
03385 uint16_t green;
03386 uint16_t blue;
03387 uint8_t flags;
03388 uint8_t pad0;
03389 } xcb_coloritem_t;
03390
03394 typedef struct xcb_coloritem_iterator_t {
03395 xcb_coloritem_t *data;
03396 int rem;
03397 int index;
03398 } xcb_coloritem_iterator_t;
03399
03401 #define XCB_STORE_COLORS 89
03402
03406 typedef struct xcb_store_colors_request_t {
03407 uint8_t major_opcode;
03408 uint8_t pad0;
03409 uint16_t length;
03410 xcb_colormap_t cmap;
03411 } xcb_store_colors_request_t;
03412
03414 #define XCB_STORE_NAMED_COLOR 90
03415
03419 typedef struct xcb_store_named_color_request_t {
03420 uint8_t major_opcode;
03421 uint8_t flags;
03422 uint16_t length;
03423 xcb_colormap_t cmap;
03424 uint32_t pixel;
03425 uint16_t name_len;
03426 } xcb_store_named_color_request_t;
03427
03431 typedef struct xcb_rgb_t {
03432 uint16_t red;
03433 uint16_t green;
03434 uint16_t blue;
03435 uint8_t pad0[2];
03436 } xcb_rgb_t;
03437
03441 typedef struct xcb_rgb_iterator_t {
03442 xcb_rgb_t *data;
03443 int rem;
03444 int index;
03445 } xcb_rgb_iterator_t;
03446
03450 typedef struct xcb_query_colors_cookie_t {
03451 unsigned int sequence;
03452 } xcb_query_colors_cookie_t;
03453
03455 #define XCB_QUERY_COLORS 91
03456
03460 typedef struct xcb_query_colors_request_t {
03461 uint8_t major_opcode;
03462 uint8_t pad0;
03463 uint16_t length;
03464 xcb_colormap_t cmap;
03465 } xcb_query_colors_request_t;
03466
03470 typedef struct xcb_query_colors_reply_t {
03471 uint8_t response_type;
03472 uint8_t pad0;
03473 uint16_t sequence;
03474 uint32_t length;
03475 uint16_t colors_len;
03476 uint8_t pad1[22];
03477 } xcb_query_colors_reply_t;
03478
03482 typedef struct xcb_lookup_color_cookie_t {
03483 unsigned int sequence;
03484 } xcb_lookup_color_cookie_t;
03485
03487 #define XCB_LOOKUP_COLOR 92
03488
03492 typedef struct xcb_lookup_color_request_t {
03493 uint8_t major_opcode;
03494 uint8_t pad0;
03495 uint16_t length;
03496 xcb_colormap_t cmap;
03497 uint16_t name_len;
03498 } xcb_lookup_color_request_t;
03499
03503 typedef struct xcb_lookup_color_reply_t {
03504 uint8_t response_type;
03505 uint8_t pad0;
03506 uint16_t sequence;
03507 uint32_t length;
03508 uint16_t exact_red;
03509 uint16_t exact_green;
03510 uint16_t exact_blue;
03511 uint16_t visual_red;
03512 uint16_t visual_green;
03513 uint16_t visual_blue;
03514 } xcb_lookup_color_reply_t;
03515
03517 #define XCB_CREATE_CURSOR 93
03518
03522 typedef struct xcb_create_cursor_request_t {
03523 uint8_t major_opcode;
03524 uint8_t pad0;
03525 uint16_t length;
03526 xcb_cursor_t cid;
03527 xcb_pixmap_t source;
03528 xcb_pixmap_t mask;
03529 uint16_t fore_red;
03530 uint16_t fore_green;
03531 uint16_t fore_blue;
03532 uint16_t back_red;
03533 uint16_t back_green;
03534 uint16_t back_blue;
03535 uint16_t x;
03536 uint16_t y;
03537 } xcb_create_cursor_request_t;
03538
03540 #define XCB_CREATE_GLYPH_CURSOR 94
03541
03545 typedef struct xcb_create_glyph_cursor_request_t {
03546 uint8_t major_opcode;
03547 uint8_t pad0;
03548 uint16_t length;
03549 xcb_cursor_t cid;
03550 xcb_font_t source_font;
03551 xcb_font_t mask_font;
03552 uint16_t source_char;
03553 uint16_t mask_char;
03554 uint16_t fore_red;
03555 uint16_t fore_green;
03556 uint16_t fore_blue;
03557 uint16_t back_red;
03558 uint16_t back_green;
03559 uint16_t back_blue;
03560 } xcb_create_glyph_cursor_request_t;
03561
03563 #define XCB_FREE_CURSOR 95
03564
03568 typedef struct xcb_free_cursor_request_t {
03569 uint8_t major_opcode;
03570 uint8_t pad0;
03571 uint16_t length;
03572 xcb_cursor_t cursor;
03573 } xcb_free_cursor_request_t;
03574
03576 #define XCB_RECOLOR_CURSOR 96
03577
03581 typedef struct xcb_recolor_cursor_request_t {
03582 uint8_t major_opcode;
03583 uint8_t pad0;
03584 uint16_t length;
03585 xcb_cursor_t cursor;
03586 uint16_t fore_red;
03587 uint16_t fore_green;
03588 uint16_t fore_blue;
03589 uint16_t back_red;
03590 uint16_t back_green;
03591 uint16_t back_blue;
03592 } xcb_recolor_cursor_request_t;
03593
03594 typedef enum xcb_query_shape_of_t {
03595 XCB_QUERY_SHAPE_OF_LARGEST_CURSOR = 0,
03596 XCB_QUERY_SHAPE_OF_FASTEST_TILE = 1,
03597 XCB_QUERY_SHAPE_OF_FASTEST_STIPPLE = 2
03598 } xcb_query_shape_of_t;
03599
03603 typedef struct xcb_query_best_size_cookie_t {
03604 unsigned int sequence;
03605 } xcb_query_best_size_cookie_t;
03606
03608 #define XCB_QUERY_BEST_SIZE 97
03609
03613 typedef struct xcb_query_best_size_request_t {
03614 uint8_t major_opcode;
03615 uint8_t _class;
03616 uint16_t length;
03617 xcb_drawable_t drawable;
03618 uint16_t width;
03619 uint16_t height;
03620 } xcb_query_best_size_request_t;
03621
03625 typedef struct xcb_query_best_size_reply_t {
03626 uint8_t response_type;
03627 uint8_t pad0;
03628 uint16_t sequence;
03629 uint32_t length;
03630 uint16_t width;
03631 uint16_t height;
03632 } xcb_query_best_size_reply_t;
03633
03637 typedef struct xcb_query_extension_cookie_t {
03638 unsigned int sequence;
03639 } xcb_query_extension_cookie_t;
03640
03642 #define XCB_QUERY_EXTENSION 98
03643
03647 typedef struct xcb_query_extension_request_t {
03648 uint8_t major_opcode;
03649 uint8_t pad0;
03650 uint16_t length;
03651 uint16_t name_len;
03652 } xcb_query_extension_request_t;
03653
03657 typedef struct xcb_query_extension_reply_t {
03658 uint8_t response_type;
03659 uint8_t pad0;
03660 uint16_t sequence;
03661 uint32_t length;
03662 uint8_t present;
03663 uint8_t major_opcode;
03664 uint8_t first_event;
03665 uint8_t first_error;
03666 } xcb_query_extension_reply_t;
03667
03671 typedef struct xcb_list_extensions_cookie_t {
03672 unsigned int sequence;
03673 } xcb_list_extensions_cookie_t;
03674
03676 #define XCB_LIST_EXTENSIONS 99
03677
03681 typedef struct xcb_list_extensions_request_t {
03682 uint8_t major_opcode;
03683 uint8_t pad0;
03684 uint16_t length;
03685 } xcb_list_extensions_request_t;
03686
03690 typedef struct xcb_list_extensions_reply_t {
03691 uint8_t response_type;
03692 uint8_t names_len;
03693 uint16_t sequence;
03694 uint32_t length;
03695 uint8_t pad0[24];
03696 } xcb_list_extensions_reply_t;
03697
03699 #define XCB_CHANGE_KEYBOARD_MAPPING 100
03700
03704 typedef struct xcb_change_keyboard_mapping_request_t {
03705 uint8_t major_opcode;
03706 uint8_t keycode_count;
03707 uint16_t length;
03708 xcb_keycode_t first_keycode;
03709 uint8_t keysyms_per_keycode;
03710 } xcb_change_keyboard_mapping_request_t;
03711
03715 typedef struct xcb_get_keyboard_mapping_cookie_t {
03716 unsigned int sequence;
03717 } xcb_get_keyboard_mapping_cookie_t;
03718
03720 #define XCB_GET_KEYBOARD_MAPPING 101
03721
03725 typedef struct xcb_get_keyboard_mapping_request_t {
03726 uint8_t major_opcode;
03727 uint8_t pad0;
03728 uint16_t length;
03729 xcb_keycode_t first_keycode;
03730 uint8_t count;
03731 } xcb_get_keyboard_mapping_request_t;
03732
03736 typedef struct xcb_get_keyboard_mapping_reply_t {
03737 uint8_t response_type;
03738 uint8_t keysyms_per_keycode;
03739 uint16_t sequence;
03740 uint32_t length;
03741 uint8_t pad0[24];
03742 } xcb_get_keyboard_mapping_reply_t;
03743
03744 typedef enum xcb_kb_t {
03745 XCB_KB_KEY_CLICK_PERCENT = (1 << 0),
03746 XCB_KB_BELL_PERCENT = (1 << 1),
03747 XCB_KB_BELL_PITCH = (1 << 2),
03748 XCB_KB_BELL_DURATION = (1 << 3),
03749 XCB_KB_LED = (1 << 4),
03750 XCB_KB_LED_MODE = (1 << 5),
03751 XCB_KB_KEY = (1 << 6),
03752 XCB_KB_AUTO_REPEAT_MODE = (1 << 7)
03753 } xcb_kb_t;
03754
03755 typedef enum xcb_led_mode_t {
03756 XCB_LED_MODE_OFF = 0,
03757 XCB_LED_MODE_ON = 1
03758 } xcb_led_mode_t;
03759
03760 typedef enum xcb_auto_repeat_mode_t {
03761 XCB_AUTO_REPEAT_MODE_OFF = 0,
03762 XCB_AUTO_REPEAT_MODE_ON = 1,
03763 XCB_AUTO_REPEAT_MODE_DEFAULT = 2
03764 } xcb_auto_repeat_mode_t;
03765
03767 #define XCB_CHANGE_KEYBOARD_CONTROL 102
03768
03772 typedef struct xcb_change_keyboard_control_request_t {
03773 uint8_t major_opcode;
03774 uint8_t pad0;
03775 uint16_t length;
03776 uint32_t value_mask;
03777 } xcb_change_keyboard_control_request_t;
03778
03782 typedef struct xcb_get_keyboard_control_cookie_t {
03783 unsigned int sequence;
03784 } xcb_get_keyboard_control_cookie_t;
03785
03787 #define XCB_GET_KEYBOARD_CONTROL 103
03788
03792 typedef struct xcb_get_keyboard_control_request_t {
03793 uint8_t major_opcode;
03794 uint8_t pad0;
03795 uint16_t length;
03796 } xcb_get_keyboard_control_request_t;
03797
03801 typedef struct xcb_get_keyboard_control_reply_t {
03802 uint8_t response_type;
03803 uint8_t global_auto_repeat;
03804 uint16_t sequence;
03805 uint32_t length;
03806 uint32_t led_mask;
03807 uint8_t key_click_percent;
03808 uint8_t bell_percent;
03809 uint16_t bell_pitch;
03810 uint16_t bell_duration;
03811 uint8_t pad0[2];
03812 uint8_t auto_repeats[32];
03813 } xcb_get_keyboard_control_reply_t;
03814
03816 #define XCB_BELL 104
03817
03821 typedef struct xcb_bell_request_t {
03822 uint8_t major_opcode;
03823 int8_t percent;
03824 uint16_t length;
03825 } xcb_bell_request_t;
03826
03828 #define XCB_CHANGE_POINTER_CONTROL 105
03829
03833 typedef struct xcb_change_pointer_control_request_t {
03834 uint8_t major_opcode;
03835 uint8_t pad0;
03836 uint16_t length;
03837 int16_t acceleration_numerator;
03838 int16_t acceleration_denominator;
03839 int16_t threshold;
03840 uint8_t do_acceleration;
03841 uint8_t do_threshold;
03842 } xcb_change_pointer_control_request_t;
03843
03847 typedef struct xcb_get_pointer_control_cookie_t {
03848 unsigned int sequence;
03849 } xcb_get_pointer_control_cookie_t;
03850
03852 #define XCB_GET_POINTER_CONTROL 106
03853
03857 typedef struct xcb_get_pointer_control_request_t {
03858 uint8_t major_opcode;
03859 uint8_t pad0;
03860 uint16_t length;
03861 } xcb_get_pointer_control_request_t;
03862
03866 typedef struct xcb_get_pointer_control_reply_t {
03867 uint8_t response_type;
03868 uint8_t pad0;
03869 uint16_t sequence;
03870 uint32_t length;
03871 uint16_t acceleration_numerator;
03872 uint16_t acceleration_denominator;
03873 uint16_t threshold;
03874 } xcb_get_pointer_control_reply_t;
03875
03876 typedef enum xcb_blanking_t {
03877 XCB_BLANKING_NOT_PREFERRED = 0,
03878 XCB_BLANKING_PREFERRED = 1,
03879 XCB_BLANKING_DEFAULT = 2
03880 } xcb_blanking_t;
03881
03882 typedef enum xcb_exposures_t {
03883 XCB_EXPOSURES_NOT_ALLOWED = 0,
03884 XCB_EXPOSURES_ALLOWED = 1,
03885 XCB_EXPOSURES_DEFAULT = 2
03886 } xcb_exposures_t;
03887
03889 #define XCB_SET_SCREEN_SAVER 107
03890
03894 typedef struct xcb_set_screen_saver_request_t {
03895 uint8_t major_opcode;
03896 uint8_t pad0;
03897 uint16_t length;
03898 int16_t timeout;
03899 int16_t interval;
03900 uint8_t prefer_blanking;
03901 uint8_t allow_exposures;
03902 } xcb_set_screen_saver_request_t;
03903
03907 typedef struct xcb_get_screen_saver_cookie_t {
03908 unsigned int sequence;
03909 } xcb_get_screen_saver_cookie_t;
03910
03912 #define XCB_GET_SCREEN_SAVER 108
03913
03917 typedef struct xcb_get_screen_saver_request_t {
03918 uint8_t major_opcode;
03919 uint8_t pad0;
03920 uint16_t length;
03921 } xcb_get_screen_saver_request_t;
03922
03926 typedef struct xcb_get_screen_saver_reply_t {
03927 uint8_t response_type;
03928 uint8_t pad0;
03929 uint16_t sequence;
03930 uint32_t length;
03931 uint16_t timeout;
03932 uint16_t interval;
03933 uint8_t prefer_blanking;
03934 uint8_t allow_exposures;
03935 } xcb_get_screen_saver_reply_t;
03936
03937 typedef enum xcb_host_mode_t {
03938 XCB_HOST_MODE_INSERT = 0,
03939 XCB_HOST_MODE_DELETE = 1
03940 } xcb_host_mode_t;
03941
03942 typedef enum xcb_family_t {
03943 XCB_FAMILY_INTERNET = 0,
03944 XCB_FAMILY_DECNET = 1,
03945 XCB_FAMILY_CHAOS = 2,
03946 XCB_FAMILY_SERVER_INTERPRETED = 5,
03947 XCB_FAMILY_INTERNET_6 = 6
03948 } xcb_family_t;
03949
03951 #define XCB_CHANGE_HOSTS 109
03952
03956 typedef struct xcb_change_hosts_request_t {
03957 uint8_t major_opcode;
03958 uint8_t mode;
03959 uint16_t length;
03960 uint8_t family;
03961 uint8_t pad0;
03962 uint16_t address_len;
03963 } xcb_change_hosts_request_t;
03964
03968 typedef struct xcb_host_t {
03969 uint8_t family;
03970 uint8_t pad0;
03971 uint16_t address_len;
03972 } xcb_host_t;
03973
03977 typedef struct xcb_host_iterator_t {
03978 xcb_host_t *data;
03979 int rem;
03980 int index;
03981 } xcb_host_iterator_t;
03982
03986 typedef struct xcb_list_hosts_cookie_t {
03987 unsigned int sequence;
03988 } xcb_list_hosts_cookie_t;
03989
03991 #define XCB_LIST_HOSTS 110
03992
03996 typedef struct xcb_list_hosts_request_t {
03997 uint8_t major_opcode;
03998 uint8_t pad0;
03999 uint16_t length;
04000 } xcb_list_hosts_request_t;
04001
04005 typedef struct xcb_list_hosts_reply_t {
04006 uint8_t response_type;
04007 uint8_t mode;
04008 uint16_t sequence;
04009 uint32_t length;
04010 uint16_t hosts_len;
04011 uint8_t pad0[22];
04012 } xcb_list_hosts_reply_t;
04013
04014 typedef enum xcb_access_control_t {
04015 XCB_ACCESS_CONTROL_DISABLE = 0,
04016 XCB_ACCESS_CONTROL_ENABLE = 1
04017 } xcb_access_control_t;
04018
04020 #define XCB_SET_ACCESS_CONTROL 111
04021
04025 typedef struct xcb_set_access_control_request_t {
04026 uint8_t major_opcode;
04027 uint8_t mode;
04028 uint16_t length;
04029 } xcb_set_access_control_request_t;
04030
04031 typedef enum xcb_close_down_t {
04032 XCB_CLOSE_DOWN_DESTROY_ALL = 0,
04033 XCB_CLOSE_DOWN_RETAIN_PERMANENT = 1,
04034 XCB_CLOSE_DOWN_RETAIN_TEMPORARY = 2
04035 } xcb_close_down_t;
04036
04038 #define XCB_SET_CLOSE_DOWN_MODE 112
04039
04043 typedef struct xcb_set_close_down_mode_request_t {
04044 uint8_t major_opcode;
04045 uint8_t mode;
04046 uint16_t length;
04047 } xcb_set_close_down_mode_request_t;
04048
04049 typedef enum xcb_kill_t {
04050 XCB_KILL_ALL_TEMPORARY = 0
04051 } xcb_kill_t;
04052
04054 #define XCB_KILL_CLIENT 113
04055
04059 typedef struct xcb_kill_client_request_t {
04060 uint8_t major_opcode;
04061 uint8_t pad0;
04062 uint16_t length;
04063 uint32_t resource;
04064 } xcb_kill_client_request_t;
04065
04067 #define XCB_ROTATE_PROPERTIES 114
04068
04072 typedef struct xcb_rotate_properties_request_t {
04073 uint8_t major_opcode;
04074 xcb_window_t window;
04075 uint16_t length;
04076 uint16_t atoms_len;
04077 int16_t delta;
04078 } xcb_rotate_properties_request_t;
04079
04080 typedef enum xcb_screen_saver_t {
04081 XCB_SCREEN_SAVER_RESET = 0,
04082 XCB_SCREEN_SAVER_ACTIVE = 1
04083 } xcb_screen_saver_t;
04084
04086 #define XCB_FORCE_SCREEN_SAVER 115
04087
04091 typedef struct xcb_force_screen_saver_request_t {
04092 uint8_t major_opcode;
04093 uint8_t mode;
04094 uint16_t length;
04095 } xcb_force_screen_saver_request_t;
04096
04097 typedef enum xcb_mapping_status_t {
04098 XCB_MAPPING_STATUS_SUCCESS = 0,
04099 XCB_MAPPING_STATUS_BUSY = 1,
04100 XCB_MAPPING_STATUS_FAILURE = 2
04101 } xcb_mapping_status_t;
04102
04106 typedef struct xcb_set_pointer_mapping_cookie_t {
04107 unsigned int sequence;
04108 } xcb_set_pointer_mapping_cookie_t;
04109
04111 #define XCB_SET_POINTER_MAPPING 116
04112
04116 typedef struct xcb_set_pointer_mapping_request_t {
04117 uint8_t major_opcode;
04118 uint8_t map_len;
04119 uint16_t length;
04120 } xcb_set_pointer_mapping_request_t;
04121
04125 typedef struct xcb_set_pointer_mapping_reply_t {
04126 uint8_t response_type;
04127 uint8_t status;
04128 uint16_t sequence;
04129 uint32_t length;
04130 } xcb_set_pointer_mapping_reply_t;
04131
04135 typedef struct xcb_get_pointer_mapping_cookie_t {
04136 unsigned int sequence;
04137 } xcb_get_pointer_mapping_cookie_t;
04138
04140 #define XCB_GET_POINTER_MAPPING 117
04141
04145 typedef struct xcb_get_pointer_mapping_request_t {
04146 uint8_t major_opcode;
04147 uint8_t pad0;
04148 uint16_t length;
04149 } xcb_get_pointer_mapping_request_t;
04150
04154 typedef struct xcb_get_pointer_mapping_reply_t {
04155 uint8_t response_type;
04156 uint8_t map_len;
04157 uint16_t sequence;
04158 uint32_t length;
04159 uint8_t pad0[24];
04160 } xcb_get_pointer_mapping_reply_t;
04161
04162 typedef enum xcb_map_index_t {
04163 XCB_MAP_INDEX_SHIFT = 0,
04164 XCB_MAP_INDEX_LOCK = 1,
04165 XCB_MAP_INDEX_CONTROL = 2,
04166 XCB_MAP_INDEX_1 = 3,
04167 XCB_MAP_INDEX_2 = 4,
04168 XCB_MAP_INDEX_3 = 5,
04169 XCB_MAP_INDEX_4 = 6,
04170 XCB_MAP_INDEX_5 = 7
04171 } xcb_map_index_t;
04172
04176 typedef struct xcb_set_modifier_mapping_cookie_t {
04177 unsigned int sequence;
04178 } xcb_set_modifier_mapping_cookie_t;
04179
04181 #define XCB_SET_MODIFIER_MAPPING 118
04182
04186 typedef struct xcb_set_modifier_mapping_request_t {
04187 uint8_t major_opcode;
04188 uint8_t keycodes_per_modifier;
04189 uint16_t length;
04190 } xcb_set_modifier_mapping_request_t;
04191
04195 typedef struct xcb_set_modifier_mapping_reply_t {
04196 uint8_t response_type;
04197 uint8_t status;
04198 uint16_t sequence;
04199 uint32_t length;
04200 } xcb_set_modifier_mapping_reply_t;
04201
04205 typedef struct xcb_get_modifier_mapping_cookie_t {
04206 unsigned int sequence;
04207 } xcb_get_modifier_mapping_cookie_t;
04208
04210 #define XCB_GET_MODIFIER_MAPPING 119
04211
04215 typedef struct xcb_get_modifier_mapping_request_t {
04216 uint8_t major_opcode;
04217 uint8_t pad0;
04218 uint16_t length;
04219 } xcb_get_modifier_mapping_request_t;
04220
04224 typedef struct xcb_get_modifier_mapping_reply_t {
04225 uint8_t response_type;
04226 uint8_t keycodes_per_modifier;
04227 uint16_t sequence;
04228 uint32_t length;
04229 uint8_t pad0[24];
04230 } xcb_get_modifier_mapping_reply_t;
04231
04233 #define XCB_NO_OPERATION 127
04234
04238 typedef struct xcb_no_operation_request_t {
04239 uint8_t major_opcode;
04240 uint8_t pad0;
04241 uint16_t length;
04242 } xcb_no_operation_request_t;
04243
04244
04245
04246
04247
04248
04249
04250
04251
04252
04253
04254 void
04255 xcb_char2b_next (xcb_char2b_iterator_t *i );
04256
04257
04258
04259
04260
04261
04262
04263
04264
04265
04266
04267 xcb_generic_iterator_t
04268 xcb_char2b_end (xcb_char2b_iterator_t i );
04269
04270
04271
04272
04273
04274
04275
04276
04277
04278
04279
04280 void
04281 xcb_window_next (xcb_window_iterator_t *i );
04282
04283
04284
04285
04286
04287
04288
04289
04290
04291
04292
04293 xcb_generic_iterator_t
04294 xcb_window_end (xcb_window_iterator_t i );
04295
04296
04297
04298
04299
04300
04301
04302
04303
04304
04305
04306 void
04307 xcb_pixmap_next (xcb_pixmap_iterator_t *i );
04308
04309
04310
04311
04312
04313
04314
04315
04316
04317
04318
04319 xcb_generic_iterator_t
04320 xcb_pixmap_end (xcb_pixmap_iterator_t i );
04321
04322
04323
04324
04325
04326
04327
04328
04329
04330
04331
04332 void
04333 xcb_cursor_next (xcb_cursor_iterator_t *i );
04334
04335
04336
04337
04338
04339
04340
04341
04342
04343
04344
04345 xcb_generic_iterator_t
04346 xcb_cursor_end (xcb_cursor_iterator_t i );
04347
04348
04349
04350
04351
04352
04353
04354
04355
04356
04357
04358 void
04359 xcb_font_next (xcb_font_iterator_t *i );
04360
04361
04362
04363
04364
04365
04366
04367
04368
04369
04370
04371 xcb_generic_iterator_t
04372 xcb_font_end (xcb_font_iterator_t i );
04373
04374
04375
04376
04377
04378
04379
04380
04381
04382
04383
04384 void
04385 xcb_gcontext_next (xcb_gcontext_iterator_t *i );
04386
04387
04388
04389
04390
04391
04392
04393
04394
04395
04396
04397 xcb_generic_iterator_t
04398 xcb_gcontext_end (xcb_gcontext_iterator_t i );
04399
04400
04401
04402
04403
04404
04405
04406
04407
04408
04409
04410 void
04411 xcb_colormap_next (xcb_colormap_iterator_t *i );
04412
04413
04414
04415
04416
04417
04418
04419
04420
04421
04422
04423 xcb_generic_iterator_t
04424 xcb_colormap_end (xcb_colormap_iterator_t i );
04425
04426
04427
04428
04429
04430
04431
04432
04433
04434
04435
04436 void
04437 xcb_atom_next (xcb_atom_iterator_t *i );
04438
04439
04440
04441
04442
04443
04444
04445
04446
04447
04448
04449 xcb_generic_iterator_t
04450 xcb_atom_end (xcb_atom_iterator_t i );
04451
04452
04453
04454
04455
04456
04457
04458
04459
04460
04461
04462 void
04463 xcb_drawable_next (xcb_drawable_iterator_t *i );
04464
04465
04466
04467
04468
04469
04470
04471
04472
04473
04474
04475 xcb_generic_iterator_t
04476 xcb_drawable_end (xcb_drawable_iterator_t i );
04477
04478
04479
04480
04481
04482
04483
04484
04485
04486
04487
04488 void
04489 xcb_fontable_next (xcb_fontable_iterator_t *i );
04490
04491
04492
04493
04494
04495
04496
04497
04498
04499
04500
04501 xcb_generic_iterator_t
04502 xcb_fontable_end (xcb_fontable_iterator_t i );
04503
04504
04505
04506
04507
04508
04509
04510
04511
04512
04513
04514 void
04515 xcb_visualid_next (xcb_visualid_iterator_t *i );
04516
04517
04518
04519
04520
04521
04522
04523
04524
04525
04526
04527 xcb_generic_iterator_t
04528 xcb_visualid_end (xcb_visualid_iterator_t i );
04529
04530
04531
04532
04533
04534
04535
04536
04537
04538
04539
04540 void
04541 xcb_timestamp_next (xcb_timestamp_iterator_t *i );
04542
04543
04544
04545
04546
04547
04548
04549
04550
04551
04552
04553 xcb_generic_iterator_t
04554 xcb_timestamp_end (xcb_timestamp_iterator_t i );
04555
04556
04557
04558
04559
04560
04561
04562
04563
04564
04565
04566 void
04567 xcb_keysym_next (xcb_keysym_iterator_t *i );
04568
04569
04570
04571
04572
04573
04574
04575
04576
04577
04578
04579 xcb_generic_iterator_t
04580 xcb_keysym_end (xcb_keysym_iterator_t i );
04581
04582
04583
04584
04585
04586
04587
04588
04589
04590
04591
04592 void
04593 xcb_keycode_next (xcb_keycode_iterator_t *i );
04594
04595
04596
04597
04598
04599
04600
04601
04602
04603
04604
04605 xcb_generic_iterator_t
04606 xcb_keycode_end (xcb_keycode_iterator_t i );
04607
04608
04609
04610
04611
04612
04613
04614
04615
04616
04617
04618 void
04619 xcb_button_next (xcb_button_iterator_t *i );
04620
04621
04622
04623
04624
04625
04626
04627
04628
04629
04630
04631 xcb_generic_iterator_t
04632 xcb_button_end (xcb_button_iterator_t i );
04633
04634
04635
04636
04637
04638
04639
04640
04641
04642
04643
04644 void
04645 xcb_point_next (xcb_point_iterator_t *i );
04646
04647
04648
04649
04650
04651
04652
04653
04654
04655
04656
04657 xcb_generic_iterator_t
04658 xcb_point_end (xcb_point_iterator_t i );
04659
04660
04661
04662
04663
04664
04665
04666
04667
04668
04669
04670 void
04671 xcb_rectangle_next (xcb_rectangle_iterator_t *i );
04672
04673
04674
04675
04676
04677
04678
04679
04680
04681
04682
04683 xcb_generic_iterator_t
04684 xcb_rectangle_end (xcb_rectangle_iterator_t i );
04685
04686
04687
04688
04689
04690
04691
04692
04693
04694
04695
04696 void
04697 xcb_arc_next (xcb_arc_iterator_t *i );
04698
04699
04700
04701
04702
04703
04704
04705
04706
04707
04708
04709 xcb_generic_iterator_t
04710 xcb_arc_end (xcb_arc_iterator_t i );
04711
04712
04713
04714
04715
04716
04717
04718
04719
04720
04721
04722 void
04723 xcb_format_next (xcb_format_iterator_t *i );
04724
04725
04726
04727
04728
04729
04730
04731
04732
04733
04734
04735 xcb_generic_iterator_t
04736 xcb_format_end (xcb_format_iterator_t i );
04737
04738
04739
04740
04741
04742
04743
04744
04745
04746
04747
04748 void
04749 xcb_visualtype_next (xcb_visualtype_iterator_t *i );
04750
04751
04752
04753
04754
04755
04756
04757
04758
04759
04760
04761 xcb_generic_iterator_t
04762 xcb_visualtype_end (xcb_visualtype_iterator_t i );
04763
04764
04765
04766
04767
04768
04769
04770
04771
04772
04773
04774 xcb_visualtype_t *
04775 xcb_depth_visuals (const xcb_depth_t *R );
04776
04777
04778
04779
04780
04781
04782
04783
04784
04785
04786
04787 int
04788 xcb_depth_visuals_length (const xcb_depth_t *R );
04789
04790
04791
04792
04793
04794
04795
04796
04797
04798
04799
04800 xcb_visualtype_iterator_t
04801 xcb_depth_visuals_iterator (const xcb_depth_t *R );
04802
04803
04804
04805
04806
04807
04808
04809
04810
04811
04812
04813 void
04814 xcb_depth_next (xcb_depth_iterator_t *i );
04815
04816
04817
04818
04819
04820
04821
04822
04823
04824
04825
04826 xcb_generic_iterator_t
04827 xcb_depth_end (xcb_depth_iterator_t i );
04828
04829
04830
04831
04832
04833
04834
04835
04836
04837
04838
04839 int
04840 xcb_screen_allowed_depths_length (const xcb_screen_t *R );
04841
04842
04843
04844
04845
04846
04847
04848
04849
04850
04851
04852 xcb_depth_iterator_t
04853 xcb_screen_allowed_depths_iterator (const xcb_screen_t *R );
04854
04855
04856
04857
04858
04859
04860
04861
04862
04863
04864
04865 void
04866 xcb_screen_next (xcb_screen_iterator_t *i );
04867
04868
04869
04870
04871
04872
04873
04874
04875
04876
04877
04878 xcb_generic_iterator_t
04879 xcb_screen_end (xcb_screen_iterator_t i );
04880
04881
04882
04883
04884
04885
04886
04887
04888
04889
04890
04891 char *
04892 xcb_setup_request_authorization_protocol_name (const xcb_setup_request_t *R );
04893
04894
04895
04896
04897
04898
04899
04900
04901
04902
04903
04904 int
04905 xcb_setup_request_authorization_protocol_name_length (const xcb_setup_request_t *R );
04906
04907
04908
04909
04910
04911
04912
04913
04914
04915
04916
04917 xcb_generic_iterator_t
04918 xcb_setup_request_authorization_protocol_name_end (const xcb_setup_request_t *R );
04919
04920
04921
04922
04923
04924
04925
04926
04927
04928
04929
04930 char *
04931 xcb_setup_request_authorization_protocol_data (const xcb_setup_request_t *R );
04932
04933
04934
04935
04936
04937
04938
04939
04940
04941
04942
04943 int
04944 xcb_setup_request_authorization_protocol_data_length (const xcb_setup_request_t *R );
04945
04946
04947
04948
04949
04950
04951
04952
04953
04954
04955
04956 xcb_generic_iterator_t
04957 xcb_setup_request_authorization_protocol_data_end (const xcb_setup_request_t *R );
04958
04959
04960
04961
04962
04963
04964
04965
04966
04967
04968
04969 void
04970 xcb_setup_request_next (xcb_setup_request_iterator_t *i );
04971
04972
04973
04974
04975
04976
04977
04978
04979
04980
04981
04982 xcb_generic_iterator_t
04983 xcb_setup_request_end (xcb_setup_request_iterator_t i );
04984
04985
04986
04987
04988
04989
04990
04991
04992
04993
04994
04995 char *
04996 xcb_setup_failed_reason (const xcb_setup_failed_t *R );
04997
04998
04999
05000
05001
05002
05003
05004
05005
05006
05007
05008 int
05009 xcb_setup_failed_reason_length (const xcb_setup_failed_t *R );
05010
05011
05012
05013
05014
05015
05016
05017
05018
05019
05020
05021 xcb_generic_iterator_t
05022 xcb_setup_failed_reason_end (const xcb_setup_failed_t *R );
05023
05024
05025
05026
05027
05028
05029
05030
05031
05032
05033
05034 void
05035 xcb_setup_failed_next (xcb_setup_failed_iterator_t *i );
05036
05037
05038
05039
05040
05041
05042
05043
05044
05045
05046
05047 xcb_generic_iterator_t
05048 xcb_setup_failed_end (xcb_setup_failed_iterator_t i );
05049
05050
05051
05052
05053
05054
05055
05056
05057
05058
05059
05060 char *
05061 xcb_setup_authenticate_reason (const xcb_setup_authenticate_t *R );
05062
05063
05064
05065
05066
05067
05068
05069
05070
05071
05072
05073 int
05074 xcb_setup_authenticate_reason_length (const xcb_setup_authenticate_t *R );
05075
05076
05077
05078
05079
05080
05081
05082
05083
05084
05085
05086 xcb_generic_iterator_t
05087 xcb_setup_authenticate_reason_end (const xcb_setup_authenticate_t *R );
05088
05089
05090
05091
05092
05093
05094
05095
05096
05097
05098
05099 void
05100 xcb_setup_authenticate_next (xcb_setup_authenticate_iterator_t *i );
05101
05102
05103
05104
05105
05106
05107
05108
05109
05110
05111
05112 xcb_generic_iterator_t
05113 xcb_setup_authenticate_end (xcb_setup_authenticate_iterator_t i );
05114
05115
05116
05117
05118
05119
05120
05121
05122
05123
05124
05125 char *
05126 xcb_setup_vendor (const xcb_setup_t *R );
05127
05128
05129
05130
05131
05132
05133
05134
05135
05136
05137
05138 int
05139 xcb_setup_vendor_length (const xcb_setup_t *R );
05140
05141
05142
05143
05144
05145
05146
05147
05148
05149
05150
05151 xcb_generic_iterator_t
05152 xcb_setup_vendor_end (const xcb_setup_t *R );
05153
05154
05155
05156
05157
05158
05159
05160
05161
05162
05163
05164 xcb_format_t *
05165 xcb_setup_pixmap_formats (const xcb_setup_t *R );
05166
05167
05168
05169
05170
05171
05172
05173
05174
05175
05176
05177 int
05178 xcb_setup_pixmap_formats_length (const xcb_setup_t *R );
05179
05180
05181
05182
05183
05184
05185
05186
05187
05188
05189
05190 xcb_format_iterator_t
05191 xcb_setup_pixmap_formats_iterator (const xcb_setup_t *R );
05192
05193
05194
05195
05196
05197
05198
05199
05200
05201
05202
05203 int
05204 xcb_setup_roots_length (const xcb_setup_t *R );
05205
05206
05207
05208
05209
05210
05211
05212
05213
05214
05215
05216 xcb_screen_iterator_t
05217 xcb_setup_roots_iterator (const xcb_setup_t *R );
05218
05219
05220
05221
05222
05223
05224
05225
05226
05227
05228
05229 void
05230 xcb_setup_next (xcb_setup_iterator_t *i );
05231
05232
05233
05234
05235
05236
05237
05238
05239
05240
05241
05242 xcb_generic_iterator_t
05243 xcb_setup_end (xcb_setup_iterator_t i );
05244
05245
05246
05247
05248
05249
05250
05251
05252
05253
05254
05255 void
05256 xcb_client_message_data_next (xcb_client_message_data_iterator_t *i );
05257
05258
05259
05260
05261
05262
05263
05264
05265
05266
05267
05268 xcb_generic_iterator_t
05269 xcb_client_message_data_end (xcb_client_message_data_iterator_t i );
05270
05271
05272
05273
05274
05275
05276
05277
05278
05279
05280
05281
05282
05283
05284
05285
05286
05287
05288
05289
05290
05291
05292
05293 xcb_void_cookie_t
05294 xcb_create_window_checked (xcb_connection_t *c ,
05295 uint8_t depth ,
05296 xcb_window_t wid ,
05297 xcb_window_t parent ,
05298 int16_t x ,
05299 int16_t y ,
05300 uint16_t width ,
05301 uint16_t height ,
05302 uint16_t border_width ,
05303 uint16_t _class ,
05304 xcb_visualid_t visual ,
05305 uint32_t value_mask ,
05306 const uint32_t *value_list );
05307
05308
05309
05310
05311
05312
05313
05314
05315
05316
05317
05318
05319
05320
05321
05322
05323
05324
05325
05326
05327
05328
05329
05330 xcb_void_cookie_t
05331 xcb_create_window (xcb_connection_t *c ,
05332 uint8_t depth ,
05333 xcb_window_t wid ,
05334 xcb_window_t parent ,
05335 int16_t x ,
05336 int16_t y ,
05337 uint16_t width ,
05338 uint16_t height ,
05339 uint16_t border_width ,
05340 uint16_t _class ,
05341 xcb_visualid_t visual ,
05342 uint32_t value_mask ,
05343 const uint32_t *value_list );
05344
05345
05346
05347
05348
05349
05350
05351
05352
05353
05354
05355
05356
05357
05358 xcb_void_cookie_t
05359 xcb_change_window_attributes_checked (xcb_connection_t *c ,
05360 xcb_window_t window ,
05361 uint32_t value_mask ,
05362 const uint32_t *value_list );
05363
05364
05365
05366
05367
05368
05369
05370
05371
05372
05373
05374
05375
05376
05377 xcb_void_cookie_t
05378 xcb_change_window_attributes (xcb_connection_t *c ,
05379 xcb_window_t window ,
05380 uint32_t value_mask ,
05381 const uint32_t *value_list );
05382
05383
05384
05385
05386
05387
05388
05389
05390
05391
05392
05393
05394 xcb_get_window_attributes_cookie_t
05395 xcb_get_window_attributes (xcb_connection_t *c ,
05396 xcb_window_t window );
05397
05398
05399
05400
05401
05402
05403
05404
05405
05406
05407
05408
05409 xcb_get_window_attributes_cookie_t
05410 xcb_get_window_attributes_unchecked (xcb_connection_t *c ,
05411 xcb_window_t window );
05412
05413
05414
05415
05416
05417
05418
05419
05420
05421
05422
05423
05424
05425 xcb_get_window_attributes_reply_t *
05426 xcb_get_window_attributes_reply (xcb_connection_t *c ,
05427 xcb_get_window_attributes_cookie_t cookie ,
05428 xcb_generic_error_t **e );
05429
05430
05431
05432
05433
05434
05435
05436
05437
05438
05439
05440
05441 xcb_void_cookie_t
05442 xcb_destroy_window_checked (xcb_connection_t *c ,
05443 xcb_window_t window );
05444
05445
05446
05447
05448
05449
05450
05451
05452
05453
05454
05455
05456 xcb_void_cookie_t
05457 xcb_destroy_window (xcb_connection_t *c ,
05458 xcb_window_t window );
05459
05460
05461
05462
05463
05464
05465
05466
05467
05468
05469
05470
05471 xcb_void_cookie_t
05472 xcb_destroy_subwindows_checked (xcb_connection_t *c ,
05473 xcb_window_t window );
05474
05475
05476
05477
05478
05479
05480
05481
05482
05483
05484
05485
05486 xcb_void_cookie_t
05487 xcb_destroy_subwindows (xcb_connection_t *c ,
05488 xcb_window_t window );
05489
05490
05491
05492
05493
05494
05495
05496
05497
05498
05499
05500
05501
05502 xcb_void_cookie_t
05503 xcb_change_save_set_checked (xcb_connection_t *c ,
05504 uint8_t mode ,
05505 xcb_window_t window );
05506
05507
05508
05509
05510
05511
05512
05513
05514
05515
05516
05517
05518
05519 xcb_void_cookie_t
05520 xcb_change_save_set (xcb_connection_t *c ,
05521 uint8_t mode ,
05522 xcb_window_t window );
05523
05524
05525
05526
05527
05528
05529
05530
05531
05532
05533
05534
05535
05536
05537
05538 xcb_void_cookie_t
05539 xcb_reparent_window_checked (xcb_connection_t *c ,
05540 xcb_window_t window ,
05541 xcb_window_t parent ,
05542 int16_t x ,
05543 int16_t y );
05544
05545
05546
05547
05548
05549
05550
05551
05552
05553
05554
05555
05556
05557
05558
05559 xcb_void_cookie_t
05560 xcb_reparent_window (xcb_connection_t *c ,
05561 xcb_window_t window ,
05562 xcb_window_t parent ,
05563 int16_t x ,
05564 int16_t y );
05565
05566
05567
05568
05569
05570
05571
05572
05573
05574
05575
05576
05577 xcb_void_cookie_t
05578 xcb_map_window_checked (xcb_connection_t *c ,
05579 xcb_window_t window );
05580
05581
05582
05583
05584
05585
05586
05587
05588
05589
05590
05591
05592 xcb_void_cookie_t
05593 xcb_map_window (xcb_connection_t *c ,
05594 xcb_window_t window );
05595
05596
05597
05598
05599
05600
05601
05602
05603
05604
05605
05606
05607 xcb_void_cookie_t
05608 xcb_map_subwindows_checked (xcb_connection_t *c ,
05609 xcb_window_t window );
05610
05611
05612
05613
05614
05615
05616
05617
05618
05619
05620
05621
05622 xcb_void_cookie_t
05623 xcb_map_subwindows (xcb_connection_t *c ,
05624 xcb_window_t window );
05625
05626
05627
05628
05629
05630
05631
05632
05633
05634
05635
05636
05637 xcb_void_cookie_t
05638 xcb_unmap_window_checked (xcb_connection_t *c ,
05639 xcb_window_t window );
05640
05641
05642
05643
05644
05645
05646
05647
05648
05649
05650
05651
05652 xcb_void_cookie_t
05653 xcb_unmap_window (xcb_connection_t *c ,
05654 xcb_window_t window );
05655
05656
05657
05658
05659
05660
05661
05662
05663
05664
05665
05666
05667 xcb_void_cookie_t
05668 xcb_unmap_subwindows_checked (xcb_connection_t *c ,
05669 xcb_window_t window );
05670
05671
05672
05673
05674
05675
05676
05677
05678
05679
05680
05681
05682 xcb_void_cookie_t
05683 xcb_unmap_subwindows (xcb_connection_t *c ,
05684 xcb_window_t window );
05685
05686
05687
05688
05689
05690
05691
05692
05693
05694
05695
05696
05697
05698
05699 xcb_void_cookie_t
05700 xcb_configure_window_checked (xcb_connection_t *c ,
05701 xcb_window_t window ,
05702 uint16_t value_mask ,
05703 const uint32_t *value_list );
05704
05705
05706
05707
05708
05709
05710
05711
05712
05713
05714
05715
05716
05717
05718 xcb_void_cookie_t
05719 xcb_configure_window (xcb_connection_t *c ,
05720 xcb_window_t window ,
05721 uint16_t value_mask ,
05722 const uint32_t *value_list );
05723
05724
05725
05726
05727
05728
05729
05730
05731
05732
05733
05734
05735
05736 xcb_void_cookie_t
05737 xcb_circulate_window_checked (xcb_connection_t *c ,
05738 uint8_t direction ,
05739 xcb_window_t window );
05740
05741
05742
05743
05744
05745
05746
05747
05748
05749
05750
05751
05752
05753 xcb_void_cookie_t
05754 xcb_circulate_window (xcb_connection_t *c ,
05755 uint8_t direction ,
05756 xcb_window_t window );
05757
05758
05759
05760
05761
05762
05763
05764
05765
05766
05767
05768
05769 xcb_get_geometry_cookie_t
05770 xcb_get_geometry (xcb_connection_t *c ,
05771 xcb_drawable_t drawable );
05772
05773
05774
05775
05776
05777
05778
05779
05780
05781
05782
05783
05784 xcb_get_geometry_cookie_t
05785 xcb_get_geometry_unchecked (xcb_connection_t *c ,
05786 xcb_drawable_t drawable );
05787
05788
05789
05790
05791
05792
05793
05794
05795
05796
05797
05798
05799
05800 xcb_get_geometry_reply_t *
05801 xcb_get_geometry_reply (xcb_connection_t *c ,
05802 xcb_get_geometry_cookie_t cookie ,
05803 xcb_generic_error_t **e );
05804
05805
05806
05807
05808
05809
05810
05811
05812
05813
05814
05815
05816 xcb_query_tree_cookie_t
05817 xcb_query_tree (xcb_connection_t *c ,
05818 xcb_window_t window );
05819
05820
05821
05822
05823
05824
05825
05826
05827
05828
05829
05830
05831 xcb_query_tree_cookie_t
05832 xcb_query_tree_unchecked (xcb_connection_t *c ,
05833 xcb_window_t window );
05834
05835
05836
05837
05838
05839
05840
05841
05842
05843
05844
05845 xcb_window_t *
05846 xcb_query_tree_children (const xcb_query_tree_reply_t *R );
05847
05848
05849
05850
05851
05852
05853
05854
05855
05856
05857
05858 int
05859 xcb_query_tree_children_length (const xcb_query_tree_reply_t *R );
05860
05861
05862
05863
05864
05865
05866
05867
05868
05869
05870
05871 xcb_window_iterator_t
05872 xcb_query_tree_children_iterator (const xcb_query_tree_reply_t *R );
05873
05874
05875
05876
05877
05878
05879
05880
05881
05882
05883
05884
05885
05886 xcb_query_tree_reply_t *
05887 xcb_query_tree_reply (xcb_connection_t *c ,
05888 xcb_query_tree_cookie_t cookie ,
05889 xcb_generic_error_t **e );
05890
05891
05892
05893
05894
05895
05896
05897
05898
05899
05900
05901
05902
05903
05904 xcb_intern_atom_cookie_t
05905 xcb_intern_atom (xcb_connection_t *c ,
05906 uint8_t only_if_exists ,
05907 uint16_t name_len ,
05908 const char *name );
05909
05910
05911
05912
05913
05914
05915
05916
05917
05918
05919
05920
05921
05922
05923 xcb_intern_atom_cookie_t
05924 xcb_intern_atom_unchecked (xcb_connection_t *c ,
05925 uint8_t only_if_exists ,
05926 uint16_t name_len ,
05927 const char *name );
05928
05929
05930
05931
05932
05933
05934
05935
05936
05937
05938
05939
05940
05941 xcb_intern_atom_reply_t *
05942 xcb_intern_atom_reply (xcb_connection_t *c ,
05943 xcb_intern_atom_cookie_t cookie ,
05944 xcb_generic_error_t **e );
05945
05946
05947
05948
05949
05950
05951
05952
05953
05954
05955
05956
05957 xcb_get_atom_name_cookie_t
05958 xcb_get_atom_name (xcb_connection_t *c ,
05959 xcb_atom_t atom );
05960
05961
05962
05963
05964
05965
05966
05967
05968
05969
05970
05971
05972 xcb_get_atom_name_cookie_t
05973 xcb_get_atom_name_unchecked (xcb_connection_t *c ,
05974 xcb_atom_t atom );
05975
05976
05977
05978
05979
05980
05981
05982
05983
05984
05985
05986 uint8_t *
05987 xcb_get_atom_name_name (const xcb_get_atom_name_reply_t *R );
05988
05989
05990
05991
05992
05993
05994
05995
05996
05997
05998
05999 int
06000 xcb_get_atom_name_name_length (const xcb_get_atom_name_reply_t *R );
06001
06002
06003
06004
06005
06006
06007
06008
06009
06010
06011
06012 xcb_generic_iterator_t
06013 xcb_get_atom_name_name_end (const xcb_get_atom_name_reply_t *R );
06014
06015
06016
06017
06018
06019
06020
06021
06022
06023
06024
06025
06026
06027 xcb_get_atom_name_reply_t *
06028 xcb_get_atom_name_reply (xcb_connection_t *c ,
06029 xcb_get_atom_name_cookie_t cookie ,
06030 xcb_generic_error_t **e );
06031
06032
06033
06034
06035
06036
06037
06038
06039
06040
06041
06042
06043
06044
06045
06046
06047
06048
06049 xcb_void_cookie_t
06050 xcb_change_property_checked (xcb_connection_t *c ,
06051 uint8_t mode ,
06052 xcb_window_t window ,
06053 xcb_atom_t property ,
06054 xcb_atom_t type ,
06055 uint8_t format ,
06056 uint32_t data_len ,
06057 const void *data );
06058
06059
06060
06061
06062
06063
06064
06065
06066
06067
06068
06069
06070
06071
06072
06073
06074
06075
06076 xcb_void_cookie_t
06077 xcb_change_property (xcb_connection_t *c ,
06078 uint8_t mode ,
06079 xcb_window_t window ,
06080 xcb_atom_t property ,
06081 xcb_atom_t type ,
06082 uint8_t format ,
06083 uint32_t data_len ,
06084 const void *data );
06085
06086
06087
06088
06089
06090
06091
06092
06093
06094
06095
06096
06097
06098 xcb_void_cookie_t
06099 xcb_delete_property_checked (xcb_connection_t *c ,
06100 xcb_window_t window ,
06101 xcb_atom_t property );
06102
06103
06104
06105
06106
06107
06108
06109
06110
06111
06112
06113
06114
06115 xcb_void_cookie_t
06116 xcb_delete_property (xcb_connection_t *c ,
06117 xcb_window_t window ,
06118 xcb_atom_t property );
06119
06120
06121
06122
06123
06124
06125
06126
06127
06128
06129
06130
06131
06132
06133
06134
06135
06136 xcb_get_property_cookie_t
06137 xcb_get_property (xcb_connection_t *c ,
06138 uint8_t _delete ,
06139 xcb_window_t window ,
06140 xcb_atom_t property ,
06141 xcb_atom_t type ,
06142 uint32_t long_offset ,
06143 uint32_t long_length );
06144
06145
06146
06147
06148
06149
06150
06151
06152
06153
06154
06155
06156
06157
06158
06159
06160
06161 xcb_get_property_cookie_t
06162 xcb_get_property_unchecked (xcb_connection_t *c ,
06163 uint8_t _delete ,
06164 xcb_window_t window ,
06165 xcb_atom_t property ,
06166 xcb_atom_t type ,
06167 uint32_t long_offset ,
06168 uint32_t long_length );
06169
06170
06171
06172
06173
06174
06175
06176
06177
06178
06179
06180 void *
06181 xcb_get_property_value (const xcb_get_property_reply_t *R );
06182
06183
06184
06185
06186
06187
06188
06189
06190
06191
06192
06193 int
06194 xcb_get_property_value_length (const xcb_get_property_reply_t *R );
06195
06196
06197
06198
06199
06200
06201
06202
06203
06204
06205
06206 xcb_generic_iterator_t
06207 xcb_get_property_value_end (const xcb_get_property_reply_t *R );
06208
06209
06210
06211
06212
06213
06214
06215
06216
06217
06218
06219
06220
06221 xcb_get_property_reply_t *
06222 xcb_get_property_reply (xcb_connection_t *c ,
06223 xcb_get_property_cookie_t cookie ,
06224 xcb_generic_error_t **e );
06225
06226
06227
06228
06229
06230
06231
06232
06233
06234
06235
06236
06237 xcb_list_properties_cookie_t
06238 xcb_list_properties (xcb_connection_t *c ,
06239 xcb_window_t window );
06240
06241
06242
06243
06244
06245
06246
06247
06248
06249
06250
06251
06252 xcb_list_properties_cookie_t
06253 xcb_list_properties_unchecked (xcb_connection_t *c ,
06254 xcb_window_t window );
06255
06256
06257
06258
06259
06260
06261
06262
06263
06264
06265
06266 xcb_atom_t *
06267 xcb_list_properties_atoms (const xcb_list_properties_reply_t *R );
06268
06269
06270
06271
06272
06273
06274
06275
06276
06277
06278
06279 int
06280 xcb_list_properties_atoms_length (const xcb_list_properties_reply_t *R );
06281
06282
06283
06284
06285
06286
06287
06288
06289
06290
06291
06292 xcb_atom_iterator_t
06293 xcb_list_properties_atoms_iterator (const xcb_list_properties_reply_t *R );
06294
06295
06296
06297
06298
06299
06300
06301
06302
06303
06304
06305
06306
06307 xcb_list_properties_reply_t *
06308 xcb_list_properties_reply (xcb_connection_t *c ,
06309 xcb_list_properties_cookie_t cookie ,
06310 xcb_generic_error_t **e );
06311
06312
06313
06314
06315
06316
06317
06318
06319
06320
06321
06322
06323
06324
06325 xcb_void_cookie_t
06326 xcb_set_selection_owner_checked (xcb_connection_t *c ,
06327 xcb_window_t owner ,
06328 xcb_atom_t selection ,
06329 xcb_timestamp_t time );
06330
06331
06332
06333
06334
06335
06336
06337
06338
06339
06340
06341
06342
06343
06344 xcb_void_cookie_t
06345 xcb_set_selection_owner (xcb_connection_t *c ,
06346 xcb_window_t owner ,
06347 xcb_atom_t selection ,
06348 xcb_timestamp_t time );
06349
06350
06351
06352
06353
06354
06355
06356
06357
06358
06359
06360
06361 xcb_get_selection_owner_cookie_t
06362 xcb_get_selection_owner (xcb_connection_t *c ,
06363 xcb_atom_t selection );
06364
06365
06366
06367
06368
06369
06370
06371
06372
06373
06374
06375
06376 xcb_get_selection_owner_cookie_t
06377 xcb_get_selection_owner_unchecked (xcb_connection_t *c ,
06378 xcb_atom_t selection );
06379
06380
06381
06382
06383
06384
06385
06386
06387
06388
06389
06390
06391
06392 xcb_get_selection_owner_reply_t *
06393 xcb_get_selection_owner_reply (xcb_connection_t *c ,
06394 xcb_get_selection_owner_cookie_t cookie ,
06395 xcb_generic_error_t **e );
06396
06397
06398
06399
06400
06401
06402
06403
06404
06405
06406
06407
06408
06409
06410
06411
06412 xcb_void_cookie_t
06413 xcb_convert_selection_checked (xcb_connection_t *c ,
06414 xcb_window_t requestor ,
06415 xcb_atom_t selection ,
06416 xcb_atom_t target ,
06417 xcb_atom_t property ,
06418 xcb_timestamp_t time );
06419
06420
06421
06422
06423
06424
06425
06426
06427
06428
06429
06430
06431
06432
06433
06434
06435 xcb_void_cookie_t
06436 xcb_convert_selection (xcb_connection_t *c ,
06437 xcb_window_t requestor ,
06438 xcb_atom_t selection ,
06439 xcb_atom_t target ,
06440 xcb_atom_t property ,
06441 xcb_timestamp_t time );
06442
06443
06444
06445
06446
06447
06448
06449
06450
06451
06452
06453
06454
06455
06456
06457 xcb_void_cookie_t
06458 xcb_send_event_checked (xcb_connection_t *c ,
06459 uint8_t propagate ,
06460 xcb_window_t destination ,
06461 uint32_t event_mask ,
06462 const char *event );
06463
06464
06465
06466
06467
06468
06469
06470
06471
06472
06473
06474
06475
06476
06477
06478 xcb_void_cookie_t
06479 xcb_send_event (xcb_connection_t *c ,
06480 uint8_t propagate ,
06481 xcb_window_t destination ,
06482 uint32_t event_mask ,
06483 const char *event );
06484
06485
06486
06487
06488
06489
06490
06491
06492
06493
06494
06495
06496
06497
06498
06499
06500
06501
06502
06503 xcb_grab_pointer_cookie_t
06504 xcb_grab_pointer (xcb_connection_t *c ,
06505 uint8_t owner_events ,
06506 xcb_window_t grab_window ,
06507 uint16_t event_mask ,
06508 uint8_t pointer_mode ,
06509 uint8_t keyboard_mode ,
06510 xcb_window_t confine_to ,
06511 xcb_cursor_t cursor ,
06512 xcb_timestamp_t time );
06513
06514
06515
06516
06517
06518
06519
06520
06521
06522
06523
06524
06525
06526
06527
06528
06529
06530
06531
06532 xcb_grab_pointer_cookie_t
06533 xcb_grab_pointer_unchecked (xcb_connection_t *c ,
06534 uint8_t owner_events ,
06535 xcb_window_t grab_window ,
06536 uint16_t event_mask ,
06537 uint8_t pointer_mode ,
06538 uint8_t keyboard_mode ,
06539 xcb_window_t confine_to ,
06540 xcb_cursor_t cursor ,
06541 xcb_timestamp_t time );
06542
06543
06544
06545
06546
06547
06548
06549
06550
06551
06552
06553
06554
06555 xcb_grab_pointer_reply_t *
06556 xcb_grab_pointer_reply (xcb_connection_t *c ,
06557 xcb_grab_pointer_cookie_t cookie ,
06558 xcb_generic_error_t **e );
06559
06560
06561
06562
06563
06564
06565
06566
06567
06568
06569
06570
06571 xcb_void_cookie_t
06572 xcb_ungrab_pointer_checked (xcb_connection_t *c ,
06573 xcb_timestamp_t time );
06574
06575
06576
06577
06578
06579
06580
06581
06582
06583
06584
06585
06586 xcb_void_cookie_t
06587 xcb_ungrab_pointer (xcb_connection_t *c ,
06588 xcb_timestamp_t time );
06589
06590
06591
06592
06593
06594
06595
06596
06597
06598
06599
06600
06601
06602
06603
06604
06605
06606
06607
06608
06609 xcb_void_cookie_t
06610 xcb_grab_button_checked (xcb_connection_t *c ,
06611 uint8_t owner_events ,
06612 xcb_window_t grab_window ,
06613 uint16_t event_mask ,
06614 uint8_t pointer_mode ,
06615 uint8_t keyboard_mode ,
06616 xcb_window_t confine_to ,
06617 xcb_cursor_t cursor ,
06618 uint8_t button ,
06619 uint16_t modifiers );
06620
06621
06622
06623
06624
06625
06626
06627
06628
06629
06630
06631
06632
06633
06634
06635
06636
06637
06638
06639
06640 xcb_void_cookie_t
06641 xcb_grab_button (xcb_connection_t *c ,
06642 uint8_t owner_events ,
06643 xcb_window_t grab_window ,
06644 uint16_t event_mask ,
06645 uint8_t pointer_mode ,
06646 uint8_t keyboard_mode ,
06647 xcb_window_t confine_to ,
06648 xcb_cursor_t cursor ,
06649 uint8_t button ,
06650 uint16_t modifiers );
06651
06652
06653
06654
06655
06656
06657
06658
06659
06660
06661
06662
06663
06664
06665 xcb_void_cookie_t
06666 xcb_ungrab_button_checked (xcb_connection_t *c ,
06667 uint8_t button ,
06668 xcb_window_t grab_window ,
06669 uint16_t modifiers );
06670
06671
06672
06673
06674
06675
06676
06677
06678
06679
06680
06681
06682
06683
06684 xcb_void_cookie_t
06685 xcb_ungrab_button (xcb_connection_t *c ,
06686 uint8_t button ,
06687 xcb_window_t grab_window ,
06688 uint16_t modifiers );
06689
06690
06691
06692
06693
06694
06695
06696
06697
06698
06699
06700
06701
06702
06703 xcb_void_cookie_t
06704 xcb_change_active_pointer_grab_checked (xcb_connection_t *c ,
06705 xcb_cursor_t cursor ,
06706 xcb_timestamp_t time ,
06707 uint16_t event_mask );
06708
06709
06710
06711
06712
06713
06714
06715
06716
06717
06718
06719
06720
06721
06722 xcb_void_cookie_t
06723 xcb_change_active_pointer_grab (xcb_connection_t *c ,
06724 xcb_cursor_t cursor ,
06725 xcb_timestamp_t time ,
06726 uint16_t event_mask );
06727
06728
06729
06730
06731
06732
06733
06734
06735
06736
06737
06738
06739
06740
06741
06742
06743 xcb_grab_keyboard_cookie_t
06744 xcb_grab_keyboard (xcb_connection_t *c ,
06745 uint8_t owner_events ,
06746 xcb_window_t grab_window ,
06747 xcb_timestamp_t time ,
06748 uint8_t pointer_mode ,
06749 uint8_t keyboard_mode );
06750
06751
06752
06753
06754
06755
06756
06757
06758
06759
06760
06761
06762
06763
06764
06765
06766 xcb_grab_keyboard_cookie_t
06767 xcb_grab_keyboard_unchecked (xcb_connection_t *c ,
06768 uint8_t owner_events ,
06769 xcb_window_t grab_window ,
06770 xcb_timestamp_t time ,
06771 uint8_t pointer_mode ,
06772 uint8_t keyboard_mode );
06773
06774
06775
06776
06777
06778
06779
06780
06781
06782
06783
06784
06785
06786 xcb_grab_keyboard_reply_t *
06787 xcb_grab_keyboard_reply (xcb_connection_t *c ,
06788 xcb_grab_keyboard_cookie_t cookie ,
06789 xcb_generic_error_t **e );
06790
06791
06792
06793
06794
06795
06796
06797
06798
06799
06800
06801
06802 xcb_void_cookie_t
06803 xcb_ungrab_keyboard_checked (xcb_connection_t *c ,
06804 xcb_timestamp_t time );
06805
06806
06807
06808
06809
06810
06811
06812
06813
06814
06815
06816
06817 xcb_void_cookie_t
06818 xcb_ungrab_keyboard (xcb_connection_t *c ,
06819 xcb_timestamp_t time );
06820
06821
06822
06823
06824
06825
06826
06827
06828
06829
06830
06831
06832
06833
06834
06835
06836
06837 xcb_void_cookie_t
06838 xcb_grab_key_checked (xcb_connection_t *c ,
06839 uint8_t owner_events ,
06840 xcb_window_t grab_window ,
06841 uint16_t modifiers ,
06842 xcb_keycode_t key ,
06843 uint8_t pointer_mode ,
06844 uint8_t keyboard_mode );
06845
06846
06847
06848
06849
06850
06851
06852
06853
06854
06855
06856
06857
06858
06859
06860
06861
06862 xcb_void_cookie_t
06863 xcb_grab_key (xcb_connection_t *c ,
06864 uint8_t owner_events ,
06865 xcb_window_t grab_window ,
06866 uint16_t modifiers ,
06867 xcb_keycode_t key ,
06868 uint8_t pointer_mode ,
06869 uint8_t keyboard_mode );
06870
06871
06872
06873
06874
06875
06876
06877
06878
06879
06880
06881
06882
06883
06884 xcb_void_cookie_t
06885 xcb_ungrab_key_checked (xcb_connection_t *c ,
06886 xcb_keycode_t key ,
06887 xcb_window_t grab_window ,
06888 uint16_t modifiers );
06889
06890
06891
06892
06893
06894
06895
06896
06897
06898
06899
06900
06901
06902
06903 xcb_void_cookie_t
06904 xcb_ungrab_key (xcb_connection_t *c ,
06905 xcb_keycode_t key ,
06906 xcb_window_t grab_window ,
06907 uint16_t modifiers );
06908
06909
06910
06911
06912
06913
06914
06915
06916
06917
06918
06919
06920
06921 xcb_void_cookie_t
06922 xcb_allow_events_checked (xcb_connection_t *c ,
06923 uint8_t mode ,
06924 xcb_timestamp_t time );
06925
06926
06927
06928
06929
06930
06931
06932
06933
06934
06935
06936
06937
06938 xcb_void_cookie_t
06939 xcb_allow_events (xcb_connection_t *c ,
06940 uint8_t mode ,
06941 xcb_timestamp_t time );
06942
06943
06944
06945
06946
06947
06948
06949
06950
06951
06952
06953 xcb_void_cookie_t
06954 xcb_grab_server_checked (xcb_connection_t *c );
06955
06956
06957
06958
06959
06960
06961
06962
06963
06964
06965
06966 xcb_void_cookie_t
06967 xcb_grab_server (xcb_connection_t *c );
06968
06969
06970
06971
06972
06973
06974
06975
06976
06977
06978
06979 xcb_void_cookie_t
06980 xcb_ungrab_server_checked (xcb_connection_t *c );
06981
06982
06983
06984
06985
06986
06987
06988
06989
06990
06991
06992 xcb_void_cookie_t
06993 xcb_ungrab_server (xcb_connection_t *c );
06994
06995
06996
06997
06998
06999
07000
07001
07002
07003
07004
07005
07006 xcb_query_pointer_cookie_t
07007 xcb_query_pointer (xcb_connection_t *c ,
07008 xcb_window_t window );
07009
07010
07011
07012
07013
07014
07015
07016
07017
07018
07019
07020
07021 xcb_query_pointer_cookie_t
07022 xcb_query_pointer_unchecked (xcb_connection_t *c ,
07023 xcb_window_t window );
07024
07025
07026
07027
07028
07029
07030
07031
07032
07033
07034
07035
07036
07037 xcb_query_pointer_reply_t *
07038 xcb_query_pointer_reply (xcb_connection_t *c ,
07039 xcb_query_pointer_cookie_t cookie ,
07040 xcb_generic_error_t **e );
07041
07042
07043
07044
07045
07046
07047
07048
07049
07050
07051
07052 void
07053 xcb_timecoord_next (xcb_timecoord_iterator_t *i );
07054
07055
07056
07057
07058
07059
07060
07061
07062
07063
07064
07065 xcb_generic_iterator_t
07066 xcb_timecoord_end (xcb_timecoord_iterator_t i );
07067
07068
07069
07070
07071
07072
07073
07074
07075
07076
07077
07078
07079
07080
07081 xcb_get_motion_events_cookie_t
07082 xcb_get_motion_events (xcb_connection_t *c ,
07083 xcb_window_t window ,
07084 xcb_timestamp_t start ,
07085 xcb_timestamp_t stop );
07086
07087
07088
07089
07090
07091
07092
07093
07094
07095
07096
07097
07098
07099
07100 xcb_get_motion_events_cookie_t
07101 xcb_get_motion_events_unchecked (xcb_connection_t *c ,
07102 xcb_window_t window ,
07103 xcb_timestamp_t start ,
07104 xcb_timestamp_t stop );
07105
07106
07107
07108
07109
07110
07111
07112
07113
07114
07115
07116 xcb_timecoord_t *
07117 xcb_get_motion_events_events (const xcb_get_motion_events_reply_t *R );
07118
07119
07120
07121
07122
07123
07124
07125
07126
07127
07128
07129 int
07130 xcb_get_motion_events_events_length (const xcb_get_motion_events_reply_t *R );
07131
07132
07133
07134
07135
07136
07137
07138
07139
07140
07141
07142 xcb_timecoord_iterator_t
07143 xcb_get_motion_events_events_iterator (const xcb_get_motion_events_reply_t *R );
07144
07145
07146
07147
07148
07149
07150
07151
07152
07153
07154
07155
07156
07157 xcb_get_motion_events_reply_t *
07158 xcb_get_motion_events_reply (xcb_connection_t *c ,
07159 xcb_get_motion_events_cookie_t cookie ,
07160 xcb_generic_error_t **e );
07161
07162
07163
07164
07165
07166
07167
07168
07169
07170
07171
07172
07173
07174
07175
07176 xcb_translate_coordinates_cookie_t
07177 xcb_translate_coordinates (xcb_connection_t *c ,
07178 xcb_window_t src_window ,
07179 xcb_window_t dst_window ,
07180 int16_t src_x ,
07181 int16_t src_y );
07182
07183
07184
07185
07186
07187
07188
07189
07190
07191
07192
07193
07194
07195
07196
07197 xcb_translate_coordinates_cookie_t
07198 xcb_translate_coordinates_unchecked (xcb_connection_t *c ,
07199 xcb_window_t src_window ,
07200 xcb_window_t dst_window ,
07201 int16_t src_x ,
07202 int16_t src_y );
07203
07204
07205
07206
07207
07208
07209
07210
07211
07212
07213
07214
07215
07216 xcb_translate_coordinates_reply_t *
07217 xcb_translate_coordinates_reply (xcb_connection_t *c ,
07218 xcb_translate_coordinates_cookie_t cookie ,
07219 xcb_generic_error_t **e );
07220
07221
07222
07223
07224
07225
07226
07227
07228
07229
07230
07231
07232
07233
07234
07235
07236
07237
07238
07239 xcb_void_cookie_t
07240 xcb_warp_pointer_checked (xcb_connection_t *c ,
07241 xcb_window_t src_window ,
07242 xcb_window_t dst_window ,
07243 int16_t src_x ,
07244 int16_t src_y ,
07245 uint16_t src_width ,
07246 uint16_t src_height ,
07247 int16_t dst_x ,
07248 int16_t dst_y );
07249
07250
07251
07252
07253
07254
07255
07256
07257
07258
07259
07260
07261
07262
07263
07264
07265
07266
07267
07268 xcb_void_cookie_t
07269 xcb_warp_pointer (xcb_connection_t *c ,
07270 xcb_window_t src_window ,
07271 xcb_window_t dst_window ,
07272 int16_t src_x ,
07273 int16_t src_y ,
07274 uint16_t src_width ,
07275 uint16_t src_height ,
07276 int16_t dst_x ,
07277 int16_t dst_y );
07278
07279
07280
07281
07282
07283
07284
07285
07286
07287
07288
07289
07290
07291
07292 xcb_void_cookie_t
07293 xcb_set_input_focus_checked (xcb_connection_t *c ,
07294 uint8_t revert_to ,
07295 xcb_window_t focus ,
07296 xcb_timestamp_t time );
07297
07298
07299
07300
07301
07302
07303
07304
07305
07306
07307
07308
07309
07310
07311 xcb_void_cookie_t
07312 xcb_set_input_focus (xcb_connection_t *c ,
07313 uint8_t revert_to ,
07314 xcb_window_t focus ,
07315 xcb_timestamp_t time );
07316
07317
07318
07319
07320
07321
07322
07323
07324
07325
07326
07327 xcb_get_input_focus_cookie_t
07328 xcb_get_input_focus (xcb_connection_t *c );
07329
07330
07331
07332
07333
07334
07335
07336
07337
07338
07339
07340 xcb_get_input_focus_cookie_t
07341 xcb_get_input_focus_unchecked (xcb_connection_t *c );
07342
07343
07344
07345
07346
07347
07348
07349
07350
07351
07352
07353
07354
07355 xcb_get_input_focus_reply_t *
07356 xcb_get_input_focus_reply (xcb_connection_t *c ,
07357 xcb_get_input_focus_cookie_t cookie ,
07358 xcb_generic_error_t **e );
07359
07360
07361
07362
07363
07364
07365
07366
07367
07368
07369
07370 xcb_query_keymap_cookie_t
07371 xcb_query_keymap (xcb_connection_t *c );
07372
07373
07374
07375
07376
07377
07378
07379
07380
07381
07382
07383 xcb_query_keymap_cookie_t
07384 xcb_query_keymap_unchecked (xcb_connection_t *c );
07385
07386
07387
07388
07389
07390
07391
07392
07393
07394
07395
07396
07397
07398 xcb_query_keymap_reply_t *
07399 xcb_query_keymap_reply (xcb_connection_t *c ,
07400 xcb_query_keymap_cookie_t cookie ,
07401 xcb_generic_error_t **e );
07402
07403
07404
07405
07406
07407
07408
07409
07410
07411
07412
07413
07414
07415
07416 xcb_void_cookie_t
07417 xcb_open_font_checked (xcb_connection_t *c ,
07418 xcb_font_t fid ,
07419 uint16_t name_len ,
07420 const char *name );
07421
07422
07423
07424
07425
07426
07427
07428
07429
07430
07431
07432
07433
07434
07435 xcb_void_cookie_t
07436 xcb_open_font (xcb_connection_t *c ,
07437 xcb_font_t fid ,
07438 uint16_t name_len ,
07439 const char *name );
07440
07441
07442
07443
07444
07445
07446
07447
07448
07449
07450
07451
07452 xcb_void_cookie_t
07453 xcb_close_font_checked (xcb_connection_t *c ,
07454 xcb_font_t font );
07455
07456
07457
07458
07459
07460
07461
07462
07463
07464
07465
07466
07467 xcb_void_cookie_t
07468 xcb_close_font (xcb_connection_t *c ,
07469 xcb_font_t font );
07470
07471
07472
07473
07474
07475
07476
07477
07478
07479
07480
07481 void
07482 xcb_fontprop_next (xcb_fontprop_iterator_t *i );
07483
07484
07485
07486
07487
07488
07489
07490
07491
07492
07493
07494 xcb_generic_iterator_t
07495 xcb_fontprop_end (xcb_fontprop_iterator_t i );
07496
07497
07498
07499
07500
07501
07502
07503
07504
07505
07506
07507 void
07508 xcb_charinfo_next (xcb_charinfo_iterator_t *i );
07509
07510
07511
07512
07513
07514
07515
07516
07517
07518
07519
07520 xcb_generic_iterator_t
07521 xcb_charinfo_end (xcb_charinfo_iterator_t i );
07522
07523
07524
07525
07526
07527
07528
07529
07530
07531
07532
07533
07534 xcb_query_font_cookie_t
07535 xcb_query_font (xcb_connection_t *c ,
07536 xcb_fontable_t font );
07537
07538
07539
07540
07541
07542
07543
07544
07545
07546
07547
07548
07549 xcb_query_font_cookie_t
07550 xcb_query_font_unchecked (xcb_connection_t *c ,
07551 xcb_fontable_t font );
07552
07553
07554
07555
07556
07557
07558
07559
07560
07561
07562
07563 xcb_fontprop_t *
07564 xcb_query_font_properties (const xcb_query_font_reply_t *R );
07565
07566
07567
07568
07569
07570
07571
07572
07573
07574
07575
07576 int
07577 xcb_query_font_properties_length (const xcb_query_font_reply_t *R );
07578
07579
07580
07581
07582
07583
07584
07585
07586
07587
07588
07589 xcb_fontprop_iterator_t
07590 xcb_query_font_properties_iterator (const xcb_query_font_reply_t *R );
07591
07592
07593
07594
07595
07596
07597
07598
07599
07600
07601
07602 xcb_charinfo_t *
07603 xcb_query_font_char_infos (const xcb_query_font_reply_t *R );
07604
07605
07606
07607
07608
07609
07610
07611
07612
07613
07614
07615 int
07616 xcb_query_font_char_infos_length (const xcb_query_font_reply_t *R );
07617
07618
07619
07620
07621
07622
07623
07624
07625
07626
07627
07628 xcb_charinfo_iterator_t
07629 xcb_query_font_char_infos_iterator (const xcb_query_font_reply_t *R );
07630
07631
07632
07633
07634
07635
07636
07637
07638
07639
07640
07641
07642
07643 xcb_query_font_reply_t *
07644 xcb_query_font_reply (xcb_connection_t *c ,
07645 xcb_query_font_cookie_t cookie ,
07646 xcb_generic_error_t **e );
07647
07648
07649
07650
07651
07652
07653
07654
07655
07656
07657
07658
07659
07660
07661 xcb_query_text_extents_cookie_t
07662 xcb_query_text_extents (xcb_connection_t *c ,
07663 xcb_fontable_t font ,
07664 uint32_t string_len ,
07665 const xcb_char2b_t *string );
07666
07667
07668
07669
07670
07671
07672
07673
07674
07675
07676
07677
07678
07679
07680 xcb_query_text_extents_cookie_t
07681 xcb_query_text_extents_unchecked (xcb_connection_t *c ,
07682 xcb_fontable_t font ,
07683 uint32_t string_len ,
07684 const xcb_char2b_t *string );
07685
07686
07687
07688
07689
07690
07691
07692
07693
07694
07695
07696
07697
07698 xcb_query_text_extents_reply_t *
07699 xcb_query_text_extents_reply (xcb_connection_t *c ,
07700 xcb_query_text_extents_cookie_t cookie ,
07701 xcb_generic_error_t **e );
07702
07703
07704
07705
07706
07707
07708
07709
07710
07711
07712
07713 char *
07714 xcb_str_name (const xcb_str_t *R );
07715
07716
07717
07718
07719
07720
07721
07722
07723
07724
07725
07726 int
07727 xcb_str_name_length (const xcb_str_t *R );
07728
07729
07730
07731
07732
07733
07734
07735
07736
07737
07738
07739 xcb_generic_iterator_t
07740 xcb_str_name_end (const xcb_str_t *R );
07741
07742
07743
07744
07745
07746
07747
07748
07749
07750
07751
07752 void
07753 xcb_str_next (xcb_str_iterator_t *i );
07754
07755
07756
07757
07758
07759
07760
07761
07762
07763
07764
07765 xcb_generic_iterator_t
07766 xcb_str_end (xcb_str_iterator_t i );
07767
07768
07769
07770
07771
07772
07773
07774
07775
07776
07777
07778
07779
07780
07781 xcb_list_fonts_cookie_t
07782 xcb_list_fonts (xcb_connection_t *c ,
07783 uint16_t max_names ,
07784 uint16_t pattern_len ,
07785 const char *pattern );
07786
07787
07788
07789
07790
07791
07792
07793
07794
07795
07796
07797
07798
07799
07800 xcb_list_fonts_cookie_t
07801 xcb_list_fonts_unchecked (xcb_connection_t *c ,
07802 uint16_t max_names ,
07803 uint16_t pattern_len ,
07804 const char *pattern );
07805
07806
07807
07808
07809
07810
07811
07812
07813
07814
07815
07816 int
07817 xcb_list_fonts_names_length (const xcb_list_fonts_reply_t *R );
07818
07819
07820
07821
07822
07823
07824
07825
07826
07827
07828
07829 xcb_str_iterator_t
07830 xcb_list_fonts_names_iterator (const xcb_list_fonts_reply_t *R );
07831
07832
07833
07834
07835
07836
07837
07838
07839
07840
07841
07842
07843
07844 xcb_list_fonts_reply_t *
07845 xcb_list_fonts_reply (xcb_connection_t *c ,
07846 xcb_list_fonts_cookie_t cookie ,
07847 xcb_generic_error_t **e );
07848
07849
07850
07851
07852
07853
07854
07855
07856
07857
07858
07859
07860
07861
07862 xcb_list_fonts_with_info_cookie_t
07863 xcb_list_fonts_with_info (xcb_connection_t *c ,
07864 uint16_t max_names ,
07865 uint16_t pattern_len ,
07866 const char *pattern );
07867
07868
07869
07870
07871
07872
07873
07874
07875
07876
07877
07878
07879
07880
07881 xcb_list_fonts_with_info_cookie_t
07882 xcb_list_fonts_with_info_unchecked (xcb_connection_t *c ,
07883 uint16_t max_names ,
07884 uint16_t pattern_len ,
07885 const char *pattern );
07886
07887
07888
07889
07890
07891
07892
07893
07894
07895
07896
07897 xcb_fontprop_t *
07898 xcb_list_fonts_with_info_properties (const xcb_list_fonts_with_info_reply_t *R );
07899
07900
07901
07902
07903
07904
07905
07906
07907
07908
07909
07910 int
07911 xcb_list_fonts_with_info_properties_length (const xcb_list_fonts_with_info_reply_t *R );
07912
07913
07914
07915
07916
07917
07918
07919
07920
07921
07922
07923 xcb_fontprop_iterator_t
07924 xcb_list_fonts_with_info_properties_iterator (const xcb_list_fonts_with_info_reply_t *R );
07925
07926
07927
07928
07929
07930
07931
07932
07933
07934
07935
07936 char *
07937 xcb_list_fonts_with_info_name (const xcb_list_fonts_with_info_reply_t *R );
07938
07939
07940
07941
07942
07943
07944
07945
07946
07947
07948
07949 int
07950 xcb_list_fonts_with_info_name_length (const xcb_list_fonts_with_info_reply_t *R );
07951
07952
07953
07954
07955
07956
07957
07958
07959
07960
07961
07962 xcb_generic_iterator_t
07963 xcb_list_fonts_with_info_name_end (const xcb_list_fonts_with_info_reply_t *R );
07964
07965
07966
07967
07968
07969
07970
07971
07972
07973
07974
07975
07976
07977 xcb_list_fonts_with_info_reply_t *
07978 xcb_list_fonts_with_info_reply (xcb_connection_t *c ,
07979 xcb_list_fonts_with_info_cookie_t cookie ,
07980 xcb_generic_error_t **e );
07981
07982
07983
07984
07985
07986
07987
07988
07989
07990
07991
07992
07993
07994
07995 xcb_void_cookie_t
07996 xcb_set_font_path_checked (xcb_connection_t *c ,
07997 uint16_t font_qty ,
07998 uint32_t path_len ,
07999 const char *path );
08000
08001
08002
08003
08004
08005
08006
08007
08008
08009
08010
08011
08012
08013
08014 xcb_void_cookie_t
08015 xcb_set_font_path (xcb_connection_t *c ,
08016 uint16_t font_qty ,
08017 uint32_t path_len ,
08018 const char *path );
08019
08020
08021
08022
08023
08024
08025
08026
08027
08028
08029
08030 xcb_get_font_path_cookie_t
08031 xcb_get_font_path (xcb_connection_t *c );
08032
08033
08034
08035
08036
08037
08038
08039
08040
08041
08042
08043 xcb_get_font_path_cookie_t
08044 xcb_get_font_path_unchecked (xcb_connection_t *c );
08045
08046
08047
08048
08049
08050
08051
08052
08053
08054
08055
08056 int
08057 xcb_get_font_path_path_length (const xcb_get_font_path_reply_t *R );
08058
08059
08060
08061
08062
08063
08064
08065
08066
08067
08068
08069 xcb_str_iterator_t
08070 xcb_get_font_path_path_iterator (const xcb_get_font_path_reply_t *R );
08071
08072
08073
08074
08075
08076
08077
08078
08079
08080
08081
08082
08083
08084 xcb_get_font_path_reply_t *
08085 xcb_get_font_path_reply (xcb_connection_t *c ,
08086 xcb_get_font_path_cookie_t cookie ,
08087 xcb_generic_error_t **e );
08088
08089
08090
08091
08092
08093
08094
08095
08096
08097
08098
08099
08100
08101
08102
08103
08104 xcb_void_cookie_t
08105 xcb_create_pixmap_checked (xcb_connection_t *c ,
08106 uint8_t depth ,
08107 xcb_pixmap_t pid ,
08108 xcb_drawable_t drawable ,
08109 uint16_t width ,
08110 uint16_t height );
08111
08112
08113
08114
08115
08116
08117
08118
08119
08120
08121
08122
08123
08124
08125
08126
08127 xcb_void_cookie_t
08128 xcb_create_pixmap (xcb_connection_t *c ,
08129 uint8_t depth ,
08130 xcb_pixmap_t pid ,
08131 xcb_drawable_t drawable ,
08132 uint16_t width ,
08133 uint16_t height );
08134
08135
08136
08137
08138
08139
08140
08141
08142
08143
08144
08145
08146 xcb_void_cookie_t
08147 xcb_free_pixmap_checked (xcb_connection_t *c ,
08148 xcb_pixmap_t pixmap );
08149
08150
08151
08152
08153
08154
08155
08156
08157
08158
08159
08160
08161 xcb_void_cookie_t
08162 xcb_free_pixmap (xcb_connection_t *c ,
08163 xcb_pixmap_t pixmap );
08164
08165
08166
08167
08168
08169
08170
08171
08172
08173
08174
08175
08176
08177
08178
08179 xcb_void_cookie_t
08180 xcb_create_gc_checked (xcb_connection_t *c ,
08181 xcb_gcontext_t cid ,
08182 xcb_drawable_t drawable ,
08183 uint32_t value_mask ,
08184 const uint32_t *value_list );
08185
08186
08187
08188
08189
08190
08191
08192
08193
08194
08195
08196
08197
08198
08199
08200 xcb_void_cookie_t
08201 xcb_create_gc (xcb_connection_t *c ,
08202 xcb_gcontext_t cid ,
08203 xcb_drawable_t drawable ,
08204 uint32_t value_mask ,
08205 const uint32_t *value_list );
08206
08207
08208
08209
08210
08211
08212
08213
08214
08215
08216
08217
08218
08219
08220 xcb_void_cookie_t
08221 xcb_change_gc_checked (xcb_connection_t *c ,
08222 xcb_gcontext_t gc ,
08223 uint32_t value_mask ,
08224 const uint32_t *value_list );
08225
08226
08227
08228
08229
08230
08231
08232
08233
08234
08235
08236
08237
08238
08239 xcb_void_cookie_t
08240 xcb_change_gc (xcb_connection_t *c ,
08241 xcb_gcontext_t gc ,
08242 uint32_t value_mask ,
08243 const uint32_t *value_list );
08244
08245
08246
08247
08248
08249
08250
08251
08252
08253
08254
08255
08256
08257
08258 xcb_void_cookie_t
08259 xcb_copy_gc_checked (xcb_connection_t *c ,
08260 xcb_gcontext_t src_gc ,
08261 xcb_gcontext_t dst_gc ,
08262 uint32_t value_mask );
08263
08264
08265
08266
08267
08268
08269
08270
08271
08272
08273
08274
08275
08276
08277 xcb_void_cookie_t
08278 xcb_copy_gc (xcb_connection_t *c ,
08279 xcb_gcontext_t src_gc ,
08280 xcb_gcontext_t dst_gc ,
08281 uint32_t value_mask );
08282
08283
08284
08285
08286
08287
08288
08289
08290
08291
08292
08293
08294
08295
08296
08297 xcb_void_cookie_t
08298 xcb_set_dashes_checked (xcb_connection_t *c ,
08299 xcb_gcontext_t gc ,
08300 uint16_t dash_offset ,
08301 uint16_t dashes_len ,
08302 const uint8_t *dashes );
08303
08304
08305
08306
08307
08308
08309
08310
08311
08312
08313
08314
08315
08316
08317
08318 xcb_void_cookie_t
08319 xcb_set_dashes (xcb_connection_t *c ,
08320 xcb_gcontext_t gc ,
08321 uint16_t dash_offset ,
08322 uint16_t dashes_len ,
08323 const uint8_t *dashes );
08324
08325
08326
08327
08328
08329
08330
08331
08332
08333
08334
08335
08336
08337
08338
08339
08340
08341 xcb_void_cookie_t
08342 xcb_set_clip_rectangles_checked (xcb_connection_t *c ,
08343 uint8_t ordering ,
08344 xcb_gcontext_t gc ,
08345 int16_t clip_x_origin ,
08346 int16_t clip_y_origin ,
08347 uint32_t rectangles_len ,
08348 const xcb_rectangle_t *rectangles );
08349
08350
08351
08352
08353
08354
08355
08356
08357
08358
08359
08360
08361
08362
08363
08364
08365
08366 xcb_void_cookie_t
08367 xcb_set_clip_rectangles (xcb_connection_t *c ,
08368 uint8_t ordering ,
08369 xcb_gcontext_t gc ,
08370 int16_t clip_x_origin ,
08371 int16_t clip_y_origin ,
08372 uint32_t rectangles_len ,
08373 const xcb_rectangle_t *rectangles );
08374
08375
08376
08377
08378
08379
08380
08381
08382
08383
08384
08385
08386 xcb_void_cookie_t
08387 xcb_free_gc_checked (xcb_connection_t *c ,
08388 xcb_gcontext_t gc );
08389
08390
08391
08392
08393
08394
08395
08396
08397
08398
08399
08400
08401 xcb_void_cookie_t
08402 xcb_free_gc (xcb_connection_t *c ,
08403 xcb_gcontext_t gc );
08404
08405
08406
08407
08408
08409
08410
08411
08412
08413
08414
08415
08416
08417
08418
08419
08420
08421 xcb_void_cookie_t
08422 xcb_clear_area_checked (xcb_connection_t *c ,
08423 uint8_t exposures ,
08424 xcb_window_t window ,
08425 int16_t x ,
08426 int16_t y ,
08427 uint16_t width ,
08428 uint16_t height );
08429
08430
08431
08432
08433
08434
08435
08436
08437
08438
08439
08440
08441
08442
08443
08444
08445
08446 xcb_void_cookie_t
08447 xcb_clear_area (xcb_connection_t *c ,
08448 uint8_t exposures ,
08449 xcb_window_t window ,
08450 int16_t x ,
08451 int16_t y ,
08452 uint16_t width ,
08453 uint16_t height );
08454
08455
08456
08457
08458
08459
08460
08461
08462
08463
08464
08465
08466
08467
08468
08469
08470
08471
08472
08473
08474 xcb_void_cookie_t
08475 xcb_copy_area_checked (xcb_connection_t *c ,
08476 xcb_drawable_t src_drawable ,
08477 xcb_drawable_t dst_drawable ,
08478 xcb_gcontext_t gc ,
08479 int16_t src_x ,
08480 int16_t src_y ,
08481 int16_t dst_x ,
08482 int16_t dst_y ,
08483 uint16_t width ,
08484 uint16_t height );
08485
08486
08487
08488
08489
08490
08491
08492
08493
08494
08495
08496
08497
08498
08499
08500
08501
08502
08503
08504
08505 xcb_void_cookie_t
08506 xcb_copy_area (xcb_connection_t *c ,
08507 xcb_drawable_t src_drawable ,
08508 xcb_drawable_t dst_drawable ,
08509 xcb_gcontext_t gc ,
08510 int16_t src_x ,
08511 int16_t src_y ,
08512 int16_t dst_x ,
08513 int16_t dst_y ,
08514 uint16_t width ,
08515 uint16_t height );
08516
08517
08518
08519
08520
08521
08522
08523
08524
08525
08526
08527
08528
08529
08530
08531
08532
08533
08534
08535
08536
08537 xcb_void_cookie_t
08538 xcb_copy_plane_checked (xcb_connection_t *c ,
08539 xcb_drawable_t src_drawable ,
08540 xcb_drawable_t dst_drawable ,
08541 xcb_gcontext_t gc ,
08542 int16_t src_x ,
08543 int16_t src_y ,
08544 int16_t dst_x ,
08545 int16_t dst_y ,
08546 uint16_t width ,
08547 uint16_t height ,
08548 uint32_t bit_plane );
08549
08550
08551
08552
08553
08554
08555
08556
08557
08558
08559
08560
08561
08562
08563
08564
08565
08566
08567
08568
08569
08570 xcb_void_cookie_t
08571 xcb_copy_plane (xcb_connection_t *c ,
08572 xcb_drawable_t src_drawable ,
08573 xcb_drawable_t dst_drawable ,
08574 xcb_gcontext_t gc ,
08575 int16_t src_x ,
08576 int16_t src_y ,
08577 int16_t dst_x ,
08578 int16_t dst_y ,
08579 uint16_t width ,
08580 uint16_t height ,
08581 uint32_t bit_plane );
08582
08583
08584
08585
08586
08587
08588
08589
08590
08591
08592
08593
08594
08595
08596
08597
08598 xcb_void_cookie_t
08599 xcb_poly_point_checked (xcb_connection_t *c ,
08600 uint8_t coordinate_mode ,
08601 xcb_drawable_t drawable ,
08602 xcb_gcontext_t gc ,
08603 uint32_t points_len ,
08604 const xcb_point_t *points );
08605
08606
08607
08608
08609
08610
08611
08612
08613
08614
08615
08616
08617
08618
08619
08620
08621 xcb_void_cookie_t
08622 xcb_poly_point (xcb_connection_t *c ,
08623 uint8_t coordinate_mode ,
08624 xcb_drawable_t drawable ,
08625 xcb_gcontext_t gc ,
08626 uint32_t points_len ,
08627 const xcb_point_t *points );
08628
08629
08630
08631
08632
08633
08634
08635
08636
08637
08638
08639
08640
08641
08642
08643
08644 xcb_void_cookie_t
08645 xcb_poly_line_checked (xcb_connection_t *c ,
08646 uint8_t coordinate_mode ,
08647 xcb_drawable_t drawable ,
08648 xcb_gcontext_t gc ,
08649 uint32_t points_len ,
08650 const xcb_point_t *points );
08651
08652
08653
08654
08655
08656
08657
08658
08659
08660
08661
08662
08663
08664
08665
08666
08667 xcb_void_cookie_t
08668 xcb_poly_line (xcb_connection_t *c ,
08669 uint8_t coordinate_mode ,
08670 xcb_drawable_t drawable ,
08671 xcb_gcontext_t gc ,
08672 uint32_t points_len ,
08673 const xcb_point_t *points );
08674
08675
08676
08677
08678
08679
08680
08681
08682
08683
08684
08685 void
08686 xcb_segment_next (xcb_segment_iterator_t *i );
08687
08688
08689
08690
08691
08692
08693
08694
08695
08696
08697
08698 xcb_generic_iterator_t
08699 xcb_segment_end (xcb_segment_iterator_t i );
08700
08701
08702
08703
08704
08705
08706
08707
08708
08709
08710
08711
08712
08713
08714
08715 xcb_void_cookie_t
08716 xcb_poly_segment_checked (xcb_connection_t *c ,
08717 xcb_drawable_t drawable ,
08718 xcb_gcontext_t gc ,
08719 uint32_t segments_len ,
08720 const xcb_segment_t *segments );
08721
08722
08723
08724
08725
08726
08727
08728
08729
08730
08731
08732
08733
08734
08735
08736 xcb_void_cookie_t
08737 xcb_poly_segment (xcb_connection_t *c ,
08738 xcb_drawable_t drawable ,
08739 xcb_gcontext_t gc ,
08740 uint32_t segments_len ,
08741 const xcb_segment_t *segments );
08742
08743
08744
08745
08746
08747
08748
08749
08750
08751
08752
08753
08754
08755
08756
08757 xcb_void_cookie_t
08758 xcb_poly_rectangle_checked (xcb_connection_t *c ,
08759 xcb_drawable_t drawable ,
08760 xcb_gcontext_t gc ,
08761 uint32_t rectangles_len ,
08762 const xcb_rectangle_t *rectangles );
08763
08764
08765
08766
08767
08768
08769
08770
08771
08772
08773
08774
08775
08776
08777
08778 xcb_void_cookie_t
08779 xcb_poly_rectangle (xcb_connection_t *c ,
08780 xcb_drawable_t drawable ,
08781 xcb_gcontext_t gc ,
08782 uint32_t rectangles_len ,
08783 const xcb_rectangle_t *rectangles );
08784
08785
08786
08787
08788
08789
08790
08791
08792
08793
08794
08795
08796
08797
08798
08799 xcb_void_cookie_t
08800 xcb_poly_arc_checked (xcb_connection_t *c ,
08801 xcb_drawable_t drawable ,
08802 xcb_gcontext_t gc ,
08803 uint32_t arcs_len ,
08804 const xcb_arc_t *arcs );
08805
08806
08807
08808
08809
08810
08811
08812
08813
08814
08815
08816
08817
08818
08819
08820 xcb_void_cookie_t
08821 xcb_poly_arc (xcb_connection_t *c ,
08822 xcb_drawable_t drawable ,
08823 xcb_gcontext_t gc ,
08824 uint32_t arcs_len ,
08825 const xcb_arc_t *arcs );
08826
08827
08828
08829
08830
08831
08832
08833
08834
08835
08836
08837
08838
08839
08840
08841
08842
08843 xcb_void_cookie_t
08844 xcb_fill_poly_checked (xcb_connection_t *c ,
08845 xcb_drawable_t drawable ,
08846 xcb_gcontext_t gc ,
08847 uint8_t shape ,
08848 uint8_t coordinate_mode ,
08849 uint32_t points_len ,
08850 const xcb_point_t *points );
08851
08852
08853
08854
08855
08856
08857
08858
08859
08860
08861
08862
08863
08864
08865
08866
08867
08868 xcb_void_cookie_t
08869 xcb_fill_poly (xcb_connection_t *c ,
08870 xcb_drawable_t drawable ,
08871 xcb_gcontext_t gc ,
08872 uint8_t shape ,
08873 uint8_t coordinate_mode ,
08874 uint32_t points_len ,
08875 const xcb_point_t *points );
08876
08877
08878
08879
08880
08881
08882
08883
08884
08885
08886
08887
08888
08889
08890
08891 xcb_void_cookie_t
08892 xcb_poly_fill_rectangle_checked (xcb_connection_t *c ,
08893 xcb_drawable_t drawable ,
08894 xcb_gcontext_t gc ,
08895 uint32_t rectangles_len ,
08896 const xcb_rectangle_t *rectangles );
08897
08898
08899
08900
08901
08902
08903
08904
08905
08906
08907
08908
08909
08910
08911
08912 xcb_void_cookie_t
08913 xcb_poly_fill_rectangle (xcb_connection_t *c ,
08914 xcb_drawable_t drawable ,
08915 xcb_gcontext_t gc ,
08916 uint32_t rectangles_len ,
08917 const xcb_rectangle_t *rectangles );
08918
08919
08920
08921
08922
08923
08924
08925
08926
08927
08928
08929
08930
08931
08932
08933 xcb_void_cookie_t
08934 xcb_poly_fill_arc_checked (xcb_connection_t *c ,
08935 xcb_drawable_t drawable ,
08936 xcb_gcontext_t gc ,
08937 uint32_t arcs_len ,
08938 const xcb_arc_t *arcs );
08939
08940
08941
08942
08943
08944
08945
08946
08947
08948
08949
08950
08951
08952
08953
08954 xcb_void_cookie_t
08955 xcb_poly_fill_arc (xcb_connection_t *c ,
08956 xcb_drawable_t drawable ,
08957 xcb_gcontext_t gc ,
08958 uint32_t arcs_len ,
08959 const xcb_arc_t *arcs );
08960
08961
08962
08963
08964
08965
08966
08967
08968
08969
08970
08971
08972
08973
08974
08975
08976
08977
08978
08979
08980
08981
08982 xcb_void_cookie_t
08983 xcb_put_image_checked (xcb_connection_t *c ,
08984 uint8_t format ,
08985 xcb_drawable_t drawable ,
08986 xcb_gcontext_t gc ,
08987 uint16_t width ,
08988 uint16_t height ,
08989 int16_t dst_x ,
08990 int16_t dst_y ,
08991 uint8_t left_pad ,
08992 uint8_t depth ,
08993 uint32_t data_len ,
08994 const uint8_t *data );
08995
08996
08997
08998
08999
09000
09001
09002
09003
09004
09005
09006
09007
09008
09009
09010
09011
09012
09013
09014
09015
09016
09017 xcb_void_cookie_t
09018 xcb_put_image (xcb_connection_t *c ,
09019 uint8_t format ,
09020 xcb_drawable_t drawable ,
09021 xcb_gcontext_t gc ,
09022 uint16_t width ,
09023 uint16_t height ,
09024 int16_t dst_x ,
09025 int16_t dst_y ,
09026 uint8_t left_pad ,
09027 uint8_t depth ,
09028 uint32_t data_len ,
09029 const uint8_t *data );
09030
09031
09032
09033
09034
09035
09036
09037
09038
09039
09040
09041
09042
09043
09044
09045
09046
09047
09048 xcb_get_image_cookie_t
09049 xcb_get_image (xcb_connection_t *c ,
09050 uint8_t format ,
09051 xcb_drawable_t drawable ,
09052 int16_t x ,
09053 int16_t y ,
09054 uint16_t width ,
09055 uint16_t height ,
09056 uint32_t plane_mask );
09057
09058
09059
09060
09061
09062
09063
09064
09065
09066
09067
09068
09069
09070
09071
09072
09073
09074
09075 xcb_get_image_cookie_t
09076 xcb_get_image_unchecked (xcb_connection_t *c ,
09077 uint8_t format ,
09078 xcb_drawable_t drawable ,
09079 int16_t x ,
09080 int16_t y ,
09081 uint16_t width ,
09082 uint16_t height ,
09083 uint32_t plane_mask );
09084
09085
09086
09087
09088
09089
09090
09091
09092
09093
09094
09095 uint8_t *
09096 xcb_get_image_data (const xcb_get_image_reply_t *R );
09097
09098
09099
09100
09101
09102
09103
09104
09105
09106
09107
09108 int
09109 xcb_get_image_data_length (const xcb_get_image_reply_t *R );
09110
09111
09112
09113
09114
09115
09116
09117
09118
09119
09120
09121 xcb_generic_iterator_t
09122 xcb_get_image_data_end (const xcb_get_image_reply_t *R );
09123
09124
09125
09126
09127
09128
09129
09130
09131
09132
09133
09134
09135
09136 xcb_get_image_reply_t *
09137 xcb_get_image_reply (xcb_connection_t *c ,
09138 xcb_get_image_cookie_t cookie ,
09139 xcb_generic_error_t **e );
09140
09141
09142
09143
09144
09145
09146
09147
09148
09149
09150
09151
09152
09153
09154
09155
09156
09157 xcb_void_cookie_t
09158 xcb_poly_text_8_checked (xcb_connection_t *c ,
09159 xcb_drawable_t drawable ,
09160 xcb_gcontext_t gc ,
09161 int16_t x ,
09162 int16_t y ,
09163 uint32_t items_len ,
09164 const uint8_t *items );
09165
09166
09167
09168
09169
09170
09171
09172
09173
09174
09175
09176
09177
09178
09179
09180
09181
09182 xcb_void_cookie_t
09183 xcb_poly_text_8 (xcb_connection_t *c ,
09184 xcb_drawable_t drawable ,
09185 xcb_gcontext_t gc ,
09186 int16_t x ,
09187 int16_t y ,
09188 uint32_t items_len ,
09189 const uint8_t *items );
09190
09191
09192
09193
09194
09195
09196
09197
09198
09199
09200
09201
09202
09203
09204
09205
09206
09207 xcb_void_cookie_t
09208 xcb_poly_text_16_checked (xcb_connection_t *c ,
09209 xcb_drawable_t drawable ,
09210 xcb_gcontext_t gc ,
09211 int16_t x ,
09212 int16_t y ,
09213 uint32_t items_len ,
09214 const uint8_t *items );
09215
09216
09217
09218
09219
09220
09221
09222
09223
09224
09225
09226
09227
09228
09229
09230
09231
09232 xcb_void_cookie_t
09233 xcb_poly_text_16 (xcb_connection_t *c ,
09234 xcb_drawable_t drawable ,
09235 xcb_gcontext_t gc ,
09236 int16_t x ,
09237 int16_t y ,
09238 uint32_t items_len ,
09239 const uint8_t *items );
09240
09241
09242
09243
09244
09245
09246
09247
09248
09249
09250
09251
09252
09253
09254
09255
09256
09257 xcb_void_cookie_t
09258 xcb_image_text_8_checked (xcb_connection_t *c ,
09259 uint8_t string_len ,
09260 xcb_drawable_t drawable ,
09261 xcb_gcontext_t gc ,
09262 int16_t x ,
09263 int16_t y ,
09264 const char *string );
09265
09266
09267
09268
09269
09270
09271
09272
09273
09274
09275
09276
09277
09278
09279
09280
09281
09282 xcb_void_cookie_t
09283 xcb_image_text_8 (xcb_connection_t *c ,
09284 uint8_t string_len ,
09285 xcb_drawable_t drawable ,
09286 xcb_gcontext_t gc ,
09287 int16_t x ,
09288 int16_t y ,
09289 const char *string );
09290
09291
09292
09293
09294
09295
09296
09297
09298
09299
09300
09301
09302
09303
09304
09305
09306
09307 xcb_void_cookie_t
09308 xcb_image_text_16_checked (xcb_connection_t *c ,
09309 uint8_t string_len ,
09310 xcb_drawable_t drawable ,
09311 xcb_gcontext_t gc ,
09312 int16_t x ,
09313 int16_t y ,
09314 const xcb_char2b_t *string );
09315
09316
09317
09318
09319
09320
09321
09322
09323
09324
09325
09326
09327
09328
09329
09330
09331
09332 xcb_void_cookie_t
09333 xcb_image_text_16 (xcb_connection_t *c ,
09334 uint8_t string_len ,
09335 xcb_drawable_t drawable ,
09336 xcb_gcontext_t gc ,
09337 int16_t x ,
09338 int16_t y ,
09339 const xcb_char2b_t *string );
09340
09341
09342
09343
09344
09345
09346
09347
09348
09349
09350
09351
09352
09353
09354
09355 xcb_void_cookie_t
09356 xcb_create_colormap_checked (xcb_connection_t *c ,
09357 uint8_t alloc ,
09358 xcb_colormap_t mid ,
09359 xcb_window_t window ,
09360 xcb_visualid_t visual );
09361
09362
09363
09364
09365
09366
09367
09368
09369
09370
09371
09372
09373
09374
09375
09376 xcb_void_cookie_t
09377 xcb_create_colormap (xcb_connection_t *c ,
09378 uint8_t alloc ,
09379 xcb_colormap_t mid ,
09380 xcb_window_t window ,
09381 xcb_visualid_t visual );
09382
09383
09384
09385
09386
09387
09388
09389
09390
09391
09392
09393
09394 xcb_void_cookie_t
09395 xcb_free_colormap_checked (xcb_connection_t *c ,
09396 xcb_colormap_t cmap );
09397
09398
09399
09400
09401
09402
09403
09404
09405
09406
09407
09408
09409 xcb_void_cookie_t
09410 xcb_free_colormap (xcb_connection_t *c ,
09411 xcb_colormap_t cmap );
09412
09413
09414
09415
09416
09417
09418
09419
09420
09421
09422
09423
09424
09425 xcb_void_cookie_t
09426 xcb_copy_colormap_and_free_checked (xcb_connection_t *c ,
09427 xcb_colormap_t mid ,
09428 xcb_colormap_t src_cmap );
09429
09430
09431
09432
09433
09434
09435
09436
09437
09438
09439
09440
09441
09442 xcb_void_cookie_t
09443 xcb_copy_colormap_and_free (xcb_connection_t *c ,
09444 xcb_colormap_t mid ,
09445 xcb_colormap_t src_cmap );
09446
09447
09448
09449
09450
09451
09452
09453
09454
09455
09456
09457
09458 xcb_void_cookie_t
09459 xcb_install_colormap_checked (xcb_connection_t *c ,
09460 xcb_colormap_t cmap );
09461
09462
09463
09464
09465
09466
09467
09468
09469
09470
09471
09472
09473 xcb_void_cookie_t
09474 xcb_install_colormap (xcb_connection_t *c ,
09475 xcb_colormap_t cmap );
09476
09477
09478
09479
09480
09481
09482
09483
09484
09485
09486
09487
09488 xcb_void_cookie_t
09489 xcb_uninstall_colormap_checked (xcb_connection_t *c ,
09490 xcb_colormap_t cmap );
09491
09492
09493
09494
09495
09496
09497
09498
09499
09500
09501
09502
09503 xcb_void_cookie_t
09504 xcb_uninstall_colormap (xcb_connection_t *c ,
09505 xcb_colormap_t cmap );
09506
09507
09508
09509
09510
09511
09512
09513
09514
09515
09516
09517
09518 xcb_list_installed_colormaps_cookie_t
09519 xcb_list_installed_colormaps (xcb_connection_t *c ,
09520 xcb_window_t window );
09521
09522
09523
09524
09525
09526
09527
09528
09529
09530
09531
09532
09533 xcb_list_installed_colormaps_cookie_t
09534 xcb_list_installed_colormaps_unchecked (xcb_connection_t *c ,
09535 xcb_window_t window );
09536
09537
09538
09539
09540
09541
09542
09543
09544
09545
09546
09547 xcb_colormap_t *
09548 xcb_list_installed_colormaps_cmaps (const xcb_list_installed_colormaps_reply_t *R );
09549
09550
09551
09552
09553
09554
09555
09556
09557
09558
09559
09560 int
09561 xcb_list_installed_colormaps_cmaps_length (const xcb_list_installed_colormaps_reply_t *R );
09562
09563
09564
09565
09566
09567
09568
09569
09570
09571
09572
09573 xcb_colormap_iterator_t
09574 xcb_list_installed_colormaps_cmaps_iterator (const xcb_list_installed_colormaps_reply_t *R );
09575
09576
09577
09578
09579
09580
09581
09582
09583
09584
09585
09586
09587
09588 xcb_list_installed_colormaps_reply_t *
09589 xcb_list_installed_colormaps_reply (xcb_connection_t *c ,
09590 xcb_list_installed_colormaps_cookie_t cookie ,
09591 xcb_generic_error_t **e );
09592
09593
09594
09595
09596
09597
09598
09599
09600
09601
09602
09603
09604
09605
09606
09607 xcb_alloc_color_cookie_t
09608 xcb_alloc_color (xcb_connection_t *c ,
09609 xcb_colormap_t cmap ,
09610 uint16_t red ,
09611 uint16_t green ,
09612 uint16_t blue );
09613
09614
09615
09616
09617
09618
09619
09620
09621
09622
09623
09624
09625
09626
09627
09628 xcb_alloc_color_cookie_t
09629 xcb_alloc_color_unchecked (xcb_connection_t *c ,
09630 xcb_colormap_t cmap ,
09631 uint16_t red ,
09632 uint16_t green ,
09633 uint16_t blue );
09634
09635
09636
09637
09638
09639
09640
09641
09642
09643
09644
09645
09646
09647 xcb_alloc_color_reply_t *
09648 xcb_alloc_color_reply (xcb_connection_t *c ,
09649 xcb_alloc_color_cookie_t cookie ,
09650 xcb_generic_error_t **e );
09651
09652
09653
09654
09655
09656
09657
09658
09659
09660
09661
09662
09663
09664
09665 xcb_alloc_named_color_cookie_t
09666 xcb_alloc_named_color (xcb_connection_t *c ,
09667 xcb_colormap_t cmap ,
09668 uint16_t name_len ,
09669 const char *name );
09670
09671
09672
09673
09674
09675
09676
09677
09678
09679
09680
09681
09682
09683
09684 xcb_alloc_named_color_cookie_t
09685 xcb_alloc_named_color_unchecked (xcb_connection_t *c ,
09686 xcb_colormap_t cmap ,
09687 uint16_t name_len ,
09688 const char *name );
09689
09690
09691
09692
09693
09694
09695
09696
09697
09698
09699
09700
09701
09702 xcb_alloc_named_color_reply_t *
09703 xcb_alloc_named_color_reply (xcb_connection_t *c ,
09704 xcb_alloc_named_color_cookie_t cookie ,
09705 xcb_generic_error_t **e );
09706
09707
09708
09709
09710
09711
09712
09713
09714
09715
09716
09717
09718
09719
09720
09721 xcb_alloc_color_cells_cookie_t
09722 xcb_alloc_color_cells (xcb_connection_t *c ,
09723 uint8_t contiguous ,
09724 xcb_colormap_t cmap ,
09725 uint16_t colors ,
09726 uint16_t planes );
09727
09728
09729
09730
09731
09732
09733
09734
09735
09736
09737
09738
09739
09740
09741
09742 xcb_alloc_color_cells_cookie_t
09743 xcb_alloc_color_cells_unchecked (xcb_connection_t *c ,
09744 uint8_t contiguous ,
09745 xcb_colormap_t cmap ,
09746 uint16_t colors ,
09747 uint16_t planes );
09748
09749
09750
09751
09752
09753
09754
09755
09756
09757
09758
09759 uint32_t *
09760 xcb_alloc_color_cells_pixels (const xcb_alloc_color_cells_reply_t *R );
09761
09762
09763
09764
09765
09766
09767
09768
09769
09770
09771
09772 int
09773 xcb_alloc_color_cells_pixels_length (const xcb_alloc_color_cells_reply_t *R );
09774
09775
09776
09777
09778
09779
09780
09781
09782
09783
09784
09785 xcb_generic_iterator_t
09786 xcb_alloc_color_cells_pixels_end (const xcb_alloc_color_cells_reply_t *R );
09787
09788
09789
09790
09791
09792
09793
09794
09795
09796
09797
09798 uint32_t *
09799 xcb_alloc_color_cells_masks (const xcb_alloc_color_cells_reply_t *R );
09800
09801
09802
09803
09804
09805
09806
09807
09808
09809
09810
09811 int
09812 xcb_alloc_color_cells_masks_length (const xcb_alloc_color_cells_reply_t *R );
09813
09814
09815
09816
09817
09818
09819
09820
09821
09822
09823
09824 xcb_generic_iterator_t
09825 xcb_alloc_color_cells_masks_end (const xcb_alloc_color_cells_reply_t *R );
09826
09827
09828
09829
09830
09831
09832
09833
09834
09835
09836
09837
09838
09839 xcb_alloc_color_cells_reply_t *
09840 xcb_alloc_color_cells_reply (xcb_connection_t *c ,
09841 xcb_alloc_color_cells_cookie_t cookie ,
09842 xcb_generic_error_t **e );
09843
09844
09845
09846
09847
09848
09849
09850
09851
09852
09853
09854
09855
09856
09857
09858
09859
09860 xcb_alloc_color_planes_cookie_t
09861 xcb_alloc_color_planes (xcb_connection_t *c ,
09862 uint8_t contiguous ,
09863 xcb_colormap_t cmap ,
09864 uint16_t colors ,
09865 uint16_t reds ,
09866 uint16_t greens ,
09867 uint16_t blues );
09868
09869
09870
09871
09872
09873
09874
09875
09876
09877
09878
09879
09880
09881
09882
09883
09884
09885 xcb_alloc_color_planes_cookie_t
09886 xcb_alloc_color_planes_unchecked (xcb_connection_t *c ,
09887 uint8_t contiguous ,
09888 xcb_colormap_t cmap ,
09889 uint16_t colors ,
09890 uint16_t reds ,
09891 uint16_t greens ,
09892 uint16_t blues );
09893
09894
09895
09896
09897
09898
09899
09900
09901
09902
09903
09904 uint32_t *
09905 xcb_alloc_color_planes_pixels (const xcb_alloc_color_planes_reply_t *R );
09906
09907
09908
09909
09910
09911
09912
09913
09914
09915
09916
09917 int
09918 xcb_alloc_color_planes_pixels_length (const xcb_alloc_color_planes_reply_t *R );
09919
09920
09921
09922
09923
09924
09925
09926
09927
09928
09929
09930 xcb_generic_iterator_t
09931 xcb_alloc_color_planes_pixels_end (const xcb_alloc_color_planes_reply_t *R );
09932
09933
09934
09935
09936
09937
09938
09939
09940
09941
09942
09943
09944
09945 xcb_alloc_color_planes_reply_t *
09946 xcb_alloc_color_planes_reply (xcb_connection_t *c ,
09947 xcb_alloc_color_planes_cookie_t cookie ,
09948 xcb_generic_error_t **e );
09949
09950
09951
09952
09953
09954
09955
09956
09957
09958
09959
09960
09961
09962
09963
09964 xcb_void_cookie_t
09965 xcb_free_colors_checked (xcb_connection_t *c ,
09966 xcb_colormap_t cmap ,
09967 uint32_t plane_mask ,
09968 uint32_t pixels_len ,
09969 const uint32_t *pixels );
09970
09971
09972
09973
09974
09975
09976
09977
09978
09979
09980
09981
09982
09983
09984
09985 xcb_void_cookie_t
09986 xcb_free_colors (xcb_connection_t *c ,
09987 xcb_colormap_t cmap ,
09988 uint32_t plane_mask ,
09989 uint32_t pixels_len ,
09990 const uint32_t *pixels );
09991
09992
09993
09994
09995
09996
09997
09998
09999
10000
10001
10002 void
10003 xcb_coloritem_next (xcb_coloritem_iterator_t *i );
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015 xcb_generic_iterator_t
10016 xcb_coloritem_end (xcb_coloritem_iterator_t i );
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031 xcb_void_cookie_t
10032 xcb_store_colors_checked (xcb_connection_t *c ,
10033 xcb_colormap_t cmap ,
10034 uint32_t items_len ,
10035 const xcb_coloritem_t *items );
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050 xcb_void_cookie_t
10051 xcb_store_colors (xcb_connection_t *c ,
10052 xcb_colormap_t cmap ,
10053 uint32_t items_len ,
10054 const xcb_coloritem_t *items );
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071 xcb_void_cookie_t
10072 xcb_store_named_color_checked (xcb_connection_t *c ,
10073 uint8_t flags ,
10074 xcb_colormap_t cmap ,
10075 uint32_t pixel ,
10076 uint16_t name_len ,
10077 const char *name );
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094 xcb_void_cookie_t
10095 xcb_store_named_color (xcb_connection_t *c ,
10096 uint8_t flags ,
10097 xcb_colormap_t cmap ,
10098 uint32_t pixel ,
10099 uint16_t name_len ,
10100 const char *name );
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112 void
10113 xcb_rgb_next (xcb_rgb_iterator_t *i );
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125 xcb_generic_iterator_t
10126 xcb_rgb_end (xcb_rgb_iterator_t i );
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141 xcb_query_colors_cookie_t
10142 xcb_query_colors (xcb_connection_t *c ,
10143 xcb_colormap_t cmap ,
10144 uint32_t pixels_len ,
10145 const uint32_t *pixels );
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160 xcb_query_colors_cookie_t
10161 xcb_query_colors_unchecked (xcb_connection_t *c ,
10162 xcb_colormap_t cmap ,
10163 uint32_t pixels_len ,
10164 const uint32_t *pixels );
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176 xcb_rgb_t *
10177 xcb_query_colors_colors (const xcb_query_colors_reply_t *R );
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189 int
10190 xcb_query_colors_colors_length (const xcb_query_colors_reply_t *R );
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202 xcb_rgb_iterator_t
10203 xcb_query_colors_colors_iterator (const xcb_query_colors_reply_t *R );
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217 xcb_query_colors_reply_t *
10218 xcb_query_colors_reply (xcb_connection_t *c ,
10219 xcb_query_colors_cookie_t cookie ,
10220 xcb_generic_error_t **e );
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235 xcb_lookup_color_cookie_t
10236 xcb_lookup_color (xcb_connection_t *c ,
10237 xcb_colormap_t cmap ,
10238 uint16_t name_len ,
10239 const char *name );
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254 xcb_lookup_color_cookie_t
10255 xcb_lookup_color_unchecked (xcb_connection_t *c ,
10256 xcb_colormap_t cmap ,
10257 uint16_t name_len ,
10258 const char *name );
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272 xcb_lookup_color_reply_t *
10273 xcb_lookup_color_reply (xcb_connection_t *c ,
10274 xcb_lookup_color_cookie_t cookie ,
10275 xcb_generic_error_t **e );
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298 xcb_void_cookie_t
10299 xcb_create_cursor_checked (xcb_connection_t *c ,
10300 xcb_cursor_t cid ,
10301 xcb_pixmap_t source ,
10302 xcb_pixmap_t mask ,
10303 uint16_t fore_red ,
10304 uint16_t fore_green ,
10305 uint16_t fore_blue ,
10306 uint16_t back_red ,
10307 uint16_t back_green ,
10308 uint16_t back_blue ,
10309 uint16_t x ,
10310 uint16_t y );
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333 xcb_void_cookie_t
10334 xcb_create_cursor (xcb_connection_t *c ,
10335 xcb_cursor_t cid ,
10336 xcb_pixmap_t source ,
10337 xcb_pixmap_t mask ,
10338 uint16_t fore_red ,
10339 uint16_t fore_green ,
10340 uint16_t fore_blue ,
10341 uint16_t back_red ,
10342 uint16_t back_green ,
10343 uint16_t back_blue ,
10344 uint16_t x ,
10345 uint16_t y );
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368 xcb_void_cookie_t
10369 xcb_create_glyph_cursor_checked (xcb_connection_t *c ,
10370 xcb_cursor_t cid ,
10371 xcb_font_t source_font ,
10372 xcb_font_t mask_font ,
10373 uint16_t source_char ,
10374 uint16_t mask_char ,
10375 uint16_t fore_red ,
10376 uint16_t fore_green ,
10377 uint16_t fore_blue ,
10378 uint16_t back_red ,
10379 uint16_t back_green ,
10380 uint16_t back_blue );
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403 xcb_void_cookie_t
10404 xcb_create_glyph_cursor (xcb_connection_t *c ,
10405 xcb_cursor_t cid ,
10406 xcb_font_t source_font ,
10407 xcb_font_t mask_font ,
10408 uint16_t source_char ,
10409 uint16_t mask_char ,
10410 uint16_t fore_red ,
10411 uint16_t fore_green ,
10412 uint16_t fore_blue ,
10413 uint16_t back_red ,
10414 uint16_t back_green ,
10415 uint16_t back_blue );
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428 xcb_void_cookie_t
10429 xcb_free_cursor_checked (xcb_connection_t *c ,
10430 xcb_cursor_t cursor );
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443 xcb_void_cookie_t
10444 xcb_free_cursor (xcb_connection_t *c ,
10445 xcb_cursor_t cursor );
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464 xcb_void_cookie_t
10465 xcb_recolor_cursor_checked (xcb_connection_t *c ,
10466 xcb_cursor_t cursor ,
10467 uint16_t fore_red ,
10468 uint16_t fore_green ,
10469 uint16_t fore_blue ,
10470 uint16_t back_red ,
10471 uint16_t back_green ,
10472 uint16_t back_blue );
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_recolor_cursor (xcb_connection_t *c ,
10493 xcb_cursor_t cursor ,
10494 uint16_t fore_red ,
10495 uint16_t fore_green ,
10496 uint16_t fore_blue ,
10497 uint16_t back_red ,
10498 uint16_t back_green ,
10499 uint16_t back_blue );
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515 xcb_query_best_size_cookie_t
10516 xcb_query_best_size (xcb_connection_t *c ,
10517 uint8_t _class ,
10518 xcb_drawable_t drawable ,
10519 uint16_t width ,
10520 uint16_t height );
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536 xcb_query_best_size_cookie_t
10537 xcb_query_best_size_unchecked (xcb_connection_t *c ,
10538 uint8_t _class ,
10539 xcb_drawable_t drawable ,
10540 uint16_t width ,
10541 uint16_t height );
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555 xcb_query_best_size_reply_t *
10556 xcb_query_best_size_reply (xcb_connection_t *c ,
10557 xcb_query_best_size_cookie_t cookie ,
10558 xcb_generic_error_t **e );
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572 xcb_query_extension_cookie_t
10573 xcb_query_extension (xcb_connection_t *c ,
10574 uint16_t name_len ,
10575 const char *name );
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589 xcb_query_extension_cookie_t
10590 xcb_query_extension_unchecked (xcb_connection_t *c ,
10591 uint16_t name_len ,
10592 const char *name );
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606 xcb_query_extension_reply_t *
10607 xcb_query_extension_reply (xcb_connection_t *c ,
10608 xcb_query_extension_cookie_t cookie ,
10609 xcb_generic_error_t **e );
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621 xcb_list_extensions_cookie_t
10622 xcb_list_extensions (xcb_connection_t *c );
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634 xcb_list_extensions_cookie_t
10635 xcb_list_extensions_unchecked (xcb_connection_t *c );
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647 int
10648 xcb_list_extensions_names_length (const xcb_list_extensions_reply_t *R );
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660 xcb_str_iterator_t
10661 xcb_list_extensions_names_iterator (const xcb_list_extensions_reply_t *R );
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675 xcb_list_extensions_reply_t *
10676 xcb_list_extensions_reply (xcb_connection_t *c ,
10677 xcb_list_extensions_cookie_t cookie ,
10678 xcb_generic_error_t **e );
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694 xcb_void_cookie_t
10695 xcb_change_keyboard_mapping_checked (xcb_connection_t *c ,
10696 uint8_t keycode_count ,
10697 xcb_keycode_t first_keycode ,
10698 uint8_t keysyms_per_keycode ,
10699 const xcb_keysym_t *keysyms );
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715 xcb_void_cookie_t
10716 xcb_change_keyboard_mapping (xcb_connection_t *c ,
10717 uint8_t keycode_count ,
10718 xcb_keycode_t first_keycode ,
10719 uint8_t keysyms_per_keycode ,
10720 const xcb_keysym_t *keysyms );
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734 xcb_get_keyboard_mapping_cookie_t
10735 xcb_get_keyboard_mapping (xcb_connection_t *c ,
10736 xcb_keycode_t first_keycode ,
10737 uint8_t count );
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751 xcb_get_keyboard_mapping_cookie_t
10752 xcb_get_keyboard_mapping_unchecked (xcb_connection_t *c ,
10753 xcb_keycode_t first_keycode ,
10754 uint8_t count );
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766 xcb_keysym_t *
10767 xcb_get_keyboard_mapping_keysyms (const xcb_get_keyboard_mapping_reply_t *R );
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779 int
10780 xcb_get_keyboard_mapping_keysyms_length (const xcb_get_keyboard_mapping_reply_t *R );
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792 xcb_keysym_iterator_t
10793 xcb_get_keyboard_mapping_keysyms_iterator (const xcb_get_keyboard_mapping_reply_t *R );
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807 xcb_get_keyboard_mapping_reply_t *
10808 xcb_get_keyboard_mapping_reply (xcb_connection_t *c ,
10809 xcb_get_keyboard_mapping_cookie_t cookie ,
10810 xcb_generic_error_t **e );
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824 xcb_void_cookie_t
10825 xcb_change_keyboard_control_checked (xcb_connection_t *c ,
10826 uint32_t value_mask ,
10827 const uint32_t *value_list );
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841 xcb_void_cookie_t
10842 xcb_change_keyboard_control (xcb_connection_t *c ,
10843 uint32_t value_mask ,
10844 const uint32_t *value_list );
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856 xcb_get_keyboard_control_cookie_t
10857 xcb_get_keyboard_control (xcb_connection_t *c );
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869 xcb_get_keyboard_control_cookie_t
10870 xcb_get_keyboard_control_unchecked (xcb_connection_t *c );
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884 xcb_get_keyboard_control_reply_t *
10885 xcb_get_keyboard_control_reply (xcb_connection_t *c ,
10886 xcb_get_keyboard_control_cookie_t cookie ,
10887 xcb_generic_error_t **e );
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900 xcb_void_cookie_t
10901 xcb_bell_checked (xcb_connection_t *c ,
10902 int8_t percent );
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915 xcb_void_cookie_t
10916 xcb_bell (xcb_connection_t *c ,
10917 int8_t percent );
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934 xcb_void_cookie_t
10935 xcb_change_pointer_control_checked (xcb_connection_t *c ,
10936 int16_t acceleration_numerator ,
10937 int16_t acceleration_denominator ,
10938 int16_t threshold ,
10939 uint8_t do_acceleration ,
10940 uint8_t do_threshold );
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957 xcb_void_cookie_t
10958 xcb_change_pointer_control (xcb_connection_t *c ,
10959 int16_t acceleration_numerator ,
10960 int16_t acceleration_denominator ,
10961 int16_t threshold ,
10962 uint8_t do_acceleration ,
10963 uint8_t do_threshold );
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975 xcb_get_pointer_control_cookie_t
10976 xcb_get_pointer_control (xcb_connection_t *c );
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988 xcb_get_pointer_control_cookie_t
10989 xcb_get_pointer_control_unchecked (xcb_connection_t *c );
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003 xcb_get_pointer_control_reply_t *
11004 xcb_get_pointer_control_reply (xcb_connection_t *c ,
11005 xcb_get_pointer_control_cookie_t cookie ,
11006 xcb_generic_error_t **e );
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022 xcb_void_cookie_t
11023 xcb_set_screen_saver_checked (xcb_connection_t *c ,
11024 int16_t timeout ,
11025 int16_t interval ,
11026 uint8_t prefer_blanking ,
11027 uint8_t allow_exposures );
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043 xcb_void_cookie_t
11044 xcb_set_screen_saver (xcb_connection_t *c ,
11045 int16_t timeout ,
11046 int16_t interval ,
11047 uint8_t prefer_blanking ,
11048 uint8_t allow_exposures );
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060 xcb_get_screen_saver_cookie_t
11061 xcb_get_screen_saver (xcb_connection_t *c );
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073 xcb_get_screen_saver_cookie_t
11074 xcb_get_screen_saver_unchecked (xcb_connection_t *c );
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088 xcb_get_screen_saver_reply_t *
11089 xcb_get_screen_saver_reply (xcb_connection_t *c ,
11090 xcb_get_screen_saver_cookie_t cookie ,
11091 xcb_generic_error_t **e );
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107 xcb_void_cookie_t
11108 xcb_change_hosts_checked (xcb_connection_t *c ,
11109 uint8_t mode ,
11110 uint8_t family ,
11111 uint16_t address_len ,
11112 const char *address );
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128 xcb_void_cookie_t
11129 xcb_change_hosts (xcb_connection_t *c ,
11130 uint8_t mode ,
11131 uint8_t family ,
11132 uint16_t address_len ,
11133 const char *address );
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145 uint8_t *
11146 xcb_host_address (const xcb_host_t *R );
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158 int
11159 xcb_host_address_length (const xcb_host_t *R );
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171 xcb_generic_iterator_t
11172 xcb_host_address_end (const xcb_host_t *R );
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184 void
11185 xcb_host_next (xcb_host_iterator_t *i );
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197 xcb_generic_iterator_t
11198 xcb_host_end (xcb_host_iterator_t i );
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210 xcb_list_hosts_cookie_t
11211 xcb_list_hosts (xcb_connection_t *c );
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223 xcb_list_hosts_cookie_t
11224 xcb_list_hosts_unchecked (xcb_connection_t *c );
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236 int
11237 xcb_list_hosts_hosts_length (const xcb_list_hosts_reply_t *R );
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249 xcb_host_iterator_t
11250 xcb_list_hosts_hosts_iterator (const xcb_list_hosts_reply_t *R );
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264 xcb_list_hosts_reply_t *
11265 xcb_list_hosts_reply (xcb_connection_t *c ,
11266 xcb_list_hosts_cookie_t cookie ,
11267 xcb_generic_error_t **e );
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280 xcb_void_cookie_t
11281 xcb_set_access_control_checked (xcb_connection_t *c ,
11282 uint8_t mode );
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295 xcb_void_cookie_t
11296 xcb_set_access_control (xcb_connection_t *c ,
11297 uint8_t mode );
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310 xcb_void_cookie_t
11311 xcb_set_close_down_mode_checked (xcb_connection_t *c ,
11312 uint8_t mode );
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325 xcb_void_cookie_t
11326 xcb_set_close_down_mode (xcb_connection_t *c ,
11327 uint8_t mode );
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340 xcb_void_cookie_t
11341 xcb_kill_client_checked (xcb_connection_t *c ,
11342 uint32_t resource );
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355 xcb_void_cookie_t
11356 xcb_kill_client (xcb_connection_t *c ,
11357 uint32_t resource );
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373 xcb_void_cookie_t
11374 xcb_rotate_properties_checked (xcb_connection_t *c ,
11375 xcb_window_t window ,
11376 uint16_t atoms_len ,
11377 int16_t delta ,
11378 const xcb_atom_t *atoms );
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394 xcb_void_cookie_t
11395 xcb_rotate_properties (xcb_connection_t *c ,
11396 xcb_window_t window ,
11397 uint16_t atoms_len ,
11398 int16_t delta ,
11399 const xcb_atom_t *atoms );
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412 xcb_void_cookie_t
11413 xcb_force_screen_saver_checked (xcb_connection_t *c ,
11414 uint8_t mode );
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427 xcb_void_cookie_t
11428 xcb_force_screen_saver (xcb_connection_t *c ,
11429 uint8_t mode );
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443 xcb_set_pointer_mapping_cookie_t
11444 xcb_set_pointer_mapping (xcb_connection_t *c ,
11445 uint8_t map_len ,
11446 const uint8_t *map );
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460 xcb_set_pointer_mapping_cookie_t
11461 xcb_set_pointer_mapping_unchecked (xcb_connection_t *c ,
11462 uint8_t map_len ,
11463 const uint8_t *map );
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477 xcb_set_pointer_mapping_reply_t *
11478 xcb_set_pointer_mapping_reply (xcb_connection_t *c ,
11479 xcb_set_pointer_mapping_cookie_t cookie ,
11480 xcb_generic_error_t **e );
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492 xcb_get_pointer_mapping_cookie_t
11493 xcb_get_pointer_mapping (xcb_connection_t *c );
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505 xcb_get_pointer_mapping_cookie_t
11506 xcb_get_pointer_mapping_unchecked (xcb_connection_t *c );
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518 uint8_t *
11519 xcb_get_pointer_mapping_map (const xcb_get_pointer_mapping_reply_t *R );
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531 int
11532 xcb_get_pointer_mapping_map_length (const xcb_get_pointer_mapping_reply_t *R );
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544 xcb_generic_iterator_t
11545 xcb_get_pointer_mapping_map_end (const xcb_get_pointer_mapping_reply_t *R );
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559 xcb_get_pointer_mapping_reply_t *
11560 xcb_get_pointer_mapping_reply (xcb_connection_t *c ,
11561 xcb_get_pointer_mapping_cookie_t cookie ,
11562 xcb_generic_error_t **e );
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576 xcb_set_modifier_mapping_cookie_t
11577 xcb_set_modifier_mapping (xcb_connection_t *c ,
11578 uint8_t keycodes_per_modifier ,
11579 const xcb_keycode_t *keycodes );
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593 xcb_set_modifier_mapping_cookie_t
11594 xcb_set_modifier_mapping_unchecked (xcb_connection_t *c ,
11595 uint8_t keycodes_per_modifier ,
11596 const xcb_keycode_t *keycodes );
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610 xcb_set_modifier_mapping_reply_t *
11611 xcb_set_modifier_mapping_reply (xcb_connection_t *c ,
11612 xcb_set_modifier_mapping_cookie_t cookie ,
11613 xcb_generic_error_t **e );
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625 xcb_get_modifier_mapping_cookie_t
11626 xcb_get_modifier_mapping (xcb_connection_t *c );
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638 xcb_get_modifier_mapping_cookie_t
11639 xcb_get_modifier_mapping_unchecked (xcb_connection_t *c );
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651 xcb_keycode_t *
11652 xcb_get_modifier_mapping_keycodes (const xcb_get_modifier_mapping_reply_t *R );
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664 int
11665 xcb_get_modifier_mapping_keycodes_length (const xcb_get_modifier_mapping_reply_t *R );
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677 xcb_keycode_iterator_t
11678 xcb_get_modifier_mapping_keycodes_iterator (const xcb_get_modifier_mapping_reply_t *R );
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692 xcb_get_modifier_mapping_reply_t *
11693 xcb_get_modifier_mapping_reply (xcb_connection_t *c ,
11694 xcb_get_modifier_mapping_cookie_t cookie ,
11695 xcb_generic_error_t **e );
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707 xcb_void_cookie_t
11708 xcb_no_operation_checked (xcb_connection_t *c );
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720 xcb_void_cookie_t
11721 xcb_no_operation (xcb_connection_t *c );
11722
11723
11724 #endif
11725