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
00319 typedef enum xcb_event_mask_t {
00320 XCB_EVENT_MASK_NO_EVENT = 0,
00321 XCB_EVENT_MASK_KEY_PRESS = 1,
00322 XCB_EVENT_MASK_KEY_RELEASE = 2,
00323 XCB_EVENT_MASK_BUTTON_PRESS = 4,
00324 XCB_EVENT_MASK_BUTTON_RELEASE = 8,
00325 XCB_EVENT_MASK_ENTER_WINDOW = 16,
00326 XCB_EVENT_MASK_LEAVE_WINDOW = 32,
00327 XCB_EVENT_MASK_POINTER_MOTION = 64,
00328 XCB_EVENT_MASK_POINTER_MOTION_HINT = 128,
00329 XCB_EVENT_MASK_BUTTON_1_MOTION = 256,
00330 XCB_EVENT_MASK_BUTTON_2_MOTION = 512,
00331 XCB_EVENT_MASK_BUTTON_3_MOTION = 1024,
00332 XCB_EVENT_MASK_BUTTON_4_MOTION = 2048,
00333 XCB_EVENT_MASK_BUTTON_5_MOTION = 4096,
00334 XCB_EVENT_MASK_BUTTON_MOTION = 8192,
00335 XCB_EVENT_MASK_KEYMAP_STATE = 16384,
00336 XCB_EVENT_MASK_EXPOSURE = 32768,
00337 XCB_EVENT_MASK_VISIBILITY_CHANGE = 65536,
00338 XCB_EVENT_MASK_STRUCTURE_NOTIFY = 131072,
00339 XCB_EVENT_MASK_RESIZE_REDIRECT = 262144,
00340 XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY = 524288,
00341 XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT = 1048576,
00342 XCB_EVENT_MASK_FOCUS_CHANGE = 2097152,
00343 XCB_EVENT_MASK_PROPERTY_CHANGE = 4194304,
00344 XCB_EVENT_MASK_COLOR_MAP_CHANGE = 8388608,
00345 XCB_EVENT_MASK_OWNER_GRAB_BUTTON = 16777216
00346 } xcb_event_mask_t;
00347
00348 typedef enum xcb_backing_store_t {
00349 XCB_BACKING_STORE_NOT_USEFUL = 0,
00350 XCB_BACKING_STORE_WHEN_MAPPED = 1,
00351 XCB_BACKING_STORE_ALWAYS = 2
00352 } xcb_backing_store_t;
00353
00357 typedef struct xcb_screen_t {
00358 xcb_window_t root;
00359 xcb_colormap_t default_colormap;
00360 uint32_t white_pixel;
00361 uint32_t black_pixel;
00362 uint32_t current_input_masks;
00363 uint16_t width_in_pixels;
00364 uint16_t height_in_pixels;
00365 uint16_t width_in_millimeters;
00366 uint16_t height_in_millimeters;
00367 uint16_t min_installed_maps;
00368 uint16_t max_installed_maps;
00369 xcb_visualid_t root_visual;
00370 uint8_t backing_stores;
00371 uint8_t save_unders;
00372 uint8_t root_depth;
00373 uint8_t allowed_depths_len;
00374 } xcb_screen_t;
00375
00379 typedef struct xcb_screen_iterator_t {
00380 xcb_screen_t *data;
00381 int rem;
00382 int index;
00383 } xcb_screen_iterator_t;
00384
00388 typedef struct xcb_setup_request_t {
00389 uint8_t byte_order;
00390 uint8_t pad0;
00391 uint16_t protocol_major_version;
00392 uint16_t protocol_minor_version;
00393 uint16_t authorization_protocol_name_len;
00394 uint16_t authorization_protocol_data_len;
00395 uint8_t pad1[2];
00396 } xcb_setup_request_t;
00397
00401 typedef struct xcb_setup_request_iterator_t {
00402 xcb_setup_request_t *data;
00403 int rem;
00404 int index;
00405 } xcb_setup_request_iterator_t;
00406
00410 typedef struct xcb_setup_failed_t {
00411 uint8_t status;
00412 uint8_t reason_len;
00413 uint16_t protocol_major_version;
00414 uint16_t protocol_minor_version;
00415 uint16_t length;
00416 } xcb_setup_failed_t;
00417
00421 typedef struct xcb_setup_failed_iterator_t {
00422 xcb_setup_failed_t *data;
00423 int rem;
00424 int index;
00425 } xcb_setup_failed_iterator_t;
00426
00430 typedef struct xcb_setup_authenticate_t {
00431 uint8_t status;
00432 uint8_t pad0[5];
00433 uint16_t length;
00434 } xcb_setup_authenticate_t;
00435
00439 typedef struct xcb_setup_authenticate_iterator_t {
00440 xcb_setup_authenticate_t *data;
00441 int rem;
00442 int index;
00443 } xcb_setup_authenticate_iterator_t;
00444
00445 typedef enum xcb_image_order_t {
00446 XCB_IMAGE_ORDER_LSB_FIRST = 0,
00447 XCB_IMAGE_ORDER_MSB_FIRST = 1
00448 } xcb_image_order_t;
00449
00453 typedef struct xcb_setup_t {
00454 uint8_t status;
00455 uint8_t pad0;
00456 uint16_t protocol_major_version;
00457 uint16_t protocol_minor_version;
00458 uint16_t length;
00459 uint32_t release_number;
00460 uint32_t resource_id_base;
00461 uint32_t resource_id_mask;
00462 uint32_t motion_buffer_size;
00463 uint16_t vendor_len;
00464 uint16_t maximum_request_length;
00465 uint8_t roots_len;
00466 uint8_t pixmap_formats_len;
00467 uint8_t image_byte_order;
00468 uint8_t bitmap_format_bit_order;
00469 uint8_t bitmap_format_scanline_unit;
00470 uint8_t bitmap_format_scanline_pad;
00471 xcb_keycode_t min_keycode;
00472 xcb_keycode_t max_keycode;
00473 uint8_t pad1[4];
00474 } xcb_setup_t;
00475
00479 typedef struct xcb_setup_iterator_t {
00480 xcb_setup_t *data;
00481 int rem;
00482 int index;
00483 } xcb_setup_iterator_t;
00484
00485 typedef enum xcb_mod_mask_t {
00486 XCB_MOD_MASK_SHIFT = 1,
00487 XCB_MOD_MASK_LOCK = 2,
00488 XCB_MOD_MASK_CONTROL = 4,
00489 XCB_MOD_MASK_1 = 8,
00490 XCB_MOD_MASK_2 = 16,
00491 XCB_MOD_MASK_3 = 32,
00492 XCB_MOD_MASK_4 = 64,
00493 XCB_MOD_MASK_5 = 128,
00494 XCB_MOD_MASK_ANY = 32768
00495 } xcb_mod_mask_t;
00496
00497 typedef enum xcb_key_but_mask_t {
00498 XCB_KEY_BUT_MASK_SHIFT = 1,
00499 XCB_KEY_BUT_MASK_LOCK = 2,
00500 XCB_KEY_BUT_MASK_CONTROL = 4,
00501 XCB_KEY_BUT_MASK_MOD_1 = 8,
00502 XCB_KEY_BUT_MASK_MOD_2 = 16,
00503 XCB_KEY_BUT_MASK_MOD_3 = 32,
00504 XCB_KEY_BUT_MASK_MOD_4 = 64,
00505 XCB_KEY_BUT_MASK_MOD_5 = 128,
00506 XCB_KEY_BUT_MASK_BUTTON_1 = 256,
00507 XCB_KEY_BUT_MASK_BUTTON_2 = 512,
00508 XCB_KEY_BUT_MASK_BUTTON_3 = 1024,
00509 XCB_KEY_BUT_MASK_BUTTON_4 = 2048,
00510 XCB_KEY_BUT_MASK_BUTTON_5 = 4096
00511 } xcb_key_but_mask_t;
00512
00513 typedef enum xcb_window_enum_t {
00514 XCB_WINDOW_NONE = 0
00515 } xcb_window_enum_t;
00516
00518 #define XCB_KEY_PRESS 2
00519
00523 typedef struct xcb_key_press_event_t {
00524 uint8_t response_type;
00525 xcb_keycode_t detail;
00526 uint16_t sequence;
00527 xcb_timestamp_t time;
00528 xcb_window_t root;
00529 xcb_window_t event;
00530 xcb_window_t child;
00531 int16_t root_x;
00532 int16_t root_y;
00533 int16_t event_x;
00534 int16_t event_y;
00535 uint16_t state;
00536 uint8_t same_screen;
00537 uint8_t pad0;
00538 } xcb_key_press_event_t;
00539
00541 #define XCB_KEY_RELEASE 3
00542
00543 typedef xcb_key_press_event_t xcb_key_release_event_t;
00544
00545 typedef enum xcb_button_mask_t {
00546 XCB_BUTTON_MASK_1 = 256,
00547 XCB_BUTTON_MASK_2 = 512,
00548 XCB_BUTTON_MASK_3 = 1024,
00549 XCB_BUTTON_MASK_4 = 2048,
00550 XCB_BUTTON_MASK_5 = 4096,
00551 XCB_BUTTON_MASK_ANY = 32768
00552 } xcb_button_mask_t;
00553
00555 #define XCB_BUTTON_PRESS 4
00556
00560 typedef struct xcb_button_press_event_t {
00561 uint8_t response_type;
00562 xcb_button_t detail;
00563 uint16_t sequence;
00564 xcb_timestamp_t time;
00565 xcb_window_t root;
00566 xcb_window_t event;
00567 xcb_window_t child;
00568 int16_t root_x;
00569 int16_t root_y;
00570 int16_t event_x;
00571 int16_t event_y;
00572 uint16_t state;
00573 uint8_t same_screen;
00574 uint8_t pad0;
00575 } xcb_button_press_event_t;
00576
00578 #define XCB_BUTTON_RELEASE 5
00579
00580 typedef xcb_button_press_event_t xcb_button_release_event_t;
00581
00582 typedef enum xcb_motion_t {
00583 XCB_MOTION_NORMAL = 0,
00584 XCB_MOTION_HINT = 1
00585 } xcb_motion_t;
00586
00588 #define XCB_MOTION_NOTIFY 6
00589
00593 typedef struct xcb_motion_notify_event_t {
00594 uint8_t response_type;
00595 uint8_t detail;
00596 uint16_t sequence;
00597 xcb_timestamp_t time;
00598 xcb_window_t root;
00599 xcb_window_t event;
00600 xcb_window_t child;
00601 int16_t root_x;
00602 int16_t root_y;
00603 int16_t event_x;
00604 int16_t event_y;
00605 uint16_t state;
00606 uint8_t same_screen;
00607 uint8_t pad0;
00608 } xcb_motion_notify_event_t;
00609
00610 typedef enum xcb_notify_detail_t {
00611 XCB_NOTIFY_DETAIL_ANCESTOR = 0,
00612 XCB_NOTIFY_DETAIL_VIRTUAL = 1,
00613 XCB_NOTIFY_DETAIL_INFERIOR = 2,
00614 XCB_NOTIFY_DETAIL_NONLINEAR = 3,
00615 XCB_NOTIFY_DETAIL_NONLINEAR_VIRTUAL = 4,
00616 XCB_NOTIFY_DETAIL_POINTER = 5,
00617 XCB_NOTIFY_DETAIL_POINTER_ROOT = 6,
00618 XCB_NOTIFY_DETAIL_NONE = 7
00619 } xcb_notify_detail_t;
00620
00621 typedef enum xcb_notify_mode_t {
00622 XCB_NOTIFY_MODE_NORMAL = 0,
00623 XCB_NOTIFY_MODE_GRAB = 1,
00624 XCB_NOTIFY_MODE_UNGRAB = 2,
00625 XCB_NOTIFY_MODE_WHILE_GRABBED = 3
00626 } xcb_notify_mode_t;
00627
00629 #define XCB_ENTER_NOTIFY 7
00630
00634 typedef struct xcb_enter_notify_event_t {
00635 uint8_t response_type;
00636 uint8_t detail;
00637 uint16_t sequence;
00638 xcb_timestamp_t time;
00639 xcb_window_t root;
00640 xcb_window_t event;
00641 xcb_window_t child;
00642 int16_t root_x;
00643 int16_t root_y;
00644 int16_t event_x;
00645 int16_t event_y;
00646 uint16_t state;
00647 uint8_t mode;
00648 uint8_t same_screen_focus;
00649 } xcb_enter_notify_event_t;
00650
00652 #define XCB_LEAVE_NOTIFY 8
00653
00654 typedef xcb_enter_notify_event_t xcb_leave_notify_event_t;
00655
00657 #define XCB_FOCUS_IN 9
00658
00662 typedef struct xcb_focus_in_event_t {
00663 uint8_t response_type;
00664 uint8_t detail;
00665 uint16_t sequence;
00666 xcb_window_t event;
00667 uint8_t mode;
00668 uint8_t pad0[3];
00669 } xcb_focus_in_event_t;
00670
00672 #define XCB_FOCUS_OUT 10
00673
00674 typedef xcb_focus_in_event_t xcb_focus_out_event_t;
00675
00677 #define XCB_KEYMAP_NOTIFY 11
00678
00682 typedef struct xcb_keymap_notify_event_t {
00683 uint8_t response_type;
00684 uint8_t keys[31];
00685 } xcb_keymap_notify_event_t;
00686
00688 #define XCB_EXPOSE 12
00689
00693 typedef struct xcb_expose_event_t {
00694 uint8_t response_type;
00695 uint8_t pad0;
00696 uint16_t sequence;
00697 xcb_window_t window;
00698 uint16_t x;
00699 uint16_t y;
00700 uint16_t width;
00701 uint16_t height;
00702 uint16_t count;
00703 uint8_t pad1[2];
00704 } xcb_expose_event_t;
00705
00707 #define XCB_GRAPHICS_EXPOSURE 13
00708
00712 typedef struct xcb_graphics_exposure_event_t {
00713 uint8_t response_type;
00714 uint8_t pad0;
00715 uint16_t sequence;
00716 xcb_drawable_t drawable;
00717 uint16_t x;
00718 uint16_t y;
00719 uint16_t width;
00720 uint16_t height;
00721 uint16_t minor_opcode;
00722 uint16_t count;
00723 uint8_t major_opcode;
00724 uint8_t pad1[3];
00725 } xcb_graphics_exposure_event_t;
00726
00728 #define XCB_NO_EXPOSURE 14
00729
00733 typedef struct xcb_no_exposure_event_t {
00734 uint8_t response_type;
00735 uint8_t pad0;
00736 uint16_t sequence;
00737 xcb_drawable_t drawable;
00738 uint16_t minor_opcode;
00739 uint8_t major_opcode;
00740 uint8_t pad1;
00741 } xcb_no_exposure_event_t;
00742
00743 typedef enum xcb_visibility_t {
00744 XCB_VISIBILITY_UNOBSCURED = 0,
00745 XCB_VISIBILITY_PARTIALLY_OBSCURED = 1,
00746 XCB_VISIBILITY_FULLY_OBSCURED = 2
00747 } xcb_visibility_t;
00748
00750 #define XCB_VISIBILITY_NOTIFY 15
00751
00755 typedef struct xcb_visibility_notify_event_t {
00756 uint8_t response_type;
00757 uint8_t pad0;
00758 uint16_t sequence;
00759 xcb_window_t window;
00760 uint8_t state;
00761 uint8_t pad1[3];
00762 } xcb_visibility_notify_event_t;
00763
00765 #define XCB_CREATE_NOTIFY 16
00766
00770 typedef struct xcb_create_notify_event_t {
00771 uint8_t response_type;
00772 uint8_t pad0;
00773 uint16_t sequence;
00774 xcb_window_t parent;
00775 xcb_window_t window;
00776 int16_t x;
00777 int16_t y;
00778 uint16_t width;
00779 uint16_t height;
00780 uint16_t border_width;
00781 uint8_t override_redirect;
00782 uint8_t pad1;
00783 } xcb_create_notify_event_t;
00784
00786 #define XCB_DESTROY_NOTIFY 17
00787
00791 typedef struct xcb_destroy_notify_event_t {
00792 uint8_t response_type;
00793 uint8_t pad0;
00794 uint16_t sequence;
00795 xcb_window_t event;
00796 xcb_window_t window;
00797 } xcb_destroy_notify_event_t;
00798
00800 #define XCB_UNMAP_NOTIFY 18
00801
00805 typedef struct xcb_unmap_notify_event_t {
00806 uint8_t response_type;
00807 uint8_t pad0;
00808 uint16_t sequence;
00809 xcb_window_t event;
00810 xcb_window_t window;
00811 uint8_t from_configure;
00812 uint8_t pad1[3];
00813 } xcb_unmap_notify_event_t;
00814
00816 #define XCB_MAP_NOTIFY 19
00817
00821 typedef struct xcb_map_notify_event_t {
00822 uint8_t response_type;
00823 uint8_t pad0;
00824 uint16_t sequence;
00825 xcb_window_t event;
00826 xcb_window_t window;
00827 uint8_t override_redirect;
00828 uint8_t pad1[3];
00829 } xcb_map_notify_event_t;
00830
00832 #define XCB_MAP_REQUEST 20
00833
00837 typedef struct xcb_map_request_event_t {
00838 uint8_t response_type;
00839 uint8_t pad0;
00840 uint16_t sequence;
00841 xcb_window_t parent;
00842 xcb_window_t window;
00843 } xcb_map_request_event_t;
00844
00846 #define XCB_REPARENT_NOTIFY 21
00847
00851 typedef struct xcb_reparent_notify_event_t {
00852 uint8_t response_type;
00853 uint8_t pad0;
00854 uint16_t sequence;
00855 xcb_window_t event;
00856 xcb_window_t window;
00857 xcb_window_t parent;
00858 int16_t x;
00859 int16_t y;
00860 uint8_t override_redirect;
00861 uint8_t pad1[3];
00862 } xcb_reparent_notify_event_t;
00863
00865 #define XCB_CONFIGURE_NOTIFY 22
00866
00870 typedef struct xcb_configure_notify_event_t {
00871 uint8_t response_type;
00872 uint8_t pad0;
00873 uint16_t sequence;
00874 xcb_window_t event;
00875 xcb_window_t window;
00876 xcb_window_t above_sibling;
00877 int16_t x;
00878 int16_t y;
00879 uint16_t width;
00880 uint16_t height;
00881 uint16_t border_width;
00882 uint8_t override_redirect;
00883 uint8_t pad1;
00884 } xcb_configure_notify_event_t;
00885
00887 #define XCB_CONFIGURE_REQUEST 23
00888
00892 typedef struct xcb_configure_request_event_t {
00893 uint8_t response_type;
00894 uint8_t stack_mode;
00895 uint16_t sequence;
00896 xcb_window_t parent;
00897 xcb_window_t window;
00898 xcb_window_t sibling;
00899 int16_t x;
00900 int16_t y;
00901 uint16_t width;
00902 uint16_t height;
00903 uint16_t border_width;
00904 uint16_t value_mask;
00905 } xcb_configure_request_event_t;
00906
00908 #define XCB_GRAVITY_NOTIFY 24
00909
00913 typedef struct xcb_gravity_notify_event_t {
00914 uint8_t response_type;
00915 uint8_t pad0;
00916 uint16_t sequence;
00917 xcb_window_t event;
00918 xcb_window_t window;
00919 int16_t x;
00920 int16_t y;
00921 } xcb_gravity_notify_event_t;
00922
00924 #define XCB_RESIZE_REQUEST 25
00925
00929 typedef struct xcb_resize_request_event_t {
00930 uint8_t response_type;
00931 uint8_t pad0;
00932 uint16_t sequence;
00933 xcb_window_t window;
00934 uint16_t width;
00935 uint16_t height;
00936 } xcb_resize_request_event_t;
00937
00938 typedef enum xcb_place_t {
00939 XCB_PLACE_ON_TOP = 0,
00940 XCB_PLACE_ON_BOTTOM = 1
00941 } xcb_place_t;
00942
00944 #define XCB_CIRCULATE_NOTIFY 26
00945
00949 typedef struct xcb_circulate_notify_event_t {
00950 uint8_t response_type;
00951 uint8_t pad0;
00952 uint16_t sequence;
00953 xcb_window_t event;
00954 xcb_window_t window;
00955 uint8_t pad1[4];
00956 uint8_t place;
00957 uint8_t pad2[3];
00958 } xcb_circulate_notify_event_t;
00959
00961 #define XCB_CIRCULATE_REQUEST 27
00962
00963 typedef xcb_circulate_notify_event_t xcb_circulate_request_event_t;
00964
00965 typedef enum xcb_property_t {
00966 XCB_PROPERTY_NEW_VALUE = 0,
00967 XCB_PROPERTY_DELETE = 1
00968 } xcb_property_t;
00969
00971 #define XCB_PROPERTY_NOTIFY 28
00972
00976 typedef struct xcb_property_notify_event_t {
00977 uint8_t response_type;
00978 uint8_t pad0;
00979 uint16_t sequence;
00980 xcb_window_t window;
00981 xcb_atom_t atom;
00982 xcb_timestamp_t time;
00983 uint8_t state;
00984 uint8_t pad1[3];
00985 } xcb_property_notify_event_t;
00986
00988 #define XCB_SELECTION_CLEAR 29
00989
00993 typedef struct xcb_selection_clear_event_t {
00994 uint8_t response_type;
00995 uint8_t pad0;
00996 uint16_t sequence;
00997 xcb_timestamp_t time;
00998 xcb_window_t owner;
00999 xcb_atom_t selection;
01000 } xcb_selection_clear_event_t;
01001
01002 typedef enum xcb_time_t {
01003 XCB_TIME_CURRENT_TIME = 0
01004 } xcb_time_t;
01005
01006 typedef enum xcb_atom_enum_t {
01007 XCB_ATOM_NONE = 0,
01008 XCB_ATOM_ANY = 0,
01009 XCB_ATOM_PRIMARY,
01010 XCB_ATOM_SECONDARY,
01011 XCB_ATOM_ARC,
01012 XCB_ATOM_ATOM,
01013 XCB_ATOM_BITMAP,
01014 XCB_ATOM_CARDINAL,
01015 XCB_ATOM_COLORMAP,
01016 XCB_ATOM_CURSOR,
01017 XCB_ATOM_CUT_BUFFER0,
01018 XCB_ATOM_CUT_BUFFER1,
01019 XCB_ATOM_CUT_BUFFER2,
01020 XCB_ATOM_CUT_BUFFER3,
01021 XCB_ATOM_CUT_BUFFER4,
01022 XCB_ATOM_CUT_BUFFER5,
01023 XCB_ATOM_CUT_BUFFER6,
01024 XCB_ATOM_CUT_BUFFER7,
01025 XCB_ATOM_DRAWABLE,
01026 XCB_ATOM_FONT,
01027 XCB_ATOM_INTEGER,
01028 XCB_ATOM_PIXMAP,
01029 XCB_ATOM_POINT,
01030 XCB_ATOM_RECTANGLE,
01031 XCB_ATOM_RESOURCE_MANAGER,
01032 XCB_ATOM_RGB_COLOR_MAP,
01033 XCB_ATOM_RGB_BEST_MAP,
01034 XCB_ATOM_RGB_BLUE_MAP,
01035 XCB_ATOM_RGB_DEFAULT_MAP,
01036 XCB_ATOM_RGB_GRAY_MAP,
01037 XCB_ATOM_RGB_GREEN_MAP,
01038 XCB_ATOM_RGB_RED_MAP,
01039 XCB_ATOM_STRING,
01040 XCB_ATOM_VISUALID,
01041 XCB_ATOM_WINDOW,
01042 XCB_ATOM_WM_COMMAND,
01043 XCB_ATOM_WM_HINTS,
01044 XCB_ATOM_WM_CLIENT_MACHINE,
01045 XCB_ATOM_WM_ICON_NAME,
01046 XCB_ATOM_WM_ICON_SIZE,
01047 XCB_ATOM_WM_NAME,
01048 XCB_ATOM_WM_NORMAL_HINTS,
01049 XCB_ATOM_WM_SIZE_HINTS,
01050 XCB_ATOM_WM_ZOOM_HINTS,
01051 XCB_ATOM_MIN_SPACE,
01052 XCB_ATOM_NORM_SPACE,
01053 XCB_ATOM_MAX_SPACE,
01054 XCB_ATOM_END_SPACE,
01055 XCB_ATOM_SUPERSCRIPT_X,
01056 XCB_ATOM_SUPERSCRIPT_Y,
01057 XCB_ATOM_SUBSCRIPT_X,
01058 XCB_ATOM_SUBSCRIPT_Y,
01059 XCB_ATOM_UNDERLINE_POSITION,
01060 XCB_ATOM_UNDERLINE_THICKNESS,
01061 XCB_ATOM_STRIKEOUT_ASCENT,
01062 XCB_ATOM_STRIKEOUT_DESCENT,
01063 XCB_ATOM_ITALIC_ANGLE,
01064 XCB_ATOM_X_HEIGHT,
01065 XCB_ATOM_QUAD_WIDTH,
01066 XCB_ATOM_WEIGHT,
01067 XCB_ATOM_POINT_SIZE,
01068 XCB_ATOM_RESOLUTION,
01069 XCB_ATOM_COPYRIGHT,
01070 XCB_ATOM_NOTICE,
01071 XCB_ATOM_FONT_NAME,
01072 XCB_ATOM_FAMILY_NAME,
01073 XCB_ATOM_FULL_NAME,
01074 XCB_ATOM_CAP_HEIGHT,
01075 XCB_ATOM_WM_CLASS,
01076 XCB_ATOM_WM_TRANSIENT_FOR
01077 } xcb_atom_enum_t;
01078
01080 #define XCB_SELECTION_REQUEST 30
01081
01085 typedef struct xcb_selection_request_event_t {
01086 uint8_t response_type;
01087 uint8_t pad0;
01088 uint16_t sequence;
01089 xcb_timestamp_t time;
01090 xcb_window_t owner;
01091 xcb_window_t requestor;
01092 xcb_atom_t selection;
01093 xcb_atom_t target;
01094 xcb_atom_t property;
01095 } xcb_selection_request_event_t;
01096
01098 #define XCB_SELECTION_NOTIFY 31
01099
01103 typedef struct xcb_selection_notify_event_t {
01104 uint8_t response_type;
01105 uint8_t pad0;
01106 uint16_t sequence;
01107 xcb_timestamp_t time;
01108 xcb_window_t requestor;
01109 xcb_atom_t selection;
01110 xcb_atom_t target;
01111 xcb_atom_t property;
01112 } xcb_selection_notify_event_t;
01113
01114 typedef enum xcb_colormap_state_t {
01115 XCB_COLORMAP_STATE_UNINSTALLED = 0,
01116 XCB_COLORMAP_STATE_INSTALLED = 1
01117 } xcb_colormap_state_t;
01118
01119 typedef enum xcb_colormap_enum_t {
01120 XCB_COLORMAP_NONE = 0
01121 } xcb_colormap_enum_t;
01122
01124 #define XCB_COLORMAP_NOTIFY 32
01125
01129 typedef struct xcb_colormap_notify_event_t {
01130 uint8_t response_type;
01131 uint8_t pad0;
01132 uint16_t sequence;
01133 xcb_window_t window;
01134 xcb_colormap_t colormap;
01135 uint8_t _new;
01136 uint8_t state;
01137 uint8_t pad1[2];
01138 } xcb_colormap_notify_event_t;
01139
01143 typedef union xcb_client_message_data_t {
01144 uint8_t data8[20];
01145 uint16_t data16[10];
01146 uint32_t data32[5];
01147 } xcb_client_message_data_t;
01148
01152 typedef struct xcb_client_message_data_iterator_t {
01153 xcb_client_message_data_t *data;
01154 int rem;
01155 int index;
01156 } xcb_client_message_data_iterator_t;
01157
01159 #define XCB_CLIENT_MESSAGE 33
01160
01164 typedef struct xcb_client_message_event_t {
01165 uint8_t response_type;
01166 uint8_t format;
01167 uint16_t sequence;
01168 xcb_window_t window;
01169 xcb_atom_t type;
01170 xcb_client_message_data_t data;
01171 } xcb_client_message_event_t;
01172
01173 typedef enum xcb_mapping_t {
01174 XCB_MAPPING_MODIFIER = 0,
01175 XCB_MAPPING_KEYBOARD = 1,
01176 XCB_MAPPING_POINTER = 2
01177 } xcb_mapping_t;
01178
01180 #define XCB_MAPPING_NOTIFY 34
01181
01185 typedef struct xcb_mapping_notify_event_t {
01186 uint8_t response_type;
01187 uint8_t pad0;
01188 uint16_t sequence;
01189 uint8_t request;
01190 xcb_keycode_t first_keycode;
01191 uint8_t count;
01192 uint8_t pad1;
01193 } xcb_mapping_notify_event_t;
01194
01196 #define XCB_REQUEST 1
01197
01201 typedef struct xcb_request_error_t {
01202 uint8_t response_type;
01203 uint8_t error_code;
01204 uint16_t sequence;
01205 uint32_t bad_value;
01206 uint16_t minor_opcode;
01207 uint8_t major_opcode;
01208 uint8_t pad0;
01209 } xcb_request_error_t;
01210
01212 #define XCB_VALUE 2
01213
01217 typedef struct xcb_value_error_t {
01218 uint8_t response_type;
01219 uint8_t error_code;
01220 uint16_t sequence;
01221 uint32_t bad_value;
01222 uint16_t minor_opcode;
01223 uint8_t major_opcode;
01224 uint8_t pad0;
01225 } xcb_value_error_t;
01226
01228 #define XCB_WINDOW 3
01229
01230 typedef xcb_value_error_t xcb_window_error_t;
01231
01233 #define XCB_PIXMAP 4
01234
01235 typedef xcb_value_error_t xcb_pixmap_error_t;
01236
01238 #define XCB_ATOM 5
01239
01240 typedef xcb_value_error_t xcb_atom_error_t;
01241
01243 #define XCB_CURSOR 6
01244
01245 typedef xcb_value_error_t xcb_cursor_error_t;
01246
01248 #define XCB_FONT 7
01249
01250 typedef xcb_value_error_t xcb_font_error_t;
01251
01253 #define XCB_MATCH 8
01254
01255 typedef xcb_request_error_t xcb_match_error_t;
01256
01258 #define XCB_DRAWABLE 9
01259
01260 typedef xcb_value_error_t xcb_drawable_error_t;
01261
01263 #define XCB_ACCESS 10
01264
01265 typedef xcb_request_error_t xcb_access_error_t;
01266
01268 #define XCB_ALLOC 11
01269
01270 typedef xcb_request_error_t xcb_alloc_error_t;
01271
01273 #define XCB_COLORMAP 12
01274
01275 typedef xcb_value_error_t xcb_colormap_error_t;
01276
01278 #define XCB_G_CONTEXT 13
01279
01280 typedef xcb_value_error_t xcb_g_context_error_t;
01281
01283 #define XCB_ID_CHOICE 14
01284
01285 typedef xcb_value_error_t xcb_id_choice_error_t;
01286
01288 #define XCB_NAME 15
01289
01290 typedef xcb_request_error_t xcb_name_error_t;
01291
01293 #define XCB_LENGTH 16
01294
01295 typedef xcb_request_error_t xcb_length_error_t;
01296
01298 #define XCB_IMPLEMENTATION 17
01299
01300 typedef xcb_request_error_t xcb_implementation_error_t;
01301
01302 typedef enum xcb_window_class_t {
01303 XCB_WINDOW_CLASS_COPY_FROM_PARENT = 0,
01304 XCB_WINDOW_CLASS_INPUT_OUTPUT = 1,
01305 XCB_WINDOW_CLASS_INPUT_ONLY = 2
01306 } xcb_window_class_t;
01307
01308 typedef enum xcb_cw_t {
01309 XCB_CW_BACK_PIXMAP = 1,
01310 XCB_CW_BACK_PIXEL = 2,
01311 XCB_CW_BORDER_PIXMAP = 4,
01312 XCB_CW_BORDER_PIXEL = 8,
01313 XCB_CW_BIT_GRAVITY = 16,
01314 XCB_CW_WIN_GRAVITY = 32,
01315 XCB_CW_BACKING_STORE = 64,
01316 XCB_CW_BACKING_PLANES = 128,
01317 XCB_CW_BACKING_PIXEL = 256,
01318 XCB_CW_OVERRIDE_REDIRECT = 512,
01319 XCB_CW_SAVE_UNDER = 1024,
01320 XCB_CW_EVENT_MASK = 2048,
01321 XCB_CW_DONT_PROPAGATE = 4096,
01322 XCB_CW_COLORMAP = 8192,
01323 XCB_CW_CURSOR = 16384
01324 } xcb_cw_t;
01325
01326 typedef enum xcb_back_pixmap_t {
01327 XCB_BACK_PIXMAP_NONE = 0,
01328 XCB_BACK_PIXMAP_PARENT_RELATIVE = 1
01329 } xcb_back_pixmap_t;
01330
01331 typedef enum xcb_gravity_t {
01332 XCB_GRAVITY_BIT_FORGET = 0,
01333 XCB_GRAVITY_WIN_UNMAP = 0,
01334 XCB_GRAVITY_NORTH_WEST = 1,
01335 XCB_GRAVITY_NORTH = 2,
01336 XCB_GRAVITY_NORTH_EAST = 3,
01337 XCB_GRAVITY_WEST = 4,
01338 XCB_GRAVITY_CENTER = 5,
01339 XCB_GRAVITY_EAST = 6,
01340 XCB_GRAVITY_SOUTH_WEST = 7,
01341 XCB_GRAVITY_SOUTH = 8,
01342 XCB_GRAVITY_SOUTH_EAST = 9,
01343 XCB_GRAVITY_STATIC = 10
01344 } xcb_gravity_t;
01345
01347 #define XCB_CREATE_WINDOW 1
01348
01352 typedef struct xcb_create_window_request_t {
01353 uint8_t major_opcode;
01354 uint8_t depth;
01355 uint16_t length;
01356 xcb_window_t wid;
01357 xcb_window_t parent;
01358 int16_t x;
01359 int16_t y;
01360 uint16_t width;
01361 uint16_t height;
01362 uint16_t border_width;
01363 uint16_t _class;
01364 xcb_visualid_t visual;
01365 uint32_t value_mask;
01366 } xcb_create_window_request_t;
01367
01369 #define XCB_CHANGE_WINDOW_ATTRIBUTES 2
01370
01374 typedef struct xcb_change_window_attributes_request_t {
01375 uint8_t major_opcode;
01376 uint8_t pad0;
01377 uint16_t length;
01378 xcb_window_t window;
01379 uint32_t value_mask;
01380 } xcb_change_window_attributes_request_t;
01381
01382 typedef enum xcb_map_state_t {
01383 XCB_MAP_STATE_UNMAPPED = 0,
01384 XCB_MAP_STATE_UNVIEWABLE = 1,
01385 XCB_MAP_STATE_VIEWABLE = 2
01386 } xcb_map_state_t;
01387
01391 typedef struct xcb_get_window_attributes_cookie_t {
01392 unsigned int sequence;
01393 } xcb_get_window_attributes_cookie_t;
01394
01396 #define XCB_GET_WINDOW_ATTRIBUTES 3
01397
01401 typedef struct xcb_get_window_attributes_request_t {
01402 uint8_t major_opcode;
01403 uint8_t pad0;
01404 uint16_t length;
01405 xcb_window_t window;
01406 } xcb_get_window_attributes_request_t;
01407
01411 typedef struct xcb_get_window_attributes_reply_t {
01412 uint8_t response_type;
01413 uint8_t backing_store;
01414 uint16_t sequence;
01415 uint32_t length;
01416 xcb_visualid_t visual;
01417 uint16_t _class;
01418 uint8_t bit_gravity;
01419 uint8_t win_gravity;
01420 uint32_t backing_planes;
01421 uint32_t backing_pixel;
01422 uint8_t save_under;
01423 uint8_t map_is_installed;
01424 uint8_t map_state;
01425 uint8_t override_redirect;
01426 xcb_colormap_t colormap;
01427 uint32_t all_event_masks;
01428 uint32_t your_event_mask;
01429 uint16_t do_not_propagate_mask;
01430 uint8_t pad0[2];
01431 } xcb_get_window_attributes_reply_t;
01432
01434 #define XCB_DESTROY_WINDOW 4
01435
01439 typedef struct xcb_destroy_window_request_t {
01440 uint8_t major_opcode;
01441 uint8_t pad0;
01442 uint16_t length;
01443 xcb_window_t window;
01444 } xcb_destroy_window_request_t;
01445
01447 #define XCB_DESTROY_SUBWINDOWS 5
01448
01452 typedef struct xcb_destroy_subwindows_request_t {
01453 uint8_t major_opcode;
01454 uint8_t pad0;
01455 uint16_t length;
01456 xcb_window_t window;
01457 } xcb_destroy_subwindows_request_t;
01458
01459 typedef enum xcb_set_mode_t {
01460 XCB_SET_MODE_INSERT = 0,
01461 XCB_SET_MODE_DELETE = 1
01462 } xcb_set_mode_t;
01463
01465 #define XCB_CHANGE_SAVE_SET 6
01466
01470 typedef struct xcb_change_save_set_request_t {
01471 uint8_t major_opcode;
01472 uint8_t mode;
01473 uint16_t length;
01474 xcb_window_t window;
01475 } xcb_change_save_set_request_t;
01476
01478 #define XCB_REPARENT_WINDOW 7
01479
01483 typedef struct xcb_reparent_window_request_t {
01484 uint8_t major_opcode;
01485 uint8_t pad0;
01486 uint16_t length;
01487 xcb_window_t window;
01488 xcb_window_t parent;
01489 int16_t x;
01490 int16_t y;
01491 } xcb_reparent_window_request_t;
01492
01494 #define XCB_MAP_WINDOW 8
01495
01499 typedef struct xcb_map_window_request_t {
01500 uint8_t major_opcode;
01501 uint8_t pad0;
01502 uint16_t length;
01503 xcb_window_t window;
01504 } xcb_map_window_request_t;
01505
01507 #define XCB_MAP_SUBWINDOWS 9
01508
01512 typedef struct xcb_map_subwindows_request_t {
01513 uint8_t major_opcode;
01514 uint8_t pad0;
01515 uint16_t length;
01516 xcb_window_t window;
01517 } xcb_map_subwindows_request_t;
01518
01520 #define XCB_UNMAP_WINDOW 10
01521
01525 typedef struct xcb_unmap_window_request_t {
01526 uint8_t major_opcode;
01527 uint8_t pad0;
01528 uint16_t length;
01529 xcb_window_t window;
01530 } xcb_unmap_window_request_t;
01531
01533 #define XCB_UNMAP_SUBWINDOWS 11
01534
01538 typedef struct xcb_unmap_subwindows_request_t {
01539 uint8_t major_opcode;
01540 uint8_t pad0;
01541 uint16_t length;
01542 xcb_window_t window;
01543 } xcb_unmap_subwindows_request_t;
01544
01545 typedef enum xcb_config_window_t {
01546 XCB_CONFIG_WINDOW_X = 1,
01547 XCB_CONFIG_WINDOW_Y = 2,
01548 XCB_CONFIG_WINDOW_WIDTH = 4,
01549 XCB_CONFIG_WINDOW_HEIGHT = 8,
01550 XCB_CONFIG_WINDOW_BORDER_WIDTH = 16,
01551 XCB_CONFIG_WINDOW_SIBLING = 32,
01552 XCB_CONFIG_WINDOW_STACK_MODE = 64
01553 } xcb_config_window_t;
01554
01555 typedef enum xcb_stack_mode_t {
01556 XCB_STACK_MODE_ABOVE = 0,
01557 XCB_STACK_MODE_BELOW = 1,
01558 XCB_STACK_MODE_TOP_IF = 2,
01559 XCB_STACK_MODE_BOTTOM_IF = 3,
01560 XCB_STACK_MODE_OPPOSITE = 4
01561 } xcb_stack_mode_t;
01562
01564 #define XCB_CONFIGURE_WINDOW 12
01565
01569 typedef struct xcb_configure_window_request_t {
01570 uint8_t major_opcode;
01571 uint8_t pad0;
01572 uint16_t length;
01573 xcb_window_t window;
01574 uint16_t value_mask;
01575 uint8_t pad1[2];
01576 } xcb_configure_window_request_t;
01577
01578 typedef enum xcb_circulate_t {
01579 XCB_CIRCULATE_RAISE_LOWEST = 0,
01580 XCB_CIRCULATE_LOWER_HIGHEST = 1
01581 } xcb_circulate_t;
01582
01584 #define XCB_CIRCULATE_WINDOW 13
01585
01589 typedef struct xcb_circulate_window_request_t {
01590 uint8_t major_opcode;
01591 uint8_t direction;
01592 uint16_t length;
01593 xcb_window_t window;
01594 } xcb_circulate_window_request_t;
01595
01599 typedef struct xcb_get_geometry_cookie_t {
01600 unsigned int sequence;
01601 } xcb_get_geometry_cookie_t;
01602
01604 #define XCB_GET_GEOMETRY 14
01605
01609 typedef struct xcb_get_geometry_request_t {
01610 uint8_t major_opcode;
01611 uint8_t pad0;
01612 uint16_t length;
01613 xcb_drawable_t drawable;
01614 } xcb_get_geometry_request_t;
01615
01619 typedef struct xcb_get_geometry_reply_t {
01620 uint8_t response_type;
01621 uint8_t depth;
01622 uint16_t sequence;
01623 uint32_t length;
01624 xcb_window_t root;
01625 int16_t x;
01626 int16_t y;
01627 uint16_t width;
01628 uint16_t height;
01629 uint16_t border_width;
01630 uint8_t pad0[2];
01631 } xcb_get_geometry_reply_t;
01632
01636 typedef struct xcb_query_tree_cookie_t {
01637 unsigned int sequence;
01638 } xcb_query_tree_cookie_t;
01639
01641 #define XCB_QUERY_TREE 15
01642
01646 typedef struct xcb_query_tree_request_t {
01647 uint8_t major_opcode;
01648 uint8_t pad0;
01649 uint16_t length;
01650 xcb_window_t window;
01651 } xcb_query_tree_request_t;
01652
01656 typedef struct xcb_query_tree_reply_t {
01657 uint8_t response_type;
01658 uint8_t pad0;
01659 uint16_t sequence;
01660 uint32_t length;
01661 xcb_window_t root;
01662 xcb_window_t parent;
01663 uint16_t children_len;
01664 uint8_t pad1[14];
01665 } xcb_query_tree_reply_t;
01666
01670 typedef struct xcb_intern_atom_cookie_t {
01671 unsigned int sequence;
01672 } xcb_intern_atom_cookie_t;
01673
01675 #define XCB_INTERN_ATOM 16
01676
01680 typedef struct xcb_intern_atom_request_t {
01681 uint8_t major_opcode;
01682 uint8_t only_if_exists;
01683 uint16_t length;
01684 uint16_t name_len;
01685 uint8_t pad0[2];
01686 } xcb_intern_atom_request_t;
01687
01691 typedef struct xcb_intern_atom_reply_t {
01692 uint8_t response_type;
01693 uint8_t pad0;
01694 uint16_t sequence;
01695 uint32_t length;
01696 xcb_atom_t atom;
01697 } xcb_intern_atom_reply_t;
01698
01702 typedef struct xcb_get_atom_name_cookie_t {
01703 unsigned int sequence;
01704 } xcb_get_atom_name_cookie_t;
01705
01707 #define XCB_GET_ATOM_NAME 17
01708
01712 typedef struct xcb_get_atom_name_request_t {
01713 uint8_t major_opcode;
01714 uint8_t pad0;
01715 uint16_t length;
01716 xcb_atom_t atom;
01717 } xcb_get_atom_name_request_t;
01718
01722 typedef struct xcb_get_atom_name_reply_t {
01723 uint8_t response_type;
01724 uint8_t pad0;
01725 uint16_t sequence;
01726 uint32_t length;
01727 uint16_t name_len;
01728 uint8_t pad1[22];
01729 } xcb_get_atom_name_reply_t;
01730
01731 typedef enum xcb_prop_mode_t {
01732 XCB_PROP_MODE_REPLACE = 0,
01733 XCB_PROP_MODE_PREPEND = 1,
01734 XCB_PROP_MODE_APPEND = 2
01735 } xcb_prop_mode_t;
01736
01738 #define XCB_CHANGE_PROPERTY 18
01739
01743 typedef struct xcb_change_property_request_t {
01744 uint8_t major_opcode;
01745 uint8_t mode;
01746 uint16_t length;
01747 xcb_window_t window;
01748 xcb_atom_t property;
01749 xcb_atom_t type;
01750 uint8_t format;
01751 uint8_t pad0[3];
01752 uint32_t data_len;
01753 } xcb_change_property_request_t;
01754
01756 #define XCB_DELETE_PROPERTY 19
01757
01761 typedef struct xcb_delete_property_request_t {
01762 uint8_t major_opcode;
01763 uint8_t pad0;
01764 uint16_t length;
01765 xcb_window_t window;
01766 xcb_atom_t property;
01767 } xcb_delete_property_request_t;
01768
01769 typedef enum xcb_get_property_type_t {
01770 XCB_GET_PROPERTY_TYPE_ANY = 0
01771 } xcb_get_property_type_t;
01772
01776 typedef struct xcb_get_property_cookie_t {
01777 unsigned int sequence;
01778 } xcb_get_property_cookie_t;
01779
01781 #define XCB_GET_PROPERTY 20
01782
01786 typedef struct xcb_get_property_request_t {
01787 uint8_t major_opcode;
01788 uint8_t _delete;
01789 uint16_t length;
01790 xcb_window_t window;
01791 xcb_atom_t property;
01792 xcb_atom_t type;
01793 uint32_t long_offset;
01794 uint32_t long_length;
01795 } xcb_get_property_request_t;
01796
01800 typedef struct xcb_get_property_reply_t {
01801 uint8_t response_type;
01802 uint8_t format;
01803 uint16_t sequence;
01804 uint32_t length;
01805 xcb_atom_t type;
01806 uint32_t bytes_after;
01807 uint32_t value_len;
01808 uint8_t pad0[12];
01809 } xcb_get_property_reply_t;
01810
01814 typedef struct xcb_list_properties_cookie_t {
01815 unsigned int sequence;
01816 } xcb_list_properties_cookie_t;
01817
01819 #define XCB_LIST_PROPERTIES 21
01820
01824 typedef struct xcb_list_properties_request_t {
01825 uint8_t major_opcode;
01826 uint8_t pad0;
01827 uint16_t length;
01828 xcb_window_t window;
01829 } xcb_list_properties_request_t;
01830
01834 typedef struct xcb_list_properties_reply_t {
01835 uint8_t response_type;
01836 uint8_t pad0;
01837 uint16_t sequence;
01838 uint32_t length;
01839 uint16_t atoms_len;
01840 uint8_t pad1[22];
01841 } xcb_list_properties_reply_t;
01842
01844 #define XCB_SET_SELECTION_OWNER 22
01845
01849 typedef struct xcb_set_selection_owner_request_t {
01850 uint8_t major_opcode;
01851 uint8_t pad0;
01852 uint16_t length;
01853 xcb_window_t owner;
01854 xcb_atom_t selection;
01855 xcb_timestamp_t time;
01856 } xcb_set_selection_owner_request_t;
01857
01861 typedef struct xcb_get_selection_owner_cookie_t {
01862 unsigned int sequence;
01863 } xcb_get_selection_owner_cookie_t;
01864
01866 #define XCB_GET_SELECTION_OWNER 23
01867
01871 typedef struct xcb_get_selection_owner_request_t {
01872 uint8_t major_opcode;
01873 uint8_t pad0;
01874 uint16_t length;
01875 xcb_atom_t selection;
01876 } xcb_get_selection_owner_request_t;
01877
01881 typedef struct xcb_get_selection_owner_reply_t {
01882 uint8_t response_type;
01883 uint8_t pad0;
01884 uint16_t sequence;
01885 uint32_t length;
01886 xcb_window_t owner;
01887 } xcb_get_selection_owner_reply_t;
01888
01890 #define XCB_CONVERT_SELECTION 24
01891
01895 typedef struct xcb_convert_selection_request_t {
01896 uint8_t major_opcode;
01897 uint8_t pad0;
01898 uint16_t length;
01899 xcb_window_t requestor;
01900 xcb_atom_t selection;
01901 xcb_atom_t target;
01902 xcb_atom_t property;
01903 xcb_timestamp_t time;
01904 } xcb_convert_selection_request_t;
01905
01906 typedef enum xcb_send_event_dest_t {
01907 XCB_SEND_EVENT_DEST_POINTER_WINDOW = 0,
01908 XCB_SEND_EVENT_DEST_ITEM_FOCUS = 1
01909 } xcb_send_event_dest_t;
01910
01912 #define XCB_SEND_EVENT 25
01913
01917 typedef struct xcb_send_event_request_t {
01918 uint8_t major_opcode;
01919 uint8_t propagate;
01920 uint16_t length;
01921 xcb_window_t destination;
01922 uint32_t event_mask;
01923 char event[32];
01924 } xcb_send_event_request_t;
01925
01926 typedef enum xcb_grab_mode_t {
01927 XCB_GRAB_MODE_SYNC = 0,
01928 XCB_GRAB_MODE_ASYNC = 1
01929 } xcb_grab_mode_t;
01930
01931 typedef enum xcb_grab_status_t {
01932 XCB_GRAB_STATUS_SUCCESS = 0,
01933 XCB_GRAB_STATUS_ALREADY_GRABBED = 1,
01934 XCB_GRAB_STATUS_INVALID_TIME = 2,
01935 XCB_GRAB_STATUS_NOT_VIEWABLE = 3,
01936 XCB_GRAB_STATUS_FROZEN = 4
01937 } xcb_grab_status_t;
01938
01939 typedef enum xcb_cursor_enum_t {
01940 XCB_CURSOR_NONE = 0
01941 } xcb_cursor_enum_t;
01942
01946 typedef struct xcb_grab_pointer_cookie_t {
01947 unsigned int sequence;
01948 } xcb_grab_pointer_cookie_t;
01949
01951 #define XCB_GRAB_POINTER 26
01952
01956 typedef struct xcb_grab_pointer_request_t {
01957 uint8_t major_opcode;
01958 uint8_t owner_events;
01959 uint16_t length;
01960 xcb_window_t grab_window;
01961 uint16_t event_mask;
01962 uint8_t pointer_mode;
01963 uint8_t keyboard_mode;
01964 xcb_window_t confine_to;
01965 xcb_cursor_t cursor;
01966 xcb_timestamp_t time;
01967 } xcb_grab_pointer_request_t;
01968
01972 typedef struct xcb_grab_pointer_reply_t {
01973 uint8_t response_type;
01974 uint8_t status;
01975 uint16_t sequence;
01976 uint32_t length;
01977 } xcb_grab_pointer_reply_t;
01978
01980 #define XCB_UNGRAB_POINTER 27
01981
01985 typedef struct xcb_ungrab_pointer_request_t {
01986 uint8_t major_opcode;
01987 uint8_t pad0;
01988 uint16_t length;
01989 xcb_timestamp_t time;
01990 } xcb_ungrab_pointer_request_t;
01991
01992 typedef enum xcb_button_index_t {
01993 XCB_BUTTON_INDEX_ANY = 0,
01994 XCB_BUTTON_INDEX_1 = 1,
01995 XCB_BUTTON_INDEX_2 = 2,
01996 XCB_BUTTON_INDEX_3 = 3,
01997 XCB_BUTTON_INDEX_4 = 4,
01998 XCB_BUTTON_INDEX_5 = 5
01999 } xcb_button_index_t;
02000
02002 #define XCB_GRAB_BUTTON 28
02003
02007 typedef struct xcb_grab_button_request_t {
02008 uint8_t major_opcode;
02009 uint8_t owner_events;
02010 uint16_t length;
02011 xcb_window_t grab_window;
02012 uint16_t event_mask;
02013 uint8_t pointer_mode;
02014 uint8_t keyboard_mode;
02015 xcb_window_t confine_to;
02016 xcb_cursor_t cursor;
02017 uint8_t button;
02018 uint8_t pad0;
02019 uint16_t modifiers;
02020 } xcb_grab_button_request_t;
02021
02023 #define XCB_UNGRAB_BUTTON 29
02024
02028 typedef struct xcb_ungrab_button_request_t {
02029 uint8_t major_opcode;
02030 uint8_t button;
02031 uint16_t length;
02032 xcb_window_t grab_window;
02033 uint16_t modifiers;
02034 uint8_t pad0[2];
02035 } xcb_ungrab_button_request_t;
02036
02038 #define XCB_CHANGE_ACTIVE_POINTER_GRAB 30
02039
02043 typedef struct xcb_change_active_pointer_grab_request_t {
02044 uint8_t major_opcode;
02045 uint8_t pad0;
02046 uint16_t length;
02047 xcb_cursor_t cursor;
02048 xcb_timestamp_t time;
02049 uint16_t event_mask;
02050 uint8_t pad1[2];
02051 } xcb_change_active_pointer_grab_request_t;
02052
02056 typedef struct xcb_grab_keyboard_cookie_t {
02057 unsigned int sequence;
02058 } xcb_grab_keyboard_cookie_t;
02059
02061 #define XCB_GRAB_KEYBOARD 31
02062
02066 typedef struct xcb_grab_keyboard_request_t {
02067 uint8_t major_opcode;
02068 uint8_t owner_events;
02069 uint16_t length;
02070 xcb_window_t grab_window;
02071 xcb_timestamp_t time;
02072 uint8_t pointer_mode;
02073 uint8_t keyboard_mode;
02074 uint8_t pad0[2];
02075 } xcb_grab_keyboard_request_t;
02076
02080 typedef struct xcb_grab_keyboard_reply_t {
02081 uint8_t response_type;
02082 uint8_t status;
02083 uint16_t sequence;
02084 uint32_t length;
02085 } xcb_grab_keyboard_reply_t;
02086
02088 #define XCB_UNGRAB_KEYBOARD 32
02089
02093 typedef struct xcb_ungrab_keyboard_request_t {
02094 uint8_t major_opcode;
02095 uint8_t pad0;
02096 uint16_t length;
02097 xcb_timestamp_t time;
02098 } xcb_ungrab_keyboard_request_t;
02099
02100 typedef enum xcb_grab_t {
02101 XCB_GRAB_ANY = 0
02102 } xcb_grab_t;
02103
02105 #define XCB_GRAB_KEY 33
02106
02110 typedef struct xcb_grab_key_request_t {
02111 uint8_t major_opcode;
02112 uint8_t owner_events;
02113 uint16_t length;
02114 xcb_window_t grab_window;
02115 uint16_t modifiers;
02116 xcb_keycode_t key;
02117 uint8_t pointer_mode;
02118 uint8_t keyboard_mode;
02119 uint8_t pad0[3];
02120 } xcb_grab_key_request_t;
02121
02123 #define XCB_UNGRAB_KEY 34
02124
02128 typedef struct xcb_ungrab_key_request_t {
02129 uint8_t major_opcode;
02130 xcb_keycode_t key;
02131 uint16_t length;
02132 xcb_window_t grab_window;
02133 uint16_t modifiers;
02134 uint8_t pad0[2];
02135 } xcb_ungrab_key_request_t;
02136
02137 typedef enum xcb_allow_t {
02138 XCB_ALLOW_ASYNC_POINTER = 0,
02139 XCB_ALLOW_SYNC_POINTER = 1,
02140 XCB_ALLOW_REPLAY_POINTER = 2,
02141 XCB_ALLOW_ASYNC_KEYBOARD = 3,
02142 XCB_ALLOW_SYNC_KEYBOARD = 4,
02143 XCB_ALLOW_REPLAY_KEYBOARD = 5,
02144 XCB_ALLOW_ASYNC_BOTH = 6,
02145 XCB_ALLOW_SYNC_BOTH = 7
02146 } xcb_allow_t;
02147
02149 #define XCB_ALLOW_EVENTS 35
02150
02154 typedef struct xcb_allow_events_request_t {
02155 uint8_t major_opcode;
02156 uint8_t mode;
02157 uint16_t length;
02158 xcb_timestamp_t time;
02159 } xcb_allow_events_request_t;
02160
02162 #define XCB_GRAB_SERVER 36
02163
02167 typedef struct xcb_grab_server_request_t {
02168 uint8_t major_opcode;
02169 uint8_t pad0;
02170 uint16_t length;
02171 } xcb_grab_server_request_t;
02172
02174 #define XCB_UNGRAB_SERVER 37
02175
02179 typedef struct xcb_ungrab_server_request_t {
02180 uint8_t major_opcode;
02181 uint8_t pad0;
02182 uint16_t length;
02183 } xcb_ungrab_server_request_t;
02184
02188 typedef struct xcb_query_pointer_cookie_t {
02189 unsigned int sequence;
02190 } xcb_query_pointer_cookie_t;
02191
02193 #define XCB_QUERY_POINTER 38
02194
02198 typedef struct xcb_query_pointer_request_t {
02199 uint8_t major_opcode;
02200 uint8_t pad0;
02201 uint16_t length;
02202 xcb_window_t window;
02203 } xcb_query_pointer_request_t;
02204
02208 typedef struct xcb_query_pointer_reply_t {
02209 uint8_t response_type;
02210 uint8_t same_screen;
02211 uint16_t sequence;
02212 uint32_t length;
02213 xcb_window_t root;
02214 xcb_window_t child;
02215 int16_t root_x;
02216 int16_t root_y;
02217 int16_t win_x;
02218 int16_t win_y;
02219 uint16_t mask;
02220 uint8_t pad0[2];
02221 } xcb_query_pointer_reply_t;
02222
02226 typedef struct xcb_timecoord_t {
02227 xcb_timestamp_t time;
02228 int16_t x;
02229 int16_t y;
02230 } xcb_timecoord_t;
02231
02235 typedef struct xcb_timecoord_iterator_t {
02236 xcb_timecoord_t *data;
02237 int rem;
02238 int index;
02239 } xcb_timecoord_iterator_t;
02240
02244 typedef struct xcb_get_motion_events_cookie_t {
02245 unsigned int sequence;
02246 } xcb_get_motion_events_cookie_t;
02247
02249 #define XCB_GET_MOTION_EVENTS 39
02250
02254 typedef struct xcb_get_motion_events_request_t {
02255 uint8_t major_opcode;
02256 uint8_t pad0;
02257 uint16_t length;
02258 xcb_window_t window;
02259 xcb_timestamp_t start;
02260 xcb_timestamp_t stop;
02261 } xcb_get_motion_events_request_t;
02262
02266 typedef struct xcb_get_motion_events_reply_t {
02267 uint8_t response_type;
02268 uint8_t pad0;
02269 uint16_t sequence;
02270 uint32_t length;
02271 uint32_t events_len;
02272 uint8_t pad1[20];
02273 } xcb_get_motion_events_reply_t;
02274
02278 typedef struct xcb_translate_coordinates_cookie_t {
02279 unsigned int sequence;
02280 } xcb_translate_coordinates_cookie_t;
02281
02283 #define XCB_TRANSLATE_COORDINATES 40
02284
02288 typedef struct xcb_translate_coordinates_request_t {
02289 uint8_t major_opcode;
02290 uint8_t pad0;
02291 uint16_t length;
02292 xcb_window_t src_window;
02293 xcb_window_t dst_window;
02294 int16_t src_x;
02295 int16_t src_y;
02296 } xcb_translate_coordinates_request_t;
02297
02301 typedef struct xcb_translate_coordinates_reply_t {
02302 uint8_t response_type;
02303 uint8_t same_screen;
02304 uint16_t sequence;
02305 uint32_t length;
02306 xcb_window_t child;
02307 uint16_t dst_x;
02308 uint16_t dst_y;
02309 } xcb_translate_coordinates_reply_t;
02310
02312 #define XCB_WARP_POINTER 41
02313
02317 typedef struct xcb_warp_pointer_request_t {
02318 uint8_t major_opcode;
02319 uint8_t pad0;
02320 uint16_t length;
02321 xcb_window_t src_window;
02322 xcb_window_t dst_window;
02323 int16_t src_x;
02324 int16_t src_y;
02325 uint16_t src_width;
02326 uint16_t src_height;
02327 int16_t dst_x;
02328 int16_t dst_y;
02329 } xcb_warp_pointer_request_t;
02330
02331 typedef enum xcb_input_focus_t {
02332 XCB_INPUT_FOCUS_NONE = 0,
02333 XCB_INPUT_FOCUS_POINTER_ROOT = 1,
02334 XCB_INPUT_FOCUS_PARENT = 2,
02335 XCB_INPUT_FOCUS_FOLLOW_KEYBOARD = 3
02336 } xcb_input_focus_t;
02337
02339 #define XCB_SET_INPUT_FOCUS 42
02340
02344 typedef struct xcb_set_input_focus_request_t {
02345 uint8_t major_opcode;
02346 uint8_t revert_to;
02347 uint16_t length;
02348 xcb_window_t focus;
02349 xcb_timestamp_t time;
02350 } xcb_set_input_focus_request_t;
02351
02355 typedef struct xcb_get_input_focus_cookie_t {
02356 unsigned int sequence;
02357 } xcb_get_input_focus_cookie_t;
02358
02360 #define XCB_GET_INPUT_FOCUS 43
02361
02365 typedef struct xcb_get_input_focus_request_t {
02366 uint8_t major_opcode;
02367 uint8_t pad0;
02368 uint16_t length;
02369 } xcb_get_input_focus_request_t;
02370
02374 typedef struct xcb_get_input_focus_reply_t {
02375 uint8_t response_type;
02376 uint8_t revert_to;
02377 uint16_t sequence;
02378 uint32_t length;
02379 xcb_window_t focus;
02380 } xcb_get_input_focus_reply_t;
02381
02385 typedef struct xcb_query_keymap_cookie_t {
02386 unsigned int sequence;
02387 } xcb_query_keymap_cookie_t;
02388
02390 #define XCB_QUERY_KEYMAP 44
02391
02395 typedef struct xcb_query_keymap_request_t {
02396 uint8_t major_opcode;
02397 uint8_t pad0;
02398 uint16_t length;
02399 } xcb_query_keymap_request_t;
02400
02404 typedef struct xcb_query_keymap_reply_t {
02405 uint8_t response_type;
02406 uint8_t pad0;
02407 uint16_t sequence;
02408 uint32_t length;
02409 uint8_t keys[32];
02410 } xcb_query_keymap_reply_t;
02411
02413 #define XCB_OPEN_FONT 45
02414
02418 typedef struct xcb_open_font_request_t {
02419 uint8_t major_opcode;
02420 uint8_t pad0;
02421 uint16_t length;
02422 xcb_font_t fid;
02423 uint16_t name_len;
02424 uint8_t pad1[2];
02425 } xcb_open_font_request_t;
02426
02428 #define XCB_CLOSE_FONT 46
02429
02433 typedef struct xcb_close_font_request_t {
02434 uint8_t major_opcode;
02435 uint8_t pad0;
02436 uint16_t length;
02437 xcb_font_t font;
02438 } xcb_close_font_request_t;
02439
02440 typedef enum xcb_font_draw_t {
02441 XCB_FONT_DRAW_LEFT_TO_RIGHT = 0,
02442 XCB_FONT_DRAW_RIGHT_TO_LEFT = 1
02443 } xcb_font_draw_t;
02444
02448 typedef struct xcb_fontprop_t {
02449 xcb_atom_t name;
02450 uint32_t value;
02451 } xcb_fontprop_t;
02452
02456 typedef struct xcb_fontprop_iterator_t {
02457 xcb_fontprop_t *data;
02458 int rem;
02459 int index;
02460 } xcb_fontprop_iterator_t;
02461
02465 typedef struct xcb_charinfo_t {
02466 int16_t left_side_bearing;
02467 int16_t right_side_bearing;
02468 int16_t character_width;
02469 int16_t ascent;
02470 int16_t descent;
02471 uint16_t attributes;
02472 } xcb_charinfo_t;
02473
02477 typedef struct xcb_charinfo_iterator_t {
02478 xcb_charinfo_t *data;
02479 int rem;
02480 int index;
02481 } xcb_charinfo_iterator_t;
02482
02486 typedef struct xcb_query_font_cookie_t {
02487 unsigned int sequence;
02488 } xcb_query_font_cookie_t;
02489
02491 #define XCB_QUERY_FONT 47
02492
02496 typedef struct xcb_query_font_request_t {
02497 uint8_t major_opcode;
02498 uint8_t pad0;
02499 uint16_t length;
02500 xcb_fontable_t font;
02501 } xcb_query_font_request_t;
02502
02506 typedef struct xcb_query_font_reply_t {
02507 uint8_t response_type;
02508 uint8_t pad0;
02509 uint16_t sequence;
02510 uint32_t length;
02511 xcb_charinfo_t min_bounds;
02512 uint8_t pad1[4];
02513 xcb_charinfo_t max_bounds;
02514 uint8_t pad2[4];
02515 uint16_t min_char_or_byte2;
02516 uint16_t max_char_or_byte2;
02517 uint16_t default_char;
02518 uint16_t properties_len;
02519 uint8_t draw_direction;
02520 uint8_t min_byte1;
02521 uint8_t max_byte1;
02522 uint8_t all_chars_exist;
02523 int16_t font_ascent;
02524 int16_t font_descent;
02525 uint32_t char_infos_len;
02526 } xcb_query_font_reply_t;
02527
02531 typedef struct xcb_query_text_extents_cookie_t {
02532 unsigned int sequence;
02533 } xcb_query_text_extents_cookie_t;
02534
02536 #define XCB_QUERY_TEXT_EXTENTS 48
02537
02541 typedef struct xcb_query_text_extents_request_t {
02542 uint8_t major_opcode;
02543 uint8_t odd_length;
02544 uint16_t length;
02545 xcb_fontable_t font;
02546 } xcb_query_text_extents_request_t;
02547
02551 typedef struct xcb_query_text_extents_reply_t {
02552 uint8_t response_type;
02553 uint8_t draw_direction;
02554 uint16_t sequence;
02555 uint32_t length;
02556 int16_t font_ascent;
02557 int16_t font_descent;
02558 int16_t overall_ascent;
02559 int16_t overall_descent;
02560 int32_t overall_width;
02561 int32_t overall_left;
02562 int32_t overall_right;
02563 } xcb_query_text_extents_reply_t;
02564
02568 typedef struct xcb_str_t {
02569 uint8_t name_len;
02570 } xcb_str_t;
02571
02575 typedef struct xcb_str_iterator_t {
02576 xcb_str_t *data;
02577 int rem;
02578 int index;
02579 } xcb_str_iterator_t;
02580
02584 typedef struct xcb_list_fonts_cookie_t {
02585 unsigned int sequence;
02586 } xcb_list_fonts_cookie_t;
02587
02589 #define XCB_LIST_FONTS 49
02590
02594 typedef struct xcb_list_fonts_request_t {
02595 uint8_t major_opcode;
02596 uint8_t pad0;
02597 uint16_t length;
02598 uint16_t max_names;
02599 uint16_t pattern_len;
02600 } xcb_list_fonts_request_t;
02601
02605 typedef struct xcb_list_fonts_reply_t {
02606 uint8_t response_type;
02607 uint8_t pad0;
02608 uint16_t sequence;
02609 uint32_t length;
02610 uint16_t names_len;
02611 uint8_t pad1[22];
02612 } xcb_list_fonts_reply_t;
02613
02617 typedef struct xcb_list_fonts_with_info_cookie_t {
02618 unsigned int sequence;
02619 } xcb_list_fonts_with_info_cookie_t;
02620
02622 #define XCB_LIST_FONTS_WITH_INFO 50
02623
02627 typedef struct xcb_list_fonts_with_info_request_t {
02628 uint8_t major_opcode;
02629 uint8_t pad0;
02630 uint16_t length;
02631 uint16_t max_names;
02632 uint16_t pattern_len;
02633 } xcb_list_fonts_with_info_request_t;
02634
02638 typedef struct xcb_list_fonts_with_info_reply_t {
02639 uint8_t response_type;
02640 uint8_t name_len;
02641 uint16_t sequence;
02642 uint32_t length;
02643 xcb_charinfo_t min_bounds;
02644 uint8_t pad0[4];
02645 xcb_charinfo_t max_bounds;
02646 uint8_t pad1[4];
02647 uint16_t min_char_or_byte2;
02648 uint16_t max_char_or_byte2;
02649 uint16_t default_char;
02650 uint16_t properties_len;
02651 uint8_t draw_direction;
02652 uint8_t min_byte1;
02653 uint8_t max_byte1;
02654 uint8_t all_chars_exist;
02655 int16_t font_ascent;
02656 int16_t font_descent;
02657 uint32_t replies_hint;
02658 } xcb_list_fonts_with_info_reply_t;
02659
02661 #define XCB_SET_FONT_PATH 51
02662
02666 typedef struct xcb_set_font_path_request_t {
02667 uint8_t major_opcode;
02668 uint8_t pad0;
02669 uint16_t length;
02670 uint16_t font_qty;
02671 } xcb_set_font_path_request_t;
02672
02676 typedef struct xcb_get_font_path_cookie_t {
02677 unsigned int sequence;
02678 } xcb_get_font_path_cookie_t;
02679
02681 #define XCB_GET_FONT_PATH 52
02682
02686 typedef struct xcb_get_font_path_request_t {
02687 uint8_t major_opcode;
02688 uint8_t pad0;
02689 uint16_t length;
02690 } xcb_get_font_path_request_t;
02691
02695 typedef struct xcb_get_font_path_reply_t {
02696 uint8_t response_type;
02697 uint8_t pad0;
02698 uint16_t sequence;
02699 uint32_t length;
02700 uint16_t path_len;
02701 uint8_t pad1[22];
02702 } xcb_get_font_path_reply_t;
02703
02705 #define XCB_CREATE_PIXMAP 53
02706
02710 typedef struct xcb_create_pixmap_request_t {
02711 uint8_t major_opcode;
02712 uint8_t depth;
02713 uint16_t length;
02714 xcb_pixmap_t pid;
02715 xcb_drawable_t drawable;
02716 uint16_t width;
02717 uint16_t height;
02718 } xcb_create_pixmap_request_t;
02719
02721 #define XCB_FREE_PIXMAP 54
02722
02726 typedef struct xcb_free_pixmap_request_t {
02727 uint8_t major_opcode;
02728 uint8_t pad0;
02729 uint16_t length;
02730 xcb_pixmap_t pixmap;
02731 } xcb_free_pixmap_request_t;
02732
02733 typedef enum xcb_gc_t {
02734 XCB_GC_FUNCTION = 1,
02735 XCB_GC_PLANE_MASK = 2,
02736 XCB_GC_FOREGROUND = 4,
02737 XCB_GC_BACKGROUND = 8,
02738 XCB_GC_LINE_WIDTH = 16,
02739 XCB_GC_LINE_STYLE = 32,
02740 XCB_GC_CAP_STYLE = 64,
02741 XCB_GC_JOIN_STYLE = 128,
02742 XCB_GC_FILL_STYLE = 256,
02743 XCB_GC_FILL_RULE = 512,
02744 XCB_GC_TILE = 1024,
02745 XCB_GC_STIPPLE = 2048,
02746 XCB_GC_TILE_STIPPLE_ORIGIN_X = 4096,
02747 XCB_GC_TILE_STIPPLE_ORIGIN_Y = 8192,
02748 XCB_GC_FONT = 16384,
02749 XCB_GC_SUBWINDOW_MODE = 32768,
02750 XCB_GC_GRAPHICS_EXPOSURES = 65536,
02751 XCB_GC_CLIP_ORIGIN_X = 131072,
02752 XCB_GC_CLIP_ORIGIN_Y = 262144,
02753 XCB_GC_CLIP_MASK = 524288,
02754 XCB_GC_DASH_OFFSET = 1048576,
02755 XCB_GC_DASH_LIST = 2097152,
02756 XCB_GC_ARC_MODE = 4194304
02757 } xcb_gc_t;
02758
02759 typedef enum xcb_gx_t {
02760 XCB_GX_CLEAR = 0,
02761 XCB_GX_AND = 1,
02762 XCB_GX_AND_REVERSE = 2,
02763 XCB_GX_COPY = 3,
02764 XCB_GX_AND_INVERTED = 4,
02765 XCB_GX_NOOP = 5,
02766 XCB_GX_XOR = 6,
02767 XCB_GX_OR = 7,
02768 XCB_GX_NOR = 8,
02769 XCB_GX_EQUIV = 9,
02770 XCB_GX_INVERT = 10,
02771 XCB_GX_OR_REVERSE = 11,
02772 XCB_GX_COPY_INVERTED = 12,
02773 XCB_GX_OR_INVERTED = 13,
02774 XCB_GX_NAND = 14,
02775 XCB_GX_SET = 15
02776 } xcb_gx_t;
02777
02778 typedef enum xcb_line_style_t {
02779 XCB_LINE_STYLE_SOLID = 0,
02780 XCB_LINE_STYLE_ON_OFF_DASH = 1,
02781 XCB_LINE_STYLE_DOUBLE_DASH = 2
02782 } xcb_line_style_t;
02783
02784 typedef enum xcb_cap_style_t {
02785 XCB_CAP_STYLE_NOT_LAST = 0,
02786 XCB_CAP_STYLE_BUTT = 1,
02787 XCB_CAP_STYLE_ROUND = 2,
02788 XCB_CAP_STYLE_PROJECTING = 3
02789 } xcb_cap_style_t;
02790
02791 typedef enum xcb_join_style_t {
02792 XCB_JOIN_STYLE_MITER = 0,
02793 XCB_JOIN_STYLE_ROUND = 1,
02794 XCB_JOIN_STYLE_BEVEL = 2
02795 } xcb_join_style_t;
02796
02797 typedef enum xcb_fill_style_t {
02798 XCB_FILL_STYLE_SOLID = 0,
02799 XCB_FILL_STYLE_TILED = 1,
02800 XCB_FILL_STYLE_STIPPLED = 2,
02801 XCB_FILL_STYLE_OPAQUE_STIPPLED = 3
02802 } xcb_fill_style_t;
02803
02804 typedef enum xcb_fill_rule_t {
02805 XCB_FILL_RULE_EVEN_ODD = 0,
02806 XCB_FILL_RULE_WINDING = 1
02807 } xcb_fill_rule_t;
02808
02809 typedef enum xcb_subwindow_mode_t {
02810 XCB_SUBWINDOW_MODE_CLIP_BY_CHILDREN = 0,
02811 XCB_SUBWINDOW_MODE_INCLUDE_INFERIORS = 1
02812 } xcb_subwindow_mode_t;
02813
02814 typedef enum xcb_arc_mode_t {
02815 XCB_ARC_MODE_CHORD = 0,
02816 XCB_ARC_MODE_PIE_SLICE = 1
02817 } xcb_arc_mode_t;
02818
02820 #define XCB_CREATE_GC 55
02821
02825 typedef struct xcb_create_gc_request_t {
02826 uint8_t major_opcode;
02827 uint8_t pad0;
02828 uint16_t length;
02829 xcb_gcontext_t cid;
02830 xcb_drawable_t drawable;
02831 uint32_t value_mask;
02832 } xcb_create_gc_request_t;
02833
02835 #define XCB_CHANGE_GC 56
02836
02840 typedef struct xcb_change_gc_request_t {
02841 uint8_t major_opcode;
02842 uint8_t pad0;
02843 uint16_t length;
02844 xcb_gcontext_t gc;
02845 uint32_t value_mask;
02846 } xcb_change_gc_request_t;
02847
02849 #define XCB_COPY_GC 57
02850
02854 typedef struct xcb_copy_gc_request_t {
02855 uint8_t major_opcode;
02856 uint8_t pad0;
02857 uint16_t length;
02858 xcb_gcontext_t src_gc;
02859 xcb_gcontext_t dst_gc;
02860 uint32_t value_mask;
02861 } xcb_copy_gc_request_t;
02862
02864 #define XCB_SET_DASHES 58
02865
02869 typedef struct xcb_set_dashes_request_t {
02870 uint8_t major_opcode;
02871 uint8_t pad0;
02872 uint16_t length;
02873 xcb_gcontext_t gc;
02874 uint16_t dash_offset;
02875 uint16_t dashes_len;
02876 } xcb_set_dashes_request_t;
02877
02878 typedef enum xcb_clip_ordering_t {
02879 XCB_CLIP_ORDERING_UNSORTED = 0,
02880 XCB_CLIP_ORDERING_Y_SORTED = 1,
02881 XCB_CLIP_ORDERING_YX_SORTED = 2,
02882 XCB_CLIP_ORDERING_YX_BANDED = 3
02883 } xcb_clip_ordering_t;
02884
02886 #define XCB_SET_CLIP_RECTANGLES 59
02887
02891 typedef struct xcb_set_clip_rectangles_request_t {
02892 uint8_t major_opcode;
02893 uint8_t ordering;
02894 uint16_t length;
02895 xcb_gcontext_t gc;
02896 int16_t clip_x_origin;
02897 int16_t clip_y_origin;
02898 } xcb_set_clip_rectangles_request_t;
02899
02901 #define XCB_FREE_GC 60
02902
02906 typedef struct xcb_free_gc_request_t {
02907 uint8_t major_opcode;
02908 uint8_t pad0;
02909 uint16_t length;
02910 xcb_gcontext_t gc;
02911 } xcb_free_gc_request_t;
02912
02914 #define XCB_CLEAR_AREA 61
02915
02919 typedef struct xcb_clear_area_request_t {
02920 uint8_t major_opcode;
02921 uint8_t exposures;
02922 uint16_t length;
02923 xcb_window_t window;
02924 int16_t x;
02925 int16_t y;
02926 uint16_t width;
02927 uint16_t height;
02928 } xcb_clear_area_request_t;
02929
02931 #define XCB_COPY_AREA 62
02932
02936 typedef struct xcb_copy_area_request_t {
02937 uint8_t major_opcode;
02938 uint8_t pad0;
02939 uint16_t length;
02940 xcb_drawable_t src_drawable;
02941 xcb_drawable_t dst_drawable;
02942 xcb_gcontext_t gc;
02943 int16_t src_x;
02944 int16_t src_y;
02945 int16_t dst_x;
02946 int16_t dst_y;
02947 uint16_t width;
02948 uint16_t height;
02949 } xcb_copy_area_request_t;
02950
02952 #define XCB_COPY_PLANE 63
02953
02957 typedef struct xcb_copy_plane_request_t {
02958 uint8_t major_opcode;
02959 uint8_t pad0;
02960 uint16_t length;
02961 xcb_drawable_t src_drawable;
02962 xcb_drawable_t dst_drawable;
02963 xcb_gcontext_t gc;
02964 int16_t src_x;
02965 int16_t src_y;
02966 int16_t dst_x;
02967 int16_t dst_y;
02968 uint16_t width;
02969 uint16_t height;
02970 uint32_t bit_plane;
02971 } xcb_copy_plane_request_t;
02972
02973 typedef enum xcb_coord_mode_t {
02974 XCB_COORD_MODE_ORIGIN = 0,
02975 XCB_COORD_MODE_PREVIOUS = 1
02976 } xcb_coord_mode_t;
02977
02979 #define XCB_POLY_POINT 64
02980
02984 typedef struct xcb_poly_point_request_t {
02985 uint8_t major_opcode;
02986 uint8_t coordinate_mode;
02987 uint16_t length;
02988 xcb_drawable_t drawable;
02989 xcb_gcontext_t gc;
02990 } xcb_poly_point_request_t;
02991
02993 #define XCB_POLY_LINE 65
02994
02998 typedef struct xcb_poly_line_request_t {
02999 uint8_t major_opcode;
03000 uint8_t coordinate_mode;
03001 uint16_t length;
03002 xcb_drawable_t drawable;
03003 xcb_gcontext_t gc;
03004 } xcb_poly_line_request_t;
03005
03009 typedef struct xcb_segment_t {
03010 int16_t x1;
03011 int16_t y1;
03012 int16_t x2;
03013 int16_t y2;
03014 } xcb_segment_t;
03015
03019 typedef struct xcb_segment_iterator_t {
03020 xcb_segment_t *data;
03021 int rem;
03022 int index;
03023 } xcb_segment_iterator_t;
03024
03026 #define XCB_POLY_SEGMENT 66
03027
03031 typedef struct xcb_poly_segment_request_t {
03032 uint8_t major_opcode;
03033 uint8_t pad0;
03034 uint16_t length;
03035 xcb_drawable_t drawable;
03036 xcb_gcontext_t gc;
03037 } xcb_poly_segment_request_t;
03038
03040 #define XCB_POLY_RECTANGLE 67
03041
03045 typedef struct xcb_poly_rectangle_request_t {
03046 uint8_t major_opcode;
03047 uint8_t pad0;
03048 uint16_t length;
03049 xcb_drawable_t drawable;
03050 xcb_gcontext_t gc;
03051 } xcb_poly_rectangle_request_t;
03052
03054 #define XCB_POLY_ARC 68
03055
03059 typedef struct xcb_poly_arc_request_t {
03060 uint8_t major_opcode;
03061 uint8_t pad0;
03062 uint16_t length;
03063 xcb_drawable_t drawable;
03064 xcb_gcontext_t gc;
03065 } xcb_poly_arc_request_t;
03066
03067 typedef enum xcb_poly_shape_t {
03068 XCB_POLY_SHAPE_COMPLEX = 0,
03069 XCB_POLY_SHAPE_NONCONVEX = 1,
03070 XCB_POLY_SHAPE_CONVEX = 2
03071 } xcb_poly_shape_t;
03072
03074 #define XCB_FILL_POLY 69
03075
03079 typedef struct xcb_fill_poly_request_t {
03080 uint8_t major_opcode;
03081 uint8_t pad0;
03082 uint16_t length;
03083 xcb_drawable_t drawable;
03084 xcb_gcontext_t gc;
03085 uint8_t shape;
03086 uint8_t coordinate_mode;
03087 uint8_t pad1[2];
03088 } xcb_fill_poly_request_t;
03089
03091 #define XCB_POLY_FILL_RECTANGLE 70
03092
03096 typedef struct xcb_poly_fill_rectangle_request_t {
03097 uint8_t major_opcode;
03098 uint8_t pad0;
03099 uint16_t length;
03100 xcb_drawable_t drawable;
03101 xcb_gcontext_t gc;
03102 } xcb_poly_fill_rectangle_request_t;
03103
03105 #define XCB_POLY_FILL_ARC 71
03106
03110 typedef struct xcb_poly_fill_arc_request_t {
03111 uint8_t major_opcode;
03112 uint8_t pad0;
03113 uint16_t length;
03114 xcb_drawable_t drawable;
03115 xcb_gcontext_t gc;
03116 } xcb_poly_fill_arc_request_t;
03117
03118 typedef enum xcb_image_format_t {
03119 XCB_IMAGE_FORMAT_XY_BITMAP = 0,
03120 XCB_IMAGE_FORMAT_XY_PIXMAP = 1,
03121 XCB_IMAGE_FORMAT_Z_PIXMAP = 2
03122 } xcb_image_format_t;
03123
03125 #define XCB_PUT_IMAGE 72
03126
03130 typedef struct xcb_put_image_request_t {
03131 uint8_t major_opcode;
03132 uint8_t format;
03133 uint16_t length;
03134 xcb_drawable_t drawable;
03135 xcb_gcontext_t gc;
03136 uint16_t width;
03137 uint16_t height;
03138 int16_t dst_x;
03139 int16_t dst_y;
03140 uint8_t left_pad;
03141 uint8_t depth;
03142 uint8_t pad0[2];
03143 } xcb_put_image_request_t;
03144
03148 typedef struct xcb_get_image_cookie_t {
03149 unsigned int sequence;
03150 } xcb_get_image_cookie_t;
03151
03153 #define XCB_GET_IMAGE 73
03154
03158 typedef struct xcb_get_image_request_t {
03159 uint8_t major_opcode;
03160 uint8_t format;
03161 uint16_t length;
03162 xcb_drawable_t drawable;
03163 int16_t x;
03164 int16_t y;
03165 uint16_t width;
03166 uint16_t height;
03167 uint32_t plane_mask;
03168 } xcb_get_image_request_t;
03169
03173 typedef struct xcb_get_image_reply_t {
03174 uint8_t response_type;
03175 uint8_t depth;
03176 uint16_t sequence;
03177 uint32_t length;
03178 xcb_visualid_t visual;
03179 uint8_t pad0[20];
03180 } xcb_get_image_reply_t;
03181
03183 #define XCB_POLY_TEXT_8 74
03184
03188 typedef struct xcb_poly_text_8_request_t {
03189 uint8_t major_opcode;
03190 uint8_t pad0;
03191 uint16_t length;
03192 xcb_drawable_t drawable;
03193 xcb_gcontext_t gc;
03194 int16_t x;
03195 int16_t y;
03196 } xcb_poly_text_8_request_t;
03197
03199 #define XCB_POLY_TEXT_16 75
03200
03204 typedef struct xcb_poly_text_16_request_t {
03205 uint8_t major_opcode;
03206 uint8_t pad0;
03207 uint16_t length;
03208 xcb_drawable_t drawable;
03209 xcb_gcontext_t gc;
03210 int16_t x;
03211 int16_t y;
03212 } xcb_poly_text_16_request_t;
03213
03215 #define XCB_IMAGE_TEXT_8 76
03216
03220 typedef struct xcb_image_text_8_request_t {
03221 uint8_t major_opcode;
03222 uint8_t string_len;
03223 uint16_t length;
03224 xcb_drawable_t drawable;
03225 xcb_gcontext_t gc;
03226 int16_t x;
03227 int16_t y;
03228 } xcb_image_text_8_request_t;
03229
03231 #define XCB_IMAGE_TEXT_16 77
03232
03236 typedef struct xcb_image_text_16_request_t {
03237 uint8_t major_opcode;
03238 uint8_t string_len;
03239 uint16_t length;
03240 xcb_drawable_t drawable;
03241 xcb_gcontext_t gc;
03242 int16_t x;
03243 int16_t y;
03244 } xcb_image_text_16_request_t;
03245
03246 typedef enum xcb_colormap_alloc_t {
03247 XCB_COLORMAP_ALLOC_NONE = 0,
03248 XCB_COLORMAP_ALLOC_ALL = 1
03249 } xcb_colormap_alloc_t;
03250
03252 #define XCB_CREATE_COLORMAP 78
03253
03257 typedef struct xcb_create_colormap_request_t {
03258 uint8_t major_opcode;
03259 uint8_t alloc;
03260 uint16_t length;
03261 xcb_colormap_t mid;
03262 xcb_window_t window;
03263 xcb_visualid_t visual;
03264 } xcb_create_colormap_request_t;
03265
03267 #define XCB_FREE_COLORMAP 79
03268
03272 typedef struct xcb_free_colormap_request_t {
03273 uint8_t major_opcode;
03274 uint8_t pad0;
03275 uint16_t length;
03276 xcb_colormap_t cmap;
03277 } xcb_free_colormap_request_t;
03278
03280 #define XCB_COPY_COLORMAP_AND_FREE 80
03281
03285 typedef struct xcb_copy_colormap_and_free_request_t {
03286 uint8_t major_opcode;
03287 uint8_t pad0;
03288 uint16_t length;
03289 xcb_colormap_t mid;
03290 xcb_colormap_t src_cmap;
03291 } xcb_copy_colormap_and_free_request_t;
03292
03294 #define XCB_INSTALL_COLORMAP 81
03295
03299 typedef struct xcb_install_colormap_request_t {
03300 uint8_t major_opcode;
03301 uint8_t pad0;
03302 uint16_t length;
03303 xcb_colormap_t cmap;
03304 } xcb_install_colormap_request_t;
03305
03307 #define XCB_UNINSTALL_COLORMAP 82
03308
03312 typedef struct xcb_uninstall_colormap_request_t {
03313 uint8_t major_opcode;
03314 uint8_t pad0;
03315 uint16_t length;
03316 xcb_colormap_t cmap;
03317 } xcb_uninstall_colormap_request_t;
03318
03322 typedef struct xcb_list_installed_colormaps_cookie_t {
03323 unsigned int sequence;
03324 } xcb_list_installed_colormaps_cookie_t;
03325
03327 #define XCB_LIST_INSTALLED_COLORMAPS 83
03328
03332 typedef struct xcb_list_installed_colormaps_request_t {
03333 uint8_t major_opcode;
03334 uint8_t pad0;
03335 uint16_t length;
03336 xcb_window_t window;
03337 } xcb_list_installed_colormaps_request_t;
03338
03342 typedef struct xcb_list_installed_colormaps_reply_t {
03343 uint8_t response_type;
03344 uint8_t pad0;
03345 uint16_t sequence;
03346 uint32_t length;
03347 uint16_t cmaps_len;
03348 uint8_t pad1[22];
03349 } xcb_list_installed_colormaps_reply_t;
03350
03354 typedef struct xcb_alloc_color_cookie_t {
03355 unsigned int sequence;
03356 } xcb_alloc_color_cookie_t;
03357
03359 #define XCB_ALLOC_COLOR 84
03360
03364 typedef struct xcb_alloc_color_request_t {
03365 uint8_t major_opcode;
03366 uint8_t pad0;
03367 uint16_t length;
03368 xcb_colormap_t cmap;
03369 uint16_t red;
03370 uint16_t green;
03371 uint16_t blue;
03372 uint8_t pad1[2];
03373 } xcb_alloc_color_request_t;
03374
03378 typedef struct xcb_alloc_color_reply_t {
03379 uint8_t response_type;
03380 uint8_t pad0;
03381 uint16_t sequence;
03382 uint32_t length;
03383 uint16_t red;
03384 uint16_t green;
03385 uint16_t blue;
03386 uint8_t pad1[2];
03387 uint32_t pixel;
03388 } xcb_alloc_color_reply_t;
03389
03393 typedef struct xcb_alloc_named_color_cookie_t {
03394 unsigned int sequence;
03395 } xcb_alloc_named_color_cookie_t;
03396
03398 #define XCB_ALLOC_NAMED_COLOR 85
03399
03403 typedef struct xcb_alloc_named_color_request_t {
03404 uint8_t major_opcode;
03405 uint8_t pad0;
03406 uint16_t length;
03407 xcb_colormap_t cmap;
03408 uint16_t name_len;
03409 uint8_t pad1[2];
03410 } xcb_alloc_named_color_request_t;
03411
03415 typedef struct xcb_alloc_named_color_reply_t {
03416 uint8_t response_type;
03417 uint8_t pad0;
03418 uint16_t sequence;
03419 uint32_t length;
03420 uint32_t pixel;
03421 uint16_t exact_red;
03422 uint16_t exact_green;
03423 uint16_t exact_blue;
03424 uint16_t visual_red;
03425 uint16_t visual_green;
03426 uint16_t visual_blue;
03427 } xcb_alloc_named_color_reply_t;
03428
03432 typedef struct xcb_alloc_color_cells_cookie_t {
03433 unsigned int sequence;
03434 } xcb_alloc_color_cells_cookie_t;
03435
03437 #define XCB_ALLOC_COLOR_CELLS 86
03438
03442 typedef struct xcb_alloc_color_cells_request_t {
03443 uint8_t major_opcode;
03444 uint8_t contiguous;
03445 uint16_t length;
03446 xcb_colormap_t cmap;
03447 uint16_t colors;
03448 uint16_t planes;
03449 } xcb_alloc_color_cells_request_t;
03450
03454 typedef struct xcb_alloc_color_cells_reply_t {
03455 uint8_t response_type;
03456 uint8_t pad0;
03457 uint16_t sequence;
03458 uint32_t length;
03459 uint16_t pixels_len;
03460 uint16_t masks_len;
03461 uint8_t pad1[20];
03462 } xcb_alloc_color_cells_reply_t;
03463
03467 typedef struct xcb_alloc_color_planes_cookie_t {
03468 unsigned int sequence;
03469 } xcb_alloc_color_planes_cookie_t;
03470
03472 #define XCB_ALLOC_COLOR_PLANES 87
03473
03477 typedef struct xcb_alloc_color_planes_request_t {
03478 uint8_t major_opcode;
03479 uint8_t contiguous;
03480 uint16_t length;
03481 xcb_colormap_t cmap;
03482 uint16_t colors;
03483 uint16_t reds;
03484 uint16_t greens;
03485 uint16_t blues;
03486 } xcb_alloc_color_planes_request_t;
03487
03491 typedef struct xcb_alloc_color_planes_reply_t {
03492 uint8_t response_type;
03493 uint8_t pad0;
03494 uint16_t sequence;
03495 uint32_t length;
03496 uint16_t pixels_len;
03497 uint8_t pad1[2];
03498 uint32_t red_mask;
03499 uint32_t green_mask;
03500 uint32_t blue_mask;
03501 uint8_t pad2[8];
03502 } xcb_alloc_color_planes_reply_t;
03503
03505 #define XCB_FREE_COLORS 88
03506
03510 typedef struct xcb_free_colors_request_t {
03511 uint8_t major_opcode;
03512 uint8_t pad0;
03513 uint16_t length;
03514 xcb_colormap_t cmap;
03515 uint32_t plane_mask;
03516 } xcb_free_colors_request_t;
03517
03518 typedef enum xcb_color_flag_t {
03519 XCB_COLOR_FLAG_RED = 1,
03520 XCB_COLOR_FLAG_GREEN = 2,
03521 XCB_COLOR_FLAG_BLUE = 4
03522 } xcb_color_flag_t;
03523
03527 typedef struct xcb_coloritem_t {
03528 uint32_t pixel;
03529 uint16_t red;
03530 uint16_t green;
03531 uint16_t blue;
03532 uint8_t flags;
03533 uint8_t pad0;
03534 } xcb_coloritem_t;
03535
03539 typedef struct xcb_coloritem_iterator_t {
03540 xcb_coloritem_t *data;
03541 int rem;
03542 int index;
03543 } xcb_coloritem_iterator_t;
03544
03546 #define XCB_STORE_COLORS 89
03547
03551 typedef struct xcb_store_colors_request_t {
03552 uint8_t major_opcode;
03553 uint8_t pad0;
03554 uint16_t length;
03555 xcb_colormap_t cmap;
03556 } xcb_store_colors_request_t;
03557
03559 #define XCB_STORE_NAMED_COLOR 90
03560
03564 typedef struct xcb_store_named_color_request_t {
03565 uint8_t major_opcode;
03566 uint8_t flags;
03567 uint16_t length;
03568 xcb_colormap_t cmap;
03569 uint32_t pixel;
03570 uint16_t name_len;
03571 uint8_t pad0[2];
03572 } xcb_store_named_color_request_t;
03573
03577 typedef struct xcb_rgb_t {
03578 uint16_t red;
03579 uint16_t green;
03580 uint16_t blue;
03581 uint8_t pad0[2];
03582 } xcb_rgb_t;
03583
03587 typedef struct xcb_rgb_iterator_t {
03588 xcb_rgb_t *data;
03589 int rem;
03590 int index;
03591 } xcb_rgb_iterator_t;
03592
03596 typedef struct xcb_query_colors_cookie_t {
03597 unsigned int sequence;
03598 } xcb_query_colors_cookie_t;
03599
03601 #define XCB_QUERY_COLORS 91
03602
03606 typedef struct xcb_query_colors_request_t {
03607 uint8_t major_opcode;
03608 uint8_t pad0;
03609 uint16_t length;
03610 xcb_colormap_t cmap;
03611 } xcb_query_colors_request_t;
03612
03616 typedef struct xcb_query_colors_reply_t {
03617 uint8_t response_type;
03618 uint8_t pad0;
03619 uint16_t sequence;
03620 uint32_t length;
03621 uint16_t colors_len;
03622 uint8_t pad1[22];
03623 } xcb_query_colors_reply_t;
03624
03628 typedef struct xcb_lookup_color_cookie_t {
03629 unsigned int sequence;
03630 } xcb_lookup_color_cookie_t;
03631
03633 #define XCB_LOOKUP_COLOR 92
03634
03638 typedef struct xcb_lookup_color_request_t {
03639 uint8_t major_opcode;
03640 uint8_t pad0;
03641 uint16_t length;
03642 xcb_colormap_t cmap;
03643 uint16_t name_len;
03644 uint8_t pad1[2];
03645 } xcb_lookup_color_request_t;
03646
03650 typedef struct xcb_lookup_color_reply_t {
03651 uint8_t response_type;
03652 uint8_t pad0;
03653 uint16_t sequence;
03654 uint32_t length;
03655 uint16_t exact_red;
03656 uint16_t exact_green;
03657 uint16_t exact_blue;
03658 uint16_t visual_red;
03659 uint16_t visual_green;
03660 uint16_t visual_blue;
03661 } xcb_lookup_color_reply_t;
03662
03663 typedef enum xcb_pixmap_enum_t {
03664 XCB_PIXMAP_NONE = 0
03665 } xcb_pixmap_enum_t;
03666
03668 #define XCB_CREATE_CURSOR 93
03669
03673 typedef struct xcb_create_cursor_request_t {
03674 uint8_t major_opcode;
03675 uint8_t pad0;
03676 uint16_t length;
03677 xcb_cursor_t cid;
03678 xcb_pixmap_t source;
03679 xcb_pixmap_t mask;
03680 uint16_t fore_red;
03681 uint16_t fore_green;
03682 uint16_t fore_blue;
03683 uint16_t back_red;
03684 uint16_t back_green;
03685 uint16_t back_blue;
03686 uint16_t x;
03687 uint16_t y;
03688 } xcb_create_cursor_request_t;
03689
03690 typedef enum xcb_font_enum_t {
03691 XCB_FONT_NONE = 0
03692 } xcb_font_enum_t;
03693
03695 #define XCB_CREATE_GLYPH_CURSOR 94
03696
03700 typedef struct xcb_create_glyph_cursor_request_t {
03701 uint8_t major_opcode;
03702 uint8_t pad0;
03703 uint16_t length;
03704 xcb_cursor_t cid;
03705 xcb_font_t source_font;
03706 xcb_font_t mask_font;
03707 uint16_t source_char;
03708 uint16_t mask_char;
03709 uint16_t fore_red;
03710 uint16_t fore_green;
03711 uint16_t fore_blue;
03712 uint16_t back_red;
03713 uint16_t back_green;
03714 uint16_t back_blue;
03715 } xcb_create_glyph_cursor_request_t;
03716
03718 #define XCB_FREE_CURSOR 95
03719
03723 typedef struct xcb_free_cursor_request_t {
03724 uint8_t major_opcode;
03725 uint8_t pad0;
03726 uint16_t length;
03727 xcb_cursor_t cursor;
03728 } xcb_free_cursor_request_t;
03729
03731 #define XCB_RECOLOR_CURSOR 96
03732
03736 typedef struct xcb_recolor_cursor_request_t {
03737 uint8_t major_opcode;
03738 uint8_t pad0;
03739 uint16_t length;
03740 xcb_cursor_t cursor;
03741 uint16_t fore_red;
03742 uint16_t fore_green;
03743 uint16_t fore_blue;
03744 uint16_t back_red;
03745 uint16_t back_green;
03746 uint16_t back_blue;
03747 } xcb_recolor_cursor_request_t;
03748
03749 typedef enum xcb_query_shape_of_t {
03750 XCB_QUERY_SHAPE_OF_LARGEST_CURSOR = 0,
03751 XCB_QUERY_SHAPE_OF_FASTEST_TILE = 1,
03752 XCB_QUERY_SHAPE_OF_FASTEST_STIPPLE = 2
03753 } xcb_query_shape_of_t;
03754
03758 typedef struct xcb_query_best_size_cookie_t {
03759 unsigned int sequence;
03760 } xcb_query_best_size_cookie_t;
03761
03763 #define XCB_QUERY_BEST_SIZE 97
03764
03768 typedef struct xcb_query_best_size_request_t {
03769 uint8_t major_opcode;
03770 uint8_t _class;
03771 uint16_t length;
03772 xcb_drawable_t drawable;
03773 uint16_t width;
03774 uint16_t height;
03775 } xcb_query_best_size_request_t;
03776
03780 typedef struct xcb_query_best_size_reply_t {
03781 uint8_t response_type;
03782 uint8_t pad0;
03783 uint16_t sequence;
03784 uint32_t length;
03785 uint16_t width;
03786 uint16_t height;
03787 } xcb_query_best_size_reply_t;
03788
03792 typedef struct xcb_query_extension_cookie_t {
03793 unsigned int sequence;
03794 } xcb_query_extension_cookie_t;
03795
03797 #define XCB_QUERY_EXTENSION 98
03798
03802 typedef struct xcb_query_extension_request_t {
03803 uint8_t major_opcode;
03804 uint8_t pad0;
03805 uint16_t length;
03806 uint16_t name_len;
03807 uint8_t pad1[2];
03808 } xcb_query_extension_request_t;
03809
03813 typedef struct xcb_query_extension_reply_t {
03814 uint8_t response_type;
03815 uint8_t pad0;
03816 uint16_t sequence;
03817 uint32_t length;
03818 uint8_t present;
03819 uint8_t major_opcode;
03820 uint8_t first_event;
03821 uint8_t first_error;
03822 } xcb_query_extension_reply_t;
03823
03827 typedef struct xcb_list_extensions_cookie_t {
03828 unsigned int sequence;
03829 } xcb_list_extensions_cookie_t;
03830
03832 #define XCB_LIST_EXTENSIONS 99
03833
03837 typedef struct xcb_list_extensions_request_t {
03838 uint8_t major_opcode;
03839 uint8_t pad0;
03840 uint16_t length;
03841 } xcb_list_extensions_request_t;
03842
03846 typedef struct xcb_list_extensions_reply_t {
03847 uint8_t response_type;
03848 uint8_t names_len;
03849 uint16_t sequence;
03850 uint32_t length;
03851 uint8_t pad0[24];
03852 } xcb_list_extensions_reply_t;
03853
03855 #define XCB_CHANGE_KEYBOARD_MAPPING 100
03856
03860 typedef struct xcb_change_keyboard_mapping_request_t {
03861 uint8_t major_opcode;
03862 uint8_t keycode_count;
03863 uint16_t length;
03864 xcb_keycode_t first_keycode;
03865 uint8_t keysyms_per_keycode;
03866 } xcb_change_keyboard_mapping_request_t;
03867
03871 typedef struct xcb_get_keyboard_mapping_cookie_t {
03872 unsigned int sequence;
03873 } xcb_get_keyboard_mapping_cookie_t;
03874
03876 #define XCB_GET_KEYBOARD_MAPPING 101
03877
03881 typedef struct xcb_get_keyboard_mapping_request_t {
03882 uint8_t major_opcode;
03883 uint8_t pad0;
03884 uint16_t length;
03885 xcb_keycode_t first_keycode;
03886 uint8_t count;
03887 } xcb_get_keyboard_mapping_request_t;
03888
03892 typedef struct xcb_get_keyboard_mapping_reply_t {
03893 uint8_t response_type;
03894 uint8_t keysyms_per_keycode;
03895 uint16_t sequence;
03896 uint32_t length;
03897 uint8_t pad0[24];
03898 } xcb_get_keyboard_mapping_reply_t;
03899
03900 typedef enum xcb_kb_t {
03901 XCB_KB_KEY_CLICK_PERCENT = 1,
03902 XCB_KB_BELL_PERCENT = 2,
03903 XCB_KB_BELL_PITCH = 4,
03904 XCB_KB_BELL_DURATION = 8,
03905 XCB_KB_LED = 16,
03906 XCB_KB_LED_MODE = 32,
03907 XCB_KB_KEY = 64,
03908 XCB_KB_AUTO_REPEAT_MODE = 128
03909 } xcb_kb_t;
03910
03911 typedef enum xcb_led_mode_t {
03912 XCB_LED_MODE_OFF = 0,
03913 XCB_LED_MODE_ON = 1
03914 } xcb_led_mode_t;
03915
03916 typedef enum xcb_auto_repeat_mode_t {
03917 XCB_AUTO_REPEAT_MODE_OFF = 0,
03918 XCB_AUTO_REPEAT_MODE_ON = 1,
03919 XCB_AUTO_REPEAT_MODE_DEFAULT = 2
03920 } xcb_auto_repeat_mode_t;
03921
03923 #define XCB_CHANGE_KEYBOARD_CONTROL 102
03924
03928 typedef struct xcb_change_keyboard_control_request_t {
03929 uint8_t major_opcode;
03930 uint8_t pad0;
03931 uint16_t length;
03932 uint32_t value_mask;
03933 } xcb_change_keyboard_control_request_t;
03934
03938 typedef struct xcb_get_keyboard_control_cookie_t {
03939 unsigned int sequence;
03940 } xcb_get_keyboard_control_cookie_t;
03941
03943 #define XCB_GET_KEYBOARD_CONTROL 103
03944
03948 typedef struct xcb_get_keyboard_control_request_t {
03949 uint8_t major_opcode;
03950 uint8_t pad0;
03951 uint16_t length;
03952 } xcb_get_keyboard_control_request_t;
03953
03957 typedef struct xcb_get_keyboard_control_reply_t {
03958 uint8_t response_type;
03959 uint8_t global_auto_repeat;
03960 uint16_t sequence;
03961 uint32_t length;
03962 uint32_t led_mask;
03963 uint8_t key_click_percent;
03964 uint8_t bell_percent;
03965 uint16_t bell_pitch;
03966 uint16_t bell_duration;
03967 uint8_t pad0[2];
03968 uint8_t auto_repeats[32];
03969 } xcb_get_keyboard_control_reply_t;
03970
03972 #define XCB_BELL 104
03973
03977 typedef struct xcb_bell_request_t {
03978 uint8_t major_opcode;
03979 int8_t percent;
03980 uint16_t length;
03981 } xcb_bell_request_t;
03982
03984 #define XCB_CHANGE_POINTER_CONTROL 105
03985
03989 typedef struct xcb_change_pointer_control_request_t {
03990 uint8_t major_opcode;
03991 uint8_t pad0;
03992 uint16_t length;
03993 int16_t acceleration_numerator;
03994 int16_t acceleration_denominator;
03995 int16_t threshold;
03996 uint8_t do_acceleration;
03997 uint8_t do_threshold;
03998 } xcb_change_pointer_control_request_t;
03999
04003 typedef struct xcb_get_pointer_control_cookie_t {
04004 unsigned int sequence;
04005 } xcb_get_pointer_control_cookie_t;
04006
04008 #define XCB_GET_POINTER_CONTROL 106
04009
04013 typedef struct xcb_get_pointer_control_request_t {
04014 uint8_t major_opcode;
04015 uint8_t pad0;
04016 uint16_t length;
04017 } xcb_get_pointer_control_request_t;
04018
04022 typedef struct xcb_get_pointer_control_reply_t {
04023 uint8_t response_type;
04024 uint8_t pad0;
04025 uint16_t sequence;
04026 uint32_t length;
04027 uint16_t acceleration_numerator;
04028 uint16_t acceleration_denominator;
04029 uint16_t threshold;
04030 uint8_t pad1[18];
04031 } xcb_get_pointer_control_reply_t;
04032
04033 typedef enum xcb_blanking_t {
04034 XCB_BLANKING_NOT_PREFERRED = 0,
04035 XCB_BLANKING_PREFERRED = 1,
04036 XCB_BLANKING_DEFAULT = 2
04037 } xcb_blanking_t;
04038
04039 typedef enum xcb_exposures_t {
04040 XCB_EXPOSURES_NOT_ALLOWED = 0,
04041 XCB_EXPOSURES_ALLOWED = 1,
04042 XCB_EXPOSURES_DEFAULT = 2
04043 } xcb_exposures_t;
04044
04046 #define XCB_SET_SCREEN_SAVER 107
04047
04051 typedef struct xcb_set_screen_saver_request_t {
04052 uint8_t major_opcode;
04053 uint8_t pad0;
04054 uint16_t length;
04055 int16_t timeout;
04056 int16_t interval;
04057 uint8_t prefer_blanking;
04058 uint8_t allow_exposures;
04059 } xcb_set_screen_saver_request_t;
04060
04064 typedef struct xcb_get_screen_saver_cookie_t {
04065 unsigned int sequence;
04066 } xcb_get_screen_saver_cookie_t;
04067
04069 #define XCB_GET_SCREEN_SAVER 108
04070
04074 typedef struct xcb_get_screen_saver_request_t {
04075 uint8_t major_opcode;
04076 uint8_t pad0;
04077 uint16_t length;
04078 } xcb_get_screen_saver_request_t;
04079
04083 typedef struct xcb_get_screen_saver_reply_t {
04084 uint8_t response_type;
04085 uint8_t pad0;
04086 uint16_t sequence;
04087 uint32_t length;
04088 uint16_t timeout;
04089 uint16_t interval;
04090 uint8_t prefer_blanking;
04091 uint8_t allow_exposures;
04092 uint8_t pad1[18];
04093 } xcb_get_screen_saver_reply_t;
04094
04095 typedef enum xcb_host_mode_t {
04096 XCB_HOST_MODE_INSERT = 0,
04097 XCB_HOST_MODE_DELETE = 1
04098 } xcb_host_mode_t;
04099
04100 typedef enum xcb_family_t {
04101 XCB_FAMILY_INTERNET = 0,
04102 XCB_FAMILY_DECNET = 1,
04103 XCB_FAMILY_CHAOS = 2,
04104 XCB_FAMILY_SERVER_INTERPRETED = 5,
04105 XCB_FAMILY_INTERNET_6 = 6
04106 } xcb_family_t;
04107
04109 #define XCB_CHANGE_HOSTS 109
04110
04114 typedef struct xcb_change_hosts_request_t {
04115 uint8_t major_opcode;
04116 uint8_t mode;
04117 uint16_t length;
04118 uint8_t family;
04119 uint8_t pad0;
04120 uint16_t address_len;
04121 } xcb_change_hosts_request_t;
04122
04126 typedef struct xcb_host_t {
04127 uint8_t family;
04128 uint8_t pad0;
04129 uint16_t address_len;
04130 } xcb_host_t;
04131
04135 typedef struct xcb_host_iterator_t {
04136 xcb_host_t *data;
04137 int rem;
04138 int index;
04139 } xcb_host_iterator_t;
04140
04144 typedef struct xcb_list_hosts_cookie_t {
04145 unsigned int sequence;
04146 } xcb_list_hosts_cookie_t;
04147
04149 #define XCB_LIST_HOSTS 110
04150
04154 typedef struct xcb_list_hosts_request_t {
04155 uint8_t major_opcode;
04156 uint8_t pad0;
04157 uint16_t length;
04158 } xcb_list_hosts_request_t;
04159
04163 typedef struct xcb_list_hosts_reply_t {
04164 uint8_t response_type;
04165 uint8_t mode;
04166 uint16_t sequence;
04167 uint32_t length;
04168 uint16_t hosts_len;
04169 uint8_t pad0[22];
04170 } xcb_list_hosts_reply_t;
04171
04172 typedef enum xcb_access_control_t {
04173 XCB_ACCESS_CONTROL_DISABLE = 0,
04174 XCB_ACCESS_CONTROL_ENABLE = 1
04175 } xcb_access_control_t;
04176
04178 #define XCB_SET_ACCESS_CONTROL 111
04179
04183 typedef struct xcb_set_access_control_request_t {
04184 uint8_t major_opcode;
04185 uint8_t mode;
04186 uint16_t length;
04187 } xcb_set_access_control_request_t;
04188
04189 typedef enum xcb_close_down_t {
04190 XCB_CLOSE_DOWN_DESTROY_ALL = 0,
04191 XCB_CLOSE_DOWN_RETAIN_PERMANENT = 1,
04192 XCB_CLOSE_DOWN_RETAIN_TEMPORARY = 2
04193 } xcb_close_down_t;
04194
04196 #define XCB_SET_CLOSE_DOWN_MODE 112
04197
04201 typedef struct xcb_set_close_down_mode_request_t {
04202 uint8_t major_opcode;
04203 uint8_t mode;
04204 uint16_t length;
04205 } xcb_set_close_down_mode_request_t;
04206
04207 typedef enum xcb_kill_t {
04208 XCB_KILL_ALL_TEMPORARY = 0
04209 } xcb_kill_t;
04210
04212 #define XCB_KILL_CLIENT 113
04213
04217 typedef struct xcb_kill_client_request_t {
04218 uint8_t major_opcode;
04219 uint8_t pad0;
04220 uint16_t length;
04221 uint32_t resource;
04222 } xcb_kill_client_request_t;
04223
04225 #define XCB_ROTATE_PROPERTIES 114
04226
04230 typedef struct xcb_rotate_properties_request_t {
04231 uint8_t major_opcode;
04232 uint8_t pad0;
04233 uint16_t length;
04234 xcb_window_t window;
04235 uint16_t atoms_len;
04236 int16_t delta;
04237 } xcb_rotate_properties_request_t;
04238
04239 typedef enum xcb_screen_saver_t {
04240 XCB_SCREEN_SAVER_RESET = 0,
04241 XCB_SCREEN_SAVER_ACTIVE = 1
04242 } xcb_screen_saver_t;
04243
04245 #define XCB_FORCE_SCREEN_SAVER 115
04246
04250 typedef struct xcb_force_screen_saver_request_t {
04251 uint8_t major_opcode;
04252 uint8_t mode;
04253 uint16_t length;
04254 } xcb_force_screen_saver_request_t;
04255
04256 typedef enum xcb_mapping_status_t {
04257 XCB_MAPPING_STATUS_SUCCESS = 0,
04258 XCB_MAPPING_STATUS_BUSY = 1,
04259 XCB_MAPPING_STATUS_FAILURE = 2
04260 } xcb_mapping_status_t;
04261
04265 typedef struct xcb_set_pointer_mapping_cookie_t {
04266 unsigned int sequence;
04267 } xcb_set_pointer_mapping_cookie_t;
04268
04270 #define XCB_SET_POINTER_MAPPING 116
04271
04275 typedef struct xcb_set_pointer_mapping_request_t {
04276 uint8_t major_opcode;
04277 uint8_t map_len;
04278 uint16_t length;
04279 } xcb_set_pointer_mapping_request_t;
04280
04284 typedef struct xcb_set_pointer_mapping_reply_t {
04285 uint8_t response_type;
04286 uint8_t status;
04287 uint16_t sequence;
04288 uint32_t length;
04289 } xcb_set_pointer_mapping_reply_t;
04290
04294 typedef struct xcb_get_pointer_mapping_cookie_t {
04295 unsigned int sequence;
04296 } xcb_get_pointer_mapping_cookie_t;
04297
04299 #define XCB_GET_POINTER_MAPPING 117
04300
04304 typedef struct xcb_get_pointer_mapping_request_t {
04305 uint8_t major_opcode;
04306 uint8_t pad0;
04307 uint16_t length;
04308 } xcb_get_pointer_mapping_request_t;
04309
04313 typedef struct xcb_get_pointer_mapping_reply_t {
04314 uint8_t response_type;
04315 uint8_t map_len;
04316 uint16_t sequence;
04317 uint32_t length;
04318 uint8_t pad0[24];
04319 } xcb_get_pointer_mapping_reply_t;
04320
04321 typedef enum xcb_map_index_t {
04322 XCB_MAP_INDEX_SHIFT = 0,
04323 XCB_MAP_INDEX_LOCK = 1,
04324 XCB_MAP_INDEX_CONTROL = 2,
04325 XCB_MAP_INDEX_1 = 3,
04326 XCB_MAP_INDEX_2 = 4,
04327 XCB_MAP_INDEX_3 = 5,
04328 XCB_MAP_INDEX_4 = 6,
04329 XCB_MAP_INDEX_5 = 7
04330 } xcb_map_index_t;
04331
04335 typedef struct xcb_set_modifier_mapping_cookie_t {
04336 unsigned int sequence;
04337 } xcb_set_modifier_mapping_cookie_t;
04338
04340 #define XCB_SET_MODIFIER_MAPPING 118
04341
04345 typedef struct xcb_set_modifier_mapping_request_t {
04346 uint8_t major_opcode;
04347 uint8_t keycodes_per_modifier;
04348 uint16_t length;
04349 } xcb_set_modifier_mapping_request_t;
04350
04354 typedef struct xcb_set_modifier_mapping_reply_t {
04355 uint8_t response_type;
04356 uint8_t status;
04357 uint16_t sequence;
04358 uint32_t length;
04359 } xcb_set_modifier_mapping_reply_t;
04360
04364 typedef struct xcb_get_modifier_mapping_cookie_t {
04365 unsigned int sequence;
04366 } xcb_get_modifier_mapping_cookie_t;
04367
04369 #define XCB_GET_MODIFIER_MAPPING 119
04370
04374 typedef struct xcb_get_modifier_mapping_request_t {
04375 uint8_t major_opcode;
04376 uint8_t pad0;
04377 uint16_t length;
04378 } xcb_get_modifier_mapping_request_t;
04379
04383 typedef struct xcb_get_modifier_mapping_reply_t {
04384 uint8_t response_type;
04385 uint8_t keycodes_per_modifier;
04386 uint16_t sequence;
04387 uint32_t length;
04388 uint8_t pad0[24];
04389 } xcb_get_modifier_mapping_reply_t;
04390
04392 #define XCB_NO_OPERATION 127
04393
04397 typedef struct xcb_no_operation_request_t {
04398 uint8_t major_opcode;
04399 uint8_t pad0;
04400 uint16_t length;
04401 } xcb_no_operation_request_t;
04402
04412
04413
04414
04415
04416
04417
04418
04419
04420
04421 void
04422 xcb_char2b_next (xcb_char2b_iterator_t *i );
04423
04434
04435
04436
04437
04438
04439
04440
04441
04442
04443 xcb_generic_iterator_t
04444 xcb_char2b_end (xcb_char2b_iterator_t i );
04445
04455
04456
04457
04458
04459
04460
04461
04462
04463
04464 void
04465 xcb_window_next (xcb_window_iterator_t *i );
04466
04477
04478
04479
04480
04481
04482
04483
04484
04485
04486 xcb_generic_iterator_t
04487 xcb_window_end (xcb_window_iterator_t i );
04488
04498
04499
04500
04501
04502
04503
04504
04505
04506
04507 void
04508 xcb_pixmap_next (xcb_pixmap_iterator_t *i );
04509
04520
04521
04522
04523
04524
04525
04526
04527
04528
04529 xcb_generic_iterator_t
04530 xcb_pixmap_end (xcb_pixmap_iterator_t i );
04531
04541
04542
04543
04544
04545
04546
04547
04548
04549
04550 void
04551 xcb_cursor_next (xcb_cursor_iterator_t *i );
04552
04563
04564
04565
04566
04567
04568
04569
04570
04571
04572 xcb_generic_iterator_t
04573 xcb_cursor_end (xcb_cursor_iterator_t i );
04574
04584
04585
04586
04587
04588
04589
04590
04591
04592
04593 void
04594 xcb_font_next (xcb_font_iterator_t *i );
04595
04606
04607
04608
04609
04610
04611
04612
04613
04614
04615 xcb_generic_iterator_t
04616 xcb_font_end (xcb_font_iterator_t i );
04617
04627
04628
04629
04630
04631
04632
04633
04634
04635
04636 void
04637 xcb_gcontext_next (xcb_gcontext_iterator_t *i );
04638
04649
04650
04651
04652
04653
04654
04655
04656
04657
04658 xcb_generic_iterator_t
04659 xcb_gcontext_end (xcb_gcontext_iterator_t i );
04660
04670
04671
04672
04673
04674
04675
04676
04677
04678
04679 void
04680 xcb_colormap_next (xcb_colormap_iterator_t *i );
04681
04692
04693
04694
04695
04696
04697
04698
04699
04700
04701 xcb_generic_iterator_t
04702 xcb_colormap_end (xcb_colormap_iterator_t i );
04703
04713
04714
04715
04716
04717
04718
04719
04720
04721
04722 void
04723 xcb_atom_next (xcb_atom_iterator_t *i );
04724
04735
04736
04737
04738
04739
04740
04741
04742
04743
04744 xcb_generic_iterator_t
04745 xcb_atom_end (xcb_atom_iterator_t i );
04746
04756
04757
04758
04759
04760
04761
04762
04763
04764
04765 void
04766 xcb_drawable_next (xcb_drawable_iterator_t *i );
04767
04778
04779
04780
04781
04782
04783
04784
04785
04786
04787 xcb_generic_iterator_t
04788 xcb_drawable_end (xcb_drawable_iterator_t i );
04789
04799
04800
04801
04802
04803
04804
04805
04806
04807
04808 void
04809 xcb_fontable_next (xcb_fontable_iterator_t *i );
04810
04821
04822
04823
04824
04825
04826
04827
04828
04829
04830 xcb_generic_iterator_t
04831 xcb_fontable_end (xcb_fontable_iterator_t i );
04832
04842
04843
04844
04845
04846
04847
04848
04849
04850
04851 void
04852 xcb_visualid_next (xcb_visualid_iterator_t *i );
04853
04864
04865
04866
04867
04868
04869
04870
04871
04872
04873 xcb_generic_iterator_t
04874 xcb_visualid_end (xcb_visualid_iterator_t i );
04875
04885
04886
04887
04888
04889
04890
04891
04892
04893
04894 void
04895 xcb_timestamp_next (xcb_timestamp_iterator_t *i );
04896
04907
04908
04909
04910
04911
04912
04913
04914
04915
04916 xcb_generic_iterator_t
04917 xcb_timestamp_end (xcb_timestamp_iterator_t i );
04918
04928
04929
04930
04931
04932
04933
04934
04935
04936
04937 void
04938 xcb_keysym_next (xcb_keysym_iterator_t *i );
04939
04950
04951
04952
04953
04954
04955
04956
04957
04958
04959 xcb_generic_iterator_t
04960 xcb_keysym_end (xcb_keysym_iterator_t i );
04961
04971
04972
04973
04974
04975
04976
04977
04978
04979
04980 void
04981 xcb_keycode_next (xcb_keycode_iterator_t *i );
04982
04993
04994
04995
04996
04997
04998
04999
05000
05001
05002 xcb_generic_iterator_t
05003 xcb_keycode_end (xcb_keycode_iterator_t i );
05004
05014
05015
05016
05017
05018
05019
05020
05021
05022
05023 void
05024 xcb_button_next (xcb_button_iterator_t *i );
05025
05036
05037
05038
05039
05040
05041
05042
05043
05044
05045 xcb_generic_iterator_t
05046 xcb_button_end (xcb_button_iterator_t i );
05047
05057
05058
05059
05060
05061
05062
05063
05064
05065
05066 void
05067 xcb_point_next (xcb_point_iterator_t *i );
05068
05079
05080
05081
05082
05083
05084
05085
05086
05087
05088 xcb_generic_iterator_t
05089 xcb_point_end (xcb_point_iterator_t i );
05090
05100
05101
05102
05103
05104
05105
05106
05107
05108
05109 void
05110 xcb_rectangle_next (xcb_rectangle_iterator_t *i );
05111
05122
05123
05124
05125
05126
05127
05128
05129
05130
05131 xcb_generic_iterator_t
05132 xcb_rectangle_end (xcb_rectangle_iterator_t i );
05133
05143
05144
05145
05146
05147
05148
05149
05150
05151
05152 void
05153 xcb_arc_next (xcb_arc_iterator_t *i );
05154
05165
05166
05167
05168
05169
05170
05171
05172
05173
05174 xcb_generic_iterator_t
05175 xcb_arc_end (xcb_arc_iterator_t i );
05176
05186
05187
05188
05189
05190
05191
05192
05193
05194
05195 void
05196 xcb_format_next (xcb_format_iterator_t *i );
05197
05208
05209
05210
05211
05212
05213
05214
05215
05216
05217 xcb_generic_iterator_t
05218 xcb_format_end (xcb_format_iterator_t i );
05219
05229
05230
05231
05232
05233
05234
05235
05236
05237
05238 void
05239 xcb_visualtype_next (xcb_visualtype_iterator_t *i );
05240
05251
05252
05253
05254
05255
05256
05257
05258
05259
05260 xcb_generic_iterator_t
05261 xcb_visualtype_end (xcb_visualtype_iterator_t i );
05262
05263
05264
05265
05266
05267
05268
05269
05270
05271
05272
05273 xcb_visualtype_t *
05274 xcb_depth_visuals (const xcb_depth_t *R );
05275
05276
05277
05278
05279
05280
05281
05282
05283
05284
05285
05286 int
05287 xcb_depth_visuals_length (const xcb_depth_t *R );
05288
05289
05290
05291
05292
05293
05294
05295
05296
05297
05298
05299 xcb_visualtype_iterator_t
05300 xcb_depth_visuals_iterator (const xcb_depth_t *R );
05301
05311
05312
05313
05314
05315
05316
05317
05318
05319
05320 void
05321 xcb_depth_next (xcb_depth_iterator_t *i );
05322
05333
05334
05335
05336
05337
05338
05339
05340
05341
05342 xcb_generic_iterator_t
05343 xcb_depth_end (xcb_depth_iterator_t i );
05344
05345
05346
05347
05348
05349
05350
05351
05352
05353
05354
05355 int
05356 xcb_screen_allowed_depths_length (const xcb_screen_t *R );
05357
05358
05359
05360
05361
05362
05363
05364
05365
05366
05367
05368 xcb_depth_iterator_t
05369 xcb_screen_allowed_depths_iterator (const xcb_screen_t *R );
05370
05380
05381
05382
05383
05384
05385
05386
05387
05388
05389 void
05390 xcb_screen_next (xcb_screen_iterator_t *i );
05391
05402
05403
05404
05405
05406
05407
05408
05409
05410
05411 xcb_generic_iterator_t
05412 xcb_screen_end (xcb_screen_iterator_t i );
05413
05414
05415
05416
05417
05418
05419
05420
05421
05422
05423
05424 char *
05425 xcb_setup_request_authorization_protocol_name (const xcb_setup_request_t *R );
05426
05427
05428
05429
05430
05431
05432
05433
05434
05435
05436
05437 int
05438 xcb_setup_request_authorization_protocol_name_length (const xcb_setup_request_t *R );
05439
05440
05441
05442
05443
05444
05445
05446
05447
05448
05449
05450 xcb_generic_iterator_t
05451 xcb_setup_request_authorization_protocol_name_end (const xcb_setup_request_t *R );
05452
05453
05454
05455
05456
05457
05458
05459
05460
05461
05462
05463 char *
05464 xcb_setup_request_authorization_protocol_data (const xcb_setup_request_t *R );
05465
05466
05467
05468
05469
05470
05471
05472
05473
05474
05475
05476 int
05477 xcb_setup_request_authorization_protocol_data_length (const xcb_setup_request_t *R );
05478
05479
05480
05481
05482
05483
05484
05485
05486
05487
05488
05489 xcb_generic_iterator_t
05490 xcb_setup_request_authorization_protocol_data_end (const xcb_setup_request_t *R );
05491
05501
05502
05503
05504
05505
05506
05507
05508
05509
05510 void
05511 xcb_setup_request_next (xcb_setup_request_iterator_t *i );
05512
05523
05524
05525
05526
05527
05528
05529
05530
05531
05532 xcb_generic_iterator_t
05533 xcb_setup_request_end (xcb_setup_request_iterator_t i );
05534
05535
05536
05537
05538
05539
05540
05541
05542
05543
05544
05545 char *
05546 xcb_setup_failed_reason (const xcb_setup_failed_t *R );
05547
05548
05549
05550
05551
05552
05553
05554
05555
05556
05557
05558 int
05559 xcb_setup_failed_reason_length (const xcb_setup_failed_t *R );
05560
05561
05562
05563
05564
05565
05566
05567
05568
05569
05570
05571 xcb_generic_iterator_t
05572 xcb_setup_failed_reason_end (const xcb_setup_failed_t *R );
05573
05583
05584
05585
05586
05587
05588
05589
05590
05591
05592 void
05593 xcb_setup_failed_next (xcb_setup_failed_iterator_t *i );
05594
05605
05606
05607
05608
05609
05610
05611
05612
05613
05614 xcb_generic_iterator_t
05615 xcb_setup_failed_end (xcb_setup_failed_iterator_t i );
05616
05617
05618
05619
05620
05621
05622
05623
05624
05625
05626
05627 char *
05628 xcb_setup_authenticate_reason (const xcb_setup_authenticate_t *R );
05629
05630
05631
05632
05633
05634
05635
05636
05637
05638
05639
05640 int
05641 xcb_setup_authenticate_reason_length (const xcb_setup_authenticate_t *R );
05642
05643
05644
05645
05646
05647
05648
05649
05650
05651
05652
05653 xcb_generic_iterator_t
05654 xcb_setup_authenticate_reason_end (const xcb_setup_authenticate_t *R );
05655
05665
05666
05667
05668
05669
05670
05671
05672
05673
05674 void
05675 xcb_setup_authenticate_next (xcb_setup_authenticate_iterator_t *i );
05676
05687
05688
05689
05690
05691
05692
05693
05694
05695
05696 xcb_generic_iterator_t
05697 xcb_setup_authenticate_end (xcb_setup_authenticate_iterator_t i );
05698
05699
05700
05701
05702
05703
05704
05705
05706
05707
05708
05709 char *
05710 xcb_setup_vendor (const xcb_setup_t *R );
05711
05712
05713
05714
05715
05716
05717
05718
05719
05720
05721
05722 int
05723 xcb_setup_vendor_length (const xcb_setup_t *R );
05724
05725
05726
05727
05728
05729
05730
05731
05732
05733
05734
05735 xcb_generic_iterator_t
05736 xcb_setup_vendor_end (const xcb_setup_t *R );
05737
05738
05739
05740
05741
05742
05743
05744
05745
05746
05747
05748 xcb_format_t *
05749 xcb_setup_pixmap_formats (const xcb_setup_t *R );
05750
05751
05752
05753
05754
05755
05756
05757
05758
05759
05760
05761 int
05762 xcb_setup_pixmap_formats_length (const xcb_setup_t *R );
05763
05764
05765
05766
05767
05768
05769
05770
05771
05772
05773
05774 xcb_format_iterator_t
05775 xcb_setup_pixmap_formats_iterator (const xcb_setup_t *R );
05776
05777
05778
05779
05780
05781
05782
05783
05784
05785
05786
05787 int
05788 xcb_setup_roots_length (const xcb_setup_t *R );
05789
05790
05791
05792
05793
05794
05795
05796
05797
05798
05799
05800 xcb_screen_iterator_t
05801 xcb_setup_roots_iterator (const xcb_setup_t *R );
05802
05812
05813
05814
05815
05816
05817
05818
05819
05820
05821 void
05822 xcb_setup_next (xcb_setup_iterator_t *i );
05823
05834
05835
05836
05837
05838
05839
05840
05841
05842
05843 xcb_generic_iterator_t
05844 xcb_setup_end (xcb_setup_iterator_t i );
05845
05855
05856
05857
05858
05859
05860
05861
05862
05863
05864 void
05865 xcb_client_message_data_next (xcb_client_message_data_iterator_t *i );
05866
05877
05878
05879
05880
05881
05882
05883
05884
05885
05886 xcb_generic_iterator_t
05887 xcb_client_message_data_end (xcb_client_message_data_iterator_t i );
05888
05901
05902
05903
05904
05905
05906
05907
05908
05909
05910
05911
05912
05913
05914
05915
05916
05917
05918
05919
05920
05921
05922 xcb_void_cookie_t
05923 xcb_create_window_checked (xcb_connection_t *c ,
05924 uint8_t depth ,
05925 xcb_window_t wid ,
05926 xcb_window_t parent ,
05927 int16_t x ,
05928 int16_t y ,
05929 uint16_t width ,
05930 uint16_t height ,
05931 uint16_t border_width ,
05932 uint16_t _class ,
05933 xcb_visualid_t visual ,
05934 uint32_t value_mask ,
05935 const uint32_t *value_list );
05936
05946
05947
05948
05949
05950
05951
05952
05953
05954
05955
05956
05957
05958
05959
05960
05961
05962
05963
05964
05965
05966
05967 xcb_void_cookie_t
05968 xcb_create_window (xcb_connection_t *c ,
05969 uint8_t depth ,
05970 xcb_window_t wid ,
05971 xcb_window_t parent ,
05972 int16_t x ,
05973 int16_t y ,
05974 uint16_t width ,
05975 uint16_t height ,
05976 uint16_t border_width ,
05977 uint16_t _class ,
05978 xcb_visualid_t visual ,
05979 uint32_t value_mask ,
05980 const uint32_t *value_list );
05981
05994
05995
05996
05997
05998
05999
06000
06001
06002
06003
06004
06005
06006 xcb_void_cookie_t
06007 xcb_change_window_attributes_checked (xcb_connection_t *c ,
06008 xcb_window_t window ,
06009 uint32_t value_mask ,
06010 const uint32_t *value_list );
06011
06021
06022
06023
06024
06025
06026
06027
06028
06029
06030
06031
06032
06033 xcb_void_cookie_t
06034 xcb_change_window_attributes (xcb_connection_t *c ,
06035 xcb_window_t window ,
06036 uint32_t value_mask ,
06037 const uint32_t *value_list );
06038
06048
06049
06050
06051
06052
06053
06054
06055
06056
06057
06058 xcb_get_window_attributes_cookie_t
06059 xcb_get_window_attributes (xcb_connection_t *c ,
06060 xcb_window_t window );
06061
06074
06075
06076
06077
06078
06079
06080
06081
06082
06083
06084 xcb_get_window_attributes_cookie_t
06085 xcb_get_window_attributes_unchecked (xcb_connection_t *c ,
06086 xcb_window_t window );
06087
06103
06104
06105
06106
06107
06108
06109
06110
06111
06112
06113
06114 xcb_get_window_attributes_reply_t *
06115 xcb_get_window_attributes_reply (xcb_connection_t *c ,
06116 xcb_get_window_attributes_cookie_t cookie ,
06117 xcb_generic_error_t **e );
06118
06131
06132
06133
06134
06135
06136
06137
06138
06139
06140
06141 xcb_void_cookie_t
06142 xcb_destroy_window_checked (xcb_connection_t *c ,
06143 xcb_window_t window );
06144
06154
06155
06156
06157
06158
06159
06160
06161
06162
06163
06164 xcb_void_cookie_t
06165 xcb_destroy_window (xcb_connection_t *c ,
06166 xcb_window_t window );
06167
06180
06181
06182
06183
06184
06185
06186
06187
06188
06189
06190 xcb_void_cookie_t
06191 xcb_destroy_subwindows_checked (xcb_connection_t *c ,
06192 xcb_window_t window );
06193
06203
06204
06205
06206
06207
06208
06209
06210
06211
06212
06213 xcb_void_cookie_t
06214 xcb_destroy_subwindows (xcb_connection_t *c ,
06215 xcb_window_t window );
06216
06229
06230
06231
06232
06233
06234
06235
06236
06237
06238
06239
06240 xcb_void_cookie_t
06241 xcb_change_save_set_checked (xcb_connection_t *c ,
06242 uint8_t mode ,
06243 xcb_window_t window );
06244
06254
06255
06256
06257
06258
06259
06260
06261
06262
06263
06264
06265 xcb_void_cookie_t
06266 xcb_change_save_set (xcb_connection_t *c ,
06267 uint8_t mode ,
06268 xcb_window_t window );
06269
06282
06283
06284
06285
06286
06287
06288
06289
06290
06291
06292
06293
06294
06295 xcb_void_cookie_t
06296 xcb_reparent_window_checked (xcb_connection_t *c ,
06297 xcb_window_t window ,
06298 xcb_window_t parent ,
06299 int16_t x ,
06300 int16_t y );
06301
06311
06312
06313
06314
06315
06316
06317
06318
06319
06320
06321
06322
06323
06324 xcb_void_cookie_t
06325 xcb_reparent_window (xcb_connection_t *c ,
06326 xcb_window_t window ,
06327 xcb_window_t parent ,
06328 int16_t x ,
06329 int16_t y );
06330
06343
06344
06345
06346
06347
06348
06349
06350
06351
06352
06353 xcb_void_cookie_t
06354 xcb_map_window_checked (xcb_connection_t *c ,
06355 xcb_window_t window );
06356
06366
06367
06368
06369
06370
06371
06372
06373
06374
06375
06376 xcb_void_cookie_t
06377 xcb_map_window (xcb_connection_t *c ,
06378 xcb_window_t window );
06379
06392
06393
06394
06395
06396
06397
06398
06399
06400
06401
06402 xcb_void_cookie_t
06403 xcb_map_subwindows_checked (xcb_connection_t *c ,
06404 xcb_window_t window );
06405
06415
06416
06417
06418
06419
06420
06421
06422
06423
06424
06425 xcb_void_cookie_t
06426 xcb_map_subwindows (xcb_connection_t *c ,
06427 xcb_window_t window );
06428
06441
06442
06443
06444
06445
06446
06447
06448
06449
06450
06451 xcb_void_cookie_t
06452 xcb_unmap_window_checked (xcb_connection_t *c ,
06453 xcb_window_t window );
06454
06464
06465
06466
06467
06468
06469
06470
06471
06472
06473
06474 xcb_void_cookie_t
06475 xcb_unmap_window (xcb_connection_t *c ,
06476 xcb_window_t window );
06477
06490
06491
06492
06493
06494
06495
06496
06497
06498
06499
06500 xcb_void_cookie_t
06501 xcb_unmap_subwindows_checked (xcb_connection_t *c ,
06502 xcb_window_t window );
06503
06513
06514
06515
06516
06517
06518
06519
06520
06521
06522
06523 xcb_void_cookie_t
06524 xcb_unmap_subwindows (xcb_connection_t *c ,
06525 xcb_window_t window );
06526
06539
06540
06541
06542
06543
06544
06545
06546
06547
06548
06549
06550
06551 xcb_void_cookie_t
06552 xcb_configure_window_checked (xcb_connection_t *c ,
06553 xcb_window_t window ,
06554 uint16_t value_mask ,
06555 const uint32_t *value_list );
06556
06566
06567
06568
06569
06570
06571
06572
06573
06574
06575
06576
06577
06578 xcb_void_cookie_t
06579 xcb_configure_window (xcb_connection_t *c ,
06580 xcb_window_t window ,
06581 uint16_t value_mask ,
06582 const uint32_t *value_list );
06583
06596
06597
06598
06599
06600
06601
06602
06603
06604
06605
06606
06607 xcb_void_cookie_t
06608 xcb_circulate_window_checked (xcb_connection_t *c ,
06609 uint8_t direction ,
06610 xcb_window_t window );
06611
06621
06622
06623
06624
06625
06626
06627
06628
06629
06630
06631
06632 xcb_void_cookie_t
06633 xcb_circulate_window (xcb_connection_t *c ,
06634 uint8_t direction ,
06635 xcb_window_t window );
06636
06646
06647
06648
06649
06650
06651
06652
06653
06654
06655
06656 xcb_get_geometry_cookie_t
06657 xcb_get_geometry (xcb_connection_t *c ,
06658 xcb_drawable_t drawable );
06659
06672
06673
06674
06675
06676
06677
06678
06679
06680
06681
06682 xcb_get_geometry_cookie_t
06683 xcb_get_geometry_unchecked (xcb_connection_t *c ,
06684 xcb_drawable_t drawable );
06685
06701
06702
06703
06704
06705
06706
06707
06708
06709
06710
06711
06712 xcb_get_geometry_reply_t *
06713 xcb_get_geometry_reply (xcb_connection_t *c ,
06714 xcb_get_geometry_cookie_t cookie ,
06715 xcb_generic_error_t **e );
06716
06726
06727
06728
06729
06730
06731
06732
06733
06734
06735
06736 xcb_query_tree_cookie_t
06737 xcb_query_tree (xcb_connection_t *c ,
06738 xcb_window_t window );
06739
06752
06753
06754
06755
06756
06757
06758
06759
06760
06761
06762 xcb_query_tree_cookie_t
06763 xcb_query_tree_unchecked (xcb_connection_t *c ,
06764 xcb_window_t window );
06765
06766
06767
06768
06769
06770
06771
06772
06773
06774
06775
06776 xcb_window_t *
06777 xcb_query_tree_children (const xcb_query_tree_reply_t *R );
06778
06779
06780
06781
06782
06783
06784
06785
06786
06787
06788
06789 int
06790 xcb_query_tree_children_length (const xcb_query_tree_reply_t *R );
06791
06792
06793
06794
06795
06796
06797
06798
06799
06800
06801
06802 xcb_generic_iterator_t
06803 xcb_query_tree_children_end (const xcb_query_tree_reply_t *R );
06804
06820
06821
06822
06823
06824
06825
06826
06827
06828
06829
06830
06831 xcb_query_tree_reply_t *
06832 xcb_query_tree_reply (xcb_connection_t *c ,
06833 xcb_query_tree_cookie_t cookie ,
06834 xcb_generic_error_t **e );
06835
06845
06846
06847
06848
06849
06850
06851
06852
06853
06854
06855
06856
06857 xcb_intern_atom_cookie_t
06858 xcb_intern_atom (xcb_connection_t *c ,
06859 uint8_t only_if_exists ,
06860 uint16_t name_len ,
06861 const char *name );
06862
06875
06876
06877
06878
06879
06880
06881
06882
06883
06884
06885
06886
06887 xcb_intern_atom_cookie_t
06888 xcb_intern_atom_unchecked (xcb_connection_t *c ,
06889 uint8_t only_if_exists ,
06890 uint16_t name_len ,
06891 const char *name );
06892
06908
06909
06910
06911
06912
06913
06914
06915
06916
06917
06918
06919 xcb_intern_atom_reply_t *
06920 xcb_intern_atom_reply (xcb_connection_t *c ,
06921 xcb_intern_atom_cookie_t cookie ,
06922 xcb_generic_error_t **e );
06923
06933
06934
06935
06936
06937
06938
06939
06940
06941
06942
06943 xcb_get_atom_name_cookie_t
06944 xcb_get_atom_name (xcb_connection_t *c ,
06945 xcb_atom_t atom );
06946
06959
06960
06961
06962
06963
06964
06965
06966
06967
06968
06969 xcb_get_atom_name_cookie_t
06970 xcb_get_atom_name_unchecked (xcb_connection_t *c ,
06971 xcb_atom_t atom );
06972
06973
06974
06975
06976
06977
06978
06979
06980
06981
06982
06983 char *
06984 xcb_get_atom_name_name (const xcb_get_atom_name_reply_t *R );
06985
06986
06987
06988
06989
06990
06991
06992
06993
06994
06995
06996 int
06997 xcb_get_atom_name_name_length (const xcb_get_atom_name_reply_t *R );
06998
06999
07000
07001
07002
07003
07004
07005
07006
07007
07008
07009 xcb_generic_iterator_t
07010 xcb_get_atom_name_name_end (const xcb_get_atom_name_reply_t *R );
07011
07027
07028
07029
07030
07031
07032
07033
07034
07035
07036
07037
07038 xcb_get_atom_name_reply_t *
07039 xcb_get_atom_name_reply (xcb_connection_t *c ,
07040 xcb_get_atom_name_cookie_t cookie ,
07041 xcb_generic_error_t **e );
07042
07055
07056
07057
07058
07059
07060
07061
07062
07063
07064
07065
07066
07067
07068
07069
07070
07071 xcb_void_cookie_t
07072 xcb_change_property_checked (xcb_connection_t *c ,
07073 uint8_t mode ,
07074 xcb_window_t window ,
07075 xcb_atom_t property ,
07076 xcb_atom_t type ,
07077 uint8_t format ,
07078 uint32_t data_len ,
07079 const void *data );
07080
07090
07091
07092
07093
07094
07095
07096
07097
07098
07099
07100
07101
07102
07103
07104
07105
07106 xcb_void_cookie_t
07107 xcb_change_property (xcb_connection_t *c ,
07108 uint8_t mode ,
07109 xcb_window_t window ,
07110 xcb_atom_t property ,
07111 xcb_atom_t type ,
07112 uint8_t format ,
07113 uint32_t data_len ,
07114 const void *data );
07115
07128
07129
07130
07131
07132
07133
07134
07135
07136
07137
07138
07139 xcb_void_cookie_t
07140 xcb_delete_property_checked (xcb_connection_t *c ,
07141 xcb_window_t window ,
07142 xcb_atom_t property );
07143
07153
07154
07155
07156
07157
07158
07159
07160
07161
07162
07163
07164 xcb_void_cookie_t
07165 xcb_delete_property (xcb_connection_t *c ,
07166 xcb_window_t window ,
07167 xcb_atom_t property );
07168
07178
07179
07180
07181
07182
07183
07184
07185
07186
07187
07188
07189
07190
07191
07192
07193 xcb_get_property_cookie_t
07194 xcb_get_property (xcb_connection_t *c ,
07195 uint8_t _delete ,
07196 xcb_window_t window ,
07197 xcb_atom_t property ,
07198 xcb_atom_t type ,
07199 uint32_t long_offset ,
07200 uint32_t long_length );
07201
07214
07215
07216
07217
07218
07219
07220
07221
07222
07223
07224
07225
07226
07227
07228
07229 xcb_get_property_cookie_t
07230 xcb_get_property_unchecked (xcb_connection_t *c ,
07231 uint8_t _delete ,
07232 xcb_window_t window ,
07233 xcb_atom_t property ,
07234 xcb_atom_t type ,
07235 uint32_t long_offset ,
07236 uint32_t long_length );
07237
07238
07239
07240
07241
07242
07243
07244
07245
07246
07247
07248 void *
07249 xcb_get_property_value (const xcb_get_property_reply_t *R );
07250
07251
07252
07253
07254
07255
07256
07257
07258
07259
07260
07261 int
07262 xcb_get_property_value_length (const xcb_get_property_reply_t *R );
07263
07264
07265
07266
07267
07268
07269
07270
07271
07272
07273
07274 xcb_generic_iterator_t
07275 xcb_get_property_value_end (const xcb_get_property_reply_t *R );
07276
07292
07293
07294
07295
07296
07297
07298
07299
07300
07301
07302
07303 xcb_get_property_reply_t *
07304 xcb_get_property_reply (xcb_connection_t *c ,
07305 xcb_get_property_cookie_t cookie ,
07306 xcb_generic_error_t **e );
07307
07317
07318
07319
07320
07321
07322
07323
07324
07325
07326
07327 xcb_list_properties_cookie_t
07328 xcb_list_properties (xcb_connection_t *c ,
07329 xcb_window_t window );
07330
07343
07344
07345
07346
07347
07348
07349
07350
07351
07352
07353 xcb_list_properties_cookie_t
07354 xcb_list_properties_unchecked (xcb_connection_t *c ,
07355 xcb_window_t window );
07356
07357
07358
07359
07360
07361
07362
07363
07364
07365
07366
07367 xcb_atom_t *
07368 xcb_list_properties_atoms (const xcb_list_properties_reply_t *R );
07369
07370
07371
07372
07373
07374
07375
07376
07377
07378
07379
07380 int
07381 xcb_list_properties_atoms_length (const xcb_list_properties_reply_t *R );
07382
07383
07384
07385
07386
07387
07388
07389
07390
07391
07392
07393 xcb_generic_iterator_t
07394 xcb_list_properties_atoms_end (const xcb_list_properties_reply_t *R );
07395
07411
07412
07413
07414
07415
07416
07417
07418
07419
07420
07421
07422 xcb_list_properties_reply_t *
07423 xcb_list_properties_reply (xcb_connection_t *c ,
07424 xcb_list_properties_cookie_t cookie ,
07425 xcb_generic_error_t **e );
07426
07439
07440
07441
07442
07443
07444
07445
07446
07447
07448
07449
07450
07451 xcb_void_cookie_t
07452 xcb_set_selection_owner_checked (xcb_connection_t *c ,
07453 xcb_window_t owner ,
07454 xcb_atom_t selection ,
07455 xcb_timestamp_t time );
07456
07466
07467
07468
07469
07470
07471
07472
07473
07474
07475
07476
07477
07478 xcb_void_cookie_t
07479 xcb_set_selection_owner (xcb_connection_t *c ,
07480 xcb_window_t owner ,
07481 xcb_atom_t selection ,
07482 xcb_timestamp_t time );
07483
07493
07494
07495
07496
07497
07498
07499
07500
07501
07502
07503 xcb_get_selection_owner_cookie_t
07504 xcb_get_selection_owner (xcb_connection_t *c ,
07505 xcb_atom_t selection );
07506
07519
07520
07521
07522
07523
07524
07525
07526
07527
07528
07529 xcb_get_selection_owner_cookie_t
07530 xcb_get_selection_owner_unchecked (xcb_connection_t *c ,
07531 xcb_atom_t selection );
07532
07548
07549
07550
07551
07552
07553
07554
07555
07556
07557
07558
07559 xcb_get_selection_owner_reply_t *
07560 xcb_get_selection_owner_reply (xcb_connection_t *c ,
07561 xcb_get_selection_owner_cookie_t cookie ,
07562 xcb_generic_error_t **e );
07563
07576
07577
07578
07579
07580
07581
07582
07583
07584
07585
07586
07587
07588
07589
07590 xcb_void_cookie_t
07591 xcb_convert_selection_checked (xcb_connection_t *c ,
07592 xcb_window_t requestor ,
07593 xcb_atom_t selection ,
07594 xcb_atom_t target ,
07595 xcb_atom_t property ,
07596 xcb_timestamp_t time );
07597
07607
07608
07609
07610
07611
07612
07613
07614
07615
07616
07617
07618
07619
07620
07621 xcb_void_cookie_t
07622 xcb_convert_selection (xcb_connection_t *c ,
07623 xcb_window_t requestor ,
07624 xcb_atom_t selection ,
07625 xcb_atom_t target ,
07626 xcb_atom_t property ,
07627 xcb_timestamp_t time );
07628
07641
07642
07643
07644
07645
07646
07647
07648
07649
07650
07651
07652
07653
07654 xcb_void_cookie_t
07655 xcb_send_event_checked (xcb_connection_t *c ,
07656 uint8_t propagate ,
07657 xcb_window_t destination ,
07658 uint32_t event_mask ,
07659 const char *event );
07660
07670
07671
07672
07673
07674
07675
07676
07677
07678
07679
07680
07681
07682
07683 xcb_void_cookie_t
07684 xcb_send_event (xcb_connection_t *c ,
07685 uint8_t propagate ,
07686 xcb_window_t destination ,
07687 uint32_t event_mask ,
07688 const char *event );
07689
07699
07700
07701
07702
07703
07704
07705
07706
07707
07708
07709
07710
07711
07712
07713
07714
07715
07716 xcb_grab_pointer_cookie_t
07717 xcb_grab_pointer (xcb_connection_t *c ,
07718 uint8_t owner_events ,
07719 xcb_window_t grab_window ,
07720 uint16_t event_mask ,
07721 uint8_t pointer_mode ,
07722 uint8_t keyboard_mode ,
07723 xcb_window_t confine_to ,
07724 xcb_cursor_t cursor ,
07725 xcb_timestamp_t time );
07726
07739
07740
07741
07742
07743
07744
07745
07746
07747
07748
07749
07750
07751
07752
07753
07754
07755
07756 xcb_grab_pointer_cookie_t
07757 xcb_grab_pointer_unchecked (xcb_connection_t *c ,
07758 uint8_t owner_events ,
07759 xcb_window_t grab_window ,
07760 uint16_t event_mask ,
07761 uint8_t pointer_mode ,
07762 uint8_t keyboard_mode ,
07763 xcb_window_t confine_to ,
07764 xcb_cursor_t cursor ,
07765 xcb_timestamp_t time );
07766
07782
07783
07784
07785
07786
07787
07788
07789
07790
07791
07792
07793 xcb_grab_pointer_reply_t *
07794 xcb_grab_pointer_reply (xcb_connection_t *c ,
07795 xcb_grab_pointer_cookie_t cookie ,
07796 xcb_generic_error_t **e );
07797
07810
07811
07812
07813
07814
07815
07816
07817
07818
07819
07820 xcb_void_cookie_t
07821 xcb_ungrab_pointer_checked (xcb_connection_t *c ,
07822 xcb_timestamp_t time );
07823
07833
07834
07835
07836
07837
07838
07839
07840
07841
07842
07843 xcb_void_cookie_t
07844 xcb_ungrab_pointer (xcb_connection_t *c ,
07845 xcb_timestamp_t time );
07846
07859
07860
07861
07862
07863
07864
07865
07866
07867
07868
07869
07870
07871
07872
07873
07874
07875
07876
07877 xcb_void_cookie_t
07878 xcb_grab_button_checked (xcb_connection_t *c ,
07879 uint8_t owner_events ,
07880 xcb_window_t grab_window ,
07881 uint16_t event_mask ,
07882 uint8_t pointer_mode ,
07883 uint8_t keyboard_mode ,
07884 xcb_window_t confine_to ,
07885 xcb_cursor_t cursor ,
07886 uint8_t button ,
07887 uint16_t modifiers );
07888
07898
07899
07900
07901
07902
07903
07904
07905
07906
07907
07908
07909
07910
07911
07912
07913
07914
07915
07916 xcb_void_cookie_t
07917 xcb_grab_button (xcb_connection_t *c ,
07918 uint8_t owner_events ,
07919 xcb_window_t grab_window ,
07920 uint16_t event_mask ,
07921 uint8_t pointer_mode ,
07922 uint8_t keyboard_mode ,
07923 xcb_window_t confine_to ,
07924 xcb_cursor_t cursor ,
07925 uint8_t button ,
07926 uint16_t modifiers );
07927
07940
07941
07942
07943
07944
07945
07946
07947
07948
07949
07950
07951
07952 xcb_void_cookie_t
07953 xcb_ungrab_button_checked (xcb_connection_t *c ,
07954 uint8_t button ,
07955 xcb_window_t grab_window ,
07956 uint16_t modifiers );
07957
07967
07968
07969
07970
07971
07972
07973
07974
07975
07976
07977
07978
07979 xcb_void_cookie_t
07980 xcb_ungrab_button (xcb_connection_t *c ,
07981 uint8_t button ,
07982 xcb_window_t grab_window ,
07983 uint16_t modifiers );
07984
07997
07998
07999
08000
08001
08002
08003
08004
08005
08006
08007
08008
08009 xcb_void_cookie_t
08010 xcb_change_active_pointer_grab_checked (xcb_connection_t *c ,
08011 xcb_cursor_t cursor ,
08012 xcb_timestamp_t time ,
08013 uint16_t event_mask );
08014
08024
08025
08026
08027
08028
08029
08030
08031
08032
08033
08034
08035
08036 xcb_void_cookie_t
08037 xcb_change_active_pointer_grab (xcb_connection_t *c ,
08038 xcb_cursor_t cursor ,
08039 xcb_timestamp_t time ,
08040 uint16_t event_mask );
08041
08051
08052
08053
08054
08055
08056
08057
08058
08059
08060
08061
08062
08063
08064
08065 xcb_grab_keyboard_cookie_t
08066 xcb_grab_keyboard (xcb_connection_t *c ,
08067 uint8_t owner_events ,
08068 xcb_window_t grab_window ,
08069 xcb_timestamp_t time ,
08070 uint8_t pointer_mode ,
08071 uint8_t keyboard_mode );
08072
08085
08086
08087
08088
08089
08090
08091
08092
08093
08094
08095
08096
08097
08098
08099 xcb_grab_keyboard_cookie_t
08100 xcb_grab_keyboard_unchecked (xcb_connection_t *c ,
08101 uint8_t owner_events ,
08102 xcb_window_t grab_window ,
08103 xcb_timestamp_t time ,
08104 uint8_t pointer_mode ,
08105 uint8_t keyboard_mode );
08106
08122
08123
08124
08125
08126
08127
08128
08129
08130
08131
08132
08133 xcb_grab_keyboard_reply_t *
08134 xcb_grab_keyboard_reply (xcb_connection_t *c ,
08135 xcb_grab_keyboard_cookie_t cookie ,
08136 xcb_generic_error_t **e );
08137
08150
08151
08152
08153
08154
08155
08156
08157
08158
08159
08160 xcb_void_cookie_t
08161 xcb_ungrab_keyboard_checked (xcb_connection_t *c ,
08162 xcb_timestamp_t time );
08163
08173
08174
08175
08176
08177
08178
08179
08180
08181
08182
08183 xcb_void_cookie_t
08184 xcb_ungrab_keyboard (xcb_connection_t *c ,
08185 xcb_timestamp_t time );
08186
08199
08200
08201
08202
08203
08204
08205
08206
08207
08208
08209
08210
08211
08212
08213
08214 xcb_void_cookie_t
08215 xcb_grab_key_checked (xcb_connection_t *c ,
08216 uint8_t owner_events ,
08217 xcb_window_t grab_window ,
08218 uint16_t modifiers ,
08219 xcb_keycode_t key ,
08220 uint8_t pointer_mode ,
08221 uint8_t keyboard_mode );
08222
08232
08233
08234
08235
08236
08237
08238
08239
08240
08241
08242
08243
08244
08245
08246
08247 xcb_void_cookie_t
08248 xcb_grab_key (xcb_connection_t *c ,
08249 uint8_t owner_events ,
08250 xcb_window_t grab_window ,
08251 uint16_t modifiers ,
08252 xcb_keycode_t key ,
08253 uint8_t pointer_mode ,
08254 uint8_t keyboard_mode );
08255
08268
08269
08270
08271
08272
08273
08274
08275
08276
08277
08278
08279
08280 xcb_void_cookie_t
08281 xcb_ungrab_key_checked (xcb_connection_t *c ,
08282 xcb_keycode_t key ,
08283 xcb_window_t grab_window ,
08284 uint16_t modifiers );
08285
08295
08296
08297
08298
08299
08300
08301
08302
08303
08304
08305
08306
08307 xcb_void_cookie_t
08308 xcb_ungrab_key (xcb_connection_t *c ,
08309 xcb_keycode_t key ,
08310 xcb_window_t grab_window ,
08311 uint16_t modifiers );
08312
08325
08326
08327
08328
08329
08330
08331
08332
08333
08334
08335
08336 xcb_void_cookie_t
08337 xcb_allow_events_checked (xcb_connection_t *c ,
08338 uint8_t mode ,
08339 xcb_timestamp_t time );
08340
08350
08351
08352
08353
08354
08355
08356
08357
08358
08359
08360
08361 xcb_void_cookie_t
08362 xcb_allow_events (xcb_connection_t *c ,
08363 uint8_t mode ,
08364 xcb_timestamp_t time );
08365
08378
08379
08380
08381
08382
08383
08384
08385
08386
08387 xcb_void_cookie_t
08388 xcb_grab_server_checked (xcb_connection_t *c );
08389
08399
08400
08401
08402
08403
08404
08405
08406
08407
08408 xcb_void_cookie_t
08409 xcb_grab_server (xcb_connection_t *c );
08410
08423
08424
08425
08426
08427
08428
08429
08430
08431
08432 xcb_void_cookie_t
08433 xcb_ungrab_server_checked (xcb_connection_t *c );
08434
08444
08445
08446
08447
08448
08449
08450
08451
08452
08453 xcb_void_cookie_t
08454 xcb_ungrab_server (xcb_connection_t *c );
08455
08465
08466
08467
08468
08469
08470
08471
08472
08473
08474
08475 xcb_query_pointer_cookie_t
08476 xcb_query_pointer (xcb_connection_t *c ,
08477 xcb_window_t window );
08478
08491
08492
08493
08494
08495
08496
08497
08498
08499
08500
08501 xcb_query_pointer_cookie_t
08502 xcb_query_pointer_unchecked (xcb_connection_t *c ,
08503 xcb_window_t window );
08504
08520
08521
08522
08523
08524
08525
08526
08527
08528
08529
08530
08531 xcb_query_pointer_reply_t *
08532 xcb_query_pointer_reply (xcb_connection_t *c ,
08533 xcb_query_pointer_cookie_t cookie ,
08534 xcb_generic_error_t **e );
08535
08545
08546
08547
08548
08549
08550
08551
08552
08553
08554 void
08555 xcb_timecoord_next (xcb_timecoord_iterator_t *i );
08556
08567
08568
08569
08570
08571
08572
08573
08574
08575
08576 xcb_generic_iterator_t
08577 xcb_timecoord_end (xcb_timecoord_iterator_t i );
08578
08588
08589
08590
08591
08592
08593
08594
08595
08596
08597
08598
08599
08600 xcb_get_motion_events_cookie_t
08601 xcb_get_motion_events (xcb_connection_t *c ,
08602 xcb_window_t window ,
08603 xcb_timestamp_t start ,
08604 xcb_timestamp_t stop );
08605
08618
08619
08620
08621
08622
08623
08624
08625
08626
08627
08628
08629
08630 xcb_get_motion_events_cookie_t
08631 xcb_get_motion_events_unchecked (xcb_connection_t *c ,
08632 xcb_window_t window ,
08633 xcb_timestamp_t start ,
08634 xcb_timestamp_t stop );
08635
08636
08637
08638
08639
08640
08641
08642
08643
08644
08645
08646 xcb_timecoord_t *
08647 xcb_get_motion_events_events (const xcb_get_motion_events_reply_t *R );
08648
08649
08650
08651
08652
08653
08654
08655
08656
08657
08658
08659 int
08660 xcb_get_motion_events_events_length (const xcb_get_motion_events_reply_t *R );
08661
08662
08663
08664
08665
08666
08667
08668
08669
08670
08671
08672 xcb_timecoord_iterator_t
08673 xcb_get_motion_events_events_iterator (const xcb_get_motion_events_reply_t *R );
08674
08690
08691
08692
08693
08694
08695
08696
08697
08698
08699
08700
08701 xcb_get_motion_events_reply_t *
08702 xcb_get_motion_events_reply (xcb_connection_t *c ,
08703 xcb_get_motion_events_cookie_t cookie ,
08704 xcb_generic_error_t **e );
08705
08715
08716
08717
08718
08719
08720
08721
08722
08723
08724
08725
08726
08727
08728 xcb_translate_coordinates_cookie_t
08729 xcb_translate_coordinates (xcb_connection_t *c ,
08730 xcb_window_t src_window ,
08731 xcb_window_t dst_window ,
08732 int16_t src_x ,
08733 int16_t src_y );
08734
08747
08748
08749
08750
08751
08752
08753
08754
08755
08756
08757
08758
08759
08760 xcb_translate_coordinates_cookie_t
08761 xcb_translate_coordinates_unchecked (xcb_connection_t *c ,
08762 xcb_window_t src_window ,
08763 xcb_window_t dst_window ,
08764 int16_t src_x ,
08765 int16_t src_y );
08766
08782
08783
08784
08785
08786
08787
08788
08789
08790
08791
08792
08793 xcb_translate_coordinates_reply_t *
08794 xcb_translate_coordinates_reply (xcb_connection_t *c ,
08795 xcb_translate_coordinates_cookie_t cookie ,
08796 xcb_generic_error_t **e );
08797
08810
08811
08812
08813
08814
08815
08816
08817
08818
08819
08820
08821
08822
08823
08824
08825
08826
08827 xcb_void_cookie_t
08828 xcb_warp_pointer_checked (xcb_connection_t *c ,
08829 xcb_window_t src_window ,
08830 xcb_window_t dst_window ,
08831 int16_t src_x ,
08832 int16_t src_y ,
08833 uint16_t src_width ,
08834 uint16_t src_height ,
08835 int16_t dst_x ,
08836 int16_t dst_y );
08837
08847
08848
08849
08850
08851
08852
08853
08854
08855
08856
08857
08858
08859
08860
08861
08862
08863
08864 xcb_void_cookie_t
08865 xcb_warp_pointer (xcb_connection_t *c ,
08866 xcb_window_t src_window ,
08867 xcb_window_t dst_window ,
08868 int16_t src_x ,
08869 int16_t src_y ,
08870 uint16_t src_width ,
08871 uint16_t src_height ,
08872 int16_t dst_x ,
08873 int16_t dst_y );
08874
08887
08888
08889
08890
08891
08892
08893
08894
08895
08896
08897
08898
08899 xcb_void_cookie_t
08900 xcb_set_input_focus_checked (xcb_connection_t *c ,
08901 uint8_t revert_to ,
08902 xcb_window_t focus ,
08903 xcb_timestamp_t time );
08904
08914
08915
08916
08917
08918
08919
08920
08921
08922
08923
08924
08925
08926 xcb_void_cookie_t
08927 xcb_set_input_focus (xcb_connection_t *c ,
08928 uint8_t revert_to ,
08929 xcb_window_t focus ,
08930 xcb_timestamp_t time );
08931
08941
08942
08943
08944
08945
08946
08947
08948
08949
08950 xcb_get_input_focus_cookie_t
08951 xcb_get_input_focus (xcb_connection_t *c );
08952
08965
08966
08967
08968
08969
08970
08971
08972
08973
08974 xcb_get_input_focus_cookie_t
08975 xcb_get_input_focus_unchecked (xcb_connection_t *c );
08976
08992
08993
08994
08995
08996
08997
08998
08999
09000
09001
09002
09003 xcb_get_input_focus_reply_t *
09004 xcb_get_input_focus_reply (xcb_connection_t *c ,
09005 xcb_get_input_focus_cookie_t cookie ,
09006 xcb_generic_error_t **e );
09007
09017
09018
09019
09020
09021
09022
09023
09024
09025
09026 xcb_query_keymap_cookie_t
09027 xcb_query_keymap (xcb_connection_t *c );
09028
09041
09042
09043
09044
09045
09046
09047
09048
09049
09050 xcb_query_keymap_cookie_t
09051 xcb_query_keymap_unchecked (xcb_connection_t *c );
09052
09068
09069
09070
09071
09072
09073
09074
09075
09076
09077
09078
09079 xcb_query_keymap_reply_t *
09080 xcb_query_keymap_reply (xcb_connection_t *c ,
09081 xcb_query_keymap_cookie_t cookie ,
09082 xcb_generic_error_t **e );
09083
09096
09097
09098
09099
09100
09101
09102
09103
09104
09105
09106
09107
09108 xcb_void_cookie_t
09109 xcb_open_font_checked (xcb_connection_t *c ,
09110 xcb_font_t fid ,
09111 uint16_t name_len ,
09112 const char *name );
09113
09123
09124
09125
09126
09127
09128
09129
09130
09131
09132
09133
09134
09135 xcb_void_cookie_t
09136 xcb_open_font (xcb_connection_t *c ,
09137 xcb_font_t fid ,
09138 uint16_t name_len ,
09139 const char *name );
09140
09153
09154
09155
09156
09157
09158
09159
09160
09161
09162
09163 xcb_void_cookie_t
09164 xcb_close_font_checked (xcb_connection_t *c ,
09165 xcb_font_t font );
09166
09176
09177
09178
09179
09180
09181
09182
09183
09184
09185
09186 xcb_void_cookie_t
09187 xcb_close_font (xcb_connection_t *c ,
09188 xcb_font_t font );
09189
09199
09200
09201
09202
09203
09204
09205
09206
09207
09208 void
09209 xcb_fontprop_next (xcb_fontprop_iterator_t *i );
09210
09221
09222
09223
09224
09225
09226
09227
09228
09229
09230 xcb_generic_iterator_t
09231 xcb_fontprop_end (xcb_fontprop_iterator_t i );
09232
09242
09243
09244
09245
09246
09247
09248
09249
09250
09251 void
09252 xcb_charinfo_next (xcb_charinfo_iterator_t *i );
09253
09264
09265
09266
09267
09268
09269
09270
09271
09272
09273 xcb_generic_iterator_t
09274 xcb_charinfo_end (xcb_charinfo_iterator_t i );
09275
09285
09286
09287
09288
09289
09290
09291
09292
09293
09294
09295 xcb_query_font_cookie_t
09296 xcb_query_font (xcb_connection_t *c ,
09297 xcb_fontable_t font );
09298
09311
09312
09313
09314
09315
09316
09317
09318
09319
09320
09321 xcb_query_font_cookie_t
09322 xcb_query_font_unchecked (xcb_connection_t *c ,
09323 xcb_fontable_t font );
09324
09325
09326
09327
09328
09329
09330
09331
09332
09333
09334
09335 xcb_fontprop_t *
09336 xcb_query_font_properties (const xcb_query_font_reply_t *R );
09337
09338
09339
09340
09341
09342
09343
09344
09345
09346
09347
09348 int
09349 xcb_query_font_properties_length (const xcb_query_font_reply_t *R );
09350
09351
09352
09353
09354
09355
09356
09357
09358
09359
09360
09361 xcb_fontprop_iterator_t
09362 xcb_query_font_properties_iterator (const xcb_query_font_reply_t *R );
09363
09364
09365
09366
09367
09368
09369
09370
09371
09372
09373
09374 xcb_charinfo_t *
09375 xcb_query_font_char_infos (const xcb_query_font_reply_t *R );
09376
09377
09378
09379
09380
09381
09382
09383
09384
09385
09386
09387 int
09388 xcb_query_font_char_infos_length (const xcb_query_font_reply_t *R );
09389
09390
09391
09392
09393
09394
09395
09396
09397
09398
09399
09400 xcb_charinfo_iterator_t
09401 xcb_query_font_char_infos_iterator (const xcb_query_font_reply_t *R );
09402
09418
09419
09420
09421
09422
09423
09424
09425
09426
09427
09428
09429 xcb_query_font_reply_t *
09430 xcb_query_font_reply (xcb_connection_t *c ,
09431 xcb_query_font_cookie_t cookie ,
09432 xcb_generic_error_t **e );
09433
09443
09444
09445
09446
09447
09448
09449
09450
09451
09452
09453
09454
09455 xcb_query_text_extents_cookie_t
09456 xcb_query_text_extents (xcb_connection_t *c ,
09457 xcb_fontable_t font ,
09458 uint32_t string_len ,
09459 const xcb_char2b_t *string );
09460
09473
09474
09475
09476
09477
09478
09479
09480
09481
09482
09483
09484
09485 xcb_query_text_extents_cookie_t
09486 xcb_query_text_extents_unchecked (xcb_connection_t *c ,
09487 xcb_fontable_t font ,
09488 uint32_t string_len ,
09489 const xcb_char2b_t *string );
09490
09506
09507
09508
09509
09510
09511
09512
09513
09514
09515
09516
09517 xcb_query_text_extents_reply_t *
09518 xcb_query_text_extents_reply (xcb_connection_t *c ,
09519 xcb_query_text_extents_cookie_t cookie ,
09520 xcb_generic_error_t **e );
09521
09522
09523
09524
09525
09526
09527
09528
09529
09530
09531
09532 char *
09533 xcb_str_name (const xcb_str_t *R );
09534
09535
09536
09537
09538
09539
09540
09541
09542
09543
09544
09545 int
09546 xcb_str_name_length (const xcb_str_t *R );
09547
09548
09549
09550
09551
09552
09553
09554
09555
09556
09557
09558 xcb_generic_iterator_t
09559 xcb_str_name_end (const xcb_str_t *R );
09560
09570
09571
09572
09573
09574
09575
09576
09577
09578
09579 void
09580 xcb_str_next (xcb_str_iterator_t *i );
09581
09592
09593
09594
09595
09596
09597
09598
09599
09600
09601 xcb_generic_iterator_t
09602 xcb_str_end (xcb_str_iterator_t i );
09603
09613
09614
09615
09616
09617
09618
09619
09620
09621
09622
09623
09624
09625 xcb_list_fonts_cookie_t
09626 xcb_list_fonts (xcb_connection_t *c ,
09627 uint16_t max_names ,
09628 uint16_t pattern_len ,
09629 const char *pattern );
09630
09643
09644
09645
09646
09647
09648
09649
09650
09651
09652
09653
09654
09655 xcb_list_fonts_cookie_t
09656 xcb_list_fonts_unchecked (xcb_connection_t *c ,
09657 uint16_t max_names ,
09658 uint16_t pattern_len ,
09659 const char *pattern );
09660
09661
09662
09663
09664
09665
09666
09667
09668
09669
09670
09671 int
09672 xcb_list_fonts_names_length (const xcb_list_fonts_reply_t *R );
09673
09674
09675
09676
09677
09678
09679
09680
09681
09682
09683
09684 xcb_str_iterator_t
09685 xcb_list_fonts_names_iterator (const xcb_list_fonts_reply_t *R );
09686
09702
09703
09704
09705
09706
09707
09708
09709
09710
09711
09712
09713 xcb_list_fonts_reply_t *
09714 xcb_list_fonts_reply (xcb_connection_t *c ,
09715 xcb_list_fonts_cookie_t cookie ,
09716 xcb_generic_error_t **e );
09717
09727
09728
09729
09730
09731
09732
09733
09734
09735
09736
09737
09738
09739 xcb_list_fonts_with_info_cookie_t
09740 xcb_list_fonts_with_info (xcb_connection_t *c ,
09741 uint16_t max_names ,
09742 uint16_t pattern_len ,
09743 const char *pattern );
09744
09757
09758
09759
09760
09761
09762
09763
09764
09765
09766
09767
09768
09769 xcb_list_fonts_with_info_cookie_t
09770 xcb_list_fonts_with_info_unchecked (xcb_connection_t *c ,
09771 uint16_t max_names ,
09772 uint16_t pattern_len ,
09773 const char *pattern );
09774
09775
09776
09777
09778
09779
09780
09781
09782
09783
09784
09785 xcb_fontprop_t *
09786 xcb_list_fonts_with_info_properties (const xcb_list_fonts_with_info_reply_t *R );
09787
09788
09789
09790
09791
09792
09793
09794
09795
09796
09797
09798 int
09799 xcb_list_fonts_with_info_properties_length (const xcb_list_fonts_with_info_reply_t *R );
09800
09801
09802
09803
09804
09805
09806
09807
09808
09809
09810
09811 xcb_fontprop_iterator_t
09812 xcb_list_fonts_with_info_properties_iterator (const xcb_list_fonts_with_info_reply_t *R );
09813
09814
09815
09816
09817
09818
09819
09820
09821
09822
09823
09824 char *
09825 xcb_list_fonts_with_info_name (const xcb_list_fonts_with_info_reply_t *R );
09826
09827
09828
09829
09830
09831
09832
09833
09834
09835
09836
09837 int
09838 xcb_list_fonts_with_info_name_length (const xcb_list_fonts_with_info_reply_t *R );
09839
09840
09841
09842
09843
09844
09845
09846
09847
09848
09849
09850 xcb_generic_iterator_t
09851 xcb_list_fonts_with_info_name_end (const xcb_list_fonts_with_info_reply_t *R );
09852
09868
09869
09870
09871
09872
09873
09874
09875
09876
09877
09878
09879 xcb_list_fonts_with_info_reply_t *
09880 xcb_list_fonts_with_info_reply (xcb_connection_t *c ,
09881 xcb_list_fonts_with_info_cookie_t cookie ,
09882 xcb_generic_error_t **e );
09883
09896
09897
09898
09899
09900
09901
09902
09903
09904
09905
09906
09907
09908 xcb_void_cookie_t
09909 xcb_set_font_path_checked (xcb_connection_t *c ,
09910 uint16_t font_qty ,
09911 uint32_t path_len ,
09912 const char *path );
09913
09923
09924
09925
09926
09927
09928
09929
09930
09931
09932
09933
09934
09935 xcb_void_cookie_t
09936 xcb_set_font_path (xcb_connection_t *c ,
09937 uint16_t font_qty ,
09938 uint32_t path_len ,
09939 const char *path );
09940
09950
09951
09952
09953
09954
09955
09956
09957
09958
09959 xcb_get_font_path_cookie_t
09960 xcb_get_font_path (xcb_connection_t *c );
09961
09974
09975
09976
09977
09978
09979
09980
09981
09982
09983 xcb_get_font_path_cookie_t
09984 xcb_get_font_path_unchecked (xcb_connection_t *c );
09985
09986
09987
09988
09989
09990
09991
09992
09993
09994
09995
09996 int
09997 xcb_get_font_path_path_length (const xcb_get_font_path_reply_t *R );
09998
09999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009 xcb_str_iterator_t
10010 xcb_get_font_path_path_iterator (const xcb_get_font_path_reply_t *R );
10011
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038 xcb_get_font_path_reply_t *
10039 xcb_get_font_path_reply (xcb_connection_t *c ,
10040 xcb_get_font_path_cookie_t cookie ,
10041 xcb_generic_error_t **e );
10042
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069 xcb_void_cookie_t
10070 xcb_create_pixmap_checked (xcb_connection_t *c ,
10071 uint8_t depth ,
10072 xcb_pixmap_t pid ,
10073 xcb_drawable_t drawable ,
10074 uint16_t width ,
10075 uint16_t height );
10076
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100 xcb_void_cookie_t
10101 xcb_create_pixmap (xcb_connection_t *c ,
10102 uint8_t depth ,
10103 xcb_pixmap_t pid ,
10104 xcb_drawable_t drawable ,
10105 uint16_t width ,
10106 uint16_t height );
10107
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130 xcb_void_cookie_t
10131 xcb_free_pixmap_checked (xcb_connection_t *c ,
10132 xcb_pixmap_t pixmap );
10133
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153 xcb_void_cookie_t
10154 xcb_free_pixmap (xcb_connection_t *c ,
10155 xcb_pixmap_t pixmap );
10156
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182 xcb_void_cookie_t
10183 xcb_create_gc_checked (xcb_connection_t *c ,
10184 xcb_gcontext_t cid ,
10185 xcb_drawable_t drawable ,
10186 uint32_t value_mask ,
10187 const uint32_t *value_list );
10188
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211 xcb_void_cookie_t
10212 xcb_create_gc (xcb_connection_t *c ,
10213 xcb_gcontext_t cid ,
10214 xcb_drawable_t drawable ,
10215 uint32_t value_mask ,
10216 const uint32_t *value_list );
10217
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242 xcb_void_cookie_t
10243 xcb_change_gc_checked (xcb_connection_t *c ,
10244 xcb_gcontext_t gc ,
10245 uint32_t value_mask ,
10246 const uint32_t *value_list );
10247
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269 xcb_void_cookie_t
10270 xcb_change_gc (xcb_connection_t *c ,
10271 xcb_gcontext_t gc ,
10272 uint32_t value_mask ,
10273 const uint32_t *value_list );
10274
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299 xcb_void_cookie_t
10300 xcb_copy_gc_checked (xcb_connection_t *c ,
10301 xcb_gcontext_t src_gc ,
10302 xcb_gcontext_t dst_gc ,
10303 uint32_t value_mask );
10304
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326 xcb_void_cookie_t
10327 xcb_copy_gc (xcb_connection_t *c ,
10328 xcb_gcontext_t src_gc ,
10329 xcb_gcontext_t dst_gc ,
10330 uint32_t value_mask );
10331
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357 xcb_void_cookie_t
10358 xcb_set_dashes_checked (xcb_connection_t *c ,
10359 xcb_gcontext_t gc ,
10360 uint16_t dash_offset ,
10361 uint16_t dashes_len ,
10362 const uint8_t *dashes );
10363
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386 xcb_void_cookie_t
10387 xcb_set_dashes (xcb_connection_t *c ,
10388 xcb_gcontext_t gc ,
10389 uint16_t dash_offset ,
10390 uint16_t dashes_len ,
10391 const uint8_t *dashes );
10392
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420 xcb_void_cookie_t
10421 xcb_set_clip_rectangles_checked (xcb_connection_t *c ,
10422 uint8_t ordering ,
10423 xcb_gcontext_t gc ,
10424 int16_t clip_x_origin ,
10425 int16_t clip_y_origin ,
10426 uint32_t rectangles_len ,
10427 const xcb_rectangle_t *rectangles );
10428
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453 xcb_void_cookie_t
10454 xcb_set_clip_rectangles (xcb_connection_t *c ,
10455 uint8_t ordering ,
10456 xcb_gcontext_t gc ,
10457 int16_t clip_x_origin ,
10458 int16_t clip_y_origin ,
10459 uint32_t rectangles_len ,
10460 const xcb_rectangle_t *rectangles );
10461
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484 xcb_void_cookie_t
10485 xcb_free_gc_checked (xcb_connection_t *c ,
10486 xcb_gcontext_t gc );
10487
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507 xcb_void_cookie_t
10508 xcb_free_gc (xcb_connection_t *c ,
10509 xcb_gcontext_t gc );
10510
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538 xcb_void_cookie_t
10539 xcb_clear_area_checked (xcb_connection_t *c ,
10540 uint8_t exposures ,
10541 xcb_window_t window ,
10542 int16_t x ,
10543 int16_t y ,
10544 uint16_t width ,
10545 uint16_t height );
10546
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571 xcb_void_cookie_t
10572 xcb_clear_area (xcb_connection_t *c ,
10573 uint8_t exposures ,
10574 xcb_window_t window ,
10575 int16_t x ,
10576 int16_t y ,
10577 uint16_t width ,
10578 uint16_t height );
10579
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610 xcb_void_cookie_t
10611 xcb_copy_area_checked (xcb_connection_t *c ,
10612 xcb_drawable_t src_drawable ,
10613 xcb_drawable_t dst_drawable ,
10614 xcb_gcontext_t gc ,
10615 int16_t src_x ,
10616 int16_t src_y ,
10617 int16_t dst_x ,
10618 int16_t dst_y ,
10619 uint16_t width ,
10620 uint16_t height );
10621
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649 xcb_void_cookie_t
10650 xcb_copy_area (xcb_connection_t *c ,
10651 xcb_drawable_t src_drawable ,
10652 xcb_drawable_t dst_drawable ,
10653 xcb_gcontext_t gc ,
10654 int16_t src_x ,
10655 int16_t src_y ,
10656 int16_t dst_x ,
10657 int16_t dst_y ,
10658 uint16_t width ,
10659 uint16_t height );
10660
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692 xcb_void_cookie_t
10693 xcb_copy_plane_checked (xcb_connection_t *c ,
10694 xcb_drawable_t src_drawable ,
10695 xcb_drawable_t dst_drawable ,
10696 xcb_gcontext_t gc ,
10697 int16_t src_x ,
10698 int16_t src_y ,
10699 int16_t dst_x ,
10700 int16_t dst_y ,
10701 uint16_t width ,
10702 uint16_t height ,
10703 uint32_t bit_plane );
10704
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733 xcb_void_cookie_t
10734 xcb_copy_plane (xcb_connection_t *c ,
10735 xcb_drawable_t src_drawable ,
10736 xcb_drawable_t dst_drawable ,
10737 xcb_gcontext_t gc ,
10738 int16_t src_x ,
10739 int16_t src_y ,
10740 int16_t dst_x ,
10741 int16_t dst_y ,
10742 uint16_t width ,
10743 uint16_t height ,
10744 uint32_t bit_plane );
10745
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772 xcb_void_cookie_t
10773 xcb_poly_point_checked (xcb_connection_t *c ,
10774 uint8_t coordinate_mode ,
10775 xcb_drawable_t drawable ,
10776 xcb_gcontext_t gc ,
10777 uint32_t points_len ,
10778 const xcb_point_t *points );
10779
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803 xcb_void_cookie_t
10804 xcb_poly_point (xcb_connection_t *c ,
10805 uint8_t coordinate_mode ,
10806 xcb_drawable_t drawable ,
10807 xcb_gcontext_t gc ,
10808 uint32_t points_len ,
10809 const xcb_point_t *points );
10810
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837 xcb_void_cookie_t
10838 xcb_poly_line_checked (xcb_connection_t *c ,
10839 uint8_t coordinate_mode ,
10840 xcb_drawable_t drawable ,
10841 xcb_gcontext_t gc ,
10842 uint32_t points_len ,
10843 const xcb_point_t *points );
10844
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868 xcb_void_cookie_t
10869 xcb_poly_line (xcb_connection_t *c ,
10870 uint8_t coordinate_mode ,
10871 xcb_drawable_t drawable ,
10872 xcb_gcontext_t gc ,
10873 uint32_t points_len ,
10874 const xcb_point_t *points );
10875
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894 void
10895 xcb_segment_next (xcb_segment_iterator_t *i );
10896
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916 xcb_generic_iterator_t
10917 xcb_segment_end (xcb_segment_iterator_t i );
10918
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944 xcb_void_cookie_t
10945 xcb_poly_segment_checked (xcb_connection_t *c ,
10946 xcb_drawable_t drawable ,
10947 xcb_gcontext_t gc ,
10948 uint32_t segments_len ,
10949 const xcb_segment_t *segments );
10950
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973 xcb_void_cookie_t
10974 xcb_poly_segment (xcb_connection_t *c ,
10975 xcb_drawable_t drawable ,
10976 xcb_gcontext_t gc ,
10977 uint32_t segments_len ,
10978 const xcb_segment_t *segments );
10979
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005 xcb_void_cookie_t
11006 xcb_poly_rectangle_checked (xcb_connection_t *c ,
11007 xcb_drawable_t drawable ,
11008 xcb_gcontext_t gc ,
11009 uint32_t rectangles_len ,
11010 const xcb_rectangle_t *rectangles );
11011
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034 xcb_void_cookie_t
11035 xcb_poly_rectangle (xcb_connection_t *c ,
11036 xcb_drawable_t drawable ,
11037 xcb_gcontext_t gc ,
11038 uint32_t rectangles_len ,
11039 const xcb_rectangle_t *rectangles );
11040
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066 xcb_void_cookie_t
11067 xcb_poly_arc_checked (xcb_connection_t *c ,
11068 xcb_drawable_t drawable ,
11069 xcb_gcontext_t gc ,
11070 uint32_t arcs_len ,
11071 const xcb_arc_t *arcs );
11072
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095 xcb_void_cookie_t
11096 xcb_poly_arc (xcb_connection_t *c ,
11097 xcb_drawable_t drawable ,
11098 xcb_gcontext_t gc ,
11099 uint32_t arcs_len ,
11100 const xcb_arc_t *arcs );
11101
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129 xcb_void_cookie_t
11130 xcb_fill_poly_checked (xcb_connection_t *c ,
11131 xcb_drawable_t drawable ,
11132 xcb_gcontext_t gc ,
11133 uint8_t shape ,
11134 uint8_t coordinate_mode ,
11135 uint32_t points_len ,
11136 const xcb_point_t *points );
11137
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162 xcb_void_cookie_t
11163 xcb_fill_poly (xcb_connection_t *c ,
11164 xcb_drawable_t drawable ,
11165 xcb_gcontext_t gc ,
11166 uint8_t shape ,
11167 uint8_t coordinate_mode ,
11168 uint32_t points_len ,
11169 const xcb_point_t *points );
11170
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196 xcb_void_cookie_t
11197 xcb_poly_fill_rectangle_checked (xcb_connection_t *c ,
11198 xcb_drawable_t drawable ,
11199 xcb_gcontext_t gc ,
11200 uint32_t rectangles_len ,
11201 const xcb_rectangle_t *rectangles );
11202
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225 xcb_void_cookie_t
11226 xcb_poly_fill_rectangle (xcb_connection_t *c ,
11227 xcb_drawable_t drawable ,
11228 xcb_gcontext_t gc ,
11229 uint32_t rectangles_len ,
11230 const xcb_rectangle_t *rectangles );
11231
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257 xcb_void_cookie_t
11258 xcb_poly_fill_arc_checked (xcb_connection_t *c ,
11259 xcb_drawable_t drawable ,
11260 xcb_gcontext_t gc ,
11261 uint32_t arcs_len ,
11262 const xcb_arc_t *arcs );
11263
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286 xcb_void_cookie_t
11287 xcb_poly_fill_arc (xcb_connection_t *c ,
11288 xcb_drawable_t drawable ,
11289 xcb_gcontext_t gc ,
11290 uint32_t arcs_len ,
11291 const xcb_arc_t *arcs );
11292
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325 xcb_void_cookie_t
11326 xcb_put_image_checked (xcb_connection_t *c ,
11327 uint8_t format ,
11328 xcb_drawable_t drawable ,
11329 xcb_gcontext_t gc ,
11330 uint16_t width ,
11331 uint16_t height ,
11332 int16_t dst_x ,
11333 int16_t dst_y ,
11334 uint8_t left_pad ,
11335 uint8_t depth ,
11336 uint32_t data_len ,
11337 const uint8_t *data );
11338
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368 xcb_void_cookie_t
11369 xcb_put_image (xcb_connection_t *c ,
11370 uint8_t format ,
11371 xcb_drawable_t drawable ,
11372 xcb_gcontext_t gc ,
11373 uint16_t width ,
11374 uint16_t height ,
11375 int16_t dst_x ,
11376 int16_t dst_y ,
11377 uint8_t left_pad ,
11378 uint8_t depth ,
11379 uint32_t data_len ,
11380 const uint8_t *data );
11381
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407 xcb_get_image_cookie_t
11408 xcb_get_image (xcb_connection_t *c ,
11409 uint8_t format ,
11410 xcb_drawable_t drawable ,
11411 int16_t x ,
11412 int16_t y ,
11413 uint16_t width ,
11414 uint16_t height ,
11415 uint32_t plane_mask );
11416
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445 xcb_get_image_cookie_t
11446 xcb_get_image_unchecked (xcb_connection_t *c ,
11447 uint8_t format ,
11448 xcb_drawable_t drawable ,
11449 int16_t x ,
11450 int16_t y ,
11451 uint16_t width ,
11452 uint16_t height ,
11453 uint32_t plane_mask );
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465 uint8_t *
11466 xcb_get_image_data (const xcb_get_image_reply_t *R );
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478 int
11479 xcb_get_image_data_length (const xcb_get_image_reply_t *R );
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491 xcb_generic_iterator_t
11492 xcb_get_image_data_end (const xcb_get_image_reply_t *R );
11493
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520 xcb_get_image_reply_t *
11521 xcb_get_image_reply (xcb_connection_t *c ,
11522 xcb_get_image_cookie_t cookie ,
11523 xcb_generic_error_t **e );
11524
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552 xcb_void_cookie_t
11553 xcb_poly_text_8_checked (xcb_connection_t *c ,
11554 xcb_drawable_t drawable ,
11555 xcb_gcontext_t gc ,
11556 int16_t x ,
11557 int16_t y ,
11558 uint32_t items_len ,
11559 const uint8_t *items );
11560
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585 xcb_void_cookie_t
11586 xcb_poly_text_8 (xcb_connection_t *c ,
11587 xcb_drawable_t drawable ,
11588 xcb_gcontext_t gc ,
11589 int16_t x ,
11590 int16_t y ,
11591 uint32_t items_len ,
11592 const uint8_t *items );
11593
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621 xcb_void_cookie_t
11622 xcb_poly_text_16_checked (xcb_connection_t *c ,
11623 xcb_drawable_t drawable ,
11624 xcb_gcontext_t gc ,
11625 int16_t x ,
11626 int16_t y ,
11627 uint32_t items_len ,
11628 const uint8_t *items );
11629
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654 xcb_void_cookie_t
11655 xcb_poly_text_16 (xcb_connection_t *c ,
11656 xcb_drawable_t drawable ,
11657 xcb_gcontext_t gc ,
11658 int16_t x ,
11659 int16_t y ,
11660 uint32_t items_len ,
11661 const uint8_t *items );
11662
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690 xcb_void_cookie_t
11691 xcb_image_text_8_checked (xcb_connection_t *c ,
11692 uint8_t string_len ,
11693 xcb_drawable_t drawable ,
11694 xcb_gcontext_t gc ,
11695 int16_t x ,
11696 int16_t y ,
11697 const char *string );
11698
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723 xcb_void_cookie_t
11724 xcb_image_text_8 (xcb_connection_t *c ,
11725 uint8_t string_len ,
11726 xcb_drawable_t drawable ,
11727 xcb_gcontext_t gc ,
11728 int16_t x ,
11729 int16_t y ,
11730 const char *string );
11731
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759 xcb_void_cookie_t
11760 xcb_image_text_16_checked (xcb_connection_t *c ,
11761 uint8_t string_len ,
11762 xcb_drawable_t drawable ,
11763 xcb_gcontext_t gc ,
11764 int16_t x ,
11765 int16_t y ,
11766 const xcb_char2b_t *string );
11767
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792 xcb_void_cookie_t
11793 xcb_image_text_16 (xcb_connection_t *c ,
11794 uint8_t string_len ,
11795 xcb_drawable_t drawable ,
11796 xcb_gcontext_t gc ,
11797 int16_t x ,
11798 int16_t y ,
11799 const xcb_char2b_t *string );
11800
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826 xcb_void_cookie_t
11827 xcb_create_colormap_checked (xcb_connection_t *c ,
11828 uint8_t alloc ,
11829 xcb_colormap_t mid ,
11830 xcb_window_t window ,
11831 xcb_visualid_t visual );
11832
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855 xcb_void_cookie_t
11856 xcb_create_colormap (xcb_connection_t *c ,
11857 uint8_t alloc ,
11858 xcb_colormap_t mid ,
11859 xcb_window_t window ,
11860 xcb_visualid_t visual );
11861
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884 xcb_void_cookie_t
11885 xcb_free_colormap_checked (xcb_connection_t *c ,
11886 xcb_colormap_t cmap );
11887
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907 xcb_void_cookie_t
11908 xcb_free_colormap (xcb_connection_t *c ,
11909 xcb_colormap_t cmap );
11910
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934 xcb_void_cookie_t
11935 xcb_copy_colormap_and_free_checked (xcb_connection_t *c ,
11936 xcb_colormap_t mid ,
11937 xcb_colormap_t src_cmap );
11938
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959 xcb_void_cookie_t
11960 xcb_copy_colormap_and_free (xcb_connection_t *c ,
11961 xcb_colormap_t mid ,
11962 xcb_colormap_t src_cmap );
11963
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986 xcb_void_cookie_t
11987 xcb_install_colormap_checked (xcb_connection_t *c ,
11988 xcb_colormap_t cmap );
11989
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009 xcb_void_cookie_t
12010 xcb_install_colormap (xcb_connection_t *c ,
12011 xcb_colormap_t cmap );
12012
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035 xcb_void_cookie_t
12036 xcb_uninstall_colormap_checked (xcb_connection_t *c ,
12037 xcb_colormap_t cmap );
12038
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058 xcb_void_cookie_t
12059 xcb_uninstall_colormap (xcb_connection_t *c ,
12060 xcb_colormap_t cmap );
12061
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081 xcb_list_installed_colormaps_cookie_t
12082 xcb_list_installed_colormaps (xcb_connection_t *c ,
12083 xcb_window_t window );
12084
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107 xcb_list_installed_colormaps_cookie_t
12108 xcb_list_installed_colormaps_unchecked (xcb_connection_t *c ,
12109 xcb_window_t window );
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121 xcb_colormap_t *
12122 xcb_list_installed_colormaps_cmaps (const xcb_list_installed_colormaps_reply_t *R );
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134 int
12135 xcb_list_installed_colormaps_cmaps_length (const xcb_list_installed_colormaps_reply_t *R );
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147 xcb_generic_iterator_t
12148 xcb_list_installed_colormaps_cmaps_end (const xcb_list_installed_colormaps_reply_t *R );
12149
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176 xcb_list_installed_colormaps_reply_t *
12177 xcb_list_installed_colormaps_reply (xcb_connection_t *c ,
12178 xcb_list_installed_colormaps_cookie_t cookie ,
12179 xcb_generic_error_t **e );
12180
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203 xcb_alloc_color_cookie_t
12204 xcb_alloc_color (xcb_connection_t *c ,
12205 xcb_colormap_t cmap ,
12206 uint16_t red ,
12207 uint16_t green ,
12208 uint16_t blue );
12209
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235 xcb_alloc_color_cookie_t
12236 xcb_alloc_color_unchecked (xcb_connection_t *c ,
12237 xcb_colormap_t cmap ,
12238 uint16_t red ,
12239 uint16_t green ,
12240 uint16_t blue );
12241
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268 xcb_alloc_color_reply_t *
12269 xcb_alloc_color_reply (xcb_connection_t *c ,
12270 xcb_alloc_color_cookie_t cookie ,
12271 xcb_generic_error_t **e );
12272
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294 xcb_alloc_named_color_cookie_t
12295 xcb_alloc_named_color (xcb_connection_t *c ,
12296 xcb_colormap_t cmap ,
12297 uint16_t name_len ,
12298 const char *name );
12299
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324 xcb_alloc_named_color_cookie_t
12325 xcb_alloc_named_color_unchecked (xcb_connection_t *c ,
12326 xcb_colormap_t cmap ,
12327 uint16_t name_len ,
12328 const char *name );
12329
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356 xcb_alloc_named_color_reply_t *
12357 xcb_alloc_named_color_reply (xcb_connection_t *c ,
12358 xcb_alloc_named_color_cookie_t cookie ,
12359 xcb_generic_error_t **e );
12360
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383 xcb_alloc_color_cells_cookie_t
12384 xcb_alloc_color_cells (xcb_connection_t *c ,
12385 uint8_t contiguous ,
12386 xcb_colormap_t cmap ,
12387 uint16_t colors ,
12388 uint16_t planes );
12389
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415 xcb_alloc_color_cells_cookie_t
12416 xcb_alloc_color_cells_unchecked (xcb_connection_t *c ,
12417 uint8_t contiguous ,
12418 xcb_colormap_t cmap ,
12419 uint16_t colors ,
12420 uint16_t planes );
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432 uint32_t *
12433 xcb_alloc_color_cells_pixels (const xcb_alloc_color_cells_reply_t *R );
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445 int
12446 xcb_alloc_color_cells_pixels_length (const xcb_alloc_color_cells_reply_t *R );
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458 xcb_generic_iterator_t
12459 xcb_alloc_color_cells_pixels_end (const xcb_alloc_color_cells_reply_t *R );
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471 uint32_t *
12472 xcb_alloc_color_cells_masks (const xcb_alloc_color_cells_reply_t *R );
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484 int
12485 xcb_alloc_color_cells_masks_length (const xcb_alloc_color_cells_reply_t *R );
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497 xcb_generic_iterator_t
12498 xcb_alloc_color_cells_masks_end (const xcb_alloc_color_cells_reply_t *R );
12499
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526 xcb_alloc_color_cells_reply_t *
12527 xcb_alloc_color_cells_reply (xcb_connection_t *c ,
12528 xcb_alloc_color_cells_cookie_t cookie ,
12529 xcb_generic_error_t **e );
12530
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555 xcb_alloc_color_planes_cookie_t
12556 xcb_alloc_color_planes (xcb_connection_t *c ,
12557 uint8_t contiguous ,
12558 xcb_colormap_t cmap ,
12559 uint16_t colors ,
12560 uint16_t reds ,
12561 uint16_t greens ,
12562 uint16_t blues );
12563
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591 xcb_alloc_color_planes_cookie_t
12592 xcb_alloc_color_planes_unchecked (xcb_connection_t *c ,
12593 uint8_t contiguous ,
12594 xcb_colormap_t cmap ,
12595 uint16_t colors ,
12596 uint16_t reds ,
12597 uint16_t greens ,
12598 uint16_t blues );
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610 uint32_t *
12611 xcb_alloc_color_planes_pixels (const xcb_alloc_color_planes_reply_t *R );
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623 int
12624 xcb_alloc_color_planes_pixels_length (const xcb_alloc_color_planes_reply_t *R );
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636 xcb_generic_iterator_t
12637 xcb_alloc_color_planes_pixels_end (const xcb_alloc_color_planes_reply_t *R );
12638
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665 xcb_alloc_color_planes_reply_t *
12666 xcb_alloc_color_planes_reply (xcb_connection_t *c ,
12667 xcb_alloc_color_planes_cookie_t cookie ,
12668 xcb_generic_error_t **e );
12669
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695 xcb_void_cookie_t
12696 xcb_free_colors_checked (xcb_connection_t *c ,
12697 xcb_colormap_t cmap ,
12698 uint32_t plane_mask ,
12699 uint32_t pixels_len ,
12700 const uint32_t *pixels );
12701
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724 xcb_void_cookie_t
12725 xcb_free_colors (xcb_connection_t *c ,
12726 xcb_colormap_t cmap ,
12727 uint32_t plane_mask ,
12728 uint32_t pixels_len ,
12729 const uint32_t *pixels );
12730
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749 void
12750 xcb_coloritem_next (xcb_coloritem_iterator_t *i );
12751
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771 xcb_generic_iterator_t
12772 xcb_coloritem_end (xcb_coloritem_iterator_t i );
12773
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798 xcb_void_cookie_t
12799 xcb_store_colors_checked (xcb_connection_t *c ,
12800 xcb_colormap_t cmap ,
12801 uint32_t items_len ,
12802 const xcb_coloritem_t *items );
12803
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825 xcb_void_cookie_t
12826 xcb_store_colors (xcb_connection_t *c ,
12827 xcb_colormap_t cmap ,
12828 uint32_t items_len ,
12829 const xcb_coloritem_t *items );
12830
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857 xcb_void_cookie_t
12858 xcb_store_named_color_checked (xcb_connection_t *c ,
12859 uint8_t flags ,
12860 xcb_colormap_t cmap ,
12861 uint32_t pixel ,
12862 uint16_t name_len ,
12863 const char *name );
12864
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888 xcb_void_cookie_t
12889 xcb_store_named_color (xcb_connection_t *c ,
12890 uint8_t flags ,
12891 xcb_colormap_t cmap ,
12892 uint32_t pixel ,
12893 uint16_t name_len ,
12894 const char *name );
12895
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914 void
12915 xcb_rgb_next (xcb_rgb_iterator_t *i );
12916
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936 xcb_generic_iterator_t
12937 xcb_rgb_end (xcb_rgb_iterator_t i );
12938
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960 xcb_query_colors_cookie_t
12961 xcb_query_colors (xcb_connection_t *c ,
12962 xcb_colormap_t cmap ,
12963 uint32_t pixels_len ,
12964 const uint32_t *pixels );
12965
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990 xcb_query_colors_cookie_t
12991 xcb_query_colors_unchecked (xcb_connection_t *c ,
12992 xcb_colormap_t cmap ,
12993 uint32_t pixels_len ,
12994 const uint32_t *pixels );
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006 xcb_rgb_t *
13007 xcb_query_colors_colors (const xcb_query_colors_reply_t *R );
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019 int
13020 xcb_query_colors_colors_length (const xcb_query_colors_reply_t *R );
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032 xcb_rgb_iterator_t
13033 xcb_query_colors_colors_iterator (const xcb_query_colors_reply_t *R );
13034
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061 xcb_query_colors_reply_t *
13062 xcb_query_colors_reply (xcb_connection_t *c ,
13063 xcb_query_colors_cookie_t cookie ,
13064 xcb_generic_error_t **e );
13065
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087 xcb_lookup_color_cookie_t
13088 xcb_lookup_color (xcb_connection_t *c ,
13089 xcb_colormap_t cmap ,
13090 uint16_t name_len ,
13091 const char *name );
13092
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117 xcb_lookup_color_cookie_t
13118 xcb_lookup_color_unchecked (xcb_connection_t *c ,
13119 xcb_colormap_t cmap ,
13120 uint16_t name_len ,
13121 const char *name );
13122
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149 xcb_lookup_color_reply_t *
13150 xcb_lookup_color_reply (xcb_connection_t *c ,
13151 xcb_lookup_color_cookie_t cookie ,
13152 xcb_generic_error_t **e );
13153
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186 xcb_void_cookie_t
13187 xcb_create_cursor_checked (xcb_connection_t *c ,
13188 xcb_cursor_t cid ,
13189 xcb_pixmap_t source ,
13190 xcb_pixmap_t mask ,
13191 uint16_t fore_red ,
13192 uint16_t fore_green ,
13193 uint16_t fore_blue ,
13194 uint16_t back_red ,
13195 uint16_t back_green ,
13196 uint16_t back_blue ,
13197 uint16_t x ,
13198 uint16_t y );
13199
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229 xcb_void_cookie_t
13230 xcb_create_cursor (xcb_connection_t *c ,
13231 xcb_cursor_t cid ,
13232 xcb_pixmap_t source ,
13233 xcb_pixmap_t mask ,
13234 uint16_t fore_red ,
13235 uint16_t fore_green ,
13236 uint16_t fore_blue ,
13237 uint16_t back_red ,
13238 uint16_t back_green ,
13239 uint16_t back_blue ,
13240 uint16_t x ,
13241 uint16_t y );
13242
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275 xcb_void_cookie_t
13276 xcb_create_glyph_cursor_checked (xcb_connection_t *c ,
13277 xcb_cursor_t cid ,
13278 xcb_font_t source_font ,
13279 xcb_font_t mask_font ,
13280 uint16_t source_char ,
13281 uint16_t mask_char ,
13282 uint16_t fore_red ,
13283 uint16_t fore_green ,
13284 uint16_t fore_blue ,
13285 uint16_t back_red ,
13286 uint16_t back_green ,
13287 uint16_t back_blue );
13288
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318 xcb_void_cookie_t
13319 xcb_create_glyph_cursor (xcb_connection_t *c ,
13320 xcb_cursor_t cid ,
13321 xcb_font_t source_font ,
13322 xcb_font_t mask_font ,
13323 uint16_t source_char ,
13324 uint16_t mask_char ,
13325 uint16_t fore_red ,
13326 uint16_t fore_green ,
13327 uint16_t fore_blue ,
13328 uint16_t back_red ,
13329 uint16_t back_green ,
13330 uint16_t back_blue );
13331
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354 xcb_void_cookie_t
13355 xcb_free_cursor_checked (xcb_connection_t *c ,
13356 xcb_cursor_t cursor );
13357
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377 xcb_void_cookie_t
13378 xcb_free_cursor (xcb_connection_t *c ,
13379 xcb_cursor_t cursor );
13380
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409 xcb_void_cookie_t
13410 xcb_recolor_cursor_checked (xcb_connection_t *c ,
13411 xcb_cursor_t cursor ,
13412 uint16_t fore_red ,
13413 uint16_t fore_green ,
13414 uint16_t fore_blue ,
13415 uint16_t back_red ,
13416 uint16_t back_green ,
13417 uint16_t back_blue );
13418
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444 xcb_void_cookie_t
13445 xcb_recolor_cursor (xcb_connection_t *c ,
13446 xcb_cursor_t cursor ,
13447 uint16_t fore_red ,
13448 uint16_t fore_green ,
13449 uint16_t fore_blue ,
13450 uint16_t back_red ,
13451 uint16_t back_green ,
13452 uint16_t back_blue );
13453
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476 xcb_query_best_size_cookie_t
13477 xcb_query_best_size (xcb_connection_t *c ,
13478 uint8_t _class ,
13479 xcb_drawable_t drawable ,
13480 uint16_t width ,
13481 uint16_t height );
13482
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508 xcb_query_best_size_cookie_t
13509 xcb_query_best_size_unchecked (xcb_connection_t *c ,
13510 uint8_t _class ,
13511 xcb_drawable_t drawable ,
13512 uint16_t width ,
13513 uint16_t height );
13514
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541 xcb_query_best_size_reply_t *
13542 xcb_query_best_size_reply (xcb_connection_t *c ,
13543 xcb_query_best_size_cookie_t cookie ,
13544 xcb_generic_error_t **e );
13545
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566 xcb_query_extension_cookie_t
13567 xcb_query_extension (xcb_connection_t *c ,
13568 uint16_t name_len ,
13569 const char *name );
13570
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594 xcb_query_extension_cookie_t
13595 xcb_query_extension_unchecked (xcb_connection_t *c ,
13596 uint16_t name_len ,
13597 const char *name );
13598
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625 xcb_query_extension_reply_t *
13626 xcb_query_extension_reply (xcb_connection_t *c ,
13627 xcb_query_extension_cookie_t cookie ,
13628 xcb_generic_error_t **e );
13629
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648 xcb_list_extensions_cookie_t
13649 xcb_list_extensions (xcb_connection_t *c );
13650
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672 xcb_list_extensions_cookie_t
13673 xcb_list_extensions_unchecked (xcb_connection_t *c );
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685 int
13686 xcb_list_extensions_names_length (const xcb_list_extensions_reply_t *R );
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698 xcb_str_iterator_t
13699 xcb_list_extensions_names_iterator (const xcb_list_extensions_reply_t *R );
13700
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727 xcb_list_extensions_reply_t *
13728 xcb_list_extensions_reply (xcb_connection_t *c ,
13729 xcb_list_extensions_cookie_t cookie ,
13730 xcb_generic_error_t **e );
13731
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757 xcb_void_cookie_t
13758 xcb_change_keyboard_mapping_checked (xcb_connection_t *c ,
13759 uint8_t keycode_count ,
13760 xcb_keycode_t first_keycode ,
13761 uint8_t keysyms_per_keycode ,
13762 const xcb_keysym_t *keysyms );
13763
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786 xcb_void_cookie_t
13787 xcb_change_keyboard_mapping (xcb_connection_t *c ,
13788 uint8_t keycode_count ,
13789 xcb_keycode_t first_keycode ,
13790 uint8_t keysyms_per_keycode ,
13791 const xcb_keysym_t *keysyms );
13792
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813 xcb_get_keyboard_mapping_cookie_t
13814 xcb_get_keyboard_mapping (xcb_connection_t *c ,
13815 xcb_keycode_t first_keycode ,
13816 uint8_t count );
13817
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841 xcb_get_keyboard_mapping_cookie_t
13842 xcb_get_keyboard_mapping_unchecked (xcb_connection_t *c ,
13843 xcb_keycode_t first_keycode ,
13844 uint8_t count );
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856 xcb_keysym_t *
13857 xcb_get_keyboard_mapping_keysyms (const xcb_get_keyboard_mapping_reply_t *R );
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869 int
13870 xcb_get_keyboard_mapping_keysyms_length (const xcb_get_keyboard_mapping_reply_t *R );
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882 xcb_generic_iterator_t
13883 xcb_get_keyboard_mapping_keysyms_end (const xcb_get_keyboard_mapping_reply_t *R );
13884
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911 xcb_get_keyboard_mapping_reply_t *
13912 xcb_get_keyboard_mapping_reply (xcb_connection_t *c ,
13913 xcb_get_keyboard_mapping_cookie_t cookie ,
13914 xcb_generic_error_t **e );
13915
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939 xcb_void_cookie_t
13940 xcb_change_keyboard_control_checked (xcb_connection_t *c ,
13941 uint32_t value_mask ,
13942 const uint32_t *value_list );
13943
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964 xcb_void_cookie_t
13965 xcb_change_keyboard_control (xcb_connection_t *c ,
13966 uint32_t value_mask ,
13967 const uint32_t *value_list );
13968
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987 xcb_get_keyboard_control_cookie_t
13988 xcb_get_keyboard_control (xcb_connection_t *c );
13989
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011 xcb_get_keyboard_control_cookie_t
14012 xcb_get_keyboard_control_unchecked (xcb_connection_t *c );
14013
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040 xcb_get_keyboard_control_reply_t *
14041 xcb_get_keyboard_control_reply (xcb_connection_t *c ,
14042 xcb_get_keyboard_control_cookie_t cookie ,
14043 xcb_generic_error_t **e );
14044
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067 xcb_void_cookie_t
14068 xcb_bell_checked (xcb_connection_t *c ,
14069 int8_t percent );
14070
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090 xcb_void_cookie_t
14091 xcb_bell (xcb_connection_t *c ,
14092 int8_t percent );
14093
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120 xcb_void_cookie_t
14121 xcb_change_pointer_control_checked (xcb_connection_t *c ,
14122 int16_t acceleration_numerator ,
14123 int16_t acceleration_denominator ,
14124 int16_t threshold ,
14125 uint8_t do_acceleration ,
14126 uint8_t do_threshold );
14127
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151 xcb_void_cookie_t
14152 xcb_change_pointer_control (xcb_connection_t *c ,
14153 int16_t acceleration_numerator ,
14154 int16_t acceleration_denominator ,
14155 int16_t threshold ,
14156 uint8_t do_acceleration ,
14157 uint8_t do_threshold );
14158
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177 xcb_get_pointer_control_cookie_t
14178 xcb_get_pointer_control (xcb_connection_t *c );
14179
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201 xcb_get_pointer_control_cookie_t
14202 xcb_get_pointer_control_unchecked (xcb_connection_t *c );
14203
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230 xcb_get_pointer_control_reply_t *
14231 xcb_get_pointer_control_reply (xcb_connection_t *c ,
14232 xcb_get_pointer_control_cookie_t cookie ,
14233 xcb_generic_error_t **e );
14234
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260 xcb_void_cookie_t
14261 xcb_set_screen_saver_checked (xcb_connection_t *c ,
14262 int16_t timeout ,
14263 int16_t interval ,
14264 uint8_t prefer_blanking ,
14265 uint8_t allow_exposures );
14266
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289 xcb_void_cookie_t
14290 xcb_set_screen_saver (xcb_connection_t *c ,
14291 int16_t timeout ,
14292 int16_t interval ,
14293 uint8_t prefer_blanking ,
14294 uint8_t allow_exposures );
14295
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314 xcb_get_screen_saver_cookie_t
14315 xcb_get_screen_saver (xcb_connection_t *c );
14316
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338 xcb_get_screen_saver_cookie_t
14339 xcb_get_screen_saver_unchecked (xcb_connection_t *c );
14340
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367 xcb_get_screen_saver_reply_t *
14368 xcb_get_screen_saver_reply (xcb_connection_t *c ,
14369 xcb_get_screen_saver_cookie_t cookie ,
14370 xcb_generic_error_t **e );
14371
14384
14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397 xcb_void_cookie_t
14398 xcb_change_hosts_checked (xcb_connection_t *c ,
14399 uint8_t mode ,
14400 uint8_t family ,
14401 uint16_t address_len ,
14402 const char *address );
14403
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426 xcb_void_cookie_t
14427 xcb_change_hosts (xcb_connection_t *c ,
14428 uint8_t mode ,
14429 uint8_t family ,
14430 uint16_t address_len ,
14431 const char *address );
14432
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442
14443 uint8_t *
14444 xcb_host_address (const xcb_host_t *R );
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456 int
14457 xcb_host_address_length (const xcb_host_t *R );
14458
14459
14460
14461
14462
14463
14464
14465
14466
14467
14468
14469 xcb_generic_iterator_t
14470 xcb_host_address_end (const xcb_host_t *R );
14471
14481
14482
14483
14484
14485
14486
14487
14488
14489
14490 void
14491 xcb_host_next (xcb_host_iterator_t *i );
14492
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512 xcb_generic_iterator_t
14513 xcb_host_end (xcb_host_iterator_t i );
14514
14524
14525
14526
14527
14528
14529
14530
14531
14532
14533 xcb_list_hosts_cookie_t
14534 xcb_list_hosts (xcb_connection_t *c );
14535
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557 xcb_list_hosts_cookie_t
14558 xcb_list_hosts_unchecked (xcb_connection_t *c );
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570 int
14571 xcb_list_hosts_hosts_length (const xcb_list_hosts_reply_t *R );
14572
14573
14574
14575
14576
14577
14578
14579
14580
14581
14582
14583 xcb_host_iterator_t
14584 xcb_list_hosts_hosts_iterator (const xcb_list_hosts_reply_t *R );
14585
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612 xcb_list_hosts_reply_t *
14613 xcb_list_hosts_reply (xcb_connection_t *c ,
14614 xcb_list_hosts_cookie_t cookie ,
14615 xcb_generic_error_t **e );
14616
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639 xcb_void_cookie_t
14640 xcb_set_access_control_checked (xcb_connection_t *c ,
14641 uint8_t mode );
14642
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662 xcb_void_cookie_t
14663 xcb_set_access_control (xcb_connection_t *c ,
14664 uint8_t mode );
14665
14678
14679
14680
14681
14682
14683
14684
14685
14686
14687
14688 xcb_void_cookie_t
14689 xcb_set_close_down_mode_checked (xcb_connection_t *c ,
14690 uint8_t mode );
14691
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711 xcb_void_cookie_t
14712 xcb_set_close_down_mode (xcb_connection_t *c ,
14713 uint8_t mode );
14714
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737 xcb_void_cookie_t
14738 xcb_kill_client_checked (xcb_connection_t *c ,
14739 uint32_t resource );
14740
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760 xcb_void_cookie_t
14761 xcb_kill_client (xcb_connection_t *c ,
14762 uint32_t resource );
14763
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789 xcb_void_cookie_t
14790 xcb_rotate_properties_checked (xcb_connection_t *c ,
14791 xcb_window_t window ,
14792 uint16_t atoms_len ,
14793 int16_t delta ,
14794 const xcb_atom_t *atoms );
14795
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818 xcb_void_cookie_t
14819 xcb_rotate_properties (xcb_connection_t *c ,
14820 xcb_window_t window ,
14821 uint16_t atoms_len ,
14822 int16_t delta ,
14823 const xcb_atom_t *atoms );
14824
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847 xcb_void_cookie_t
14848 xcb_force_screen_saver_checked (xcb_connection_t *c ,
14849 uint8_t mode );
14850
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870 xcb_void_cookie_t
14871 xcb_force_screen_saver (xcb_connection_t *c ,
14872 uint8_t mode );
14873
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894 xcb_set_pointer_mapping_cookie_t
14895 xcb_set_pointer_mapping (xcb_connection_t *c ,
14896 uint8_t map_len ,
14897 const uint8_t *map );
14898
14911
14912
14913
14914
14915
14916
14917
14918
14919
14920
14921
14922 xcb_set_pointer_mapping_cookie_t
14923 xcb_set_pointer_mapping_unchecked (xcb_connection_t *c ,
14924 uint8_t map_len ,
14925 const uint8_t *map );
14926
14942
14943
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953 xcb_set_pointer_mapping_reply_t *
14954 xcb_set_pointer_mapping_reply (xcb_connection_t *c ,
14955 xcb_set_pointer_mapping_cookie_t cookie ,
14956 xcb_generic_error_t **e );
14957
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976 xcb_get_pointer_mapping_cookie_t
14977 xcb_get_pointer_mapping (xcb_connection_t *c );
14978
14991
14992
14993
14994
14995
14996
14997
14998
14999
15000 xcb_get_pointer_mapping_cookie_t
15001 xcb_get_pointer_mapping_unchecked (xcb_connection_t *c );
15002
15003
15004
15005
15006
15007
15008
15009
15010
15011
15012
15013 uint8_t *
15014 xcb_get_pointer_mapping_map (const xcb_get_pointer_mapping_reply_t *R );
15015
15016
15017
15018
15019
15020
15021
15022
15023
15024
15025
15026 int
15027 xcb_get_pointer_mapping_map_length (const xcb_get_pointer_mapping_reply_t *R );
15028
15029
15030
15031
15032
15033
15034
15035
15036
15037
15038
15039 xcb_generic_iterator_t
15040 xcb_get_pointer_mapping_map_end (const xcb_get_pointer_mapping_reply_t *R );
15041
15057
15058
15059
15060
15061
15062
15063
15064
15065
15066
15067
15068 xcb_get_pointer_mapping_reply_t *
15069 xcb_get_pointer_mapping_reply (xcb_connection_t *c ,
15070 xcb_get_pointer_mapping_cookie_t cookie ,
15071 xcb_generic_error_t **e );
15072
15082
15083
15084
15085
15086
15087
15088
15089
15090
15091
15092
15093 xcb_set_modifier_mapping_cookie_t
15094 xcb_set_modifier_mapping (xcb_connection_t *c ,
15095 uint8_t keycodes_per_modifier ,
15096 const xcb_keycode_t *keycodes );
15097
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121 xcb_set_modifier_mapping_cookie_t
15122 xcb_set_modifier_mapping_unchecked (xcb_connection_t *c ,
15123 uint8_t keycodes_per_modifier ,
15124 const xcb_keycode_t *keycodes );
15125
15141
15142
15143
15144
15145
15146
15147
15148
15149
15150
15151
15152 xcb_set_modifier_mapping_reply_t *
15153 xcb_set_modifier_mapping_reply (xcb_connection_t *c ,
15154 xcb_set_modifier_mapping_cookie_t cookie ,
15155 xcb_generic_error_t **e );
15156
15166
15167
15168
15169
15170
15171
15172
15173
15174
15175 xcb_get_modifier_mapping_cookie_t
15176 xcb_get_modifier_mapping (xcb_connection_t *c );
15177
15190
15191
15192
15193
15194
15195
15196
15197
15198
15199 xcb_get_modifier_mapping_cookie_t
15200 xcb_get_modifier_mapping_unchecked (xcb_connection_t *c );
15201
15202
15203
15204
15205
15206
15207
15208
15209
15210
15211
15212 xcb_keycode_t *
15213 xcb_get_modifier_mapping_keycodes (const xcb_get_modifier_mapping_reply_t *R );
15214
15215
15216
15217
15218
15219
15220
15221
15222
15223
15224
15225 int
15226 xcb_get_modifier_mapping_keycodes_length (const xcb_get_modifier_mapping_reply_t *R );
15227
15228
15229
15230
15231
15232
15233
15234
15235
15236
15237
15238 xcb_generic_iterator_t
15239 xcb_get_modifier_mapping_keycodes_end (const xcb_get_modifier_mapping_reply_t *R );
15240
15256
15257
15258
15259
15260
15261
15262
15263
15264
15265
15266
15267 xcb_get_modifier_mapping_reply_t *
15268 xcb_get_modifier_mapping_reply (xcb_connection_t *c ,
15269 xcb_get_modifier_mapping_cookie_t cookie ,
15270 xcb_generic_error_t **e );
15271
15284
15285
15286
15287
15288
15289
15290
15291
15292
15293 xcb_void_cookie_t
15294 xcb_no_operation_checked (xcb_connection_t *c );
15295
15305
15306
15307
15308
15309
15310
15311
15312
15313
15314 xcb_void_cookie_t
15315 xcb_no_operation (xcb_connection_t *c );
15316
15317
15318 #ifdef __cplusplus
15319 }
15320 #endif
15321
15322 #endif
15323