00001
00002
00003
00004
00005
00012 #ifndef __XPROTO_H
00013 #define __XPROTO_H
00014
00015 #include "xcb.h"
00016
00017 #ifdef __cplusplus
00018 extern "C" {
00019 #endif
00020
00024 typedef struct xcb_char2b_t {
00025 uint8_t byte1;
00026 uint8_t byte2;
00027 } xcb_char2b_t;
00028
00032 typedef struct xcb_char2b_iterator_t {
00033 xcb_char2b_t *data;
00034 int rem;
00035 int index;
00036 } xcb_char2b_iterator_t;
00037
00038 typedef uint32_t xcb_window_t;
00039
00043 typedef struct xcb_window_iterator_t {
00044 xcb_window_t *data;
00045 int rem;
00046 int index;
00047 } xcb_window_iterator_t;
00048
00049 typedef uint32_t xcb_pixmap_t;
00050
00054 typedef struct xcb_pixmap_iterator_t {
00055 xcb_pixmap_t *data;
00056 int rem;
00057 int index;
00058 } xcb_pixmap_iterator_t;
00059
00060 typedef uint32_t xcb_cursor_t;
00061
00065 typedef struct xcb_cursor_iterator_t {
00066 xcb_cursor_t *data;
00067 int rem;
00068 int index;
00069 } xcb_cursor_iterator_t;
00070
00071 typedef uint32_t xcb_font_t;
00072
00076 typedef struct xcb_font_iterator_t {
00077 xcb_font_t *data;
00078 int rem;
00079 int index;
00080 } xcb_font_iterator_t;
00081
00082 typedef uint32_t xcb_gcontext_t;
00083
00087 typedef struct xcb_gcontext_iterator_t {
00088 xcb_gcontext_t *data;
00089 int rem;
00090 int index;
00091 } xcb_gcontext_iterator_t;
00092
00093 typedef uint32_t xcb_colormap_t;
00094
00098 typedef struct xcb_colormap_iterator_t {
00099 xcb_colormap_t *data;
00100 int rem;
00101 int index;
00102 } xcb_colormap_iterator_t;
00103
00104 typedef uint32_t xcb_atom_t;
00105
00109 typedef struct xcb_atom_iterator_t {
00110 xcb_atom_t *data;
00111 int rem;
00112 int index;
00113 } xcb_atom_iterator_t;
00114
00115 typedef uint32_t xcb_drawable_t;
00116
00120 typedef struct xcb_drawable_iterator_t {
00121 xcb_drawable_t *data;
00122 int rem;
00123 int index;
00124 } xcb_drawable_iterator_t;
00125
00126 typedef uint32_t xcb_fontable_t;
00127
00131 typedef struct xcb_fontable_iterator_t {
00132 xcb_fontable_t *data;
00133 int rem;
00134 int index;
00135 } xcb_fontable_iterator_t;
00136
00137 typedef uint32_t xcb_visualid_t;
00138
00142 typedef struct xcb_visualid_iterator_t {
00143 xcb_visualid_t *data;
00144 int rem;
00145 int index;
00146 } xcb_visualid_iterator_t;
00147
00148 typedef uint32_t xcb_timestamp_t;
00149
00153 typedef struct xcb_timestamp_iterator_t {
00154 xcb_timestamp_t *data;
00155 int rem;
00156 int index;
00157 } xcb_timestamp_iterator_t;
00158
00159 typedef uint32_t xcb_keysym_t;
00160
00164 typedef struct xcb_keysym_iterator_t {
00165 xcb_keysym_t *data;
00166 int rem;
00167 int index;
00168 } xcb_keysym_iterator_t;
00169
00170 typedef uint8_t xcb_keycode_t;
00171
00175 typedef struct xcb_keycode_iterator_t {
00176 xcb_keycode_t *data;
00177 int rem;
00178 int index;
00179 } xcb_keycode_iterator_t;
00180
00181 typedef uint8_t xcb_button_t;
00182
00186 typedef struct xcb_button_iterator_t {
00187 xcb_button_t *data;
00188 int rem;
00189 int index;
00190 } xcb_button_iterator_t;
00191
00195 typedef struct xcb_point_t {
00196 int16_t x;
00197 int16_t y;
00198 } xcb_point_t;
00199
00203 typedef struct xcb_point_iterator_t {
00204 xcb_point_t *data;
00205 int rem;
00206 int index;
00207 } xcb_point_iterator_t;
00208
00212 typedef struct xcb_rectangle_t {
00213 int16_t x;
00214 int16_t y;
00215 uint16_t width;
00216 uint16_t height;
00217 } xcb_rectangle_t;
00218
00222 typedef struct xcb_rectangle_iterator_t {
00223 xcb_rectangle_t *data;
00224 int rem;
00225 int index;
00226 } xcb_rectangle_iterator_t;
00227
00231 typedef struct xcb_arc_t {
00232 int16_t x;
00233 int16_t y;
00234 uint16_t width;
00235 uint16_t height;
00236 int16_t angle1;
00237 int16_t angle2;
00238 } xcb_arc_t;
00239
00243 typedef struct xcb_arc_iterator_t {
00244 xcb_arc_t *data;
00245 int rem;
00246 int index;
00247 } xcb_arc_iterator_t;
00248
00252 typedef struct xcb_format_t {
00253 uint8_t depth;
00254 uint8_t bits_per_pixel;
00255 uint8_t scanline_pad;
00256 uint8_t pad0[5];
00257 } xcb_format_t;
00258
00262 typedef struct xcb_format_iterator_t {
00263 xcb_format_t *data;
00264 int rem;
00265 int index;
00266 } xcb_format_iterator_t;
00267
00268 typedef enum xcb_visual_class_t {
00269 XCB_VISUAL_CLASS_STATIC_GRAY = 0,
00270 XCB_VISUAL_CLASS_GRAY_SCALE = 1,
00271 XCB_VISUAL_CLASS_STATIC_COLOR = 2,
00272 XCB_VISUAL_CLASS_PSEUDO_COLOR = 3,
00273 XCB_VISUAL_CLASS_TRUE_COLOR = 4,
00274 XCB_VISUAL_CLASS_DIRECT_COLOR = 5
00275 } xcb_visual_class_t;
00276
00280 typedef struct xcb_visualtype_t {
00281 xcb_visualid_t visual_id;
00282 uint8_t _class;
00283 uint8_t bits_per_rgb_value;
00284 uint16_t colormap_entries;
00285 uint32_t red_mask;
00286 uint32_t green_mask;
00287 uint32_t blue_mask;
00288 uint8_t pad0[4];
00289 } xcb_visualtype_t;
00290
00294 typedef struct xcb_visualtype_iterator_t {
00295 xcb_visualtype_t *data;
00296 int rem;
00297 int index;
00298 } xcb_visualtype_iterator_t;
00299
00303 typedef struct xcb_depth_t {
00304 uint8_t depth;
00305 uint8_t pad0;
00306 uint16_t visuals_len;
00307 uint8_t pad1[4];
00308 } xcb_depth_t;
00309
00313 typedef struct xcb_depth_iterator_t {
00314 xcb_depth_t *data;
00315 int rem;
00316 int index;
00317 } xcb_depth_iterator_t;
00318
00322 typedef struct xcb_screen_t {
00323 xcb_window_t root;
00324 xcb_colormap_t default_colormap;
00325 uint32_t white_pixel;
00326 uint32_t black_pixel;
00327 uint32_t current_input_masks;
00328 uint16_t width_in_pixels;
00329 uint16_t height_in_pixels;
00330 uint16_t width_in_millimeters;
00331 uint16_t height_in_millimeters;
00332 uint16_t min_installed_maps;
00333 uint16_t max_installed_maps;
00334 xcb_visualid_t root_visual;
00335 uint8_t backing_stores;
00336 uint8_t save_unders;
00337 uint8_t root_depth;
00338 uint8_t allowed_depths_len;
00339 } xcb_screen_t;
00340
00344 typedef struct xcb_screen_iterator_t {
00345 xcb_screen_t *data;
00346 int rem;
00347 int index;
00348 } xcb_screen_iterator_t;
00349
00353 typedef struct xcb_setup_request_t {
00354 uint8_t byte_order;
00355 uint8_t pad0;
00356 uint16_t protocol_major_version;
00357 uint16_t protocol_minor_version;
00358 uint16_t authorization_protocol_name_len;
00359 uint16_t authorization_protocol_data_len;
00360 uint8_t pad1[2];
00361 } xcb_setup_request_t;
00362
00366 typedef struct xcb_setup_request_iterator_t {
00367 xcb_setup_request_t *data;
00368 int rem;
00369 int index;
00370 } xcb_setup_request_iterator_t;
00371
00375 typedef struct xcb_setup_failed_t {
00376 uint8_t status;
00377 uint8_t reason_len;
00378 uint16_t protocol_major_version;
00379 uint16_t protocol_minor_version;
00380 uint16_t length;
00381 } xcb_setup_failed_t;
00382
00386 typedef struct xcb_setup_failed_iterator_t {
00387 xcb_setup_failed_t *data;
00388 int rem;
00389 int index;
00390 } xcb_setup_failed_iterator_t;
00391
00395 typedef struct xcb_setup_authenticate_t {
00396 uint8_t status;
00397 uint8_t pad0[5];
00398 uint16_t length;
00399 } xcb_setup_authenticate_t;
00400
00404 typedef struct xcb_setup_authenticate_iterator_t {
00405 xcb_setup_authenticate_t *data;
00406 int rem;
00407 int index;
00408 } xcb_setup_authenticate_iterator_t;
00409
00410 typedef enum xcb_image_order_t {
00411 XCB_IMAGE_ORDER_LSB_FIRST = 0,
00412 XCB_IMAGE_ORDER_MSB_FIRST = 1
00413 } xcb_image_order_t;
00414
00418 typedef struct xcb_setup_t {
00419 uint8_t status;
00420 uint8_t pad0;
00421 uint16_t protocol_major_version;
00422 uint16_t protocol_minor_version;
00423 uint16_t length;
00424 uint32_t release_number;
00425 uint32_t resource_id_base;
00426 uint32_t resource_id_mask;
00427 uint32_t motion_buffer_size;
00428 uint16_t vendor_len;
00429 uint16_t maximum_request_length;
00430 uint8_t roots_len;
00431 uint8_t pixmap_formats_len;
00432 uint8_t image_byte_order;
00433 uint8_t bitmap_format_bit_order;
00434 uint8_t bitmap_format_scanline_unit;
00435 uint8_t bitmap_format_scanline_pad;
00436 xcb_keycode_t min_keycode;
00437 xcb_keycode_t max_keycode;
00438 uint8_t pad1[4];
00439 } xcb_setup_t;
00440
00444 typedef struct xcb_setup_iterator_t {
00445 xcb_setup_t *data;
00446 int rem;
00447 int index;
00448 } xcb_setup_iterator_t;
00449
00450 typedef enum xcb_mod_mask_t {
00451 XCB_MOD_MASK_SHIFT = 1,
00452 XCB_MOD_MASK_LOCK = 2,
00453 XCB_MOD_MASK_CONTROL = 4,
00454 XCB_MOD_MASK_1 = 8,
00455 XCB_MOD_MASK_2 = 16,
00456 XCB_MOD_MASK_3 = 32,
00457 XCB_MOD_MASK_4 = 64,
00458 XCB_MOD_MASK_5 = 128
00459 } xcb_mod_mask_t;
00460
00462 #define XCB_KEY_PRESS 2
00463
00467 typedef struct xcb_key_press_event_t {
00468 uint8_t response_type;
00469 xcb_keycode_t detail;
00470 uint16_t sequence;
00471 xcb_timestamp_t time;
00472 xcb_window_t root;
00473 xcb_window_t event;
00474 xcb_window_t child;
00475 int16_t root_x;
00476 int16_t root_y;
00477 int16_t event_x;
00478 int16_t event_y;
00479 uint16_t state;
00480 uint8_t same_screen;
00481 uint8_t pad0;
00482 } xcb_key_press_event_t;
00483
00485 #define XCB_KEY_RELEASE 3
00486
00487 typedef xcb_key_press_event_t xcb_key_release_event_t;
00488
00489 typedef enum xcb_button_mask_t {
00490 XCB_BUTTON_MASK_1 = 256,
00491 XCB_BUTTON_MASK_2 = 512,
00492 XCB_BUTTON_MASK_3 = 1024,
00493 XCB_BUTTON_MASK_4 = 2048,
00494 XCB_BUTTON_MASK_5 = 4096,
00495 XCB_BUTTON_MASK_ANY = 32768
00496 } xcb_button_mask_t;
00497
00499 #define XCB_BUTTON_PRESS 4
00500
00504 typedef struct xcb_button_press_event_t {
00505 uint8_t response_type;
00506 xcb_button_t detail;
00507 uint16_t sequence;
00508 xcb_timestamp_t time;
00509 xcb_window_t root;
00510 xcb_window_t event;
00511 xcb_window_t child;
00512 int16_t root_x;
00513 int16_t root_y;
00514 int16_t event_x;
00515 int16_t event_y;
00516 uint16_t state;
00517 uint8_t same_screen;
00518 uint8_t pad0;
00519 } xcb_button_press_event_t;
00520
00522 #define XCB_BUTTON_RELEASE 5
00523
00524 typedef xcb_button_press_event_t xcb_button_release_event_t;
00525
00526 typedef enum xcb_motion_t {
00527 XCB_MOTION_NORMAL = 0,
00528 XCB_MOTION_HINT = 1
00529 } xcb_motion_t;
00530
00532 #define XCB_MOTION_NOTIFY 6
00533
00537 typedef struct xcb_motion_notify_event_t {
00538 uint8_t response_type;
00539 uint8_t detail;
00540 uint16_t sequence;
00541 xcb_timestamp_t time;
00542 xcb_window_t root;
00543 xcb_window_t event;
00544 xcb_window_t child;
00545 int16_t root_x;
00546 int16_t root_y;
00547 int16_t event_x;
00548 int16_t event_y;
00549 uint16_t state;
00550 uint8_t same_screen;
00551 uint8_t pad0;
00552 } xcb_motion_notify_event_t;
00553
00554 typedef enum xcb_notify_detail_t {
00555 XCB_NOTIFY_DETAIL_ANCESTOR = 0,
00556 XCB_NOTIFY_DETAIL_VIRTUAL = 1,
00557 XCB_NOTIFY_DETAIL_INFERIOR = 2,
00558 XCB_NOTIFY_DETAIL_NONLINEAR = 3,
00559 XCB_NOTIFY_DETAIL_NONLINEAR_VIRTUAL = 4,
00560 XCB_NOTIFY_DETAIL_POINTER = 5,
00561 XCB_NOTIFY_DETAIL_POINTER_ROOT = 6,
00562 XCB_NOTIFY_DETAIL_NONE = 7
00563 } xcb_notify_detail_t;
00564
00565 typedef enum xcb_notify_mode_t {
00566 XCB_NOTIFY_MODE_NORMAL = 0,
00567 XCB_NOTIFY_MODE_GRAB = 1,
00568 XCB_NOTIFY_MODE_UNGRAB = 2,
00569 XCB_NOTIFY_MODE_WHILE_GRABBED = 3
00570 } xcb_notify_mode_t;
00571
00573 #define XCB_ENTER_NOTIFY 7
00574
00578 typedef struct xcb_enter_notify_event_t {
00579 uint8_t response_type;
00580 uint8_t detail;
00581 uint16_t sequence;
00582 xcb_timestamp_t time;
00583 xcb_window_t root;
00584 xcb_window_t event;
00585 xcb_window_t child;
00586 int16_t root_x;
00587 int16_t root_y;
00588 int16_t event_x;
00589 int16_t event_y;
00590 uint16_t state;
00591 uint8_t mode;
00592 uint8_t same_screen_focus;
00593 } xcb_enter_notify_event_t;
00594
00596 #define XCB_LEAVE_NOTIFY 8
00597
00598 typedef xcb_enter_notify_event_t xcb_leave_notify_event_t;
00599
00601 #define XCB_FOCUS_IN 9
00602
00606 typedef struct xcb_focus_in_event_t {
00607 uint8_t response_type;
00608 uint8_t detail;
00609 uint16_t sequence;
00610 xcb_window_t event;
00611 uint8_t mode;
00612 uint8_t pad0[3];
00613 } xcb_focus_in_event_t;
00614
00616 #define XCB_FOCUS_OUT 10
00617
00618 typedef xcb_focus_in_event_t xcb_focus_out_event_t;
00619
00621 #define XCB_KEYMAP_NOTIFY 11
00622
00626 typedef struct xcb_keymap_notify_event_t {
00627 uint8_t response_type;
00628 uint8_t keys[31];
00629 } xcb_keymap_notify_event_t;
00630
00632 #define XCB_EXPOSE 12
00633
00637 typedef struct xcb_expose_event_t {
00638 uint8_t response_type;
00639 uint8_t pad0;
00640 uint16_t sequence;
00641 xcb_window_t window;
00642 uint16_t x;
00643 uint16_t y;
00644 uint16_t width;
00645 uint16_t height;
00646 uint16_t count;
00647 uint8_t pad1[2];
00648 } xcb_expose_event_t;
00649
00651 #define XCB_GRAPHICS_EXPOSURE 13
00652
00656 typedef struct xcb_graphics_exposure_event_t {
00657 uint8_t response_type;
00658 uint8_t pad0;
00659 uint16_t sequence;
00660 xcb_drawable_t drawable;
00661 uint16_t x;
00662 uint16_t y;
00663 uint16_t width;
00664 uint16_t height;
00665 uint16_t minor_opcode;
00666 uint16_t count;
00667 uint8_t major_opcode;
00668 uint8_t pad1[3];
00669 } xcb_graphics_exposure_event_t;
00670
00672 #define XCB_NO_EXPOSURE 14
00673
00677 typedef struct xcb_no_exposure_event_t {
00678 uint8_t response_type;
00679 uint8_t pad0;
00680 uint16_t sequence;
00681 xcb_drawable_t drawable;
00682 uint16_t minor_opcode;
00683 uint8_t major_opcode;
00684 uint8_t pad1;
00685 } xcb_no_exposure_event_t;
00686
00687 typedef enum xcb_visibility_t {
00688 XCB_VISIBILITY_UNOBSCURED = 0,
00689 XCB_VISIBILITY_PARTIALLY_OBSCURED = 1,
00690 XCB_VISIBILITY_FULLY_OBSCURED = 2
00691 } xcb_visibility_t;
00692
00694 #define XCB_VISIBILITY_NOTIFY 15
00695
00699 typedef struct xcb_visibility_notify_event_t {
00700 uint8_t response_type;
00701 uint8_t pad0;
00702 uint16_t sequence;
00703 xcb_window_t window;
00704 uint8_t state;
00705 uint8_t pad1[3];
00706 } xcb_visibility_notify_event_t;
00707
00709 #define XCB_CREATE_NOTIFY 16
00710
00714 typedef struct xcb_create_notify_event_t {
00715 uint8_t response_type;
00716 uint8_t pad0;
00717 uint16_t sequence;
00718 xcb_window_t parent;
00719 xcb_window_t window;
00720 int16_t x;
00721 int16_t y;
00722 uint16_t width;
00723 uint16_t height;
00724 uint16_t border_width;
00725 uint8_t override_redirect;
00726 uint8_t pad1;
00727 } xcb_create_notify_event_t;
00728
00730 #define XCB_DESTROY_NOTIFY 17
00731
00735 typedef struct xcb_destroy_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 } xcb_destroy_notify_event_t;
00742
00744 #define XCB_UNMAP_NOTIFY 18
00745
00749 typedef struct xcb_unmap_notify_event_t {
00750 uint8_t response_type;
00751 uint8_t pad0;
00752 uint16_t sequence;
00753 xcb_window_t event;
00754 xcb_window_t window;
00755 uint8_t from_configure;
00756 uint8_t pad1[3];
00757 } xcb_unmap_notify_event_t;
00758
00760 #define XCB_MAP_NOTIFY 19
00761
00765 typedef struct xcb_map_notify_event_t {
00766 uint8_t response_type;
00767 uint8_t pad0;
00768 uint16_t sequence;
00769 xcb_window_t event;
00770 xcb_window_t window;
00771 uint8_t override_redirect;
00772 uint8_t pad1[3];
00773 } xcb_map_notify_event_t;
00774
00776 #define XCB_MAP_REQUEST 20
00777
00781 typedef struct xcb_map_request_event_t {
00782 uint8_t response_type;
00783 uint8_t pad0;
00784 uint16_t sequence;
00785 xcb_window_t parent;
00786 xcb_window_t window;
00787 } xcb_map_request_event_t;
00788
00790 #define XCB_REPARENT_NOTIFY 21
00791
00795 typedef struct xcb_reparent_notify_event_t {
00796 uint8_t response_type;
00797 uint8_t pad0;
00798 uint16_t sequence;
00799 xcb_window_t event;
00800 xcb_window_t window;
00801 xcb_window_t parent;
00802 int16_t x;
00803 int16_t y;
00804 uint8_t override_redirect;
00805 uint8_t pad1[3];
00806 } xcb_reparent_notify_event_t;
00807
00809 #define XCB_CONFIGURE_NOTIFY 22
00810
00814 typedef struct xcb_configure_notify_event_t {
00815 uint8_t response_type;
00816 uint8_t pad0;
00817 uint16_t sequence;
00818 xcb_window_t event;
00819 xcb_window_t window;
00820 xcb_window_t above_sibling;
00821 int16_t x;
00822 int16_t y;
00823 uint16_t width;
00824 uint16_t height;
00825 uint16_t border_width;
00826 uint8_t override_redirect;
00827 uint8_t pad1;
00828 } xcb_configure_notify_event_t;
00829
00831 #define XCB_CONFIGURE_REQUEST 23
00832
00836 typedef struct xcb_configure_request_event_t {
00837 uint8_t response_type;
00838 uint8_t stack_mode;
00839 uint16_t sequence;
00840 xcb_window_t parent;
00841 xcb_window_t window;
00842 xcb_window_t sibling;
00843 int16_t x;
00844 int16_t y;
00845 uint16_t width;
00846 uint16_t height;
00847 uint16_t border_width;
00848 uint16_t value_mask;
00849 } xcb_configure_request_event_t;
00850
00852 #define XCB_GRAVITY_NOTIFY 24
00853
00857 typedef struct xcb_gravity_notify_event_t {
00858 uint8_t response_type;
00859 uint8_t pad0;
00860 uint16_t sequence;
00861 xcb_window_t event;
00862 xcb_window_t window;
00863 int16_t x;
00864 int16_t y;
00865 } xcb_gravity_notify_event_t;
00866
00868 #define XCB_RESIZE_REQUEST 25
00869
00873 typedef struct xcb_resize_request_event_t {
00874 uint8_t response_type;
00875 uint8_t pad0;
00876 uint16_t sequence;
00877 xcb_window_t window;
00878 uint16_t width;
00879 uint16_t height;
00880 } xcb_resize_request_event_t;
00881
00882 typedef enum xcb_place_t {
00883 XCB_PLACE_ON_TOP = 0,
00884 XCB_PLACE_ON_BOTTOM = 1
00885 } xcb_place_t;
00886
00888 #define XCB_CIRCULATE_NOTIFY 26
00889
00893 typedef struct xcb_circulate_notify_event_t {
00894 uint8_t response_type;
00895 uint8_t pad0;
00896 uint16_t sequence;
00897 xcb_window_t event;
00898 xcb_window_t window;
00899 uint8_t pad1[4];
00900 uint8_t place;
00901 uint8_t pad2[3];
00902 } xcb_circulate_notify_event_t;
00903
00905 #define XCB_CIRCULATE_REQUEST 27
00906
00907 typedef xcb_circulate_notify_event_t xcb_circulate_request_event_t;
00908
00909 typedef enum xcb_property_t {
00910 XCB_PROPERTY_NEW_VALUE = 0,
00911 XCB_PROPERTY_DELETE = 1
00912 } xcb_property_t;
00913
00915 #define XCB_PROPERTY_NOTIFY 28
00916
00920 typedef struct xcb_property_notify_event_t {
00921 uint8_t response_type;
00922 uint8_t pad0;
00923 uint16_t sequence;
00924 xcb_window_t window;
00925 xcb_atom_t atom;
00926 xcb_timestamp_t time;
00927 uint8_t state;
00928 uint8_t pad1[3];
00929 } xcb_property_notify_event_t;
00930
00932 #define XCB_SELECTION_CLEAR 29
00933
00937 typedef struct xcb_selection_clear_event_t {
00938 uint8_t response_type;
00939 uint8_t pad0;
00940 uint16_t sequence;
00941 xcb_timestamp_t time;
00942 xcb_window_t owner;
00943 xcb_atom_t selection;
00944 } xcb_selection_clear_event_t;
00945
00947 #define XCB_SELECTION_REQUEST 30
00948
00952 typedef struct xcb_selection_request_event_t {
00953 uint8_t response_type;
00954 uint8_t pad0;
00955 uint16_t sequence;
00956 xcb_timestamp_t time;
00957 xcb_window_t owner;
00958 xcb_window_t requestor;
00959 xcb_atom_t selection;
00960 xcb_atom_t target;
00961 xcb_atom_t property;
00962 } xcb_selection_request_event_t;
00963
00965 #define XCB_SELECTION_NOTIFY 31
00966
00970 typedef struct xcb_selection_notify_event_t {
00971 uint8_t response_type;
00972 uint8_t pad0;
00973 uint16_t sequence;
00974 xcb_timestamp_t time;
00975 xcb_window_t requestor;
00976 xcb_atom_t selection;
00977 xcb_atom_t target;
00978 xcb_atom_t property;
00979 } xcb_selection_notify_event_t;
00980
00981 typedef enum xcb_colormap_state_t {
00982 XCB_COLORMAP_STATE_UNINSTALLED = 0,
00983 XCB_COLORMAP_STATE_INSTALLED = 1
00984 } xcb_colormap_state_t;
00985
00987 #define XCB_COLORMAP_NOTIFY 32
00988
00992 typedef struct xcb_colormap_notify_event_t {
00993 uint8_t response_type;
00994 uint8_t pad0;
00995 uint16_t sequence;
00996 xcb_window_t window;
00997 xcb_colormap_t colormap;
00998 uint8_t _new;
00999 uint8_t state;
01000 uint8_t pad1[2];
01001 } xcb_colormap_notify_event_t;
01002
01006 typedef union xcb_client_message_data_t {
01007 uint8_t data8[20];
01008 uint16_t data16[10];
01009 uint32_t data32[5];
01010 } xcb_client_message_data_t;
01011
01015 typedef struct xcb_client_message_data_iterator_t {
01016 xcb_client_message_data_t *data;
01017 int rem;
01018 int index;
01019 } xcb_client_message_data_iterator_t;
01020
01022 #define XCB_CLIENT_MESSAGE 33
01023
01027 typedef struct xcb_client_message_event_t {
01028 uint8_t response_type;
01029 uint8_t format;
01030 uint16_t sequence;
01031 xcb_window_t window;
01032 xcb_atom_t type;
01033 xcb_client_message_data_t data;
01034 } xcb_client_message_event_t;
01035
01036 typedef enum xcb_mapping_t {
01037 XCB_MAPPING_MODIFIER = 0,
01038 XCB_MAPPING_KEYBOARD = 1,
01039 XCB_MAPPING_POINTER = 2
01040 } xcb_mapping_t;
01041
01043 #define XCB_MAPPING_NOTIFY 34
01044
01048 typedef struct xcb_mapping_notify_event_t {
01049 uint8_t response_type;
01050 uint8_t pad0;
01051 uint16_t sequence;
01052 uint8_t request;
01053 xcb_keycode_t first_keycode;
01054 uint8_t count;
01055 uint8_t pad1;
01056 } xcb_mapping_notify_event_t;
01057
01059 #define XCB_REQUEST 1
01060
01064 typedef struct xcb_request_error_t {
01065 uint8_t response_type;
01066 uint8_t error_code;
01067 uint16_t sequence;
01068 uint32_t bad_value;
01069 uint16_t minor_opcode;
01070 uint8_t major_opcode;
01071 uint8_t pad0;
01072 } xcb_request_error_t;
01073
01075 #define XCB_VALUE 2
01076
01080 typedef struct xcb_value_error_t {
01081 uint8_t response_type;
01082 uint8_t error_code;
01083 uint16_t sequence;
01084 uint32_t bad_value;
01085 uint16_t minor_opcode;
01086 uint8_t major_opcode;
01087 uint8_t pad0;
01088 } xcb_value_error_t;
01089
01091 #define XCB_WINDOW 3
01092
01093 typedef xcb_value_error_t xcb_window_error_t;
01094
01096 #define XCB_PIXMAP 4
01097
01098 typedef xcb_value_error_t xcb_pixmap_error_t;
01099
01101 #define XCB_ATOM 5
01102
01103 typedef xcb_value_error_t xcb_atom_error_t;
01104
01106 #define XCB_CURSOR 6
01107
01108 typedef xcb_value_error_t xcb_cursor_error_t;
01109
01111 #define XCB_FONT 7
01112
01113 typedef xcb_value_error_t xcb_font_error_t;
01114
01116 #define XCB_MATCH 8
01117
01118 typedef xcb_request_error_t xcb_match_error_t;
01119
01121 #define XCB_DRAWABLE 9
01122
01123 typedef xcb_value_error_t xcb_drawable_error_t;
01124
01126 #define XCB_ACCESS 10
01127
01128 typedef xcb_request_error_t xcb_access_error_t;
01129
01131 #define XCB_ALLOC 11
01132
01133 typedef xcb_request_error_t xcb_alloc_error_t;
01134
01136 #define XCB_COLORMAP 12
01137
01138 typedef xcb_value_error_t xcb_colormap_error_t;
01139
01141 #define XCB_G_CONTEXT 13
01142
01143 typedef xcb_value_error_t xcb_g_context_error_t;
01144
01146 #define XCB_ID_CHOICE 14
01147
01148 typedef xcb_value_error_t xcb_id_choice_error_t;
01149
01151 #define XCB_NAME 15
01152
01153 typedef xcb_request_error_t xcb_name_error_t;
01154
01156 #define XCB_LENGTH 16
01157
01158 typedef xcb_request_error_t xcb_length_error_t;
01159
01161 #define XCB_IMPLEMENTATION 17
01162
01163 typedef xcb_request_error_t xcb_implementation_error_t;
01164
01165 typedef enum xcb_window_class_t {
01166 XCB_WINDOW_CLASS_COPY_FROM_PARENT = 0,
01167 XCB_WINDOW_CLASS_INPUT_OUTPUT = 1,
01168 XCB_WINDOW_CLASS_INPUT_ONLY = 2
01169 } xcb_window_class_t;
01170
01171 typedef enum xcb_cw_t {
01172 XCB_CW_BACK_PIXMAP = 1,
01173 XCB_CW_BACK_PIXEL = 2,
01174 XCB_CW_BORDER_PIXMAP = 4,
01175 XCB_CW_BORDER_PIXEL = 8,
01176 XCB_CW_BIT_GRAVITY = 16,
01177 XCB_CW_WIN_GRAVITY = 32,
01178 XCB_CW_BACKING_STORE = 64,
01179 XCB_CW_BACKING_PLANES = 128,
01180 XCB_CW_BACKING_PIXEL = 256,
01181 XCB_CW_OVERRIDE_REDIRECT = 512,
01182 XCB_CW_SAVE_UNDER = 1024,
01183 XCB_CW_EVENT_MASK = 2048,
01184 XCB_CW_DONT_PROPAGATE = 4096,
01185 XCB_CW_COLORMAP = 8192,
01186 XCB_CW_CURSOR = 16384
01187 } xcb_cw_t;
01188
01189 typedef enum xcb_back_pixmap_t {
01190 XCB_BACK_PIXMAP_NONE = 0,
01191 XCB_BACK_PIXMAP_PARENT_RELATIVE = 1
01192 } xcb_back_pixmap_t;
01193
01194 typedef enum xcb_gravity_t {
01195 XCB_GRAVITY_BIT_FORGET = 0,
01196 XCB_GRAVITY_WIN_UNMAP = 0,
01197 XCB_GRAVITY_NORTH_WEST = 1,
01198 XCB_GRAVITY_NORTH = 2,
01199 XCB_GRAVITY_NORTH_EAST = 3,
01200 XCB_GRAVITY_WEST = 4,
01201 XCB_GRAVITY_CENTER = 5,
01202 XCB_GRAVITY_EAST = 6,
01203 XCB_GRAVITY_SOUTH_WEST = 7,
01204 XCB_GRAVITY_SOUTH = 8,
01205 XCB_GRAVITY_SOUTH_EAST = 9,
01206 XCB_GRAVITY_STATIC = 10
01207 } xcb_gravity_t;
01208
01209 typedef enum xcb_backing_store_t {
01210 XCB_BACKING_STORE_NOT_USEFUL = 0,
01211 XCB_BACKING_STORE_WHEN_MAPPED = 1,
01212 XCB_BACKING_STORE_ALWAYS = 2
01213 } xcb_backing_store_t;
01214
01215 typedef enum xcb_event_mask_t {
01216 XCB_EVENT_MASK_NO_EVENT = 0,
01217 XCB_EVENT_MASK_KEY_PRESS = 1,
01218 XCB_EVENT_MASK_KEY_RELEASE = 2,
01219 XCB_EVENT_MASK_BUTTON_PRESS = 4,
01220 XCB_EVENT_MASK_BUTTON_RELEASE = 8,
01221 XCB_EVENT_MASK_ENTER_WINDOW = 16,
01222 XCB_EVENT_MASK_LEAVE_WINDOW = 32,
01223 XCB_EVENT_MASK_POINTER_MOTION = 64,
01224 XCB_EVENT_MASK_POINTER_MOTION_HINT = 128,
01225 XCB_EVENT_MASK_BUTTON_1_MOTION = 256,
01226 XCB_EVENT_MASK_BUTTON_2_MOTION = 512,
01227 XCB_EVENT_MASK_BUTTON_3_MOTION = 1024,
01228 XCB_EVENT_MASK_BUTTON_4_MOTION = 2048,
01229 XCB_EVENT_MASK_BUTTON_5_MOTION = 4096,
01230 XCB_EVENT_MASK_BUTTON_MOTION = 8192,
01231 XCB_EVENT_MASK_KEYMAP_STATE = 16384,
01232 XCB_EVENT_MASK_EXPOSURE = 32768,
01233 XCB_EVENT_MASK_VISIBILITY_CHANGE = 65536,
01234 XCB_EVENT_MASK_STRUCTURE_NOTIFY = 131072,
01235 XCB_EVENT_MASK_RESIZE_REDIRECT = 262144,
01236 XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY = 524288,
01237 XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT = 1048576,
01238 XCB_EVENT_MASK_FOCUS_CHANGE = 2097152,
01239 XCB_EVENT_MASK_PROPERTY_CHANGE = 4194304,
01240 XCB_EVENT_MASK_COLOR_MAP_CHANGE = 8388608,
01241 XCB_EVENT_MASK_OWNER_GRAB_BUTTON = 16777216
01242 } xcb_event_mask_t;
01243
01245 #define XCB_CREATE_WINDOW 1
01246
01250 typedef struct xcb_create_window_request_t {
01251 uint8_t major_opcode;
01252 uint8_t depth;
01253 uint16_t length;
01254 xcb_window_t wid;
01255 xcb_window_t parent;
01256 int16_t x;
01257 int16_t y;
01258 uint16_t width;
01259 uint16_t height;
01260 uint16_t border_width;
01261 uint16_t _class;
01262 xcb_visualid_t visual;
01263 uint32_t value_mask;
01264 } xcb_create_window_request_t;
01265
01267 #define XCB_CHANGE_WINDOW_ATTRIBUTES 2
01268
01272 typedef struct xcb_change_window_attributes_request_t {
01273 uint8_t major_opcode;
01274 uint8_t pad0;
01275 uint16_t length;
01276 xcb_window_t window;
01277 uint32_t value_mask;
01278 } xcb_change_window_attributes_request_t;
01279
01280 typedef enum xcb_map_state_t {
01281 XCB_MAP_STATE_UNMAPPED = 0,
01282 XCB_MAP_STATE_UNVIEWABLE = 1,
01283 XCB_MAP_STATE_VIEWABLE = 2
01284 } xcb_map_state_t;
01285
01289 typedef struct xcb_get_window_attributes_cookie_t {
01290 unsigned int sequence;
01291 } xcb_get_window_attributes_cookie_t;
01292
01294 #define XCB_GET_WINDOW_ATTRIBUTES 3
01295
01299 typedef struct xcb_get_window_attributes_request_t {
01300 uint8_t major_opcode;
01301 uint8_t pad0;
01302 uint16_t length;
01303 xcb_window_t window;
01304 } xcb_get_window_attributes_request_t;
01305
01309 typedef struct xcb_get_window_attributes_reply_t {
01310 uint8_t response_type;
01311 uint8_t backing_store;
01312 uint16_t sequence;
01313 uint32_t length;
01314 xcb_visualid_t visual;
01315 uint16_t _class;
01316 uint8_t bit_gravity;
01317 uint8_t win_gravity;
01318 uint32_t backing_planes;
01319 uint32_t backing_pixel;
01320 uint8_t save_under;
01321 uint8_t map_is_installed;
01322 uint8_t map_state;
01323 uint8_t override_redirect;
01324 xcb_colormap_t colormap;
01325 uint32_t all_event_masks;
01326 uint32_t your_event_mask;
01327 uint16_t do_not_propagate_mask;
01328 uint8_t pad0[2];
01329 } xcb_get_window_attributes_reply_t;
01330
01332 #define XCB_DESTROY_WINDOW 4
01333
01337 typedef struct xcb_destroy_window_request_t {
01338 uint8_t major_opcode;
01339 uint8_t pad0;
01340 uint16_t length;
01341 xcb_window_t window;
01342 } xcb_destroy_window_request_t;
01343
01345 #define XCB_DESTROY_SUBWINDOWS 5
01346
01350 typedef struct xcb_destroy_subwindows_request_t {
01351 uint8_t major_opcode;
01352 uint8_t pad0;
01353 uint16_t length;
01354 xcb_window_t window;
01355 } xcb_destroy_subwindows_request_t;
01356
01357 typedef enum xcb_set_mode_t {
01358 XCB_SET_MODE_INSERT = 0,
01359 XCB_SET_MODE_DELETE = 1
01360 } xcb_set_mode_t;
01361
01363 #define XCB_CHANGE_SAVE_SET 6
01364
01368 typedef struct xcb_change_save_set_request_t {
01369 uint8_t major_opcode;
01370 uint8_t mode;
01371 uint16_t length;
01372 xcb_window_t window;
01373 } xcb_change_save_set_request_t;
01374
01376 #define XCB_REPARENT_WINDOW 7
01377
01381 typedef struct xcb_reparent_window_request_t {
01382 uint8_t major_opcode;
01383 uint8_t pad0;
01384 uint16_t length;
01385 xcb_window_t window;
01386 xcb_window_t parent;
01387 int16_t x;
01388 int16_t y;
01389 } xcb_reparent_window_request_t;
01390
01392 #define XCB_MAP_WINDOW 8
01393
01397 typedef struct xcb_map_window_request_t {
01398 uint8_t major_opcode;
01399 uint8_t pad0;
01400 uint16_t length;
01401 xcb_window_t window;
01402 } xcb_map_window_request_t;
01403
01405 #define XCB_MAP_SUBWINDOWS 9
01406
01410 typedef struct xcb_map_subwindows_request_t {
01411 uint8_t major_opcode;
01412 uint8_t pad0;
01413 uint16_t length;
01414 xcb_window_t window;
01415 } xcb_map_subwindows_request_t;
01416
01418 #define XCB_UNMAP_WINDOW 10
01419
01423 typedef struct xcb_unmap_window_request_t {
01424 uint8_t major_opcode;
01425 uint8_t pad0;
01426 uint16_t length;
01427 xcb_window_t window;
01428 } xcb_unmap_window_request_t;
01429
01431 #define XCB_UNMAP_SUBWINDOWS 11
01432
01436 typedef struct xcb_unmap_subwindows_request_t {
01437 uint8_t major_opcode;
01438 uint8_t pad0;
01439 uint16_t length;
01440 xcb_window_t window;
01441 } xcb_unmap_subwindows_request_t;
01442
01443 typedef enum xcb_config_window_t {
01444 XCB_CONFIG_WINDOW_X = 1,
01445 XCB_CONFIG_WINDOW_Y = 2,
01446 XCB_CONFIG_WINDOW_WIDTH = 4,
01447 XCB_CONFIG_WINDOW_HEIGHT = 8,
01448 XCB_CONFIG_WINDOW_BORDER_WIDTH = 16,
01449 XCB_CONFIG_WINDOW_SIBLING = 32,
01450 XCB_CONFIG_WINDOW_STACK_MODE = 64
01451 } xcb_config_window_t;
01452
01453 typedef enum xcb_stack_mode_t {
01454 XCB_STACK_MODE_ABOVE = 0,
01455 XCB_STACK_MODE_BELOW = 1,
01456 XCB_STACK_MODE_TOP_IF = 2,
01457 XCB_STACK_MODE_BOTTOM_IF = 3,
01458 XCB_STACK_MODE_OPPOSITE = 4
01459 } xcb_stack_mode_t;
01460
01462 #define XCB_CONFIGURE_WINDOW 12
01463
01467 typedef struct xcb_configure_window_request_t {
01468 uint8_t major_opcode;
01469 uint8_t pad0;
01470 uint16_t length;
01471 xcb_window_t window;
01472 uint16_t value_mask;
01473 uint8_t pad1[2];
01474 } xcb_configure_window_request_t;
01475
01476 typedef enum xcb_circulate_t {
01477 XCB_CIRCULATE_RAISE_LOWEST = 0,
01478 XCB_CIRCULATE_LOWER_HIGHEST = 1
01479 } xcb_circulate_t;
01480
01482 #define XCB_CIRCULATE_WINDOW 13
01483
01487 typedef struct xcb_circulate_window_request_t {
01488 uint8_t major_opcode;
01489 uint8_t direction;
01490 uint16_t length;
01491 xcb_window_t window;
01492 } xcb_circulate_window_request_t;
01493
01497 typedef struct xcb_get_geometry_cookie_t {
01498 unsigned int sequence;
01499 } xcb_get_geometry_cookie_t;
01500
01502 #define XCB_GET_GEOMETRY 14
01503
01507 typedef struct xcb_get_geometry_request_t {
01508 uint8_t major_opcode;
01509 uint8_t pad0;
01510 uint16_t length;
01511 xcb_drawable_t drawable;
01512 } xcb_get_geometry_request_t;
01513
01517 typedef struct xcb_get_geometry_reply_t {
01518 uint8_t response_type;
01519 uint8_t depth;
01520 uint16_t sequence;
01521 uint32_t length;
01522 xcb_window_t root;
01523 int16_t x;
01524 int16_t y;
01525 uint16_t width;
01526 uint16_t height;
01527 uint16_t border_width;
01528 uint8_t pad0[2];
01529 } xcb_get_geometry_reply_t;
01530
01534 typedef struct xcb_query_tree_cookie_t {
01535 unsigned int sequence;
01536 } xcb_query_tree_cookie_t;
01537
01539 #define XCB_QUERY_TREE 15
01540
01544 typedef struct xcb_query_tree_request_t {
01545 uint8_t major_opcode;
01546 uint8_t pad0;
01547 uint16_t length;
01548 xcb_window_t window;
01549 } xcb_query_tree_request_t;
01550
01554 typedef struct xcb_query_tree_reply_t {
01555 uint8_t response_type;
01556 uint8_t pad0;
01557 uint16_t sequence;
01558 uint32_t length;
01559 xcb_window_t root;
01560 xcb_window_t parent;
01561 uint16_t children_len;
01562 uint8_t pad1[14];
01563 } xcb_query_tree_reply_t;
01564
01568 typedef struct xcb_intern_atom_cookie_t {
01569 unsigned int sequence;
01570 } xcb_intern_atom_cookie_t;
01571
01573 #define XCB_INTERN_ATOM 16
01574
01578 typedef struct xcb_intern_atom_request_t {
01579 uint8_t major_opcode;
01580 uint8_t only_if_exists;
01581 uint16_t length;
01582 uint16_t name_len;
01583 uint8_t pad0[2];
01584 } xcb_intern_atom_request_t;
01585
01589 typedef struct xcb_intern_atom_reply_t {
01590 uint8_t response_type;
01591 uint8_t pad0;
01592 uint16_t sequence;
01593 uint32_t length;
01594 xcb_atom_t atom;
01595 } xcb_intern_atom_reply_t;
01596
01600 typedef struct xcb_get_atom_name_cookie_t {
01601 unsigned int sequence;
01602 } xcb_get_atom_name_cookie_t;
01603
01605 #define XCB_GET_ATOM_NAME 17
01606
01610 typedef struct xcb_get_atom_name_request_t {
01611 uint8_t major_opcode;
01612 uint8_t pad0;
01613 uint16_t length;
01614 xcb_atom_t atom;
01615 } xcb_get_atom_name_request_t;
01616
01620 typedef struct xcb_get_atom_name_reply_t {
01621 uint8_t response_type;
01622 uint8_t pad0;
01623 uint16_t sequence;
01624 uint32_t length;
01625 uint16_t name_len;
01626 uint8_t pad1[22];
01627 } xcb_get_atom_name_reply_t;
01628
01629 typedef enum xcb_prop_mode_t {
01630 XCB_PROP_MODE_REPLACE = 0,
01631 XCB_PROP_MODE_PREPEND = 1,
01632 XCB_PROP_MODE_APPEND = 2
01633 } xcb_prop_mode_t;
01634
01636 #define XCB_CHANGE_PROPERTY 18
01637
01641 typedef struct xcb_change_property_request_t {
01642 uint8_t major_opcode;
01643 uint8_t mode;
01644 uint16_t length;
01645 xcb_window_t window;
01646 xcb_atom_t property;
01647 xcb_atom_t type;
01648 uint8_t format;
01649 uint8_t pad0[3];
01650 uint32_t data_len;
01651 } xcb_change_property_request_t;
01652
01654 #define XCB_DELETE_PROPERTY 19
01655
01659 typedef struct xcb_delete_property_request_t {
01660 uint8_t major_opcode;
01661 uint8_t pad0;
01662 uint16_t length;
01663 xcb_window_t window;
01664 xcb_atom_t property;
01665 } xcb_delete_property_request_t;
01666
01667 typedef enum xcb_get_property_type_t {
01668 XCB_GET_PROPERTY_TYPE_ANY = 0
01669 } xcb_get_property_type_t;
01670
01674 typedef struct xcb_get_property_cookie_t {
01675 unsigned int sequence;
01676 } xcb_get_property_cookie_t;
01677
01679 #define XCB_GET_PROPERTY 20
01680
01684 typedef struct xcb_get_property_request_t {
01685 uint8_t major_opcode;
01686 uint8_t _delete;
01687 uint16_t length;
01688 xcb_window_t window;
01689 xcb_atom_t property;
01690 xcb_atom_t type;
01691 uint32_t long_offset;
01692 uint32_t long_length;
01693 } xcb_get_property_request_t;
01694
01698 typedef struct xcb_get_property_reply_t {
01699 uint8_t response_type;
01700 uint8_t format;
01701 uint16_t sequence;
01702 uint32_t length;
01703 xcb_atom_t type;
01704 uint32_t bytes_after;
01705 uint32_t value_len;
01706 uint8_t pad0[12];
01707 } xcb_get_property_reply_t;
01708
01712 typedef struct xcb_list_properties_cookie_t {
01713 unsigned int sequence;
01714 } xcb_list_properties_cookie_t;
01715
01717 #define XCB_LIST_PROPERTIES 21
01718
01722 typedef struct xcb_list_properties_request_t {
01723 uint8_t major_opcode;
01724 uint8_t pad0;
01725 uint16_t length;
01726 xcb_window_t window;
01727 } xcb_list_properties_request_t;
01728
01732 typedef struct xcb_list_properties_reply_t {
01733 uint8_t response_type;
01734 uint8_t pad0;
01735 uint16_t sequence;
01736 uint32_t length;
01737 uint16_t atoms_len;
01738 uint8_t pad1[22];
01739 } xcb_list_properties_reply_t;
01740
01742 #define XCB_SET_SELECTION_OWNER 22
01743
01747 typedef struct xcb_set_selection_owner_request_t {
01748 uint8_t major_opcode;
01749 uint8_t pad0;
01750 uint16_t length;
01751 xcb_window_t owner;
01752 xcb_atom_t selection;
01753 xcb_timestamp_t time;
01754 } xcb_set_selection_owner_request_t;
01755
01759 typedef struct xcb_get_selection_owner_cookie_t {
01760 unsigned int sequence;
01761 } xcb_get_selection_owner_cookie_t;
01762
01764 #define XCB_GET_SELECTION_OWNER 23
01765
01769 typedef struct xcb_get_selection_owner_request_t {
01770 uint8_t major_opcode;
01771 uint8_t pad0;
01772 uint16_t length;
01773 xcb_atom_t selection;
01774 } xcb_get_selection_owner_request_t;
01775
01779 typedef struct xcb_get_selection_owner_reply_t {
01780 uint8_t response_type;
01781 uint8_t pad0;
01782 uint16_t sequence;
01783 uint32_t length;
01784 xcb_window_t owner;
01785 } xcb_get_selection_owner_reply_t;
01786
01788 #define XCB_CONVERT_SELECTION 24
01789
01793 typedef struct xcb_convert_selection_request_t {
01794 uint8_t major_opcode;
01795 uint8_t pad0;
01796 uint16_t length;
01797 xcb_window_t requestor;
01798 xcb_atom_t selection;
01799 xcb_atom_t target;
01800 xcb_atom_t property;
01801 xcb_timestamp_t time;
01802 } xcb_convert_selection_request_t;
01803
01804 typedef enum xcb_send_event_dest_t {
01805 XCB_SEND_EVENT_DEST_POINTER_WINDOW = 0,
01806 XCB_SEND_EVENT_DEST_ITEM_FOCUS = 1
01807 } xcb_send_event_dest_t;
01808
01810 #define XCB_SEND_EVENT 25
01811
01815 typedef struct xcb_send_event_request_t {
01816 uint8_t major_opcode;
01817 uint8_t propagate;
01818 uint16_t length;
01819 xcb_window_t destination;
01820 uint32_t event_mask;
01821 char event[32];
01822 } xcb_send_event_request_t;
01823
01824 typedef enum xcb_grab_mode_t {
01825 XCB_GRAB_MODE_SYNC = 0,
01826 XCB_GRAB_MODE_ASYNC = 1
01827 } xcb_grab_mode_t;
01828
01829 typedef enum xcb_grab_status_t {
01830 XCB_GRAB_STATUS_SUCCESS = 0,
01831 XCB_GRAB_STATUS_ALREADY_GRABBED = 1,
01832 XCB_GRAB_STATUS_INVALID_TIME = 2,
01833 XCB_GRAB_STATUS_NOT_VIEWABLE = 3,
01834 XCB_GRAB_STATUS_FROZEN = 4
01835 } xcb_grab_status_t;
01836
01840 typedef struct xcb_grab_pointer_cookie_t {
01841 unsigned int sequence;
01842 } xcb_grab_pointer_cookie_t;
01843
01845 #define XCB_GRAB_POINTER 26
01846
01850 typedef struct xcb_grab_pointer_request_t {
01851 uint8_t major_opcode;
01852 uint8_t owner_events;
01853 uint16_t length;
01854 xcb_window_t grab_window;
01855 uint16_t event_mask;
01856 uint8_t pointer_mode;
01857 uint8_t keyboard_mode;
01858 xcb_window_t confine_to;
01859 xcb_cursor_t cursor;
01860 xcb_timestamp_t time;
01861 } xcb_grab_pointer_request_t;
01862
01866 typedef struct xcb_grab_pointer_reply_t {
01867 uint8_t response_type;
01868 uint8_t status;
01869 uint16_t sequence;
01870 uint32_t length;
01871 } xcb_grab_pointer_reply_t;
01872
01874 #define XCB_UNGRAB_POINTER 27
01875
01879 typedef struct xcb_ungrab_pointer_request_t {
01880 uint8_t major_opcode;
01881 uint8_t pad0;
01882 uint16_t length;
01883 xcb_timestamp_t time;
01884 } xcb_ungrab_pointer_request_t;
01885
01886 typedef enum xcb_button_index_t {
01887 XCB_BUTTON_INDEX_ANY = 0,
01888 XCB_BUTTON_INDEX_1 = 1,
01889 XCB_BUTTON_INDEX_2 = 2,
01890 XCB_BUTTON_INDEX_3 = 3,
01891 XCB_BUTTON_INDEX_4 = 4,
01892 XCB_BUTTON_INDEX_5 = 5
01893 } xcb_button_index_t;
01894
01896 #define XCB_GRAB_BUTTON 28
01897
01901 typedef struct xcb_grab_button_request_t {
01902 uint8_t major_opcode;
01903 uint8_t owner_events;
01904 uint16_t length;
01905 xcb_window_t grab_window;
01906 uint16_t event_mask;
01907 uint8_t pointer_mode;
01908 uint8_t keyboard_mode;
01909 xcb_window_t confine_to;
01910 xcb_cursor_t cursor;
01911 uint8_t button;
01912 uint8_t pad0;
01913 uint16_t modifiers;
01914 } xcb_grab_button_request_t;
01915
01917 #define XCB_UNGRAB_BUTTON 29
01918
01922 typedef struct xcb_ungrab_button_request_t {
01923 uint8_t major_opcode;
01924 uint8_t button;
01925 uint16_t length;
01926 xcb_window_t grab_window;
01927 uint16_t modifiers;
01928 uint8_t pad0[2];
01929 } xcb_ungrab_button_request_t;
01930
01932 #define XCB_CHANGE_ACTIVE_POINTER_GRAB 30
01933
01937 typedef struct xcb_change_active_pointer_grab_request_t {
01938 uint8_t major_opcode;
01939 uint8_t pad0;
01940 uint16_t length;
01941 xcb_cursor_t cursor;
01942 xcb_timestamp_t time;
01943 uint16_t event_mask;
01944 uint8_t pad1[2];
01945 } xcb_change_active_pointer_grab_request_t;
01946
01950 typedef struct xcb_grab_keyboard_cookie_t {
01951 unsigned int sequence;
01952 } xcb_grab_keyboard_cookie_t;
01953
01955 #define XCB_GRAB_KEYBOARD 31
01956
01960 typedef struct xcb_grab_keyboard_request_t {
01961 uint8_t major_opcode;
01962 uint8_t owner_events;
01963 uint16_t length;
01964 xcb_window_t grab_window;
01965 xcb_timestamp_t time;
01966 uint8_t pointer_mode;
01967 uint8_t keyboard_mode;
01968 uint8_t pad0[2];
01969 } xcb_grab_keyboard_request_t;
01970
01974 typedef struct xcb_grab_keyboard_reply_t {
01975 uint8_t response_type;
01976 uint8_t status;
01977 uint16_t sequence;
01978 uint32_t length;
01979 } xcb_grab_keyboard_reply_t;
01980
01982 #define XCB_UNGRAB_KEYBOARD 32
01983
01987 typedef struct xcb_ungrab_keyboard_request_t {
01988 uint8_t major_opcode;
01989 uint8_t pad0;
01990 uint16_t length;
01991 xcb_timestamp_t time;
01992 } xcb_ungrab_keyboard_request_t;
01993
01994 typedef enum xcb_grab_t {
01995 XCB_GRAB_ANY = 0
01996 } xcb_grab_t;
01997
01999 #define XCB_GRAB_KEY 33
02000
02004 typedef struct xcb_grab_key_request_t {
02005 uint8_t major_opcode;
02006 uint8_t owner_events;
02007 uint16_t length;
02008 xcb_window_t grab_window;
02009 uint16_t modifiers;
02010 xcb_keycode_t key;
02011 uint8_t pointer_mode;
02012 uint8_t keyboard_mode;
02013 uint8_t pad0[3];
02014 } xcb_grab_key_request_t;
02015
02017 #define XCB_UNGRAB_KEY 34
02018
02022 typedef struct xcb_ungrab_key_request_t {
02023 uint8_t major_opcode;
02024 xcb_keycode_t key;
02025 uint16_t length;
02026 xcb_window_t grab_window;
02027 uint16_t modifiers;
02028 uint8_t pad0[2];
02029 } xcb_ungrab_key_request_t;
02030
02031 typedef enum xcb_allow_t {
02032 XCB_ALLOW_ASYNC_POINTER = 0,
02033 XCB_ALLOW_SYNC_POINTER = 1,
02034 XCB_ALLOW_REPLAY_POINTER = 2,
02035 XCB_ALLOW_ASYNC_KEYBOARD = 3,
02036 XCB_ALLOW_SYNC_KEYBOARD = 4,
02037 XCB_ALLOW_REPLAY_KEYBOARD = 5,
02038 XCB_ALLOW_ASYNC_BOTH = 6,
02039 XCB_ALLOW_SYNC_BOTH = 7
02040 } xcb_allow_t;
02041
02043 #define XCB_ALLOW_EVENTS 35
02044
02048 typedef struct xcb_allow_events_request_t {
02049 uint8_t major_opcode;
02050 uint8_t mode;
02051 uint16_t length;
02052 xcb_timestamp_t time;
02053 } xcb_allow_events_request_t;
02054
02056 #define XCB_GRAB_SERVER 36
02057
02061 typedef struct xcb_grab_server_request_t {
02062 uint8_t major_opcode;
02063 uint8_t pad0;
02064 uint16_t length;
02065 } xcb_grab_server_request_t;
02066
02068 #define XCB_UNGRAB_SERVER 37
02069
02073 typedef struct xcb_ungrab_server_request_t {
02074 uint8_t major_opcode;
02075 uint8_t pad0;
02076 uint16_t length;
02077 } xcb_ungrab_server_request_t;
02078
02082 typedef struct xcb_query_pointer_cookie_t {
02083 unsigned int sequence;
02084 } xcb_query_pointer_cookie_t;
02085
02087 #define XCB_QUERY_POINTER 38
02088
02092 typedef struct xcb_query_pointer_request_t {
02093 uint8_t major_opcode;
02094 uint8_t pad0;
02095 uint16_t length;
02096 xcb_window_t window;
02097 } xcb_query_pointer_request_t;
02098
02102 typedef struct xcb_query_pointer_reply_t {
02103 uint8_t response_type;
02104 uint8_t same_screen;
02105 uint16_t sequence;
02106 uint32_t length;
02107 xcb_window_t root;
02108 xcb_window_t child;
02109 int16_t root_x;
02110 int16_t root_y;
02111 int16_t win_x;
02112 int16_t win_y;
02113 uint16_t mask;
02114 uint8_t pad0[2];
02115 } xcb_query_pointer_reply_t;
02116
02120 typedef struct xcb_timecoord_t {
02121 xcb_timestamp_t time;
02122 int16_t x;
02123 int16_t y;
02124 } xcb_timecoord_t;
02125
02129 typedef struct xcb_timecoord_iterator_t {
02130 xcb_timecoord_t *data;
02131 int rem;
02132 int index;
02133 } xcb_timecoord_iterator_t;
02134
02138 typedef struct xcb_get_motion_events_cookie_t {
02139 unsigned int sequence;
02140 } xcb_get_motion_events_cookie_t;
02141
02143 #define XCB_GET_MOTION_EVENTS 39
02144
02148 typedef struct xcb_get_motion_events_request_t {
02149 uint8_t major_opcode;
02150 uint8_t pad0;
02151 uint16_t length;
02152 xcb_window_t window;
02153 xcb_timestamp_t start;
02154 xcb_timestamp_t stop;
02155 } xcb_get_motion_events_request_t;
02156
02160 typedef struct xcb_get_motion_events_reply_t {
02161 uint8_t response_type;
02162 uint8_t pad0;
02163 uint16_t sequence;
02164 uint32_t length;
02165 uint32_t events_len;
02166 uint8_t pad1[20];
02167 } xcb_get_motion_events_reply_t;
02168
02172 typedef struct xcb_translate_coordinates_cookie_t {
02173 unsigned int sequence;
02174 } xcb_translate_coordinates_cookie_t;
02175
02177 #define XCB_TRANSLATE_COORDINATES 40
02178
02182 typedef struct xcb_translate_coordinates_request_t {
02183 uint8_t major_opcode;
02184 uint8_t pad0;
02185 uint16_t length;
02186 xcb_window_t src_window;
02187 xcb_window_t dst_window;
02188 int16_t src_x;
02189 int16_t src_y;
02190 } xcb_translate_coordinates_request_t;
02191
02195 typedef struct xcb_translate_coordinates_reply_t {
02196 uint8_t response_type;
02197 uint8_t same_screen;
02198 uint16_t sequence;
02199 uint32_t length;
02200 xcb_window_t child;
02201 uint16_t dst_x;
02202 uint16_t dst_y;
02203 } xcb_translate_coordinates_reply_t;
02204
02206 #define XCB_WARP_POINTER 41
02207
02211 typedef struct xcb_warp_pointer_request_t {
02212 uint8_t major_opcode;
02213 uint8_t pad0;
02214 uint16_t length;
02215 xcb_window_t src_window;
02216 xcb_window_t dst_window;
02217 int16_t src_x;
02218 int16_t src_y;
02219 uint16_t src_width;
02220 uint16_t src_height;
02221 int16_t dst_x;
02222 int16_t dst_y;
02223 } xcb_warp_pointer_request_t;
02224
02225 typedef enum xcb_input_focus_t {
02226 XCB_INPUT_FOCUS_NONE = 0,
02227 XCB_INPUT_FOCUS_POINTER_ROOT = 1,
02228 XCB_INPUT_FOCUS_PARENT = 2
02229 } xcb_input_focus_t;
02230
02232 #define XCB_SET_INPUT_FOCUS 42
02233
02237 typedef struct xcb_set_input_focus_request_t {
02238 uint8_t major_opcode;
02239 uint8_t revert_to;
02240 uint16_t length;
02241 xcb_window_t focus;
02242 xcb_timestamp_t time;
02243 } xcb_set_input_focus_request_t;
02244
02248 typedef struct xcb_get_input_focus_cookie_t {
02249 unsigned int sequence;
02250 } xcb_get_input_focus_cookie_t;
02251
02253 #define XCB_GET_INPUT_FOCUS 43
02254
02258 typedef struct xcb_get_input_focus_request_t {
02259 uint8_t major_opcode;
02260 uint8_t pad0;
02261 uint16_t length;
02262 } xcb_get_input_focus_request_t;
02263
02267 typedef struct xcb_get_input_focus_reply_t {
02268 uint8_t response_type;
02269 uint8_t revert_to;
02270 uint16_t sequence;
02271 uint32_t length;
02272 xcb_window_t focus;
02273 } xcb_get_input_focus_reply_t;
02274
02278 typedef struct xcb_query_keymap_cookie_t {
02279 unsigned int sequence;
02280 } xcb_query_keymap_cookie_t;
02281
02283 #define XCB_QUERY_KEYMAP 44
02284
02288 typedef struct xcb_query_keymap_request_t {
02289 uint8_t major_opcode;
02290 uint8_t pad0;
02291 uint16_t length;
02292 } xcb_query_keymap_request_t;
02293
02297 typedef struct xcb_query_keymap_reply_t {
02298 uint8_t response_type;
02299 uint8_t pad0;
02300 uint16_t sequence;
02301 uint32_t length;
02302 uint8_t keys[32];
02303 } xcb_query_keymap_reply_t;
02304
02306 #define XCB_OPEN_FONT 45
02307
02311 typedef struct xcb_open_font_request_t {
02312 uint8_t major_opcode;
02313 uint8_t pad0;
02314 uint16_t length;
02315 xcb_font_t fid;
02316 uint16_t name_len;
02317 uint8_t pad1[2];
02318 } xcb_open_font_request_t;
02319
02321 #define XCB_CLOSE_FONT 46
02322
02326 typedef struct xcb_close_font_request_t {
02327 uint8_t major_opcode;
02328 uint8_t pad0;
02329 uint16_t length;
02330 xcb_font_t font;
02331 } xcb_close_font_request_t;
02332
02333 typedef enum xcb_font_draw_t {
02334 XCB_FONT_DRAW_LEFT_TO_RIGHT = 0,
02335 XCB_FONT_DRAW_RIGHT_TO_LEFT = 1
02336 } xcb_font_draw_t;
02337
02341 typedef struct xcb_fontprop_t {
02342 xcb_atom_t name;
02343 uint32_t value;
02344 } xcb_fontprop_t;
02345
02349 typedef struct xcb_fontprop_iterator_t {
02350 xcb_fontprop_t *data;
02351 int rem;
02352 int index;
02353 } xcb_fontprop_iterator_t;
02354
02358 typedef struct xcb_charinfo_t {
02359 int16_t left_side_bearing;
02360 int16_t right_side_bearing;
02361 int16_t character_width;
02362 int16_t ascent;
02363 int16_t descent;
02364 uint16_t attributes;
02365 } xcb_charinfo_t;
02366
02370 typedef struct xcb_charinfo_iterator_t {
02371 xcb_charinfo_t *data;
02372 int rem;
02373 int index;
02374 } xcb_charinfo_iterator_t;
02375
02379 typedef struct xcb_query_font_cookie_t {
02380 unsigned int sequence;
02381 } xcb_query_font_cookie_t;
02382
02384 #define XCB_QUERY_FONT 47
02385
02389 typedef struct xcb_query_font_request_t {
02390 uint8_t major_opcode;
02391 uint8_t pad0;
02392 uint16_t length;
02393 xcb_fontable_t font;
02394 } xcb_query_font_request_t;
02395
02399 typedef struct xcb_query_font_reply_t {
02400 uint8_t response_type;
02401 uint8_t pad0;
02402 uint16_t sequence;
02403 uint32_t length;
02404 xcb_charinfo_t min_bounds;
02405 uint8_t pad1[4];
02406 xcb_charinfo_t max_bounds;
02407 uint8_t pad2[4];
02408 uint16_t min_char_or_byte2;
02409 uint16_t max_char_or_byte2;
02410 uint16_t default_char;
02411 uint16_t properties_len;
02412 uint8_t draw_direction;
02413 uint8_t min_byte1;
02414 uint8_t max_byte1;
02415 uint8_t all_chars_exist;
02416 int16_t font_ascent;
02417 int16_t font_descent;
02418 uint32_t char_infos_len;
02419 } xcb_query_font_reply_t;
02420
02424 typedef struct xcb_query_text_extents_cookie_t {
02425 unsigned int sequence;
02426 } xcb_query_text_extents_cookie_t;
02427
02429 #define XCB_QUERY_TEXT_EXTENTS 48
02430
02434 typedef struct xcb_query_text_extents_request_t {
02435 uint8_t major_opcode;
02436 uint8_t odd_length;
02437 uint16_t length;
02438 xcb_fontable_t font;
02439 } xcb_query_text_extents_request_t;
02440
02444 typedef struct xcb_query_text_extents_reply_t {
02445 uint8_t response_type;
02446 uint8_t draw_direction;
02447 uint16_t sequence;
02448 uint32_t length;
02449 int16_t font_ascent;
02450 int16_t font_descent;
02451 int16_t overall_ascent;
02452 int16_t overall_descent;
02453 int32_t overall_width;
02454 int32_t overall_left;
02455 int32_t overall_right;
02456 } xcb_query_text_extents_reply_t;
02457
02461 typedef struct xcb_str_t {
02462 uint8_t name_len;
02463 } xcb_str_t;
02464
02468 typedef struct xcb_str_iterator_t {
02469 xcb_str_t *data;
02470 int rem;
02471 int index;
02472 } xcb_str_iterator_t;
02473
02477 typedef struct xcb_list_fonts_cookie_t {
02478 unsigned int sequence;
02479 } xcb_list_fonts_cookie_t;
02480
02482 #define XCB_LIST_FONTS 49
02483
02487 typedef struct xcb_list_fonts_request_t {
02488 uint8_t major_opcode;
02489 uint8_t pad0;
02490 uint16_t length;
02491 uint16_t max_names;
02492 uint16_t pattern_len;
02493 } xcb_list_fonts_request_t;
02494
02498 typedef struct xcb_list_fonts_reply_t {
02499 uint8_t response_type;
02500 uint8_t pad0;
02501 uint16_t sequence;
02502 uint32_t length;
02503 uint16_t names_len;
02504 uint8_t pad1[22];
02505 } xcb_list_fonts_reply_t;
02506
02510 typedef struct xcb_list_fonts_with_info_cookie_t {
02511 unsigned int sequence;
02512 } xcb_list_fonts_with_info_cookie_t;
02513
02515 #define XCB_LIST_FONTS_WITH_INFO 50
02516
02520 typedef struct xcb_list_fonts_with_info_request_t {
02521 uint8_t major_opcode;
02522 uint8_t pad0;
02523 uint16_t length;
02524 uint16_t max_names;
02525 uint16_t pattern_len;
02526 } xcb_list_fonts_with_info_request_t;
02527
02531 typedef struct xcb_list_fonts_with_info_reply_t {
02532 uint8_t response_type;
02533 uint8_t name_len;
02534 uint16_t sequence;
02535 uint32_t length;
02536 xcb_charinfo_t min_bounds;
02537 uint8_t pad0[4];
02538 xcb_charinfo_t max_bounds;
02539 uint8_t pad1[4];
02540 uint16_t min_char_or_byte2;
02541 uint16_t max_char_or_byte2;
02542 uint16_t default_char;
02543 uint16_t properties_len;
02544 uint8_t draw_direction;
02545 uint8_t min_byte1;
02546 uint8_t max_byte1;
02547 uint8_t all_chars_exist;
02548 int16_t font_ascent;
02549 int16_t font_descent;
02550 uint32_t replies_hint;
02551 } xcb_list_fonts_with_info_reply_t;
02552
02554 #define XCB_SET_FONT_PATH 51
02555
02559 typedef struct xcb_set_font_path_request_t {
02560 uint8_t major_opcode;
02561 uint8_t pad0;
02562 uint16_t length;
02563 uint16_t font_qty;
02564 } xcb_set_font_path_request_t;
02565
02569 typedef struct xcb_get_font_path_cookie_t {
02570 unsigned int sequence;
02571 } xcb_get_font_path_cookie_t;
02572
02574 #define XCB_GET_FONT_PATH 52
02575
02579 typedef struct xcb_get_font_path_request_t {
02580 uint8_t major_opcode;
02581 uint8_t pad0;
02582 uint16_t length;
02583 } xcb_get_font_path_request_t;
02584
02588 typedef struct xcb_get_font_path_reply_t {
02589 uint8_t response_type;
02590 uint8_t pad0;
02591 uint16_t sequence;
02592 uint32_t length;
02593 uint16_t path_len;
02594 uint8_t pad1[22];
02595 } xcb_get_font_path_reply_t;
02596
02598 #define XCB_CREATE_PIXMAP 53
02599
02603 typedef struct xcb_create_pixmap_request_t {
02604 uint8_t major_opcode;
02605 uint8_t depth;
02606 uint16_t length;
02607 xcb_pixmap_t pid;
02608 xcb_drawable_t drawable;
02609 uint16_t width;
02610 uint16_t height;
02611 } xcb_create_pixmap_request_t;
02612
02614 #define XCB_FREE_PIXMAP 54
02615
02619 typedef struct xcb_free_pixmap_request_t {
02620 uint8_t major_opcode;
02621 uint8_t pad0;
02622 uint16_t length;
02623 xcb_pixmap_t pixmap;
02624 } xcb_free_pixmap_request_t;
02625
02626 typedef enum xcb_gc_t {
02627 XCB_GC_FUNCTION = 1,
02628 XCB_GC_PLANE_MASK = 2,
02629 XCB_GC_FOREGROUND = 4,
02630 XCB_GC_BACKGROUND = 8,
02631 XCB_GC_LINE_WIDTH = 16,
02632 XCB_GC_LINE_STYLE = 32,
02633 XCB_GC_CAP_STYLE = 64,
02634 XCB_GC_JOIN_STYLE = 128,
02635 XCB_GC_FILL_STYLE = 256,
02636 XCB_GC_FILL_RULE = 512,
02637 XCB_GC_TILE = 1024,
02638 XCB_GC_STIPPLE = 2048,
02639 XCB_GC_TILE_STIPPLE_ORIGIN_X = 4096,
02640 XCB_GC_TILE_STIPPLE_ORIGIN_Y = 8192,
02641 XCB_GC_FONT = 16384,
02642 XCB_GC_SUBWINDOW_MODE = 32768,
02643 XCB_GC_GRAPHICS_EXPOSURES = 65536,
02644 XCB_GC_CLIP_ORIGIN_X = 131072,
02645 XCB_GC_CLIP_ORIGIN_Y = 262144,
02646 XCB_GC_CLIP_MASK = 524288,
02647 XCB_GC_DASH_OFFSET = 1048576,
02648 XCB_GC_DASH_LIST = 2097152,
02649 XCB_GC_ARC_MODE = 4194304
02650 } xcb_gc_t;
02651
02652 typedef enum xcb_gx_t {
02653 XCB_GX_CLEAR = 0,
02654 XCB_GX_AND = 1,
02655 XCB_GX_AND_REVERSE = 2,
02656 XCB_GX_COPY = 3,
02657 XCB_GX_AND_INVERTED = 4,
02658 XCB_GX_NOOP = 5,
02659 XCB_GX_XOR = 6,
02660 XCB_GX_OR = 7,
02661 XCB_GX_NOR = 8,
02662 XCB_GX_EQUIV = 9,
02663 XCB_GX_INVERT = 10,
02664 XCB_GX_OR_REVERSE = 11,
02665 XCB_GX_COPY_INVERTED = 12,
02666 XCB_GX_OR_INVERTED = 13,
02667 XCB_GX_NAND = 14,
02668 XCB_GX_SET = 15
02669 } xcb_gx_t;
02670
02671 typedef enum xcb_line_style_t {
02672 XCB_LINE_STYLE_SOLID = 0,
02673 XCB_LINE_STYLE_ON_OFF_DASH = 1,
02674 XCB_LINE_STYLE_DOUBLE_DASH = 2
02675 } xcb_line_style_t;
02676
02677 typedef enum xcb_cap_style_t {
02678 XCB_CAP_STYLE_NOT_LAST = 0,
02679 XCB_CAP_STYLE_BUTT = 1,
02680 XCB_CAP_STYLE_ROUND = 2,
02681 XCB_CAP_STYLE_PROJECTING = 3
02682 } xcb_cap_style_t;
02683
02684 typedef enum xcb_join_style_t {
02685 XCB_JOIN_STYLE_MITRE = 0,
02686 XCB_JOIN_STYLE_ROUND = 1,
02687 XCB_JOIN_STYLE_BEVEL = 2
02688 } xcb_join_style_t;
02689
02690 typedef enum xcb_fill_style_t {
02691 XCB_FILL_STYLE_SOLID = 0,
02692 XCB_FILL_STYLE_TILED = 1,
02693 XCB_FILL_STYLE_STIPPLED = 2,
02694 XCB_FILL_STYLE_OPAQUE_STIPPLED = 3
02695 } xcb_fill_style_t;
02696
02697 typedef enum xcb_fill_rule_t {
02698 XCB_FILL_RULE_EVEN_ODD = 0,
02699 XCB_FILL_RULE_WINDING = 1
02700 } xcb_fill_rule_t;
02701
02702 typedef enum xcb_subwindow_mode_t {
02703 XCB_SUBWINDOW_MODE_CLIP_BY_CHILDREN = 0,
02704 XCB_SUBWINDOW_MODE_INCLUDE_INFERIORS = 1
02705 } xcb_subwindow_mode_t;
02706
02707 typedef enum xcb_arc_mode_t {
02708 XCB_ARC_MODE_CHORD = 0,
02709 XCB_ARC_MODE_PIE_SLICE = 1
02710 } xcb_arc_mode_t;
02711
02713 #define XCB_CREATE_GC 55
02714
02718 typedef struct xcb_create_gc_request_t {
02719 uint8_t major_opcode;
02720 uint8_t pad0;
02721 uint16_t length;
02722 xcb_gcontext_t cid;
02723 xcb_drawable_t drawable;
02724 uint32_t value_mask;
02725 } xcb_create_gc_request_t;
02726
02728 #define XCB_CHANGE_GC 56
02729
02733 typedef struct xcb_change_gc_request_t {
02734 uint8_t major_opcode;
02735 uint8_t pad0;
02736 uint16_t length;
02737 xcb_gcontext_t gc;
02738 uint32_t value_mask;
02739 } xcb_change_gc_request_t;
02740
02742 #define XCB_COPY_GC 57
02743
02747 typedef struct xcb_copy_gc_request_t {
02748 uint8_t major_opcode;
02749 uint8_t pad0;
02750 uint16_t length;
02751 xcb_gcontext_t src_gc;
02752 xcb_gcontext_t dst_gc;
02753 uint32_t value_mask;
02754 } xcb_copy_gc_request_t;
02755
02757 #define XCB_SET_DASHES 58
02758
02762 typedef struct xcb_set_dashes_request_t {
02763 uint8_t major_opcode;
02764 uint8_t pad0;
02765 uint16_t length;
02766 xcb_gcontext_t gc;
02767 uint16_t dash_offset;
02768 uint16_t dashes_len;
02769 } xcb_set_dashes_request_t;
02770
02771 typedef enum xcb_clip_ordering_t {
02772 XCB_CLIP_ORDERING_UNSORTED = 0,
02773 XCB_CLIP_ORDERING_Y_SORTED = 1,
02774 XCB_CLIP_ORDERING_YX_SORTED = 2,
02775 XCB_CLIP_ORDERING_YX_BANDED = 3
02776 } xcb_clip_ordering_t;
02777
02779 #define XCB_SET_CLIP_RECTANGLES 59
02780
02784 typedef struct xcb_set_clip_rectangles_request_t {
02785 uint8_t major_opcode;
02786 uint8_t ordering;
02787 uint16_t length;
02788 xcb_gcontext_t gc;
02789 int16_t clip_x_origin;
02790 int16_t clip_y_origin;
02791 } xcb_set_clip_rectangles_request_t;
02792
02794 #define XCB_FREE_GC 60
02795
02799 typedef struct xcb_free_gc_request_t {
02800 uint8_t major_opcode;
02801 uint8_t pad0;
02802 uint16_t length;
02803 xcb_gcontext_t gc;
02804 } xcb_free_gc_request_t;
02805
02807 #define XCB_CLEAR_AREA 61
02808
02812 typedef struct xcb_clear_area_request_t {
02813 uint8_t major_opcode;
02814 uint8_t exposures;
02815 uint16_t length;
02816 xcb_window_t window;
02817 int16_t x;
02818 int16_t y;
02819 uint16_t width;
02820 uint16_t height;
02821 } xcb_clear_area_request_t;
02822
02824 #define XCB_COPY_AREA 62
02825
02829 typedef struct xcb_copy_area_request_t {
02830 uint8_t major_opcode;
02831 uint8_t pad0;
02832 uint16_t length;
02833 xcb_drawable_t src_drawable;
02834 xcb_drawable_t dst_drawable;
02835 xcb_gcontext_t gc;
02836 int16_t src_x;
02837 int16_t src_y;
02838 int16_t dst_x;
02839 int16_t dst_y;
02840 uint16_t width;
02841 uint16_t height;
02842 } xcb_copy_area_request_t;
02843
02845 #define XCB_COPY_PLANE 63
02846
02850 typedef struct xcb_copy_plane_request_t {
02851 uint8_t major_opcode;
02852 uint8_t pad0;
02853 uint16_t length;
02854 xcb_drawable_t src_drawable;
02855 xcb_drawable_t dst_drawable;
02856 xcb_gcontext_t gc;
02857 int16_t src_x;
02858 int16_t src_y;
02859 int16_t dst_x;
02860 int16_t dst_y;
02861 uint16_t width;
02862 uint16_t height;
02863 uint32_t bit_plane;
02864 } xcb_copy_plane_request_t;
02865
02866 typedef enum xcb_coord_mode_t {
02867 XCB_COORD_MODE_ORIGIN = 0,
02868 XCB_COORD_MODE_PREVIOUS = 1
02869 } xcb_coord_mode_t;
02870
02872 #define XCB_POLY_POINT 64
02873
02877 typedef struct xcb_poly_point_request_t {
02878 uint8_t major_opcode;
02879 uint8_t coordinate_mode;
02880 uint16_t length;
02881 xcb_drawable_t drawable;
02882 xcb_gcontext_t gc;
02883 } xcb_poly_point_request_t;
02884
02886 #define XCB_POLY_LINE 65
02887
02891 typedef struct xcb_poly_line_request_t {
02892 uint8_t major_opcode;
02893 uint8_t coordinate_mode;
02894 uint16_t length;
02895 xcb_drawable_t drawable;
02896 xcb_gcontext_t gc;
02897 } xcb_poly_line_request_t;
02898
02902 typedef struct xcb_segment_t {
02903 int16_t x1;
02904 int16_t y1;
02905 int16_t x2;
02906 int16_t y2;
02907 } xcb_segment_t;
02908
02912 typedef struct xcb_segment_iterator_t {
02913 xcb_segment_t *data;
02914 int rem;
02915 int index;
02916 } xcb_segment_iterator_t;
02917
02919 #define XCB_POLY_SEGMENT 66
02920
02924 typedef struct xcb_poly_segment_request_t {
02925 uint8_t major_opcode;
02926 uint8_t pad0;
02927 uint16_t length;
02928 xcb_drawable_t drawable;
02929 xcb_gcontext_t gc;
02930 } xcb_poly_segment_request_t;
02931
02933 #define XCB_POLY_RECTANGLE 67
02934
02938 typedef struct xcb_poly_rectangle_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 } xcb_poly_rectangle_request_t;
02945
02947 #define XCB_POLY_ARC 68
02948
02952 typedef struct xcb_poly_arc_request_t {
02953 uint8_t major_opcode;
02954 uint8_t pad0;
02955 uint16_t length;
02956 xcb_drawable_t drawable;
02957 xcb_gcontext_t gc;
02958 } xcb_poly_arc_request_t;
02959
02960 typedef enum xcb_poly_shape_t {
02961 XCB_POLY_SHAPE_COMPLEX = 0,
02962 XCB_POLY_SHAPE_NONCONVEX = 1,
02963 XCB_POLY_SHAPE_CONVEX = 2
02964 } xcb_poly_shape_t;
02965
02967 #define XCB_FILL_POLY 69
02968
02972 typedef struct xcb_fill_poly_request_t {
02973 uint8_t major_opcode;
02974 uint8_t pad0;
02975 uint16_t length;
02976 xcb_drawable_t drawable;
02977 xcb_gcontext_t gc;
02978 uint8_t shape;
02979 uint8_t coordinate_mode;
02980 uint8_t pad1[2];
02981 } xcb_fill_poly_request_t;
02982
02984 #define XCB_POLY_FILL_RECTANGLE 70
02985
02989 typedef struct xcb_poly_fill_rectangle_request_t {
02990 uint8_t major_opcode;
02991 uint8_t pad0;
02992 uint16_t length;
02993 xcb_drawable_t drawable;
02994 xcb_gcontext_t gc;
02995 } xcb_poly_fill_rectangle_request_t;
02996
02998 #define XCB_POLY_FILL_ARC 71
02999
03003 typedef struct xcb_poly_fill_arc_request_t {
03004 uint8_t major_opcode;
03005 uint8_t pad0;
03006 uint16_t length;
03007 xcb_drawable_t drawable;
03008 xcb_gcontext_t gc;
03009 } xcb_poly_fill_arc_request_t;
03010
03011 typedef enum xcb_image_format_t {
03012 XCB_IMAGE_FORMAT_XY_BITMAP = 0,
03013 XCB_IMAGE_FORMAT_XY_PIXMAP = 1,
03014 XCB_IMAGE_FORMAT_Z_PIXMAP = 2
03015 } xcb_image_format_t;
03016
03018 #define XCB_PUT_IMAGE 72
03019
03023 typedef struct xcb_put_image_request_t {
03024 uint8_t major_opcode;
03025 uint8_t format;
03026 uint16_t length;
03027 xcb_drawable_t drawable;
03028 xcb_gcontext_t gc;
03029 uint16_t width;
03030 uint16_t height;
03031 int16_t dst_x;
03032 int16_t dst_y;
03033 uint8_t left_pad;
03034 uint8_t depth;
03035 uint8_t pad0[2];
03036 } xcb_put_image_request_t;
03037
03041 typedef struct xcb_get_image_cookie_t {
03042 unsigned int sequence;
03043 } xcb_get_image_cookie_t;
03044
03046 #define XCB_GET_IMAGE 73
03047
03051 typedef struct xcb_get_image_request_t {
03052 uint8_t major_opcode;
03053 uint8_t format;
03054 uint16_t length;
03055 xcb_drawable_t drawable;
03056 int16_t x;
03057 int16_t y;
03058 uint16_t width;
03059 uint16_t height;
03060 uint32_t plane_mask;
03061 } xcb_get_image_request_t;
03062
03066 typedef struct xcb_get_image_reply_t {
03067 uint8_t response_type;
03068 uint8_t depth;
03069 uint16_t sequence;
03070 uint32_t length;
03071 xcb_visualid_t visual;
03072 uint8_t pad0[20];
03073 } xcb_get_image_reply_t;
03074
03076 #define XCB_POLY_TEXT_8 74
03077
03081 typedef struct xcb_poly_text_8_request_t {
03082 uint8_t major_opcode;
03083 uint8_t pad0;
03084 uint16_t length;
03085 xcb_drawable_t drawable;
03086 xcb_gcontext_t gc;
03087 int16_t x;
03088 int16_t y;
03089 } xcb_poly_text_8_request_t;
03090
03092 #define XCB_POLY_TEXT_16 75
03093
03097 typedef struct xcb_poly_text_16_request_t {
03098 uint8_t major_opcode;
03099 uint8_t pad0;
03100 uint16_t length;
03101 xcb_drawable_t drawable;
03102 xcb_gcontext_t gc;
03103 int16_t x;
03104 int16_t y;
03105 } xcb_poly_text_16_request_t;
03106
03108 #define XCB_IMAGE_TEXT_8 76
03109
03113 typedef struct xcb_image_text_8_request_t {
03114 uint8_t major_opcode;
03115 uint8_t string_len;
03116 uint16_t length;
03117 xcb_drawable_t drawable;
03118 xcb_gcontext_t gc;
03119 int16_t x;
03120 int16_t y;
03121 } xcb_image_text_8_request_t;
03122
03124 #define XCB_IMAGE_TEXT_16 77
03125
03129 typedef struct xcb_image_text_16_request_t {
03130 uint8_t major_opcode;
03131 uint8_t string_len;
03132 uint16_t length;
03133 xcb_drawable_t drawable;
03134 xcb_gcontext_t gc;
03135 int16_t x;
03136 int16_t y;
03137 } xcb_image_text_16_request_t;
03138
03139 typedef enum xcb_colormap_alloc_t {
03140 XCB_COLORMAP_ALLOC_NONE = 0,
03141 XCB_COLORMAP_ALLOC_ALL = 1
03142 } xcb_colormap_alloc_t;
03143
03145 #define XCB_CREATE_COLORMAP 78
03146
03150 typedef struct xcb_create_colormap_request_t {
03151 uint8_t major_opcode;
03152 uint8_t alloc;
03153 uint16_t length;
03154 xcb_colormap_t mid;
03155 xcb_window_t window;
03156 xcb_visualid_t visual;
03157 } xcb_create_colormap_request_t;
03158
03160 #define XCB_FREE_COLORMAP 79
03161
03165 typedef struct xcb_free_colormap_request_t {
03166 uint8_t major_opcode;
03167 uint8_t pad0;
03168 uint16_t length;
03169 xcb_colormap_t cmap;
03170 } xcb_free_colormap_request_t;
03171
03173 #define XCB_COPY_COLORMAP_AND_FREE 80
03174
03178 typedef struct xcb_copy_colormap_and_free_request_t {
03179 uint8_t major_opcode;
03180 uint8_t pad0;
03181 uint16_t length;
03182 xcb_colormap_t mid;
03183 xcb_colormap_t src_cmap;
03184 } xcb_copy_colormap_and_free_request_t;
03185
03187 #define XCB_INSTALL_COLORMAP 81
03188
03192 typedef struct xcb_install_colormap_request_t {
03193 uint8_t major_opcode;
03194 uint8_t pad0;
03195 uint16_t length;
03196 xcb_colormap_t cmap;
03197 } xcb_install_colormap_request_t;
03198
03200 #define XCB_UNINSTALL_COLORMAP 82
03201
03205 typedef struct xcb_uninstall_colormap_request_t {
03206 uint8_t major_opcode;
03207 uint8_t pad0;
03208 uint16_t length;
03209 xcb_colormap_t cmap;
03210 } xcb_uninstall_colormap_request_t;
03211
03215 typedef struct xcb_list_installed_colormaps_cookie_t {
03216 unsigned int sequence;
03217 } xcb_list_installed_colormaps_cookie_t;
03218
03220 #define XCB_LIST_INSTALLED_COLORMAPS 83
03221
03225 typedef struct xcb_list_installed_colormaps_request_t {
03226 uint8_t major_opcode;
03227 uint8_t pad0;
03228 uint16_t length;
03229 xcb_window_t window;
03230 } xcb_list_installed_colormaps_request_t;
03231
03235 typedef struct xcb_list_installed_colormaps_reply_t {
03236 uint8_t response_type;
03237 uint8_t pad0;
03238 uint16_t sequence;
03239 uint32_t length;
03240 uint16_t cmaps_len;
03241 uint8_t pad1[22];
03242 } xcb_list_installed_colormaps_reply_t;
03243
03247 typedef struct xcb_alloc_color_cookie_t {
03248 unsigned int sequence;
03249 } xcb_alloc_color_cookie_t;
03250
03252 #define XCB_ALLOC_COLOR 84
03253
03257 typedef struct xcb_alloc_color_request_t {
03258 uint8_t major_opcode;
03259 uint8_t pad0;
03260 uint16_t length;
03261 xcb_colormap_t cmap;
03262 uint16_t red;
03263 uint16_t green;
03264 uint16_t blue;
03265 uint8_t pad1[2];
03266 } xcb_alloc_color_request_t;
03267
03271 typedef struct xcb_alloc_color_reply_t {
03272 uint8_t response_type;
03273 uint8_t pad0;
03274 uint16_t sequence;
03275 uint32_t length;
03276 uint16_t red;
03277 uint16_t green;
03278 uint16_t blue;
03279 uint8_t pad1[2];
03280 uint32_t pixel;
03281 } xcb_alloc_color_reply_t;
03282
03286 typedef struct xcb_alloc_named_color_cookie_t {
03287 unsigned int sequence;
03288 } xcb_alloc_named_color_cookie_t;
03289
03291 #define XCB_ALLOC_NAMED_COLOR 85
03292
03296 typedef struct xcb_alloc_named_color_request_t {
03297 uint8_t major_opcode;
03298 uint8_t pad0;
03299 uint16_t length;
03300 xcb_colormap_t cmap;
03301 uint16_t name_len;
03302 uint8_t pad1[2];
03303 } xcb_alloc_named_color_request_t;
03304
03308 typedef struct xcb_alloc_named_color_reply_t {
03309 uint8_t response_type;
03310 uint8_t pad0;
03311 uint16_t sequence;
03312 uint32_t length;
03313 uint32_t pixel;
03314 uint16_t exact_red;
03315 uint16_t exact_green;
03316 uint16_t exact_blue;
03317 uint16_t visual_red;
03318 uint16_t visual_green;
03319 uint16_t visual_blue;
03320 } xcb_alloc_named_color_reply_t;
03321
03325 typedef struct xcb_alloc_color_cells_cookie_t {
03326 unsigned int sequence;
03327 } xcb_alloc_color_cells_cookie_t;
03328
03330 #define XCB_ALLOC_COLOR_CELLS 86
03331
03335 typedef struct xcb_alloc_color_cells_request_t {
03336 uint8_t major_opcode;
03337 uint8_t contiguous;
03338 uint16_t length;
03339 xcb_colormap_t cmap;
03340 uint16_t colors;
03341 uint16_t planes;
03342 } xcb_alloc_color_cells_request_t;
03343
03347 typedef struct xcb_alloc_color_cells_reply_t {
03348 uint8_t response_type;
03349 uint8_t pad0;
03350 uint16_t sequence;
03351 uint32_t length;
03352 uint16_t pixels_len;
03353 uint16_t masks_len;
03354 uint8_t pad1[20];
03355 } xcb_alloc_color_cells_reply_t;
03356
03360 typedef struct xcb_alloc_color_planes_cookie_t {
03361 unsigned int sequence;
03362 } xcb_alloc_color_planes_cookie_t;
03363
03365 #define XCB_ALLOC_COLOR_PLANES 87
03366
03370 typedef struct xcb_alloc_color_planes_request_t {
03371 uint8_t major_opcode;
03372 uint8_t contiguous;
03373 uint16_t length;
03374 xcb_colormap_t cmap;
03375 uint16_t colors;
03376 uint16_t reds;
03377 uint16_t greens;
03378 uint16_t blues;
03379 } xcb_alloc_color_planes_request_t;
03380
03384 typedef struct xcb_alloc_color_planes_reply_t {
03385 uint8_t response_type;
03386 uint8_t pad0;
03387 uint16_t sequence;
03388 uint32_t length;
03389 uint16_t pixels_len;
03390 uint8_t pad1[2];
03391 uint32_t red_mask;
03392 uint32_t green_mask;
03393 uint32_t blue_mask;
03394 uint8_t pad2[8];
03395 } xcb_alloc_color_planes_reply_t;
03396
03398 #define XCB_FREE_COLORS 88
03399
03403 typedef struct xcb_free_colors_request_t {
03404 uint8_t major_opcode;
03405 uint8_t pad0;
03406 uint16_t length;
03407 xcb_colormap_t cmap;
03408 uint32_t plane_mask;
03409 } xcb_free_colors_request_t;
03410
03411 typedef enum xcb_color_flag_t {
03412 XCB_COLOR_FLAG_RED = 1,
03413 XCB_COLOR_FLAG_GREEN = 2,
03414 XCB_COLOR_FLAG_BLUE = 4
03415 } xcb_color_flag_t;
03416
03420 typedef struct xcb_coloritem_t {
03421 uint32_t pixel;
03422 uint16_t red;
03423 uint16_t green;
03424 uint16_t blue;
03425 uint8_t flags;
03426 uint8_t pad0;
03427 } xcb_coloritem_t;
03428
03432 typedef struct xcb_coloritem_iterator_t {
03433 xcb_coloritem_t *data;
03434 int rem;
03435 int index;
03436 } xcb_coloritem_iterator_t;
03437
03439 #define XCB_STORE_COLORS 89
03440
03444 typedef struct xcb_store_colors_request_t {
03445 uint8_t major_opcode;
03446 uint8_t pad0;
03447 uint16_t length;
03448 xcb_colormap_t cmap;
03449 } xcb_store_colors_request_t;
03450
03452 #define XCB_STORE_NAMED_COLOR 90
03453
03457 typedef struct xcb_store_named_color_request_t {
03458 uint8_t major_opcode;
03459 uint8_t flags;
03460 uint16_t length;
03461 xcb_colormap_t cmap;
03462 uint32_t pixel;
03463 uint16_t name_len;
03464 uint8_t pad0[2];
03465 } xcb_store_named_color_request_t;
03466
03470 typedef struct xcb_rgb_t {
03471 uint16_t red;
03472 uint16_t green;
03473 uint16_t blue;
03474 uint8_t pad0[2];
03475 } xcb_rgb_t;
03476
03480 typedef struct xcb_rgb_iterator_t {
03481 xcb_rgb_t *data;
03482 int rem;
03483 int index;
03484 } xcb_rgb_iterator_t;
03485
03489 typedef struct xcb_query_colors_cookie_t {
03490 unsigned int sequence;
03491 } xcb_query_colors_cookie_t;
03492
03494 #define XCB_QUERY_COLORS 91
03495
03499 typedef struct xcb_query_colors_request_t {
03500 uint8_t major_opcode;
03501 uint8_t pad0;
03502 uint16_t length;
03503 xcb_colormap_t cmap;
03504 } xcb_query_colors_request_t;
03505
03509 typedef struct xcb_query_colors_reply_t {
03510 uint8_t response_type;
03511 uint8_t pad0;
03512 uint16_t sequence;
03513 uint32_t length;
03514 uint16_t colors_len;
03515 uint8_t pad1[22];
03516 } xcb_query_colors_reply_t;
03517
03521 typedef struct xcb_lookup_color_cookie_t {
03522 unsigned int sequence;
03523 } xcb_lookup_color_cookie_t;
03524
03526 #define XCB_LOOKUP_COLOR 92
03527
03531 typedef struct xcb_lookup_color_request_t {
03532 uint8_t major_opcode;
03533 uint8_t pad0;
03534 uint16_t length;
03535 xcb_colormap_t cmap;
03536 uint16_t name_len;
03537 uint8_t pad1[2];
03538 } xcb_lookup_color_request_t;
03539
03543 typedef struct xcb_lookup_color_reply_t {
03544 uint8_t response_type;
03545 uint8_t pad0;
03546 uint16_t sequence;
03547 uint32_t length;
03548 uint16_t exact_red;
03549 uint16_t exact_green;
03550 uint16_t exact_blue;
03551 uint16_t visual_red;
03552 uint16_t visual_green;
03553 uint16_t visual_blue;
03554 } xcb_lookup_color_reply_t;
03555
03557 #define XCB_CREATE_CURSOR 93
03558
03562 typedef struct xcb_create_cursor_request_t {
03563 uint8_t major_opcode;
03564 uint8_t pad0;
03565 uint16_t length;
03566 xcb_cursor_t cid;
03567 xcb_pixmap_t source;
03568 xcb_pixmap_t mask;
03569 uint16_t fore_red;
03570 uint16_t fore_green;
03571 uint16_t fore_blue;
03572 uint16_t back_red;
03573 uint16_t back_green;
03574 uint16_t back_blue;
03575 uint16_t x;
03576 uint16_t y;
03577 } xcb_create_cursor_request_t;
03578
03580 #define XCB_CREATE_GLYPH_CURSOR 94
03581
03585 typedef struct xcb_create_glyph_cursor_request_t {
03586 uint8_t major_opcode;
03587 uint8_t pad0;
03588 uint16_t length;
03589 xcb_cursor_t cid;
03590 xcb_font_t source_font;
03591 xcb_font_t mask_font;
03592 uint16_t source_char;
03593 uint16_t mask_char;
03594 uint16_t fore_red;
03595 uint16_t fore_green;
03596 uint16_t fore_blue;
03597 uint16_t back_red;
03598 uint16_t back_green;
03599 uint16_t back_blue;
03600 } xcb_create_glyph_cursor_request_t;
03601
03603 #define XCB_FREE_CURSOR 95
03604
03608 typedef struct xcb_free_cursor_request_t {
03609 uint8_t major_opcode;
03610 uint8_t pad0;
03611 uint16_t length;
03612 xcb_cursor_t cursor;
03613 } xcb_free_cursor_request_t;
03614
03616 #define XCB_RECOLOR_CURSOR 96
03617
03621 typedef struct xcb_recolor_cursor_request_t {
03622 uint8_t major_opcode;
03623 uint8_t pad0;
03624 uint16_t length;
03625 xcb_cursor_t cursor;
03626 uint16_t fore_red;
03627 uint16_t fore_green;
03628 uint16_t fore_blue;
03629 uint16_t back_red;
03630 uint16_t back_green;
03631 uint16_t back_blue;
03632 } xcb_recolor_cursor_request_t;
03633
03634 typedef enum xcb_query_shape_of_t {
03635 XCB_QUERY_SHAPE_OF_LARGEST_CURSOR = 0,
03636 XCB_QUERY_SHAPE_OF_FASTEST_TILE = 1,
03637 XCB_QUERY_SHAPE_OF_FASTEST_STIPPLE = 2
03638 } xcb_query_shape_of_t;
03639
03643 typedef struct xcb_query_best_size_cookie_t {
03644 unsigned int sequence;
03645 } xcb_query_best_size_cookie_t;
03646
03648 #define XCB_QUERY_BEST_SIZE 97
03649
03653 typedef struct xcb_query_best_size_request_t {
03654 uint8_t major_opcode;
03655 uint8_t _class;
03656 uint16_t length;
03657 xcb_drawable_t drawable;
03658 uint16_t width;
03659 uint16_t height;
03660 } xcb_query_best_size_request_t;
03661
03665 typedef struct xcb_query_best_size_reply_t {
03666 uint8_t response_type;
03667 uint8_t pad0;
03668 uint16_t sequence;
03669 uint32_t length;
03670 uint16_t width;
03671 uint16_t height;
03672 } xcb_query_best_size_reply_t;
03673
03677 typedef struct xcb_query_extension_cookie_t {
03678 unsigned int sequence;
03679 } xcb_query_extension_cookie_t;
03680
03682 #define XCB_QUERY_EXTENSION 98
03683
03687 typedef struct xcb_query_extension_request_t {
03688 uint8_t major_opcode;
03689 uint8_t pad0;
03690 uint16_t length;
03691 uint16_t name_len;
03692 uint8_t pad1[2];
03693 } xcb_query_extension_request_t;
03694
03698 typedef struct xcb_query_extension_reply_t {
03699 uint8_t response_type;
03700 uint8_t pad0;
03701 uint16_t sequence;
03702 uint32_t length;
03703 uint8_t present;
03704 uint8_t major_opcode;
03705 uint8_t first_event;
03706 uint8_t first_error;
03707 } xcb_query_extension_reply_t;
03708
03712 typedef struct xcb_list_extensions_cookie_t {
03713 unsigned int sequence;
03714 } xcb_list_extensions_cookie_t;
03715
03717 #define XCB_LIST_EXTENSIONS 99
03718
03722 typedef struct xcb_list_extensions_request_t {
03723 uint8_t major_opcode;
03724 uint8_t pad0;
03725 uint16_t length;
03726 } xcb_list_extensions_request_t;
03727
03731 typedef struct xcb_list_extensions_reply_t {
03732 uint8_t response_type;
03733 uint8_t names_len;
03734 uint16_t sequence;
03735 uint32_t length;
03736 uint8_t pad0[24];
03737 } xcb_list_extensions_reply_t;
03738
03740 #define XCB_CHANGE_KEYBOARD_MAPPING 100
03741
03745 typedef struct xcb_change_keyboard_mapping_request_t {
03746 uint8_t major_opcode;
03747 uint8_t keycode_count;
03748 uint16_t length;
03749 xcb_keycode_t first_keycode;
03750 uint8_t keysyms_per_keycode;
03751 } xcb_change_keyboard_mapping_request_t;
03752
03756 typedef struct xcb_get_keyboard_mapping_cookie_t {
03757 unsigned int sequence;
03758 } xcb_get_keyboard_mapping_cookie_t;
03759
03761 #define XCB_GET_KEYBOARD_MAPPING 101
03762
03766 typedef struct xcb_get_keyboard_mapping_request_t {
03767 uint8_t major_opcode;
03768 uint8_t pad0;
03769 uint16_t length;
03770 xcb_keycode_t first_keycode;
03771 uint8_t count;
03772 } xcb_get_keyboard_mapping_request_t;
03773
03777 typedef struct xcb_get_keyboard_mapping_reply_t {
03778 uint8_t response_type;
03779 uint8_t keysyms_per_keycode;
03780 uint16_t sequence;
03781 uint32_t length;
03782 uint8_t pad0[24];
03783 } xcb_get_keyboard_mapping_reply_t;
03784
03785 typedef enum xcb_kb_t {
03786 XCB_KB_KEY_CLICK_PERCENT = 1,
03787 XCB_KB_BELL_PERCENT = 2,
03788 XCB_KB_BELL_PITCH = 4,
03789 XCB_KB_BELL_DURATION = 8,
03790 XCB_KB_LED = 16,
03791 XCB_KB_LED_MODE = 32,
03792 XCB_KB_KEY = 64,
03793 XCB_KB_AUTO_REPEAT_MODE = 128
03794 } xcb_kb_t;
03795
03796 typedef enum xcb_led_mode_t {
03797 XCB_LED_MODE_OFF = 0,
03798 XCB_LED_MODE_ON = 1
03799 } xcb_led_mode_t;
03800
03801 typedef enum xcb_auto_repeat_mode_t {
03802 XCB_AUTO_REPEAT_MODE_OFF = 0,
03803 XCB_AUTO_REPEAT_MODE_ON = 1,
03804 XCB_AUTO_REPEAT_MODE_DEFAULT = 2
03805 } xcb_auto_repeat_mode_t;
03806
03808 #define XCB_CHANGE_KEYBOARD_CONTROL 102
03809
03813 typedef struct xcb_change_keyboard_control_request_t {
03814 uint8_t major_opcode;
03815 uint8_t pad0;
03816 uint16_t length;
03817 uint32_t value_mask;
03818 } xcb_change_keyboard_control_request_t;
03819
03823 typedef struct xcb_get_keyboard_control_cookie_t {
03824 unsigned int sequence;
03825 } xcb_get_keyboard_control_cookie_t;
03826
03828 #define XCB_GET_KEYBOARD_CONTROL 103
03829
03833 typedef struct xcb_get_keyboard_control_request_t {
03834 uint8_t major_opcode;
03835 uint8_t pad0;
03836 uint16_t length;
03837 } xcb_get_keyboard_control_request_t;
03838
03842 typedef struct xcb_get_keyboard_control_reply_t {
03843 uint8_t response_type;
03844 uint8_t global_auto_repeat;
03845 uint16_t sequence;
03846 uint32_t length;
03847 uint32_t led_mask;
03848 uint8_t key_click_percent;
03849 uint8_t bell_percent;
03850 uint16_t bell_pitch;
03851 uint16_t bell_duration;
03852 uint8_t pad0[2];
03853 uint8_t auto_repeats[32];
03854 } xcb_get_keyboard_control_reply_t;
03855
03857 #define XCB_BELL 104
03858
03862 typedef struct xcb_bell_request_t {
03863 uint8_t major_opcode;
03864 int8_t percent;
03865 uint16_t length;
03866 } xcb_bell_request_t;
03867
03869 #define XCB_CHANGE_POINTER_CONTROL 105
03870
03874 typedef struct xcb_change_pointer_control_request_t {
03875 uint8_t major_opcode;
03876 uint8_t pad0;
03877 uint16_t length;
03878 int16_t acceleration_numerator;
03879 int16_t acceleration_denominator;
03880 int16_t threshold;
03881 uint8_t do_acceleration;
03882 uint8_t do_threshold;
03883 } xcb_change_pointer_control_request_t;
03884
03888 typedef struct xcb_get_pointer_control_cookie_t {
03889 unsigned int sequence;
03890 } xcb_get_pointer_control_cookie_t;
03891
03893 #define XCB_GET_POINTER_CONTROL 106
03894
03898 typedef struct xcb_get_pointer_control_request_t {
03899 uint8_t major_opcode;
03900 uint8_t pad0;
03901 uint16_t length;
03902 } xcb_get_pointer_control_request_t;
03903
03907 typedef struct xcb_get_pointer_control_reply_t {
03908 uint8_t response_type;
03909 uint8_t pad0;
03910 uint16_t sequence;
03911 uint32_t length;
03912 uint16_t acceleration_numerator;
03913 uint16_t acceleration_denominator;
03914 uint16_t threshold;
03915 uint8_t pad1[18];
03916 } xcb_get_pointer_control_reply_t;
03917
03918 typedef enum xcb_blanking_t {
03919 XCB_BLANKING_NOT_PREFERRED = 0,
03920 XCB_BLANKING_PREFERRED = 1,
03921 XCB_BLANKING_DEFAULT = 2
03922 } xcb_blanking_t;
03923
03924 typedef enum xcb_exposures_t {
03925 XCB_EXPOSURES_NOT_ALLOWED = 0,
03926 XCB_EXPOSURES_ALLOWED = 1,
03927 XCB_EXPOSURES_DEFAULT = 2
03928 } xcb_exposures_t;
03929
03931 #define XCB_SET_SCREEN_SAVER 107
03932
03936 typedef struct xcb_set_screen_saver_request_t {
03937 uint8_t major_opcode;
03938 uint8_t pad0;
03939 uint16_t length;
03940 int16_t timeout;
03941 int16_t interval;
03942 uint8_t prefer_blanking;
03943 uint8_t allow_exposures;
03944 } xcb_set_screen_saver_request_t;
03945
03949 typedef struct xcb_get_screen_saver_cookie_t {
03950 unsigned int sequence;
03951 } xcb_get_screen_saver_cookie_t;
03952
03954 #define XCB_GET_SCREEN_SAVER 108
03955
03959 typedef struct xcb_get_screen_saver_request_t {
03960 uint8_t major_opcode;
03961 uint8_t pad0;
03962 uint16_t length;
03963 } xcb_get_screen_saver_request_t;
03964
03968 typedef struct xcb_get_screen_saver_reply_t {
03969 uint8_t response_type;
03970 uint8_t pad0;
03971 uint16_t sequence;
03972 uint32_t length;
03973 uint16_t timeout;
03974 uint16_t interval;
03975 uint8_t prefer_blanking;
03976 uint8_t allow_exposures;
03977 uint8_t pad1[18];
03978 } xcb_get_screen_saver_reply_t;
03979
03980 typedef enum xcb_host_mode_t {
03981 XCB_HOST_MODE_INSERT = 0,
03982 XCB_HOST_MODE_DELETE = 1
03983 } xcb_host_mode_t;
03984
03985 typedef enum xcb_family_t {
03986 XCB_FAMILY_INTERNET = 0,
03987 XCB_FAMILY_DECNET = 1,
03988 XCB_FAMILY_CHAOS = 2,
03989 XCB_FAMILY_SERVER_INTERPRETED = 5,
03990 XCB_FAMILY_INTERNET_6 = 6
03991 } xcb_family_t;
03992
03994 #define XCB_CHANGE_HOSTS 109
03995
03999 typedef struct xcb_change_hosts_request_t {
04000 uint8_t major_opcode;
04001 uint8_t mode;
04002 uint16_t length;
04003 uint8_t family;
04004 uint8_t pad0;
04005 uint16_t address_len;
04006 } xcb_change_hosts_request_t;
04007
04011 typedef struct xcb_host_t {
04012 uint8_t family;
04013 uint8_t pad0;
04014 uint16_t address_len;
04015 } xcb_host_t;
04016
04020 typedef struct xcb_host_iterator_t {
04021 xcb_host_t *data;
04022 int rem;
04023 int index;
04024 } xcb_host_iterator_t;
04025
04029 typedef struct xcb_list_hosts_cookie_t {
04030 unsigned int sequence;
04031 } xcb_list_hosts_cookie_t;
04032
04034 #define XCB_LIST_HOSTS 110
04035
04039 typedef struct xcb_list_hosts_request_t {
04040 uint8_t major_opcode;
04041 uint8_t pad0;
04042 uint16_t length;
04043 } xcb_list_hosts_request_t;
04044
04048 typedef struct xcb_list_hosts_reply_t {
04049 uint8_t response_type;
04050 uint8_t mode;
04051 uint16_t sequence;
04052 uint32_t length;
04053 uint16_t hosts_len;
04054 uint8_t pad0[22];
04055 } xcb_list_hosts_reply_t;
04056
04057 typedef enum xcb_access_control_t {
04058 XCB_ACCESS_CONTROL_DISABLE = 0,
04059 XCB_ACCESS_CONTROL_ENABLE = 1
04060 } xcb_access_control_t;
04061
04063 #define XCB_SET_ACCESS_CONTROL 111
04064
04068 typedef struct xcb_set_access_control_request_t {
04069 uint8_t major_opcode;
04070 uint8_t mode;
04071 uint16_t length;
04072 } xcb_set_access_control_request_t;
04073
04074 typedef enum xcb_close_down_t {
04075 XCB_CLOSE_DOWN_DESTROY_ALL = 0,
04076 XCB_CLOSE_DOWN_RETAIN_PERMANENT = 1,
04077 XCB_CLOSE_DOWN_RETAIN_TEMPORARY = 2
04078 } xcb_close_down_t;
04079
04081 #define XCB_SET_CLOSE_DOWN_MODE 112
04082
04086 typedef struct xcb_set_close_down_mode_request_t {
04087 uint8_t major_opcode;
04088 uint8_t mode;
04089 uint16_t length;
04090 } xcb_set_close_down_mode_request_t;
04091
04092 typedef enum xcb_kill_t {
04093 XCB_KILL_ALL_TEMPORARY = 0
04094 } xcb_kill_t;
04095
04097 #define XCB_KILL_CLIENT 113
04098
04102 typedef struct xcb_kill_client_request_t {
04103 uint8_t major_opcode;
04104 uint8_t pad0;
04105 uint16_t length;
04106 uint32_t resource;
04107 } xcb_kill_client_request_t;
04108
04110 #define XCB_ROTATE_PROPERTIES 114
04111
04115 typedef struct xcb_rotate_properties_request_t {
04116 uint8_t major_opcode;
04117 uint8_t pad0;
04118 uint16_t length;
04119 xcb_window_t window;
04120 uint16_t atoms_len;
04121 int16_t delta;
04122 } xcb_rotate_properties_request_t;
04123
04124 typedef enum xcb_screen_saver_t {
04125 XCB_SCREEN_SAVER_RESET = 0,
04126 XCB_SCREEN_SAVER_ACTIVE = 1
04127 } xcb_screen_saver_t;
04128
04130 #define XCB_FORCE_SCREEN_SAVER 115
04131
04135 typedef struct xcb_force_screen_saver_request_t {
04136 uint8_t major_opcode;
04137 uint8_t mode;
04138 uint16_t length;
04139 } xcb_force_screen_saver_request_t;
04140
04141 typedef enum xcb_mapping_status_t {
04142 XCB_MAPPING_STATUS_SUCCESS = 0,
04143 XCB_MAPPING_STATUS_BUSY = 1,
04144 XCB_MAPPING_STATUS_FAILURE = 2
04145 } xcb_mapping_status_t;
04146
04150 typedef struct xcb_set_pointer_mapping_cookie_t {
04151 unsigned int sequence;
04152 } xcb_set_pointer_mapping_cookie_t;
04153
04155 #define XCB_SET_POINTER_MAPPING 116
04156
04160 typedef struct xcb_set_pointer_mapping_request_t {
04161 uint8_t major_opcode;
04162 uint8_t map_len;
04163 uint16_t length;
04164 } xcb_set_pointer_mapping_request_t;
04165
04169 typedef struct xcb_set_pointer_mapping_reply_t {
04170 uint8_t response_type;
04171 uint8_t status;
04172 uint16_t sequence;
04173 uint32_t length;
04174 } xcb_set_pointer_mapping_reply_t;
04175
04179 typedef struct xcb_get_pointer_mapping_cookie_t {
04180 unsigned int sequence;
04181 } xcb_get_pointer_mapping_cookie_t;
04182
04184 #define XCB_GET_POINTER_MAPPING 117
04185
04189 typedef struct xcb_get_pointer_mapping_request_t {
04190 uint8_t major_opcode;
04191 uint8_t pad0;
04192 uint16_t length;
04193 } xcb_get_pointer_mapping_request_t;
04194
04198 typedef struct xcb_get_pointer_mapping_reply_t {
04199 uint8_t response_type;
04200 uint8_t map_len;
04201 uint16_t sequence;
04202 uint32_t length;
04203 uint8_t pad0[24];
04204 } xcb_get_pointer_mapping_reply_t;
04205
04206 typedef enum xcb_map_index_t {
04207 XCB_MAP_INDEX_SHIFT = 0,
04208 XCB_MAP_INDEX_LOCK = 1,
04209 XCB_MAP_INDEX_CONTROL = 2,
04210 XCB_MAP_INDEX_1 = 3,
04211 XCB_MAP_INDEX_2 = 4,
04212 XCB_MAP_INDEX_3 = 5,
04213 XCB_MAP_INDEX_4 = 6,
04214 XCB_MAP_INDEX_5 = 7
04215 } xcb_map_index_t;
04216
04220 typedef struct xcb_set_modifier_mapping_cookie_t {
04221 unsigned int sequence;
04222 } xcb_set_modifier_mapping_cookie_t;
04223
04225 #define XCB_SET_MODIFIER_MAPPING 118
04226
04230 typedef struct xcb_set_modifier_mapping_request_t {
04231 uint8_t major_opcode;
04232 uint8_t keycodes_per_modifier;
04233 uint16_t length;
04234 } xcb_set_modifier_mapping_request_t;
04235
04239 typedef struct xcb_set_modifier_mapping_reply_t {
04240 uint8_t response_type;
04241 uint8_t status;
04242 uint16_t sequence;
04243 uint32_t length;
04244 } xcb_set_modifier_mapping_reply_t;
04245
04249 typedef struct xcb_get_modifier_mapping_cookie_t {
04250 unsigned int sequence;
04251 } xcb_get_modifier_mapping_cookie_t;
04252
04254 #define XCB_GET_MODIFIER_MAPPING 119
04255
04259 typedef struct xcb_get_modifier_mapping_request_t {
04260 uint8_t major_opcode;
04261 uint8_t pad0;
04262 uint16_t length;
04263 } xcb_get_modifier_mapping_request_t;
04264
04268 typedef struct xcb_get_modifier_mapping_reply_t {
04269 uint8_t response_type;
04270 uint8_t keycodes_per_modifier;
04271 uint16_t sequence;
04272 uint32_t length;
04273 uint8_t pad0[24];
04274 } xcb_get_modifier_mapping_reply_t;
04275
04277 #define XCB_NO_OPERATION 127
04278
04282 typedef struct xcb_no_operation_request_t {
04283 uint8_t major_opcode;
04284 uint8_t pad0;
04285 uint16_t length;
04286 } xcb_no_operation_request_t;
04287
04297
04298
04299
04300
04301
04302
04303
04304
04305
04306 void
04307 xcb_char2b_next (xcb_char2b_iterator_t *i );
04308
04319
04320
04321
04322
04323
04324
04325
04326
04327
04328 xcb_generic_iterator_t
04329 xcb_char2b_end (xcb_char2b_iterator_t i );
04330
04340
04341
04342
04343
04344
04345
04346
04347
04348
04349 void
04350 xcb_window_next (xcb_window_iterator_t *i );
04351
04362
04363
04364
04365
04366
04367
04368
04369
04370
04371 xcb_generic_iterator_t
04372 xcb_window_end (xcb_window_iterator_t i );
04373
04383
04384
04385
04386
04387
04388
04389
04390
04391
04392 void
04393 xcb_pixmap_next (xcb_pixmap_iterator_t *i );
04394
04405
04406
04407
04408
04409
04410
04411
04412
04413
04414 xcb_generic_iterator_t
04415 xcb_pixmap_end (xcb_pixmap_iterator_t i );
04416
04426
04427
04428
04429
04430
04431
04432
04433
04434
04435 void
04436 xcb_cursor_next (xcb_cursor_iterator_t *i );
04437
04448
04449
04450
04451
04452
04453
04454
04455
04456
04457 xcb_generic_iterator_t
04458 xcb_cursor_end (xcb_cursor_iterator_t i );
04459
04469
04470
04471
04472
04473
04474
04475
04476
04477
04478 void
04479 xcb_font_next (xcb_font_iterator_t *i );
04480
04491
04492
04493
04494
04495
04496
04497
04498
04499
04500 xcb_generic_iterator_t
04501 xcb_font_end (xcb_font_iterator_t i );
04502
04512
04513
04514
04515
04516
04517
04518
04519
04520
04521 void
04522 xcb_gcontext_next (xcb_gcontext_iterator_t *i );
04523
04534
04535
04536
04537
04538
04539
04540
04541
04542
04543 xcb_generic_iterator_t
04544 xcb_gcontext_end (xcb_gcontext_iterator_t i );
04545
04555
04556
04557
04558
04559
04560
04561
04562
04563
04564 void
04565 xcb_colormap_next (xcb_colormap_iterator_t *i );
04566
04577
04578
04579
04580
04581
04582
04583
04584
04585
04586 xcb_generic_iterator_t
04587 xcb_colormap_end (xcb_colormap_iterator_t i );
04588
04598
04599
04600
04601
04602
04603
04604
04605
04606
04607 void
04608 xcb_atom_next (xcb_atom_iterator_t *i );
04609
04620
04621
04622
04623
04624
04625
04626
04627
04628
04629 xcb_generic_iterator_t
04630 xcb_atom_end (xcb_atom_iterator_t i );
04631
04641
04642
04643
04644
04645
04646
04647
04648
04649
04650 void
04651 xcb_drawable_next (xcb_drawable_iterator_t *i );
04652
04663
04664
04665
04666
04667
04668
04669
04670
04671
04672 xcb_generic_iterator_t
04673 xcb_drawable_end (xcb_drawable_iterator_t i );
04674
04684
04685
04686
04687
04688
04689
04690
04691
04692
04693 void
04694 xcb_fontable_next (xcb_fontable_iterator_t *i );
04695
04706
04707
04708
04709
04710
04711
04712
04713
04714
04715 xcb_generic_iterator_t
04716 xcb_fontable_end (xcb_fontable_iterator_t i );
04717
04727
04728
04729
04730
04731
04732
04733
04734
04735
04736 void
04737 xcb_visualid_next (xcb_visualid_iterator_t *i );
04738
04749
04750
04751
04752
04753
04754
04755
04756
04757
04758 xcb_generic_iterator_t
04759 xcb_visualid_end (xcb_visualid_iterator_t i );
04760
04770
04771
04772
04773
04774
04775
04776
04777
04778
04779 void
04780 xcb_timestamp_next (xcb_timestamp_iterator_t *i );
04781
04792
04793
04794
04795
04796
04797
04798
04799
04800
04801 xcb_generic_iterator_t
04802 xcb_timestamp_end (xcb_timestamp_iterator_t i );
04803
04813
04814
04815
04816
04817
04818
04819
04820
04821
04822 void
04823 xcb_keysym_next (xcb_keysym_iterator_t *i );
04824
04835
04836
04837
04838
04839
04840
04841
04842
04843
04844 xcb_generic_iterator_t
04845 xcb_keysym_end (xcb_keysym_iterator_t i );
04846
04856
04857
04858
04859
04860
04861
04862
04863
04864
04865 void
04866 xcb_keycode_next (xcb_keycode_iterator_t *i );
04867
04878
04879
04880
04881
04882
04883
04884
04885
04886
04887 xcb_generic_iterator_t
04888 xcb_keycode_end (xcb_keycode_iterator_t i );
04889
04899
04900
04901
04902
04903
04904
04905
04906
04907
04908 void
04909 xcb_button_next (xcb_button_iterator_t *i );
04910
04921
04922
04923
04924
04925
04926
04927
04928
04929
04930 xcb_generic_iterator_t
04931 xcb_button_end (xcb_button_iterator_t i );
04932
04942
04943
04944
04945
04946
04947
04948
04949
04950
04951 void
04952 xcb_point_next (xcb_point_iterator_t *i );
04953
04964
04965
04966
04967
04968
04969
04970
04971
04972
04973 xcb_generic_iterator_t
04974 xcb_point_end (xcb_point_iterator_t i );
04975
04985
04986
04987
04988
04989
04990
04991
04992
04993
04994 void
04995 xcb_rectangle_next (xcb_rectangle_iterator_t *i );
04996
05007
05008
05009
05010
05011
05012
05013
05014
05015
05016 xcb_generic_iterator_t
05017 xcb_rectangle_end (xcb_rectangle_iterator_t i );
05018
05028
05029
05030
05031
05032
05033
05034
05035
05036
05037 void
05038 xcb_arc_next (xcb_arc_iterator_t *i );
05039
05050
05051
05052
05053
05054
05055
05056
05057
05058
05059 xcb_generic_iterator_t
05060 xcb_arc_end (xcb_arc_iterator_t i );
05061
05071
05072
05073
05074
05075
05076
05077
05078
05079
05080 void
05081 xcb_format_next (xcb_format_iterator_t *i );
05082
05093
05094
05095
05096
05097
05098
05099
05100
05101
05102 xcb_generic_iterator_t
05103 xcb_format_end (xcb_format_iterator_t i );
05104
05114
05115
05116
05117
05118
05119
05120
05121
05122
05123 void
05124 xcb_visualtype_next (xcb_visualtype_iterator_t *i );
05125
05136
05137
05138
05139
05140
05141
05142
05143
05144
05145 xcb_generic_iterator_t
05146 xcb_visualtype_end (xcb_visualtype_iterator_t i );
05147
05148
05149
05150
05151
05152
05153
05154
05155
05156
05157
05158 xcb_visualtype_t *
05159 xcb_depth_visuals (const xcb_depth_t *R );
05160
05161
05162
05163
05164
05165
05166
05167
05168
05169
05170
05171 int
05172 xcb_depth_visuals_length (const xcb_depth_t *R );
05173
05174
05175
05176
05177
05178
05179
05180
05181
05182
05183
05184 xcb_visualtype_iterator_t
05185 xcb_depth_visuals_iterator (const xcb_depth_t *R );
05186
05196
05197
05198
05199
05200
05201
05202
05203
05204
05205 void
05206 xcb_depth_next (xcb_depth_iterator_t *i );
05207
05218
05219
05220
05221
05222
05223
05224
05225
05226
05227 xcb_generic_iterator_t
05228 xcb_depth_end (xcb_depth_iterator_t i );
05229
05230
05231
05232
05233
05234
05235
05236
05237
05238
05239
05240 int
05241 xcb_screen_allowed_depths_length (const xcb_screen_t *R );
05242
05243
05244
05245
05246
05247
05248
05249
05250
05251
05252
05253 xcb_depth_iterator_t
05254 xcb_screen_allowed_depths_iterator (const xcb_screen_t *R );
05255
05265
05266
05267
05268
05269
05270
05271
05272
05273
05274 void
05275 xcb_screen_next (xcb_screen_iterator_t *i );
05276
05287
05288
05289
05290
05291
05292
05293
05294
05295
05296 xcb_generic_iterator_t
05297 xcb_screen_end (xcb_screen_iterator_t i );
05298
05299
05300
05301
05302
05303
05304
05305
05306
05307
05308
05309 char *
05310 xcb_setup_request_authorization_protocol_name (const xcb_setup_request_t *R );
05311
05312
05313
05314
05315
05316
05317
05318
05319
05320
05321
05322 int
05323 xcb_setup_request_authorization_protocol_name_length (const xcb_setup_request_t *R );
05324
05325
05326
05327
05328
05329
05330
05331
05332
05333
05334
05335 xcb_generic_iterator_t
05336 xcb_setup_request_authorization_protocol_name_end (const xcb_setup_request_t *R );
05337
05338
05339
05340
05341
05342
05343
05344
05345
05346
05347
05348 char *
05349 xcb_setup_request_authorization_protocol_data (const xcb_setup_request_t *R );
05350
05351
05352
05353
05354
05355
05356
05357
05358
05359
05360
05361 int
05362 xcb_setup_request_authorization_protocol_data_length (const xcb_setup_request_t *R );
05363
05364
05365
05366
05367
05368
05369
05370
05371
05372
05373
05374 xcb_generic_iterator_t
05375 xcb_setup_request_authorization_protocol_data_end (const xcb_setup_request_t *R );
05376
05386
05387
05388
05389
05390
05391
05392
05393
05394
05395 void
05396 xcb_setup_request_next (xcb_setup_request_iterator_t *i );
05397
05408
05409
05410
05411
05412
05413
05414
05415
05416
05417 xcb_generic_iterator_t
05418 xcb_setup_request_end (xcb_setup_request_iterator_t i );
05419
05420
05421
05422
05423
05424
05425
05426
05427
05428
05429
05430 char *
05431 xcb_setup_failed_reason (const xcb_setup_failed_t *R );
05432
05433
05434
05435
05436
05437
05438
05439
05440
05441
05442
05443 int
05444 xcb_setup_failed_reason_length (const xcb_setup_failed_t *R );
05445
05446
05447
05448
05449
05450
05451
05452
05453
05454
05455
05456 xcb_generic_iterator_t
05457 xcb_setup_failed_reason_end (const xcb_setup_failed_t *R );
05458
05468
05469
05470
05471
05472
05473
05474
05475
05476
05477 void
05478 xcb_setup_failed_next (xcb_setup_failed_iterator_t *i );
05479
05490
05491
05492
05493
05494
05495
05496
05497
05498
05499 xcb_generic_iterator_t
05500 xcb_setup_failed_end (xcb_setup_failed_iterator_t i );
05501
05502
05503
05504
05505
05506
05507
05508
05509
05510
05511
05512 char *
05513 xcb_setup_authenticate_reason (const xcb_setup_authenticate_t *R );
05514
05515
05516
05517
05518
05519
05520
05521
05522
05523
05524
05525 int
05526 xcb_setup_authenticate_reason_length (const xcb_setup_authenticate_t *R );
05527
05528
05529
05530
05531
05532
05533
05534
05535
05536
05537
05538 xcb_generic_iterator_t
05539 xcb_setup_authenticate_reason_end (const xcb_setup_authenticate_t *R );
05540
05550
05551
05552
05553
05554
05555
05556
05557
05558
05559 void
05560 xcb_setup_authenticate_next (xcb_setup_authenticate_iterator_t *i );
05561
05572
05573
05574
05575
05576
05577
05578
05579
05580
05581 xcb_generic_iterator_t
05582 xcb_setup_authenticate_end (xcb_setup_authenticate_iterator_t i );
05583
05584
05585
05586
05587
05588
05589
05590
05591
05592
05593
05594 char *
05595 xcb_setup_vendor (const xcb_setup_t *R );
05596
05597
05598
05599
05600
05601
05602
05603
05604
05605
05606
05607 int
05608 xcb_setup_vendor_length (const xcb_setup_t *R );
05609
05610
05611
05612
05613
05614
05615
05616
05617
05618
05619
05620 xcb_generic_iterator_t
05621 xcb_setup_vendor_end (const xcb_setup_t *R );
05622
05623
05624
05625
05626
05627
05628
05629
05630
05631
05632
05633 xcb_format_t *
05634 xcb_setup_pixmap_formats (const xcb_setup_t *R );
05635
05636
05637
05638
05639
05640
05641
05642
05643
05644
05645
05646 int
05647 xcb_setup_pixmap_formats_length (const xcb_setup_t *R );
05648
05649
05650
05651
05652
05653
05654
05655
05656
05657
05658
05659 xcb_format_iterator_t
05660 xcb_setup_pixmap_formats_iterator (const xcb_setup_t *R );
05661
05662
05663
05664
05665
05666
05667
05668
05669
05670
05671
05672 int
05673 xcb_setup_roots_length (const xcb_setup_t *R );
05674
05675
05676
05677
05678
05679
05680
05681
05682
05683
05684
05685 xcb_screen_iterator_t
05686 xcb_setup_roots_iterator (const xcb_setup_t *R );
05687
05697
05698
05699
05700
05701
05702
05703
05704
05705
05706 void
05707 xcb_setup_next (xcb_setup_iterator_t *i );
05708
05719
05720
05721
05722
05723
05724
05725
05726
05727
05728 xcb_generic_iterator_t
05729 xcb_setup_end (xcb_setup_iterator_t i );
05730
05740
05741
05742
05743
05744
05745
05746
05747
05748
05749 void
05750 xcb_client_message_data_next (xcb_client_message_data_iterator_t *i );
05751
05762
05763
05764
05765
05766
05767
05768
05769
05770
05771 xcb_generic_iterator_t
05772 xcb_client_message_data_end (xcb_client_message_data_iterator_t i );
05773
05786
05787
05788
05789
05790
05791
05792
05793
05794
05795
05796
05797
05798
05799
05800
05801
05802
05803
05804
05805
05806
05807 xcb_void_cookie_t
05808 xcb_create_window_checked (xcb_connection_t *c ,
05809 uint8_t depth ,
05810 xcb_window_t wid ,
05811 xcb_window_t parent ,
05812 int16_t x ,
05813 int16_t y ,
05814 uint16_t width ,
05815 uint16_t height ,
05816 uint16_t border_width ,
05817 uint16_t _class ,
05818 xcb_visualid_t visual ,
05819 uint32_t value_mask ,
05820 const uint32_t *value_list );
05821
05831
05832
05833
05834
05835
05836
05837
05838
05839
05840
05841
05842
05843
05844
05845
05846
05847
05848
05849
05850
05851
05852 xcb_void_cookie_t
05853 xcb_create_window (xcb_connection_t *c ,
05854 uint8_t depth ,
05855 xcb_window_t wid ,
05856 xcb_window_t parent ,
05857 int16_t x ,
05858 int16_t y ,
05859 uint16_t width ,
05860 uint16_t height ,
05861 uint16_t border_width ,
05862 uint16_t _class ,
05863 xcb_visualid_t visual ,
05864 uint32_t value_mask ,
05865 const uint32_t *value_list );
05866
05879
05880
05881
05882
05883
05884
05885
05886
05887
05888
05889
05890
05891 xcb_void_cookie_t
05892 xcb_change_window_attributes_checked (xcb_connection_t *c ,
05893 xcb_window_t window ,
05894 uint32_t value_mask ,
05895 const uint32_t *value_list );
05896
05906
05907
05908
05909
05910
05911
05912
05913
05914
05915
05916
05917
05918 xcb_void_cookie_t
05919 xcb_change_window_attributes (xcb_connection_t *c ,
05920 xcb_window_t window ,
05921 uint32_t value_mask ,
05922 const uint32_t *value_list );
05923
05933
05934
05935
05936
05937
05938
05939
05940
05941
05942
05943 xcb_get_window_attributes_cookie_t
05944 xcb_get_window_attributes (xcb_connection_t *c ,
05945 xcb_window_t window );
05946
05959
05960
05961
05962
05963
05964
05965
05966
05967
05968
05969 xcb_get_window_attributes_cookie_t
05970 xcb_get_window_attributes_unchecked (xcb_connection_t *c ,
05971 xcb_window_t window );
05972
05988
05989
05990
05991
05992
05993
05994
05995
05996
05997
05998
05999 xcb_get_window_attributes_reply_t *
06000 xcb_get_window_attributes_reply (xcb_connection_t *c ,
06001 xcb_get_window_attributes_cookie_t cookie ,
06002 xcb_generic_error_t **e );
06003
06016
06017
06018
06019
06020
06021
06022
06023
06024
06025
06026 xcb_void_cookie_t
06027 xcb_destroy_window_checked (xcb_connection_t *c ,
06028 xcb_window_t window );
06029
06039
06040
06041
06042
06043
06044
06045
06046
06047
06048
06049 xcb_void_cookie_t
06050 xcb_destroy_window (xcb_connection_t *c ,
06051 xcb_window_t window );
06052
06065
06066
06067
06068
06069
06070
06071
06072
06073
06074
06075 xcb_void_cookie_t
06076 xcb_destroy_subwindows_checked (xcb_connection_t *c ,
06077 xcb_window_t window );
06078
06088
06089
06090
06091
06092
06093
06094
06095
06096
06097
06098 xcb_void_cookie_t
06099 xcb_destroy_subwindows (xcb_connection_t *c ,
06100 xcb_window_t window );
06101
06114
06115
06116
06117
06118
06119
06120
06121
06122
06123
06124
06125 xcb_void_cookie_t
06126 xcb_change_save_set_checked (xcb_connection_t *c ,
06127 uint8_t mode ,
06128 xcb_window_t window );
06129
06139
06140
06141
06142
06143
06144
06145
06146
06147
06148
06149
06150 xcb_void_cookie_t
06151 xcb_change_save_set (xcb_connection_t *c ,
06152 uint8_t mode ,
06153 xcb_window_t window );
06154
06167
06168
06169
06170
06171
06172
06173
06174
06175
06176
06177
06178
06179
06180 xcb_void_cookie_t
06181 xcb_reparent_window_checked (xcb_connection_t *c ,
06182 xcb_window_t window ,
06183 xcb_window_t parent ,
06184 int16_t x ,
06185 int16_t y );
06186
06196
06197
06198
06199
06200
06201
06202
06203
06204
06205
06206
06207
06208
06209 xcb_void_cookie_t
06210 xcb_reparent_window (xcb_connection_t *c ,
06211 xcb_window_t window ,
06212 xcb_window_t parent ,
06213 int16_t x ,
06214 int16_t y );
06215
06228
06229
06230
06231
06232
06233
06234
06235
06236
06237
06238 xcb_void_cookie_t
06239 xcb_map_window_checked (xcb_connection_t *c ,
06240 xcb_window_t window );
06241
06251
06252
06253
06254
06255
06256
06257
06258
06259
06260
06261 xcb_void_cookie_t
06262 xcb_map_window (xcb_connection_t *c ,
06263 xcb_window_t window );
06264
06277
06278
06279
06280
06281
06282
06283
06284
06285
06286
06287 xcb_void_cookie_t
06288 xcb_map_subwindows_checked (xcb_connection_t *c ,
06289 xcb_window_t window );
06290
06300
06301
06302
06303
06304
06305
06306
06307
06308
06309
06310 xcb_void_cookie_t
06311 xcb_map_subwindows (xcb_connection_t *c ,
06312 xcb_window_t window );
06313
06326
06327
06328
06329
06330
06331
06332
06333
06334
06335
06336 xcb_void_cookie_t
06337 xcb_unmap_window_checked (xcb_connection_t *c ,
06338 xcb_window_t window );
06339
06349
06350
06351
06352
06353
06354
06355
06356
06357
06358
06359 xcb_void_cookie_t
06360 xcb_unmap_window (xcb_connection_t *c ,
06361 xcb_window_t window );
06362
06375
06376
06377
06378
06379
06380
06381
06382
06383
06384
06385 xcb_void_cookie_t
06386 xcb_unmap_subwindows_checked (xcb_connection_t *c ,
06387 xcb_window_t window );
06388
06398
06399
06400
06401
06402
06403
06404
06405
06406
06407
06408 xcb_void_cookie_t
06409 xcb_unmap_subwindows (xcb_connection_t *c ,
06410 xcb_window_t window );
06411
06424
06425
06426
06427
06428
06429
06430
06431
06432
06433
06434
06435
06436 xcb_void_cookie_t
06437 xcb_configure_window_checked (xcb_connection_t *c ,
06438 xcb_window_t window ,
06439 uint16_t value_mask ,
06440 const uint32_t *value_list );
06441
06451
06452
06453
06454
06455
06456
06457
06458
06459
06460
06461
06462
06463 xcb_void_cookie_t
06464 xcb_configure_window (xcb_connection_t *c ,
06465 xcb_window_t window ,
06466 uint16_t value_mask ,
06467 const uint32_t *value_list );
06468
06481
06482
06483
06484
06485
06486
06487
06488
06489
06490
06491
06492 xcb_void_cookie_t
06493 xcb_circulate_window_checked (xcb_connection_t *c ,
06494 uint8_t direction ,
06495 xcb_window_t window );
06496
06506
06507
06508
06509
06510
06511
06512
06513
06514
06515
06516
06517 xcb_void_cookie_t
06518 xcb_circulate_window (xcb_connection_t *c ,
06519 uint8_t direction ,
06520 xcb_window_t window );
06521
06531
06532
06533
06534
06535
06536
06537
06538
06539
06540
06541 xcb_get_geometry_cookie_t
06542 xcb_get_geometry (xcb_connection_t *c ,
06543 xcb_drawable_t drawable );
06544
06557
06558
06559
06560
06561
06562
06563
06564
06565
06566
06567 xcb_get_geometry_cookie_t
06568 xcb_get_geometry_unchecked (xcb_connection_t *c ,
06569 xcb_drawable_t drawable );
06570
06586
06587
06588
06589
06590
06591
06592
06593
06594
06595
06596
06597 xcb_get_geometry_reply_t *
06598 xcb_get_geometry_reply (xcb_connection_t *c ,
06599 xcb_get_geometry_cookie_t cookie ,
06600 xcb_generic_error_t **e );
06601
06611
06612
06613
06614
06615
06616
06617
06618
06619
06620
06621 xcb_query_tree_cookie_t
06622 xcb_query_tree (xcb_connection_t *c ,
06623 xcb_window_t window );
06624
06637
06638
06639
06640
06641
06642
06643
06644
06645
06646
06647 xcb_query_tree_cookie_t
06648 xcb_query_tree_unchecked (xcb_connection_t *c ,
06649 xcb_window_t window );
06650
06651
06652
06653
06654
06655
06656
06657
06658
06659
06660
06661 xcb_window_t *
06662 xcb_query_tree_children (const xcb_query_tree_reply_t *R );
06663
06664
06665
06666
06667
06668
06669
06670
06671
06672
06673
06674 int
06675 xcb_query_tree_children_length (const xcb_query_tree_reply_t *R );
06676
06677
06678
06679
06680
06681
06682
06683
06684
06685
06686
06687 xcb_generic_iterator_t
06688 xcb_query_tree_children_end (const xcb_query_tree_reply_t *R );
06689
06705
06706
06707
06708
06709
06710
06711
06712
06713
06714
06715
06716 xcb_query_tree_reply_t *
06717 xcb_query_tree_reply (xcb_connection_t *c ,
06718 xcb_query_tree_cookie_t cookie ,
06719 xcb_generic_error_t **e );
06720
06730
06731
06732
06733
06734
06735
06736
06737
06738
06739
06740
06741
06742 xcb_intern_atom_cookie_t
06743 xcb_intern_atom (xcb_connection_t *c ,
06744 uint8_t only_if_exists ,
06745 uint16_t name_len ,
06746 const char *name );
06747
06760
06761
06762
06763
06764
06765
06766
06767
06768
06769
06770
06771
06772 xcb_intern_atom_cookie_t
06773 xcb_intern_atom_unchecked (xcb_connection_t *c ,
06774 uint8_t only_if_exists ,
06775 uint16_t name_len ,
06776 const char *name );
06777
06793
06794
06795
06796
06797
06798
06799
06800
06801
06802
06803
06804 xcb_intern_atom_reply_t *
06805 xcb_intern_atom_reply (xcb_connection_t *c ,
06806 xcb_intern_atom_cookie_t cookie ,
06807 xcb_generic_error_t **e );
06808
06818
06819
06820
06821
06822
06823
06824
06825
06826
06827
06828 xcb_get_atom_name_cookie_t
06829 xcb_get_atom_name (xcb_connection_t *c ,
06830 xcb_atom_t atom );
06831
06844
06845
06846
06847
06848
06849
06850
06851
06852
06853
06854 xcb_get_atom_name_cookie_t
06855 xcb_get_atom_name_unchecked (xcb_connection_t *c ,
06856 xcb_atom_t atom );
06857
06858
06859
06860
06861
06862
06863
06864
06865
06866
06867
06868 char *
06869 xcb_get_atom_name_name (const xcb_get_atom_name_reply_t *R );
06870
06871
06872
06873
06874
06875
06876
06877
06878
06879
06880
06881 int
06882 xcb_get_atom_name_name_length (const xcb_get_atom_name_reply_t *R );
06883
06884
06885
06886
06887
06888
06889
06890
06891
06892
06893
06894 xcb_generic_iterator_t
06895 xcb_get_atom_name_name_end (const xcb_get_atom_name_reply_t *R );
06896
06912
06913
06914
06915
06916
06917
06918
06919
06920
06921
06922
06923 xcb_get_atom_name_reply_t *
06924 xcb_get_atom_name_reply (xcb_connection_t *c ,
06925 xcb_get_atom_name_cookie_t cookie ,
06926 xcb_generic_error_t **e );
06927
06940
06941
06942
06943
06944
06945
06946
06947
06948
06949
06950
06951
06952
06953
06954
06955
06956 xcb_void_cookie_t
06957 xcb_change_property_checked (xcb_connection_t *c ,
06958 uint8_t mode ,
06959 xcb_window_t window ,
06960 xcb_atom_t property ,
06961 xcb_atom_t type ,
06962 uint8_t format ,
06963 uint32_t data_len ,
06964 const void *data );
06965
06975
06976
06977
06978
06979
06980
06981
06982
06983
06984
06985
06986
06987
06988
06989
06990
06991 xcb_void_cookie_t
06992 xcb_change_property (xcb_connection_t *c ,
06993 uint8_t mode ,
06994 xcb_window_t window ,
06995 xcb_atom_t property ,
06996 xcb_atom_t type ,
06997 uint8_t format ,
06998 uint32_t data_len ,
06999 const void *data );
07000
07013
07014
07015
07016
07017
07018
07019
07020
07021
07022
07023
07024 xcb_void_cookie_t
07025 xcb_delete_property_checked (xcb_connection_t *c ,
07026 xcb_window_t window ,
07027 xcb_atom_t property );
07028
07038
07039
07040
07041
07042
07043
07044
07045
07046
07047
07048
07049 xcb_void_cookie_t
07050 xcb_delete_property (xcb_connection_t *c ,
07051 xcb_window_t window ,
07052 xcb_atom_t property );
07053
07063
07064
07065
07066
07067
07068
07069
07070
07071
07072
07073
07074
07075
07076
07077
07078 xcb_get_property_cookie_t
07079 xcb_get_property (xcb_connection_t *c ,
07080 uint8_t _delete ,
07081 xcb_window_t window ,
07082 xcb_atom_t property ,
07083 xcb_atom_t type ,
07084 uint32_t long_offset ,
07085 uint32_t long_length );
07086
07099
07100
07101
07102
07103
07104
07105
07106
07107
07108
07109
07110
07111
07112
07113
07114 xcb_get_property_cookie_t
07115 xcb_get_property_unchecked (xcb_connection_t *c ,
07116 uint8_t _delete ,
07117 xcb_window_t window ,
07118 xcb_atom_t property ,
07119 xcb_atom_t type ,
07120 uint32_t long_offset ,
07121 uint32_t long_length );
07122
07123
07124
07125
07126
07127
07128
07129
07130
07131
07132
07133 void *
07134 xcb_get_property_value (const xcb_get_property_reply_t *R );
07135
07136
07137
07138
07139
07140
07141
07142
07143
07144
07145
07146 int
07147 xcb_get_property_value_length (const xcb_get_property_reply_t *R );
07148
07149
07150
07151
07152
07153
07154
07155
07156
07157
07158
07159 xcb_generic_iterator_t
07160 xcb_get_property_value_end (const xcb_get_property_reply_t *R );
07161
07177
07178
07179
07180
07181
07182
07183
07184
07185
07186
07187
07188 xcb_get_property_reply_t *
07189 xcb_get_property_reply (xcb_connection_t *c ,
07190 xcb_get_property_cookie_t cookie ,
07191 xcb_generic_error_t **e );
07192
07202
07203
07204
07205
07206
07207
07208
07209
07210
07211
07212 xcb_list_properties_cookie_t
07213 xcb_list_properties (xcb_connection_t *c ,
07214 xcb_window_t window );
07215
07228
07229
07230
07231
07232
07233
07234
07235
07236
07237
07238 xcb_list_properties_cookie_t
07239 xcb_list_properties_unchecked (xcb_connection_t *c ,
07240 xcb_window_t window );
07241
07242
07243
07244
07245
07246
07247
07248
07249
07250
07251
07252 xcb_atom_t *
07253 xcb_list_properties_atoms (const xcb_list_properties_reply_t *R );
07254
07255
07256
07257
07258
07259
07260
07261
07262
07263
07264
07265 int
07266 xcb_list_properties_atoms_length (const xcb_list_properties_reply_t *R );
07267
07268
07269
07270
07271
07272
07273
07274
07275
07276
07277
07278 xcb_generic_iterator_t
07279 xcb_list_properties_atoms_end (const xcb_list_properties_reply_t *R );
07280
07296
07297
07298
07299
07300
07301
07302
07303
07304
07305
07306
07307 xcb_list_properties_reply_t *
07308 xcb_list_properties_reply (xcb_connection_t *c ,
07309 xcb_list_properties_cookie_t cookie ,
07310 xcb_generic_error_t **e );
07311
07324
07325
07326
07327
07328
07329
07330
07331
07332
07333
07334
07335
07336 xcb_void_cookie_t
07337 xcb_set_selection_owner_checked (xcb_connection_t *c ,
07338 xcb_window_t owner ,
07339 xcb_atom_t selection ,
07340 xcb_timestamp_t time );
07341
07351
07352
07353
07354
07355
07356
07357
07358
07359
07360
07361
07362
07363 xcb_void_cookie_t
07364 xcb_set_selection_owner (xcb_connection_t *c ,
07365 xcb_window_t owner ,
07366 xcb_atom_t selection ,
07367 xcb_timestamp_t time );
07368
07378
07379
07380
07381
07382
07383
07384
07385
07386
07387
07388 xcb_get_selection_owner_cookie_t
07389 xcb_get_selection_owner (xcb_connection_t *c ,
07390 xcb_atom_t selection );
07391
07404
07405
07406
07407
07408
07409
07410
07411
07412
07413
07414 xcb_get_selection_owner_cookie_t
07415 xcb_get_selection_owner_unchecked (xcb_connection_t *c ,
07416 xcb_atom_t selection );
07417
07433
07434
07435
07436
07437
07438
07439
07440
07441
07442
07443
07444 xcb_get_selection_owner_reply_t *
07445 xcb_get_selection_owner_reply (xcb_connection_t *c ,
07446 xcb_get_selection_owner_cookie_t cookie ,
07447 xcb_generic_error_t **e );
07448
07461
07462
07463
07464
07465
07466
07467
07468
07469
07470
07471
07472
07473
07474
07475 xcb_void_cookie_t
07476 xcb_convert_selection_checked (xcb_connection_t *c ,
07477 xcb_window_t requestor ,
07478 xcb_atom_t selection ,
07479 xcb_atom_t target ,
07480 xcb_atom_t property ,
07481 xcb_timestamp_t time );
07482
07492
07493
07494
07495
07496
07497
07498
07499
07500
07501
07502
07503
07504
07505
07506 xcb_void_cookie_t
07507 xcb_convert_selection (xcb_connection_t *c ,
07508 xcb_window_t requestor ,
07509 xcb_atom_t selection ,
07510 xcb_atom_t target ,
07511 xcb_atom_t property ,
07512 xcb_timestamp_t time );
07513
07526
07527
07528
07529
07530
07531
07532
07533
07534
07535
07536
07537
07538
07539 xcb_void_cookie_t
07540 xcb_send_event_checked (xcb_connection_t *c ,
07541 uint8_t propagate ,
07542 xcb_window_t destination ,
07543 uint32_t event_mask ,
07544 const char *event );
07545
07555
07556
07557
07558
07559
07560
07561
07562
07563
07564
07565
07566
07567
07568 xcb_void_cookie_t
07569 xcb_send_event (xcb_connection_t *c ,
07570 uint8_t propagate ,
07571 xcb_window_t destination ,
07572 uint32_t event_mask ,
07573 const char *event );
07574
07584
07585
07586
07587
07588
07589
07590
07591
07592
07593
07594
07595
07596
07597
07598
07599
07600
07601 xcb_grab_pointer_cookie_t
07602 xcb_grab_pointer (xcb_connection_t *c ,
07603 uint8_t owner_events ,
07604 xcb_window_t grab_window ,
07605 uint16_t event_mask ,
07606 uint8_t pointer_mode ,
07607 uint8_t keyboard_mode ,
07608 xcb_window_t confine_to ,
07609 xcb_cursor_t cursor ,
07610 xcb_timestamp_t time );
07611
07624
07625
07626
07627
07628
07629
07630
07631
07632
07633
07634
07635
07636
07637
07638
07639
07640
07641 xcb_grab_pointer_cookie_t
07642 xcb_grab_pointer_unchecked (xcb_connection_t *c ,
07643 uint8_t owner_events ,
07644 xcb_window_t grab_window ,
07645 uint16_t event_mask ,
07646 uint8_t pointer_mode ,
07647 uint8_t keyboard_mode ,
07648 xcb_window_t confine_to ,
07649 xcb_cursor_t cursor ,
07650 xcb_timestamp_t time );
07651
07667
07668
07669
07670
07671
07672
07673
07674
07675
07676
07677
07678 xcb_grab_pointer_reply_t *
07679 xcb_grab_pointer_reply (xcb_connection_t *c ,
07680 xcb_grab_pointer_cookie_t cookie ,
07681 xcb_generic_error_t **e );
07682
07695
07696
07697
07698
07699
07700
07701
07702
07703
07704
07705 xcb_void_cookie_t
07706 xcb_ungrab_pointer_checked (xcb_connection_t *c ,
07707 xcb_timestamp_t time );
07708
07718
07719
07720
07721
07722
07723
07724
07725
07726
07727
07728 xcb_void_cookie_t
07729 xcb_ungrab_pointer (xcb_connection_t *c ,
07730 xcb_timestamp_t time );
07731
07744
07745
07746
07747
07748
07749
07750
07751
07752
07753
07754
07755
07756
07757
07758
07759
07760
07761
07762 xcb_void_cookie_t
07763 xcb_grab_button_checked (xcb_connection_t *c ,
07764 uint8_t owner_events ,
07765 xcb_window_t grab_window ,
07766 uint16_t event_mask ,
07767 uint8_t pointer_mode ,
07768 uint8_t keyboard_mode ,
07769 xcb_window_t confine_to ,
07770 xcb_cursor_t cursor ,
07771 uint8_t button ,
07772 uint16_t modifiers );
07773
07783
07784
07785
07786
07787
07788
07789
07790
07791
07792
07793
07794
07795
07796
07797
07798
07799
07800
07801 xcb_void_cookie_t
07802 xcb_grab_button (xcb_connection_t *c ,
07803 uint8_t owner_events ,
07804 xcb_window_t grab_window ,
07805 uint16_t event_mask ,
07806 uint8_t pointer_mode ,
07807 uint8_t keyboard_mode ,
07808 xcb_window_t confine_to ,
07809 xcb_cursor_t cursor ,
07810 uint8_t button ,
07811 uint16_t modifiers );
07812
07825
07826
07827
07828
07829
07830
07831
07832
07833
07834
07835
07836
07837 xcb_void_cookie_t
07838 xcb_ungrab_button_checked (xcb_connection_t *c ,
07839 uint8_t button ,
07840 xcb_window_t grab_window ,
07841 uint16_t modifiers );
07842
07852
07853
07854
07855
07856
07857
07858
07859
07860
07861
07862
07863
07864 xcb_void_cookie_t
07865 xcb_ungrab_button (xcb_connection_t *c ,
07866 uint8_t button ,
07867 xcb_window_t grab_window ,
07868 uint16_t modifiers );
07869
07882
07883
07884
07885
07886
07887
07888
07889
07890
07891
07892
07893
07894 xcb_void_cookie_t
07895 xcb_change_active_pointer_grab_checked (xcb_connection_t *c ,
07896 xcb_cursor_t cursor ,
07897 xcb_timestamp_t time ,
07898 uint16_t event_mask );
07899
07909
07910
07911
07912
07913
07914
07915
07916
07917
07918
07919
07920
07921 xcb_void_cookie_t
07922 xcb_change_active_pointer_grab (xcb_connection_t *c ,
07923 xcb_cursor_t cursor ,
07924 xcb_timestamp_t time ,
07925 uint16_t event_mask );
07926
07936
07937
07938
07939
07940
07941
07942
07943
07944
07945
07946
07947
07948
07949
07950 xcb_grab_keyboard_cookie_t
07951 xcb_grab_keyboard (xcb_connection_t *c ,
07952 uint8_t owner_events ,
07953 xcb_window_t grab_window ,
07954 xcb_timestamp_t time ,
07955 uint8_t pointer_mode ,
07956 uint8_t keyboard_mode );
07957
07970
07971
07972
07973
07974
07975
07976
07977
07978
07979
07980
07981
07982
07983
07984 xcb_grab_keyboard_cookie_t
07985 xcb_grab_keyboard_unchecked (xcb_connection_t *c ,
07986 uint8_t owner_events ,
07987 xcb_window_t grab_window ,
07988 xcb_timestamp_t time ,
07989 uint8_t pointer_mode ,
07990 uint8_t keyboard_mode );
07991
08007
08008
08009
08010
08011
08012
08013
08014
08015
08016
08017
08018 xcb_grab_keyboard_reply_t *
08019 xcb_grab_keyboard_reply (xcb_connection_t *c ,
08020 xcb_grab_keyboard_cookie_t cookie ,
08021 xcb_generic_error_t **e );
08022
08035
08036
08037
08038
08039
08040
08041
08042
08043
08044
08045 xcb_void_cookie_t
08046 xcb_ungrab_keyboard_checked (xcb_connection_t *c ,
08047 xcb_timestamp_t time );
08048
08058
08059
08060
08061
08062
08063
08064
08065
08066
08067
08068 xcb_void_cookie_t
08069 xcb_ungrab_keyboard (xcb_connection_t *c ,
08070 xcb_timestamp_t time );
08071
08084
08085
08086
08087
08088
08089
08090
08091
08092
08093
08094
08095
08096
08097
08098
08099 xcb_void_cookie_t
08100 xcb_grab_key_checked (xcb_connection_t *c ,
08101 uint8_t owner_events ,
08102 xcb_window_t grab_window ,
08103 uint16_t modifiers ,
08104 xcb_keycode_t key ,
08105 uint8_t pointer_mode ,
08106 uint8_t keyboard_mode );
08107
08117
08118
08119
08120
08121
08122
08123
08124
08125
08126
08127
08128
08129
08130
08131
08132 xcb_void_cookie_t
08133 xcb_grab_key (xcb_connection_t *c ,
08134 uint8_t owner_events ,
08135 xcb_window_t grab_window ,
08136 uint16_t modifiers ,
08137 xcb_keycode_t key ,
08138 uint8_t pointer_mode ,
08139 uint8_t keyboard_mode );
08140
08153
08154
08155
08156
08157
08158
08159
08160
08161
08162
08163
08164
08165 xcb_void_cookie_t
08166 xcb_ungrab_key_checked (xcb_connection_t *c ,
08167 xcb_keycode_t key ,
08168 xcb_window_t grab_window ,
08169 uint16_t modifiers );
08170
08180
08181
08182
08183
08184
08185
08186
08187
08188
08189
08190
08191
08192 xcb_void_cookie_t
08193 xcb_ungrab_key (xcb_connection_t *c ,
08194 xcb_keycode_t key ,
08195 xcb_window_t grab_window ,
08196 uint16_t modifiers );
08197
08210
08211
08212
08213
08214
08215
08216
08217
08218
08219
08220
08221 xcb_void_cookie_t
08222 xcb_allow_events_checked (xcb_connection_t *c ,
08223 uint8_t mode ,
08224 xcb_timestamp_t time );
08225
08235
08236
08237
08238
08239
08240
08241
08242
08243
08244
08245
08246 xcb_void_cookie_t
08247 xcb_allow_events (xcb_connection_t *c ,
08248 uint8_t mode ,
08249 xcb_timestamp_t time );
08250
08263
08264
08265
08266
08267
08268
08269
08270
08271
08272 xcb_void_cookie_t
08273 xcb_grab_server_checked (xcb_connection_t *c );
08274
08284
08285
08286
08287
08288
08289
08290
08291
08292
08293 xcb_void_cookie_t
08294 xcb_grab_server (xcb_connection_t *c );
08295
08308
08309
08310
08311
08312
08313
08314
08315
08316
08317 xcb_void_cookie_t
08318 xcb_ungrab_server_checked (xcb_connection_t *c );
08319
08329
08330
08331
08332
08333
08334
08335
08336
08337
08338 xcb_void_cookie_t
08339 xcb_ungrab_server (xcb_connection_t *c );
08340
08350
08351
08352
08353
08354
08355
08356
08357
08358
08359
08360 xcb_query_pointer_cookie_t
08361 xcb_query_pointer (xcb_connection_t *c ,
08362 xcb_window_t window );
08363
08376
08377
08378
08379
08380
08381
08382
08383
08384
08385
08386 xcb_query_pointer_cookie_t
08387 xcb_query_pointer_unchecked (xcb_connection_t *c ,
08388 xcb_window_t window );
08389
08405
08406
08407
08408
08409
08410
08411
08412
08413
08414
08415
08416 xcb_query_pointer_reply_t *
08417 xcb_query_pointer_reply (xcb_connection_t *c ,
08418 xcb_query_pointer_cookie_t cookie ,
08419 xcb_generic_error_t **e );
08420
08430
08431
08432
08433
08434
08435
08436
08437
08438
08439 void
08440 xcb_timecoord_next (xcb_timecoord_iterator_t *i );
08441
08452
08453
08454
08455
08456
08457
08458
08459
08460
08461 xcb_generic_iterator_t
08462 xcb_timecoord_end (xcb_timecoord_iterator_t i );
08463
08473
08474
08475
08476
08477
08478
08479
08480
08481
08482
08483
08484
08485 xcb_get_motion_events_cookie_t
08486 xcb_get_motion_events (xcb_connection_t *c ,
08487 xcb_window_t window ,
08488 xcb_timestamp_t start ,
08489 xcb_timestamp_t stop );
08490
08503
08504
08505
08506
08507
08508
08509
08510
08511
08512
08513
08514
08515 xcb_get_motion_events_cookie_t
08516 xcb_get_motion_events_unchecked (xcb_connection_t *c ,
08517 xcb_window_t window ,
08518 xcb_timestamp_t start ,
08519 xcb_timestamp_t stop );
08520
08521
08522
08523
08524
08525
08526
08527
08528
08529
08530
08531 xcb_timecoord_t *
08532 xcb_get_motion_events_events (const xcb_get_motion_events_reply_t *R );
08533
08534
08535
08536
08537
08538
08539
08540
08541
08542
08543
08544 int
08545 xcb_get_motion_events_events_length (const xcb_get_motion_events_reply_t *R );
08546
08547
08548
08549
08550
08551
08552
08553
08554
08555
08556
08557 xcb_timecoord_iterator_t
08558 xcb_get_motion_events_events_iterator (const xcb_get_motion_events_reply_t *R );
08559
08575
08576
08577
08578
08579
08580
08581
08582
08583
08584
08585
08586 xcb_get_motion_events_reply_t *
08587 xcb_get_motion_events_reply (xcb_connection_t *c ,
08588 xcb_get_motion_events_cookie_t cookie ,
08589 xcb_generic_error_t **e );
08590
08600
08601
08602
08603
08604
08605
08606
08607
08608
08609
08610
08611
08612
08613 xcb_translate_coordinates_cookie_t
08614 xcb_translate_coordinates (xcb_connection_t *c ,
08615 xcb_window_t src_window ,
08616 xcb_window_t dst_window ,
08617 int16_t src_x ,
08618 int16_t src_y );
08619
08632
08633
08634
08635
08636
08637
08638
08639
08640
08641
08642
08643
08644
08645 xcb_translate_coordinates_cookie_t
08646 xcb_translate_coordinates_unchecked (xcb_connection_t *c ,
08647 xcb_window_t src_window ,
08648 xcb_window_t dst_window ,
08649 int16_t src_x ,
08650 int16_t src_y );
08651
08667
08668
08669
08670
08671
08672
08673
08674
08675
08676
08677
08678 xcb_translate_coordinates_reply_t *
08679 xcb_translate_coordinates_reply (xcb_connection_t *c ,
08680 xcb_translate_coordinates_cookie_t cookie ,
08681 xcb_generic_error_t **e );
08682
08695
08696
08697
08698
08699
08700
08701
08702
08703
08704
08705
08706
08707
08708
08709
08710
08711
08712 xcb_void_cookie_t
08713 xcb_warp_pointer_checked (xcb_connection_t *c ,
08714 xcb_window_t src_window ,
08715 xcb_window_t dst_window ,
08716 int16_t src_x ,
08717 int16_t src_y ,
08718 uint16_t src_width ,
08719 uint16_t src_height ,
08720 int16_t dst_x ,
08721 int16_t dst_y );
08722
08732
08733
08734
08735
08736
08737
08738
08739
08740
08741
08742
08743
08744
08745
08746
08747
08748
08749 xcb_void_cookie_t
08750 xcb_warp_pointer (xcb_connection_t *c ,
08751 xcb_window_t src_window ,
08752 xcb_window_t dst_window ,
08753 int16_t src_x ,
08754 int16_t src_y ,
08755 uint16_t src_width ,
08756 uint16_t src_height ,
08757 int16_t dst_x ,
08758 int16_t dst_y );
08759
08772
08773
08774
08775
08776
08777
08778
08779
08780
08781
08782
08783
08784 xcb_void_cookie_t
08785 xcb_set_input_focus_checked (xcb_connection_t *c ,
08786 uint8_t revert_to ,
08787 xcb_window_t focus ,
08788 xcb_timestamp_t time );
08789
08799
08800
08801
08802
08803
08804
08805
08806
08807
08808
08809
08810
08811 xcb_void_cookie_t
08812 xcb_set_input_focus (xcb_connection_t *c ,
08813 uint8_t revert_to ,
08814 xcb_window_t focus ,
08815 xcb_timestamp_t time );
08816
08826
08827
08828
08829
08830
08831
08832
08833
08834
08835 xcb_get_input_focus_cookie_t
08836 xcb_get_input_focus (xcb_connection_t *c );
08837
08850
08851
08852
08853
08854
08855
08856
08857
08858
08859 xcb_get_input_focus_cookie_t
08860 xcb_get_input_focus_unchecked (xcb_connection_t *c );
08861
08877
08878
08879
08880
08881
08882
08883
08884
08885
08886
08887
08888 xcb_get_input_focus_reply_t *
08889 xcb_get_input_focus_reply (xcb_connection_t *c ,
08890 xcb_get_input_focus_cookie_t cookie ,
08891 xcb_generic_error_t **e );
08892
08902
08903
08904
08905
08906
08907
08908
08909
08910
08911 xcb_query_keymap_cookie_t
08912 xcb_query_keymap (xcb_connection_t *c );
08913
08926
08927
08928
08929
08930
08931
08932
08933
08934
08935 xcb_query_keymap_cookie_t
08936 xcb_query_keymap_unchecked (xcb_connection_t *c );
08937
08953
08954
08955
08956
08957
08958
08959
08960
08961
08962
08963
08964 xcb_query_keymap_reply_t *
08965 xcb_query_keymap_reply (xcb_connection_t *c ,
08966 xcb_query_keymap_cookie_t cookie ,
08967 xcb_generic_error_t **e );
08968
08981
08982
08983
08984
08985
08986
08987
08988
08989
08990
08991
08992
08993 xcb_void_cookie_t
08994 xcb_open_font_checked (xcb_connection_t *c ,
08995 xcb_font_t fid ,
08996 uint16_t name_len ,
08997 const char *name );
08998
09008
09009
09010
09011
09012
09013
09014
09015
09016
09017
09018
09019
09020 xcb_void_cookie_t
09021 xcb_open_font (xcb_connection_t *c ,
09022 xcb_font_t fid ,
09023 uint16_t name_len ,
09024 const char *name );
09025
09038
09039
09040
09041
09042
09043
09044
09045
09046
09047
09048 xcb_void_cookie_t
09049 xcb_close_font_checked (xcb_connection_t *c ,
09050 xcb_font_t font );
09051
09061
09062
09063
09064
09065
09066
09067
09068
09069
09070
09071 xcb_void_cookie_t
09072 xcb_close_font (xcb_connection_t *c ,
09073 xcb_font_t font );
09074
09084
09085
09086
09087
09088
09089
09090
09091
09092
09093 void
09094 xcb_fontprop_next (xcb_fontprop_iterator_t *i );
09095
09106
09107
09108
09109
09110
09111
09112
09113
09114
09115 xcb_generic_iterator_t
09116 xcb_fontprop_end (xcb_fontprop_iterator_t i );
09117
09127
09128
09129
09130
09131
09132
09133
09134
09135
09136 void
09137 xcb_charinfo_next (xcb_charinfo_iterator_t *i );
09138
09149
09150
09151
09152
09153
09154
09155
09156
09157
09158 xcb_generic_iterator_t
09159 xcb_charinfo_end (xcb_charinfo_iterator_t i );
09160
09170
09171
09172
09173
09174
09175
09176
09177
09178
09179
09180 xcb_query_font_cookie_t
09181 xcb_query_font (xcb_connection_t *c ,
09182 xcb_fontable_t font );
09183
09196
09197
09198
09199
09200
09201
09202
09203
09204
09205
09206 xcb_query_font_cookie_t
09207 xcb_query_font_unchecked (xcb_connection_t *c ,
09208 xcb_fontable_t font );
09209
09210
09211
09212
09213
09214
09215
09216
09217
09218
09219
09220 xcb_fontprop_t *
09221 xcb_query_font_properties (const xcb_query_font_reply_t *R );
09222
09223
09224
09225
09226
09227
09228
09229
09230
09231
09232
09233 int
09234 xcb_query_font_properties_length (const xcb_query_font_reply_t *R );
09235
09236
09237
09238
09239
09240
09241
09242
09243
09244
09245
09246 xcb_fontprop_iterator_t
09247 xcb_query_font_properties_iterator (const xcb_query_font_reply_t *R );
09248
09249
09250
09251
09252
09253
09254
09255
09256
09257
09258
09259 xcb_charinfo_t *
09260 xcb_query_font_char_infos (const xcb_query_font_reply_t *R );
09261
09262
09263
09264
09265
09266
09267
09268
09269
09270
09271
09272 int
09273 xcb_query_font_char_infos_length (const xcb_query_font_reply_t *R );
09274
09275
09276
09277
09278
09279
09280
09281
09282
09283
09284
09285 xcb_charinfo_iterator_t
09286 xcb_query_font_char_infos_iterator (const xcb_query_font_reply_t *R );
09287
09303
09304
09305
09306
09307
09308
09309
09310
09311
09312
09313
09314 xcb_query_font_reply_t *
09315 xcb_query_font_reply (xcb_connection_t *c ,
09316 xcb_query_font_cookie_t cookie ,
09317 xcb_generic_error_t **e );
09318
09328
09329
09330
09331
09332
09333
09334
09335
09336
09337
09338
09339
09340 xcb_query_text_extents_cookie_t
09341 xcb_query_text_extents (xcb_connection_t *c ,
09342 xcb_fontable_t font ,
09343 uint32_t string_len ,
09344 const xcb_char2b_t *string );
09345
09358
09359
09360
09361
09362
09363
09364
09365
09366
09367
09368
09369
09370 xcb_query_text_extents_cookie_t
09371 xcb_query_text_extents_unchecked (xcb_connection_t *c ,
09372 xcb_fontable_t font ,
09373 uint32_t string_len ,
09374 const xcb_char2b_t *string );
09375
09391
09392
09393
09394
09395
09396
09397
09398
09399
09400
09401
09402 xcb_query_text_extents_reply_t *
09403 xcb_query_text_extents_reply (xcb_connection_t *c ,
09404 xcb_query_text_extents_cookie_t cookie ,
09405 xcb_generic_error_t **e );
09406
09407
09408
09409
09410
09411
09412
09413
09414
09415
09416
09417 char *
09418 xcb_str_name (const xcb_str_t *R );
09419
09420
09421
09422
09423
09424
09425
09426
09427
09428
09429
09430 int
09431 xcb_str_name_length (const xcb_str_t *R );
09432
09433
09434
09435
09436
09437
09438
09439
09440
09441
09442
09443 xcb_generic_iterator_t
09444 xcb_str_name_end (const xcb_str_t *R );
09445
09455
09456
09457
09458
09459
09460
09461
09462
09463
09464 void
09465 xcb_str_next (xcb_str_iterator_t *i );
09466
09477
09478
09479
09480
09481
09482
09483
09484
09485
09486 xcb_generic_iterator_t
09487 xcb_str_end (xcb_str_iterator_t i );
09488
09498
09499
09500
09501
09502
09503
09504
09505
09506
09507
09508
09509
09510 xcb_list_fonts_cookie_t
09511 xcb_list_fonts (xcb_connection_t *c ,
09512 uint16_t max_names ,
09513 uint16_t pattern_len ,
09514 const char *pattern );
09515
09528
09529
09530
09531
09532
09533
09534
09535
09536
09537
09538
09539
09540 xcb_list_fonts_cookie_t
09541 xcb_list_fonts_unchecked (xcb_connection_t *c ,
09542 uint16_t max_names ,
09543 uint16_t pattern_len ,
09544 const char *pattern );
09545
09546
09547
09548
09549
09550
09551
09552
09553
09554
09555
09556 int
09557 xcb_list_fonts_names_length (const xcb_list_fonts_reply_t *R );
09558
09559
09560
09561
09562
09563
09564
09565
09566
09567
09568
09569 xcb_str_iterator_t
09570 xcb_list_fonts_names_iterator (const xcb_list_fonts_reply_t *R );
09571
09587
09588
09589
09590
09591
09592
09593
09594
09595
09596
09597
09598 xcb_list_fonts_reply_t *
09599 xcb_list_fonts_reply (xcb_connection_t *c ,
09600 xcb_list_fonts_cookie_t cookie ,
09601 xcb_generic_error_t **e );
09602
09612
09613
09614
09615
09616
09617
09618
09619
09620
09621
09622
09623
09624 xcb_list_fonts_with_info_cookie_t
09625 xcb_list_fonts_with_info (xcb_connection_t *c ,
09626 uint16_t max_names ,
09627 uint16_t pattern_len ,
09628 const char *pattern );
09629
09642
09643
09644
09645
09646
09647
09648
09649
09650
09651
09652
09653
09654 xcb_list_fonts_with_info_cookie_t
09655 xcb_list_fonts_with_info_unchecked (xcb_connection_t *c ,
09656 uint16_t max_names ,
09657 uint16_t pattern_len ,
09658 const char *pattern );
09659
09660
09661
09662
09663
09664
09665
09666
09667
09668
09669
09670 xcb_fontprop_t *
09671 xcb_list_fonts_with_info_properties (const xcb_list_fonts_with_info_reply_t *R );
09672
09673
09674
09675
09676
09677
09678
09679
09680
09681
09682
09683 int
09684 xcb_list_fonts_with_info_properties_length (const xcb_list_fonts_with_info_reply_t *R );
09685
09686
09687
09688
09689
09690
09691
09692
09693
09694
09695
09696 xcb_fontprop_iterator_t
09697 xcb_list_fonts_with_info_properties_iterator (const xcb_list_fonts_with_info_reply_t *R );
09698
09699
09700
09701
09702
09703
09704
09705
09706
09707
09708
09709 char *
09710 xcb_list_fonts_with_info_name (const xcb_list_fonts_with_info_reply_t *R );
09711
09712
09713
09714
09715
09716
09717
09718
09719
09720
09721
09722 int
09723 xcb_list_fonts_with_info_name_length (const xcb_list_fonts_with_info_reply_t *R );
09724
09725
09726
09727
09728
09729
09730
09731
09732
09733
09734
09735 xcb_generic_iterator_t
09736 xcb_list_fonts_with_info_name_end (const xcb_list_fonts_with_info_reply_t *R );
09737
09753
09754
09755
09756
09757
09758
09759
09760
09761
09762
09763
09764 xcb_list_fonts_with_info_reply_t *
09765 xcb_list_fonts_with_info_reply (xcb_connection_t *c ,
09766 xcb_list_fonts_with_info_cookie_t cookie ,
09767 xcb_generic_error_t **e );
09768
09781
09782
09783
09784
09785
09786
09787
09788
09789
09790
09791
09792
09793 xcb_void_cookie_t
09794 xcb_set_font_path_checked (xcb_connection_t *c ,
09795 uint16_t font_qty ,
09796 uint32_t path_len ,
09797 const char *path );
09798
09808
09809
09810
09811
09812
09813
09814
09815
09816
09817
09818
09819
09820 xcb_void_cookie_t
09821 xcb_set_font_path (xcb_connection_t *c ,
09822 uint16_t font_qty ,
09823 uint32_t path_len ,
09824 const char *path );
09825
09835
09836
09837
09838
09839
09840
09841
09842
09843
09844 xcb_get_font_path_cookie_t
09845 xcb_get_font_path (xcb_connection_t *c );
09846
09859
09860
09861
09862
09863
09864
09865
09866
09867
09868 xcb_get_font_path_cookie_t
09869 xcb_get_font_path_unchecked (xcb_connection_t *c );
09870
09871
09872
09873
09874
09875
09876
09877
09878
09879
09880
09881 int
09882 xcb_get_font_path_path_length (const xcb_get_font_path_reply_t *R );
09883
09884
09885
09886
09887
09888
09889
09890
09891
09892
09893
09894 xcb_str_iterator_t
09895 xcb_get_font_path_path_iterator (const xcb_get_font_path_reply_t *R );
09896
09912
09913
09914
09915
09916
09917
09918
09919
09920
09921
09922
09923 xcb_get_font_path_reply_t *
09924 xcb_get_font_path_reply (xcb_connection_t *c ,
09925 xcb_get_font_path_cookie_t cookie ,
09926 xcb_generic_error_t **e );
09927
09940
09941
09942
09943
09944
09945
09946
09947
09948
09949
09950
09951
09952
09953
09954 xcb_void_cookie_t
09955 xcb_create_pixmap_checked (xcb_connection_t *c ,
09956 uint8_t depth ,
09957 xcb_pixmap_t pid ,
09958 xcb_drawable_t drawable ,
09959 uint16_t width ,
09960 uint16_t height );
09961
09971
09972
09973
09974
09975
09976
09977
09978
09979
09980
09981
09982
09983
09984
09985 xcb_void_cookie_t
09986 xcb_create_pixmap (xcb_connection_t *c ,
09987 uint8_t depth ,
09988 xcb_pixmap_t pid ,
09989 xcb_drawable_t drawable ,
09990 uint16_t width ,
09991 uint16_t height );
09992
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015 xcb_void_cookie_t
10016 xcb_free_pixmap_checked (xcb_connection_t *c ,
10017 xcb_pixmap_t pixmap );
10018
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038 xcb_void_cookie_t
10039 xcb_free_pixmap (xcb_connection_t *c ,
10040 xcb_pixmap_t pixmap );
10041
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067 xcb_void_cookie_t
10068 xcb_create_gc_checked (xcb_connection_t *c ,
10069 xcb_gcontext_t cid ,
10070 xcb_drawable_t drawable ,
10071 uint32_t value_mask ,
10072 const uint32_t *value_list );
10073
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096 xcb_void_cookie_t
10097 xcb_create_gc (xcb_connection_t *c ,
10098 xcb_gcontext_t cid ,
10099 xcb_drawable_t drawable ,
10100 uint32_t value_mask ,
10101 const uint32_t *value_list );
10102
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127 xcb_void_cookie_t
10128 xcb_change_gc_checked (xcb_connection_t *c ,
10129 xcb_gcontext_t gc ,
10130 uint32_t value_mask ,
10131 const uint32_t *value_list );
10132
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154 xcb_void_cookie_t
10155 xcb_change_gc (xcb_connection_t *c ,
10156 xcb_gcontext_t gc ,
10157 uint32_t value_mask ,
10158 const uint32_t *value_list );
10159
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184 xcb_void_cookie_t
10185 xcb_copy_gc_checked (xcb_connection_t *c ,
10186 xcb_gcontext_t src_gc ,
10187 xcb_gcontext_t dst_gc ,
10188 uint32_t value_mask );
10189
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211 xcb_void_cookie_t
10212 xcb_copy_gc (xcb_connection_t *c ,
10213 xcb_gcontext_t src_gc ,
10214 xcb_gcontext_t dst_gc ,
10215 uint32_t value_mask );
10216
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242 xcb_void_cookie_t
10243 xcb_set_dashes_checked (xcb_connection_t *c ,
10244 xcb_gcontext_t gc ,
10245 uint16_t dash_offset ,
10246 uint16_t dashes_len ,
10247 const uint8_t *dashes );
10248
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271 xcb_void_cookie_t
10272 xcb_set_dashes (xcb_connection_t *c ,
10273 xcb_gcontext_t gc ,
10274 uint16_t dash_offset ,
10275 uint16_t dashes_len ,
10276 const uint8_t *dashes );
10277
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305 xcb_void_cookie_t
10306 xcb_set_clip_rectangles_checked (xcb_connection_t *c ,
10307 uint8_t ordering ,
10308 xcb_gcontext_t gc ,
10309 int16_t clip_x_origin ,
10310 int16_t clip_y_origin ,
10311 uint32_t rectangles_len ,
10312 const xcb_rectangle_t *rectangles );
10313
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338 xcb_void_cookie_t
10339 xcb_set_clip_rectangles (xcb_connection_t *c ,
10340 uint8_t ordering ,
10341 xcb_gcontext_t gc ,
10342 int16_t clip_x_origin ,
10343 int16_t clip_y_origin ,
10344 uint32_t rectangles_len ,
10345 const xcb_rectangle_t *rectangles );
10346
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369 xcb_void_cookie_t
10370 xcb_free_gc_checked (xcb_connection_t *c ,
10371 xcb_gcontext_t gc );
10372
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392 xcb_void_cookie_t
10393 xcb_free_gc (xcb_connection_t *c ,
10394 xcb_gcontext_t gc );
10395
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423 xcb_void_cookie_t
10424 xcb_clear_area_checked (xcb_connection_t *c ,
10425 uint8_t exposures ,
10426 xcb_window_t window ,
10427 int16_t x ,
10428 int16_t y ,
10429 uint16_t width ,
10430 uint16_t height );
10431
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456 xcb_void_cookie_t
10457 xcb_clear_area (xcb_connection_t *c ,
10458 uint8_t exposures ,
10459 xcb_window_t window ,
10460 int16_t x ,
10461 int16_t y ,
10462 uint16_t width ,
10463 uint16_t height );
10464
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495 xcb_void_cookie_t
10496 xcb_copy_area_checked (xcb_connection_t *c ,
10497 xcb_drawable_t src_drawable ,
10498 xcb_drawable_t dst_drawable ,
10499 xcb_gcontext_t gc ,
10500 int16_t src_x ,
10501 int16_t src_y ,
10502 int16_t dst_x ,
10503 int16_t dst_y ,
10504 uint16_t width ,
10505 uint16_t height );
10506
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534 xcb_void_cookie_t
10535 xcb_copy_area (xcb_connection_t *c ,
10536 xcb_drawable_t src_drawable ,
10537 xcb_drawable_t dst_drawable ,
10538 xcb_gcontext_t gc ,
10539 int16_t src_x ,
10540 int16_t src_y ,
10541 int16_t dst_x ,
10542 int16_t dst_y ,
10543 uint16_t width ,
10544 uint16_t height );
10545
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577 xcb_void_cookie_t
10578 xcb_copy_plane_checked (xcb_connection_t *c ,
10579 xcb_drawable_t src_drawable ,
10580 xcb_drawable_t dst_drawable ,
10581 xcb_gcontext_t gc ,
10582 int16_t src_x ,
10583 int16_t src_y ,
10584 int16_t dst_x ,
10585 int16_t dst_y ,
10586 uint16_t width ,
10587 uint16_t height ,
10588 uint32_t bit_plane );
10589
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618 xcb_void_cookie_t
10619 xcb_copy_plane (xcb_connection_t *c ,
10620 xcb_drawable_t src_drawable ,
10621 xcb_drawable_t dst_drawable ,
10622 xcb_gcontext_t gc ,
10623 int16_t src_x ,
10624 int16_t src_y ,
10625 int16_t dst_x ,
10626 int16_t dst_y ,
10627 uint16_t width ,
10628 uint16_t height ,
10629 uint32_t bit_plane );
10630
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657 xcb_void_cookie_t
10658 xcb_poly_point_checked (xcb_connection_t *c ,
10659 uint8_t coordinate_mode ,
10660 xcb_drawable_t drawable ,
10661 xcb_gcontext_t gc ,
10662 uint32_t points_len ,
10663 const xcb_point_t *points );
10664
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688 xcb_void_cookie_t
10689 xcb_poly_point (xcb_connection_t *c ,
10690 uint8_t coordinate_mode ,
10691 xcb_drawable_t drawable ,
10692 xcb_gcontext_t gc ,
10693 uint32_t points_len ,
10694 const xcb_point_t *points );
10695
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722 xcb_void_cookie_t
10723 xcb_poly_line_checked (xcb_connection_t *c ,
10724 uint8_t coordinate_mode ,
10725 xcb_drawable_t drawable ,
10726 xcb_gcontext_t gc ,
10727 uint32_t points_len ,
10728 const xcb_point_t *points );
10729
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753 xcb_void_cookie_t
10754 xcb_poly_line (xcb_connection_t *c ,
10755 uint8_t coordinate_mode ,
10756 xcb_drawable_t drawable ,
10757 xcb_gcontext_t gc ,
10758 uint32_t points_len ,
10759 const xcb_point_t *points );
10760
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779 void
10780 xcb_segment_next (xcb_segment_iterator_t *i );
10781
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801 xcb_generic_iterator_t
10802 xcb_segment_end (xcb_segment_iterator_t i );
10803
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829 xcb_void_cookie_t
10830 xcb_poly_segment_checked (xcb_connection_t *c ,
10831 xcb_drawable_t drawable ,
10832 xcb_gcontext_t gc ,
10833 uint32_t segments_len ,
10834 const xcb_segment_t *segments );
10835
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858 xcb_void_cookie_t
10859 xcb_poly_segment (xcb_connection_t *c ,
10860 xcb_drawable_t drawable ,
10861 xcb_gcontext_t gc ,
10862 uint32_t segments_len ,
10863 const xcb_segment_t *segments );
10864
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890 xcb_void_cookie_t
10891 xcb_poly_rectangle_checked (xcb_connection_t *c ,
10892 xcb_drawable_t drawable ,
10893 xcb_gcontext_t gc ,
10894 uint32_t rectangles_len ,
10895 const xcb_rectangle_t *rectangles );
10896
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919 xcb_void_cookie_t
10920 xcb_poly_rectangle (xcb_connection_t *c ,
10921 xcb_drawable_t drawable ,
10922 xcb_gcontext_t gc ,
10923 uint32_t rectangles_len ,
10924 const xcb_rectangle_t *rectangles );
10925
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951 xcb_void_cookie_t
10952 xcb_poly_arc_checked (xcb_connection_t *c ,
10953 xcb_drawable_t drawable ,
10954 xcb_gcontext_t gc ,
10955 uint32_t arcs_len ,
10956 const xcb_arc_t *arcs );
10957
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980 xcb_void_cookie_t
10981 xcb_poly_arc (xcb_connection_t *c ,
10982 xcb_drawable_t drawable ,
10983 xcb_gcontext_t gc ,
10984 uint32_t arcs_len ,
10985 const xcb_arc_t *arcs );
10986
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014 xcb_void_cookie_t
11015 xcb_fill_poly_checked (xcb_connection_t *c ,
11016 xcb_drawable_t drawable ,
11017 xcb_gcontext_t gc ,
11018 uint8_t shape ,
11019 uint8_t coordinate_mode ,
11020 uint32_t points_len ,
11021 const xcb_point_t *points );
11022
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047 xcb_void_cookie_t
11048 xcb_fill_poly (xcb_connection_t *c ,
11049 xcb_drawable_t drawable ,
11050 xcb_gcontext_t gc ,
11051 uint8_t shape ,
11052 uint8_t coordinate_mode ,
11053 uint32_t points_len ,
11054 const xcb_point_t *points );
11055
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081 xcb_void_cookie_t
11082 xcb_poly_fill_rectangle_checked (xcb_connection_t *c ,
11083 xcb_drawable_t drawable ,
11084 xcb_gcontext_t gc ,
11085 uint32_t rectangles_len ,
11086 const xcb_rectangle_t *rectangles );
11087
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110 xcb_void_cookie_t
11111 xcb_poly_fill_rectangle (xcb_connection_t *c ,
11112 xcb_drawable_t drawable ,
11113 xcb_gcontext_t gc ,
11114 uint32_t rectangles_len ,
11115 const xcb_rectangle_t *rectangles );
11116
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142 xcb_void_cookie_t
11143 xcb_poly_fill_arc_checked (xcb_connection_t *c ,
11144 xcb_drawable_t drawable ,
11145 xcb_gcontext_t gc ,
11146 uint32_t arcs_len ,
11147 const xcb_arc_t *arcs );
11148
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171 xcb_void_cookie_t
11172 xcb_poly_fill_arc (xcb_connection_t *c ,
11173 xcb_drawable_t drawable ,
11174 xcb_gcontext_t gc ,
11175 uint32_t arcs_len ,
11176 const xcb_arc_t *arcs );
11177
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210 xcb_void_cookie_t
11211 xcb_put_image_checked (xcb_connection_t *c ,
11212 uint8_t format ,
11213 xcb_drawable_t drawable ,
11214 xcb_gcontext_t gc ,
11215 uint16_t width ,
11216 uint16_t height ,
11217 int16_t dst_x ,
11218 int16_t dst_y ,
11219 uint8_t left_pad ,
11220 uint8_t depth ,
11221 uint32_t data_len ,
11222 const uint8_t *data );
11223
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253 xcb_void_cookie_t
11254 xcb_put_image (xcb_connection_t *c ,
11255 uint8_t format ,
11256 xcb_drawable_t drawable ,
11257 xcb_gcontext_t gc ,
11258 uint16_t width ,
11259 uint16_t height ,
11260 int16_t dst_x ,
11261 int16_t dst_y ,
11262 uint8_t left_pad ,
11263 uint8_t depth ,
11264 uint32_t data_len ,
11265 const uint8_t *data );
11266
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292 xcb_get_image_cookie_t
11293 xcb_get_image (xcb_connection_t *c ,
11294 uint8_t format ,
11295 xcb_drawable_t drawable ,
11296 int16_t x ,
11297 int16_t y ,
11298 uint16_t width ,
11299 uint16_t height ,
11300 uint32_t plane_mask );
11301
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330 xcb_get_image_cookie_t
11331 xcb_get_image_unchecked (xcb_connection_t *c ,
11332 uint8_t format ,
11333 xcb_drawable_t drawable ,
11334 int16_t x ,
11335 int16_t y ,
11336 uint16_t width ,
11337 uint16_t height ,
11338 uint32_t plane_mask );
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350 uint8_t *
11351 xcb_get_image_data (const xcb_get_image_reply_t *R );
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363 int
11364 xcb_get_image_data_length (const xcb_get_image_reply_t *R );
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376 xcb_generic_iterator_t
11377 xcb_get_image_data_end (const xcb_get_image_reply_t *R );
11378
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405 xcb_get_image_reply_t *
11406 xcb_get_image_reply (xcb_connection_t *c ,
11407 xcb_get_image_cookie_t cookie ,
11408 xcb_generic_error_t **e );
11409
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437 xcb_void_cookie_t
11438 xcb_poly_text_8_checked (xcb_connection_t *c ,
11439 xcb_drawable_t drawable ,
11440 xcb_gcontext_t gc ,
11441 int16_t x ,
11442 int16_t y ,
11443 uint32_t items_len ,
11444 const uint8_t *items );
11445
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470 xcb_void_cookie_t
11471 xcb_poly_text_8 (xcb_connection_t *c ,
11472 xcb_drawable_t drawable ,
11473 xcb_gcontext_t gc ,
11474 int16_t x ,
11475 int16_t y ,
11476 uint32_t items_len ,
11477 const uint8_t *items );
11478
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506 xcb_void_cookie_t
11507 xcb_poly_text_16_checked (xcb_connection_t *c ,
11508 xcb_drawable_t drawable ,
11509 xcb_gcontext_t gc ,
11510 int16_t x ,
11511 int16_t y ,
11512 uint32_t items_len ,
11513 const uint8_t *items );
11514
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539 xcb_void_cookie_t
11540 xcb_poly_text_16 (xcb_connection_t *c ,
11541 xcb_drawable_t drawable ,
11542 xcb_gcontext_t gc ,
11543 int16_t x ,
11544 int16_t y ,
11545 uint32_t items_len ,
11546 const uint8_t *items );
11547
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575 xcb_void_cookie_t
11576 xcb_image_text_8_checked (xcb_connection_t *c ,
11577 uint8_t string_len ,
11578 xcb_drawable_t drawable ,
11579 xcb_gcontext_t gc ,
11580 int16_t x ,
11581 int16_t y ,
11582 const char *string );
11583
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608 xcb_void_cookie_t
11609 xcb_image_text_8 (xcb_connection_t *c ,
11610 uint8_t string_len ,
11611 xcb_drawable_t drawable ,
11612 xcb_gcontext_t gc ,
11613 int16_t x ,
11614 int16_t y ,
11615 const char *string );
11616
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644 xcb_void_cookie_t
11645 xcb_image_text_16_checked (xcb_connection_t *c ,
11646 uint8_t string_len ,
11647 xcb_drawable_t drawable ,
11648 xcb_gcontext_t gc ,
11649 int16_t x ,
11650 int16_t y ,
11651 const xcb_char2b_t *string );
11652
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677 xcb_void_cookie_t
11678 xcb_image_text_16 (xcb_connection_t *c ,
11679 uint8_t string_len ,
11680 xcb_drawable_t drawable ,
11681 xcb_gcontext_t gc ,
11682 int16_t x ,
11683 int16_t y ,
11684 const xcb_char2b_t *string );
11685
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711 xcb_void_cookie_t
11712 xcb_create_colormap_checked (xcb_connection_t *c ,
11713 uint8_t alloc ,
11714 xcb_colormap_t mid ,
11715 xcb_window_t window ,
11716 xcb_visualid_t visual );
11717
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740 xcb_void_cookie_t
11741 xcb_create_colormap (xcb_connection_t *c ,
11742 uint8_t alloc ,
11743 xcb_colormap_t mid ,
11744 xcb_window_t window ,
11745 xcb_visualid_t visual );
11746
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769 xcb_void_cookie_t
11770 xcb_free_colormap_checked (xcb_connection_t *c ,
11771 xcb_colormap_t cmap );
11772
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792 xcb_void_cookie_t
11793 xcb_free_colormap (xcb_connection_t *c ,
11794 xcb_colormap_t cmap );
11795
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819 xcb_void_cookie_t
11820 xcb_copy_colormap_and_free_checked (xcb_connection_t *c ,
11821 xcb_colormap_t mid ,
11822 xcb_colormap_t src_cmap );
11823
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844 xcb_void_cookie_t
11845 xcb_copy_colormap_and_free (xcb_connection_t *c ,
11846 xcb_colormap_t mid ,
11847 xcb_colormap_t src_cmap );
11848
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871 xcb_void_cookie_t
11872 xcb_install_colormap_checked (xcb_connection_t *c ,
11873 xcb_colormap_t cmap );
11874
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894 xcb_void_cookie_t
11895 xcb_install_colormap (xcb_connection_t *c ,
11896 xcb_colormap_t cmap );
11897
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920 xcb_void_cookie_t
11921 xcb_uninstall_colormap_checked (xcb_connection_t *c ,
11922 xcb_colormap_t cmap );
11923
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943 xcb_void_cookie_t
11944 xcb_uninstall_colormap (xcb_connection_t *c ,
11945 xcb_colormap_t cmap );
11946
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966 xcb_list_installed_colormaps_cookie_t
11967 xcb_list_installed_colormaps (xcb_connection_t *c ,
11968 xcb_window_t window );
11969
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992 xcb_list_installed_colormaps_cookie_t
11993 xcb_list_installed_colormaps_unchecked (xcb_connection_t *c ,
11994 xcb_window_t window );
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006 xcb_colormap_t *
12007 xcb_list_installed_colormaps_cmaps (const xcb_list_installed_colormaps_reply_t *R );
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019 int
12020 xcb_list_installed_colormaps_cmaps_length (const xcb_list_installed_colormaps_reply_t *R );
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032 xcb_generic_iterator_t
12033 xcb_list_installed_colormaps_cmaps_end (const xcb_list_installed_colormaps_reply_t *R );
12034
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061 xcb_list_installed_colormaps_reply_t *
12062 xcb_list_installed_colormaps_reply (xcb_connection_t *c ,
12063 xcb_list_installed_colormaps_cookie_t cookie ,
12064 xcb_generic_error_t **e );
12065
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088 xcb_alloc_color_cookie_t
12089 xcb_alloc_color (xcb_connection_t *c ,
12090 xcb_colormap_t cmap ,
12091 uint16_t red ,
12092 uint16_t green ,
12093 uint16_t blue );
12094
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120 xcb_alloc_color_cookie_t
12121 xcb_alloc_color_unchecked (xcb_connection_t *c ,
12122 xcb_colormap_t cmap ,
12123 uint16_t red ,
12124 uint16_t green ,
12125 uint16_t blue );
12126
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153 xcb_alloc_color_reply_t *
12154 xcb_alloc_color_reply (xcb_connection_t *c ,
12155 xcb_alloc_color_cookie_t cookie ,
12156 xcb_generic_error_t **e );
12157
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179 xcb_alloc_named_color_cookie_t
12180 xcb_alloc_named_color (xcb_connection_t *c ,
12181 xcb_colormap_t cmap ,
12182 uint16_t name_len ,
12183 const char *name );
12184
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209 xcb_alloc_named_color_cookie_t
12210 xcb_alloc_named_color_unchecked (xcb_connection_t *c ,
12211 xcb_colormap_t cmap ,
12212 uint16_t name_len ,
12213 const char *name );
12214
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241 xcb_alloc_named_color_reply_t *
12242 xcb_alloc_named_color_reply (xcb_connection_t *c ,
12243 xcb_alloc_named_color_cookie_t cookie ,
12244 xcb_generic_error_t **e );
12245
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268 xcb_alloc_color_cells_cookie_t
12269 xcb_alloc_color_cells (xcb_connection_t *c ,
12270 uint8_t contiguous ,
12271 xcb_colormap_t cmap ,
12272 uint16_t colors ,
12273 uint16_t planes );
12274
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300 xcb_alloc_color_cells_cookie_t
12301 xcb_alloc_color_cells_unchecked (xcb_connection_t *c ,
12302 uint8_t contiguous ,
12303 xcb_colormap_t cmap ,
12304 uint16_t colors ,
12305 uint16_t planes );
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317 uint32_t *
12318 xcb_alloc_color_cells_pixels (const xcb_alloc_color_cells_reply_t *R );
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330 int
12331 xcb_alloc_color_cells_pixels_length (const xcb_alloc_color_cells_reply_t *R );
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343 xcb_generic_iterator_t
12344 xcb_alloc_color_cells_pixels_end (const xcb_alloc_color_cells_reply_t *R );
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356 uint32_t *
12357 xcb_alloc_color_cells_masks (const xcb_alloc_color_cells_reply_t *R );
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369 int
12370 xcb_alloc_color_cells_masks_length (const xcb_alloc_color_cells_reply_t *R );
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382 xcb_generic_iterator_t
12383 xcb_alloc_color_cells_masks_end (const xcb_alloc_color_cells_reply_t *R );
12384
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411 xcb_alloc_color_cells_reply_t *
12412 xcb_alloc_color_cells_reply (xcb_connection_t *c ,
12413 xcb_alloc_color_cells_cookie_t cookie ,
12414 xcb_generic_error_t **e );
12415
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440 xcb_alloc_color_planes_cookie_t
12441 xcb_alloc_color_planes (xcb_connection_t *c ,
12442 uint8_t contiguous ,
12443 xcb_colormap_t cmap ,
12444 uint16_t colors ,
12445 uint16_t reds ,
12446 uint16_t greens ,
12447 uint16_t blues );
12448
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476 xcb_alloc_color_planes_cookie_t
12477 xcb_alloc_color_planes_unchecked (xcb_connection_t *c ,
12478 uint8_t contiguous ,
12479 xcb_colormap_t cmap ,
12480 uint16_t colors ,
12481 uint16_t reds ,
12482 uint16_t greens ,
12483 uint16_t blues );
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495 uint32_t *
12496 xcb_alloc_color_planes_pixels (const xcb_alloc_color_planes_reply_t *R );
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508 int
12509 xcb_alloc_color_planes_pixels_length (const xcb_alloc_color_planes_reply_t *R );
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521 xcb_generic_iterator_t
12522 xcb_alloc_color_planes_pixels_end (const xcb_alloc_color_planes_reply_t *R );
12523
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550 xcb_alloc_color_planes_reply_t *
12551 xcb_alloc_color_planes_reply (xcb_connection_t *c ,
12552 xcb_alloc_color_planes_cookie_t cookie ,
12553 xcb_generic_error_t **e );
12554
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580 xcb_void_cookie_t
12581 xcb_free_colors_checked (xcb_connection_t *c ,
12582 xcb_colormap_t cmap ,
12583 uint32_t plane_mask ,
12584 uint32_t pixels_len ,
12585 const uint32_t *pixels );
12586
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609 xcb_void_cookie_t
12610 xcb_free_colors (xcb_connection_t *c ,
12611 xcb_colormap_t cmap ,
12612 uint32_t plane_mask ,
12613 uint32_t pixels_len ,
12614 const uint32_t *pixels );
12615
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634 void
12635 xcb_coloritem_next (xcb_coloritem_iterator_t *i );
12636
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656 xcb_generic_iterator_t
12657 xcb_coloritem_end (xcb_coloritem_iterator_t i );
12658
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683 xcb_void_cookie_t
12684 xcb_store_colors_checked (xcb_connection_t *c ,
12685 xcb_colormap_t cmap ,
12686 uint32_t items_len ,
12687 const xcb_coloritem_t *items );
12688
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710 xcb_void_cookie_t
12711 xcb_store_colors (xcb_connection_t *c ,
12712 xcb_colormap_t cmap ,
12713 uint32_t items_len ,
12714 const xcb_coloritem_t *items );
12715
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742 xcb_void_cookie_t
12743 xcb_store_named_color_checked (xcb_connection_t *c ,
12744 uint8_t flags ,
12745 xcb_colormap_t cmap ,
12746 uint32_t pixel ,
12747 uint16_t name_len ,
12748 const char *name );
12749
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773 xcb_void_cookie_t
12774 xcb_store_named_color (xcb_connection_t *c ,
12775 uint8_t flags ,
12776 xcb_colormap_t cmap ,
12777 uint32_t pixel ,
12778 uint16_t name_len ,
12779 const char *name );
12780
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799 void
12800 xcb_rgb_next (xcb_rgb_iterator_t *i );
12801
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821 xcb_generic_iterator_t
12822 xcb_rgb_end (xcb_rgb_iterator_t i );
12823
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845 xcb_query_colors_cookie_t
12846 xcb_query_colors (xcb_connection_t *c ,
12847 xcb_colormap_t cmap ,
12848 uint32_t pixels_len ,
12849 const uint32_t *pixels );
12850
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875 xcb_query_colors_cookie_t
12876 xcb_query_colors_unchecked (xcb_connection_t *c ,
12877 xcb_colormap_t cmap ,
12878 uint32_t pixels_len ,
12879 const uint32_t *pixels );
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891 xcb_rgb_t *
12892 xcb_query_colors_colors (const xcb_query_colors_reply_t *R );
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904 int
12905 xcb_query_colors_colors_length (const xcb_query_colors_reply_t *R );
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917 xcb_rgb_iterator_t
12918 xcb_query_colors_colors_iterator (const xcb_query_colors_reply_t *R );
12919
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946 xcb_query_colors_reply_t *
12947 xcb_query_colors_reply (xcb_connection_t *c ,
12948 xcb_query_colors_cookie_t cookie ,
12949 xcb_generic_error_t **e );
12950
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972 xcb_lookup_color_cookie_t
12973 xcb_lookup_color (xcb_connection_t *c ,
12974 xcb_colormap_t cmap ,
12975 uint16_t name_len ,
12976 const char *name );
12977
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002 xcb_lookup_color_cookie_t
13003 xcb_lookup_color_unchecked (xcb_connection_t *c ,
13004 xcb_colormap_t cmap ,
13005 uint16_t name_len ,
13006 const char *name );
13007
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034 xcb_lookup_color_reply_t *
13035 xcb_lookup_color_reply (xcb_connection_t *c ,
13036 xcb_lookup_color_cookie_t cookie ,
13037 xcb_generic_error_t **e );
13038
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071 xcb_void_cookie_t
13072 xcb_create_cursor_checked (xcb_connection_t *c ,
13073 xcb_cursor_t cid ,
13074 xcb_pixmap_t source ,
13075 xcb_pixmap_t mask ,
13076 uint16_t fore_red ,
13077 uint16_t fore_green ,
13078 uint16_t fore_blue ,
13079 uint16_t back_red ,
13080 uint16_t back_green ,
13081 uint16_t back_blue ,
13082 uint16_t x ,
13083 uint16_t y );
13084
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114 xcb_void_cookie_t
13115 xcb_create_cursor (xcb_connection_t *c ,
13116 xcb_cursor_t cid ,
13117 xcb_pixmap_t source ,
13118 xcb_pixmap_t mask ,
13119 uint16_t fore_red ,
13120 uint16_t fore_green ,
13121 uint16_t fore_blue ,
13122 uint16_t back_red ,
13123 uint16_t back_green ,
13124 uint16_t back_blue ,
13125 uint16_t x ,
13126 uint16_t y );
13127
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160 xcb_void_cookie_t
13161 xcb_create_glyph_cursor_checked (xcb_connection_t *c ,
13162 xcb_cursor_t cid ,
13163 xcb_font_t source_font ,
13164 xcb_font_t mask_font ,
13165 uint16_t source_char ,
13166 uint16_t mask_char ,
13167 uint16_t fore_red ,
13168 uint16_t fore_green ,
13169 uint16_t fore_blue ,
13170 uint16_t back_red ,
13171 uint16_t back_green ,
13172 uint16_t back_blue );
13173
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203 xcb_void_cookie_t
13204 xcb_create_glyph_cursor (xcb_connection_t *c ,
13205 xcb_cursor_t cid ,
13206 xcb_font_t source_font ,
13207 xcb_font_t mask_font ,
13208 uint16_t source_char ,
13209 uint16_t mask_char ,
13210 uint16_t fore_red ,
13211 uint16_t fore_green ,
13212 uint16_t fore_blue ,
13213 uint16_t back_red ,
13214 uint16_t back_green ,
13215 uint16_t back_blue );
13216
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239 xcb_void_cookie_t
13240 xcb_free_cursor_checked (xcb_connection_t *c ,
13241 xcb_cursor_t cursor );
13242
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262 xcb_void_cookie_t
13263 xcb_free_cursor (xcb_connection_t *c ,
13264 xcb_cursor_t cursor );
13265
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294 xcb_void_cookie_t
13295 xcb_recolor_cursor_checked (xcb_connection_t *c ,
13296 xcb_cursor_t cursor ,
13297 uint16_t fore_red ,
13298 uint16_t fore_green ,
13299 uint16_t fore_blue ,
13300 uint16_t back_red ,
13301 uint16_t back_green ,
13302 uint16_t back_blue );
13303
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329 xcb_void_cookie_t
13330 xcb_recolor_cursor (xcb_connection_t *c ,
13331 xcb_cursor_t cursor ,
13332 uint16_t fore_red ,
13333 uint16_t fore_green ,
13334 uint16_t fore_blue ,
13335 uint16_t back_red ,
13336 uint16_t back_green ,
13337 uint16_t back_blue );
13338
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361 xcb_query_best_size_cookie_t
13362 xcb_query_best_size (xcb_connection_t *c ,
13363 uint8_t _class ,
13364 xcb_drawable_t drawable ,
13365 uint16_t width ,
13366 uint16_t height );
13367
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393 xcb_query_best_size_cookie_t
13394 xcb_query_best_size_unchecked (xcb_connection_t *c ,
13395 uint8_t _class ,
13396 xcb_drawable_t drawable ,
13397 uint16_t width ,
13398 uint16_t height );
13399
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426 xcb_query_best_size_reply_t *
13427 xcb_query_best_size_reply (xcb_connection_t *c ,
13428 xcb_query_best_size_cookie_t cookie ,
13429 xcb_generic_error_t **e );
13430
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451 xcb_query_extension_cookie_t
13452 xcb_query_extension (xcb_connection_t *c ,
13453 uint16_t name_len ,
13454 const char *name );
13455
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479 xcb_query_extension_cookie_t
13480 xcb_query_extension_unchecked (xcb_connection_t *c ,
13481 uint16_t name_len ,
13482 const char *name );
13483
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510 xcb_query_extension_reply_t *
13511 xcb_query_extension_reply (xcb_connection_t *c ,
13512 xcb_query_extension_cookie_t cookie ,
13513 xcb_generic_error_t **e );
13514
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533 xcb_list_extensions_cookie_t
13534 xcb_list_extensions (xcb_connection_t *c );
13535
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557 xcb_list_extensions_cookie_t
13558 xcb_list_extensions_unchecked (xcb_connection_t *c );
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570 int
13571 xcb_list_extensions_names_length (const xcb_list_extensions_reply_t *R );
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583 xcb_str_iterator_t
13584 xcb_list_extensions_names_iterator (const xcb_list_extensions_reply_t *R );
13585
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612 xcb_list_extensions_reply_t *
13613 xcb_list_extensions_reply (xcb_connection_t *c ,
13614 xcb_list_extensions_cookie_t cookie ,
13615 xcb_generic_error_t **e );
13616
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642 xcb_void_cookie_t
13643 xcb_change_keyboard_mapping_checked (xcb_connection_t *c ,
13644 uint8_t keycode_count ,
13645 xcb_keycode_t first_keycode ,
13646 uint8_t keysyms_per_keycode ,
13647 const xcb_keysym_t *keysyms );
13648
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671 xcb_void_cookie_t
13672 xcb_change_keyboard_mapping (xcb_connection_t *c ,
13673 uint8_t keycode_count ,
13674 xcb_keycode_t first_keycode ,
13675 uint8_t keysyms_per_keycode ,
13676 const xcb_keysym_t *keysyms );
13677
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698 xcb_get_keyboard_mapping_cookie_t
13699 xcb_get_keyboard_mapping (xcb_connection_t *c ,
13700 xcb_keycode_t first_keycode ,
13701 uint8_t count );
13702
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726 xcb_get_keyboard_mapping_cookie_t
13727 xcb_get_keyboard_mapping_unchecked (xcb_connection_t *c ,
13728 xcb_keycode_t first_keycode ,
13729 uint8_t count );
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741 xcb_keysym_t *
13742 xcb_get_keyboard_mapping_keysyms (const xcb_get_keyboard_mapping_reply_t *R );
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754 int
13755 xcb_get_keyboard_mapping_keysyms_length (const xcb_get_keyboard_mapping_reply_t *R );
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767 xcb_generic_iterator_t
13768 xcb_get_keyboard_mapping_keysyms_end (const xcb_get_keyboard_mapping_reply_t *R );
13769
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796 xcb_get_keyboard_mapping_reply_t *
13797 xcb_get_keyboard_mapping_reply (xcb_connection_t *c ,
13798 xcb_get_keyboard_mapping_cookie_t cookie ,
13799 xcb_generic_error_t **e );
13800
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824 xcb_void_cookie_t
13825 xcb_change_keyboard_control_checked (xcb_connection_t *c ,
13826 uint32_t value_mask ,
13827 const uint32_t *value_list );
13828
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849 xcb_void_cookie_t
13850 xcb_change_keyboard_control (xcb_connection_t *c ,
13851 uint32_t value_mask ,
13852 const uint32_t *value_list );
13853
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872 xcb_get_keyboard_control_cookie_t
13873 xcb_get_keyboard_control (xcb_connection_t *c );
13874
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896 xcb_get_keyboard_control_cookie_t
13897 xcb_get_keyboard_control_unchecked (xcb_connection_t *c );
13898
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925 xcb_get_keyboard_control_reply_t *
13926 xcb_get_keyboard_control_reply (xcb_connection_t *c ,
13927 xcb_get_keyboard_control_cookie_t cookie ,
13928 xcb_generic_error_t **e );
13929
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952 xcb_void_cookie_t
13953 xcb_bell_checked (xcb_connection_t *c ,
13954 int8_t percent );
13955
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975 xcb_void_cookie_t
13976 xcb_bell (xcb_connection_t *c ,
13977 int8_t percent );
13978
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005 xcb_void_cookie_t
14006 xcb_change_pointer_control_checked (xcb_connection_t *c ,
14007 int16_t acceleration_numerator ,
14008 int16_t acceleration_denominator ,
14009 int16_t threshold ,
14010 uint8_t do_acceleration ,
14011 uint8_t do_threshold );
14012
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036 xcb_void_cookie_t
14037 xcb_change_pointer_control (xcb_connection_t *c ,
14038 int16_t acceleration_numerator ,
14039 int16_t acceleration_denominator ,
14040 int16_t threshold ,
14041 uint8_t do_acceleration ,
14042 uint8_t do_threshold );
14043
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062 xcb_get_pointer_control_cookie_t
14063 xcb_get_pointer_control (xcb_connection_t *c );
14064
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086 xcb_get_pointer_control_cookie_t
14087 xcb_get_pointer_control_unchecked (xcb_connection_t *c );
14088
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115 xcb_get_pointer_control_reply_t *
14116 xcb_get_pointer_control_reply (xcb_connection_t *c ,
14117 xcb_get_pointer_control_cookie_t cookie ,
14118 xcb_generic_error_t **e );
14119
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145 xcb_void_cookie_t
14146 xcb_set_screen_saver_checked (xcb_connection_t *c ,
14147 int16_t timeout ,
14148 int16_t interval ,
14149 uint8_t prefer_blanking ,
14150 uint8_t allow_exposures );
14151
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174 xcb_void_cookie_t
14175 xcb_set_screen_saver (xcb_connection_t *c ,
14176 int16_t timeout ,
14177 int16_t interval ,
14178 uint8_t prefer_blanking ,
14179 uint8_t allow_exposures );
14180
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199 xcb_get_screen_saver_cookie_t
14200 xcb_get_screen_saver (xcb_connection_t *c );
14201
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223 xcb_get_screen_saver_cookie_t
14224 xcb_get_screen_saver_unchecked (xcb_connection_t *c );
14225
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252 xcb_get_screen_saver_reply_t *
14253 xcb_get_screen_saver_reply (xcb_connection_t *c ,
14254 xcb_get_screen_saver_cookie_t cookie ,
14255 xcb_generic_error_t **e );
14256
14269
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282 xcb_void_cookie_t
14283 xcb_change_hosts_checked (xcb_connection_t *c ,
14284 uint8_t mode ,
14285 uint8_t family ,
14286 uint16_t address_len ,
14287 const char *address );
14288
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311 xcb_void_cookie_t
14312 xcb_change_hosts (xcb_connection_t *c ,
14313 uint8_t mode ,
14314 uint8_t family ,
14315 uint16_t address_len ,
14316 const char *address );
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328 uint8_t *
14329 xcb_host_address (const xcb_host_t *R );
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341 int
14342 xcb_host_address_length (const xcb_host_t *R );
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354 xcb_generic_iterator_t
14355 xcb_host_address_end (const xcb_host_t *R );
14356
14366
14367
14368
14369
14370
14371
14372
14373
14374
14375 void
14376 xcb_host_next (xcb_host_iterator_t *i );
14377
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397 xcb_generic_iterator_t
14398 xcb_host_end (xcb_host_iterator_t i );
14399
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418 xcb_list_hosts_cookie_t
14419 xcb_list_hosts (xcb_connection_t *c );
14420
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442 xcb_list_hosts_cookie_t
14443 xcb_list_hosts_unchecked (xcb_connection_t *c );
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455 int
14456 xcb_list_hosts_hosts_length (const xcb_list_hosts_reply_t *R );
14457
14458
14459
14460
14461
14462
14463
14464
14465
14466
14467
14468 xcb_host_iterator_t
14469 xcb_list_hosts_hosts_iterator (const xcb_list_hosts_reply_t *R );
14470
14486
14487
14488
14489
14490
14491
14492
14493
14494
14495
14496
14497 xcb_list_hosts_reply_t *
14498 xcb_list_hosts_reply (xcb_connection_t *c ,
14499 xcb_list_hosts_cookie_t cookie ,
14500 xcb_generic_error_t **e );
14501
14514
14515
14516
14517
14518
14519
14520
14521
14522
14523
14524 xcb_void_cookie_t
14525 xcb_set_access_control_checked (xcb_connection_t *c ,
14526 uint8_t mode );
14527
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547 xcb_void_cookie_t
14548 xcb_set_access_control (xcb_connection_t *c ,
14549 uint8_t mode );
14550
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573 xcb_void_cookie_t
14574 xcb_set_close_down_mode_checked (xcb_connection_t *c ,
14575 uint8_t mode );
14576
14586
14587
14588
14589
14590
14591
14592
14593
14594
14595
14596 xcb_void_cookie_t
14597 xcb_set_close_down_mode (xcb_connection_t *c ,
14598 uint8_t mode );
14599
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622 xcb_void_cookie_t
14623 xcb_kill_client_checked (xcb_connection_t *c ,
14624 uint32_t resource );
14625
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645 xcb_void_cookie_t
14646 xcb_kill_client (xcb_connection_t *c ,
14647 uint32_t resource );
14648
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674 xcb_void_cookie_t
14675 xcb_rotate_properties_checked (xcb_connection_t *c ,
14676 xcb_window_t window ,
14677 uint16_t atoms_len ,
14678 int16_t delta ,
14679 const xcb_atom_t *atoms );
14680
14690
14691
14692
14693
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703 xcb_void_cookie_t
14704 xcb_rotate_properties (xcb_connection_t *c ,
14705 xcb_window_t window ,
14706 uint16_t atoms_len ,
14707 int16_t delta ,
14708 const xcb_atom_t *atoms );
14709
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732 xcb_void_cookie_t
14733 xcb_force_screen_saver_checked (xcb_connection_t *c ,
14734 uint8_t mode );
14735
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755 xcb_void_cookie_t
14756 xcb_force_screen_saver (xcb_connection_t *c ,
14757 uint8_t mode );
14758
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779 xcb_set_pointer_mapping_cookie_t
14780 xcb_set_pointer_mapping (xcb_connection_t *c ,
14781 uint8_t map_len ,
14782 const uint8_t *map );
14783
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807 xcb_set_pointer_mapping_cookie_t
14808 xcb_set_pointer_mapping_unchecked (xcb_connection_t *c ,
14809 uint8_t map_len ,
14810 const uint8_t *map );
14811
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838 xcb_set_pointer_mapping_reply_t *
14839 xcb_set_pointer_mapping_reply (xcb_connection_t *c ,
14840 xcb_set_pointer_mapping_cookie_t cookie ,
14841 xcb_generic_error_t **e );
14842
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861 xcb_get_pointer_mapping_cookie_t
14862 xcb_get_pointer_mapping (xcb_connection_t *c );
14863
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885 xcb_get_pointer_mapping_cookie_t
14886 xcb_get_pointer_mapping_unchecked (xcb_connection_t *c );
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898 uint8_t *
14899 xcb_get_pointer_mapping_map (const xcb_get_pointer_mapping_reply_t *R );
14900
14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911 int
14912 xcb_get_pointer_mapping_map_length (const xcb_get_pointer_mapping_reply_t *R );
14913
14914
14915
14916
14917
14918
14919
14920
14921
14922
14923
14924 xcb_generic_iterator_t
14925 xcb_get_pointer_mapping_map_end (const xcb_get_pointer_mapping_reply_t *R );
14926
14942
14943
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953 xcb_get_pointer_mapping_reply_t *
14954 xcb_get_pointer_mapping_reply (xcb_connection_t *c ,
14955 xcb_get_pointer_mapping_cookie_t cookie ,
14956 xcb_generic_error_t **e );
14957
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978 xcb_set_modifier_mapping_cookie_t
14979 xcb_set_modifier_mapping (xcb_connection_t *c ,
14980 uint8_t keycodes_per_modifier ,
14981 const xcb_keycode_t *keycodes );
14982
14995
14996
14997
14998
14999
15000
15001
15002
15003
15004
15005
15006 xcb_set_modifier_mapping_cookie_t
15007 xcb_set_modifier_mapping_unchecked (xcb_connection_t *c ,
15008 uint8_t keycodes_per_modifier ,
15009 const xcb_keycode_t *keycodes );
15010
15026
15027
15028
15029
15030
15031
15032
15033
15034
15035
15036
15037 xcb_set_modifier_mapping_reply_t *
15038 xcb_set_modifier_mapping_reply (xcb_connection_t *c ,
15039 xcb_set_modifier_mapping_cookie_t cookie ,
15040 xcb_generic_error_t **e );
15041
15051
15052
15053
15054
15055
15056
15057
15058
15059
15060 xcb_get_modifier_mapping_cookie_t
15061 xcb_get_modifier_mapping (xcb_connection_t *c );
15062
15075
15076
15077
15078
15079
15080
15081
15082
15083
15084 xcb_get_modifier_mapping_cookie_t
15085 xcb_get_modifier_mapping_unchecked (xcb_connection_t *c );
15086
15087
15088
15089
15090
15091
15092
15093
15094
15095
15096
15097 xcb_keycode_t *
15098 xcb_get_modifier_mapping_keycodes (const xcb_get_modifier_mapping_reply_t *R );
15099
15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110 int
15111 xcb_get_modifier_mapping_keycodes_length (const xcb_get_modifier_mapping_reply_t *R );
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123 xcb_generic_iterator_t
15124 xcb_get_modifier_mapping_keycodes_end (const xcb_get_modifier_mapping_reply_t *R );
15125
15141
15142
15143
15144
15145
15146
15147
15148
15149
15150
15151
15152 xcb_get_modifier_mapping_reply_t *
15153 xcb_get_modifier_mapping_reply (xcb_connection_t *c ,
15154 xcb_get_modifier_mapping_cookie_t cookie ,
15155 xcb_generic_error_t **e );
15156
15169
15170
15171
15172
15173
15174
15175
15176
15177
15178 xcb_void_cookie_t
15179 xcb_no_operation_checked (xcb_connection_t *c );
15180
15190
15191
15192
15193
15194
15195
15196
15197
15198
15199 xcb_void_cookie_t
15200 xcb_no_operation (xcb_connection_t *c );
15201
15202
15203 #ifdef __cplusplus
15204 }
15205 #endif
15206
15207 #endif
15208