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,
00942 XCB_PLACE_ON_BOTTOM = 1
00945 } xcb_place_t;
00946
00948 #define XCB_CIRCULATE_NOTIFY 26
00949
00953 typedef struct xcb_circulate_notify_event_t {
00954 uint8_t response_type;
00955 uint8_t pad0;
00956 uint16_t sequence;
00957 xcb_window_t event;
00958 xcb_window_t window;
00959 uint8_t pad1[4];
00960 uint8_t place;
00961 uint8_t pad2[3];
00962 } xcb_circulate_notify_event_t;
00963
00965 #define XCB_CIRCULATE_REQUEST 27
00966
00967 typedef xcb_circulate_notify_event_t xcb_circulate_request_event_t;
00968
00969 typedef enum xcb_property_t {
00970 XCB_PROPERTY_NEW_VALUE = 0,
00971 XCB_PROPERTY_DELETE = 1
00972 } xcb_property_t;
00973
00975 #define XCB_PROPERTY_NOTIFY 28
00976
00980 typedef struct xcb_property_notify_event_t {
00981 uint8_t response_type;
00982 uint8_t pad0;
00983 uint16_t sequence;
00984 xcb_window_t window;
00985 xcb_atom_t atom;
00986 xcb_timestamp_t time;
00987 uint8_t state;
00988 uint8_t pad1[3];
00989 } xcb_property_notify_event_t;
00990
00992 #define XCB_SELECTION_CLEAR 29
00993
00997 typedef struct xcb_selection_clear_event_t {
00998 uint8_t response_type;
00999 uint8_t pad0;
01000 uint16_t sequence;
01001 xcb_timestamp_t time;
01002 xcb_window_t owner;
01003 xcb_atom_t selection;
01004 } xcb_selection_clear_event_t;
01005
01006 typedef enum xcb_time_t {
01007 XCB_TIME_CURRENT_TIME = 0
01008 } xcb_time_t;
01009
01010 typedef enum xcb_atom_enum_t {
01011 XCB_ATOM_NONE = 0,
01012 XCB_ATOM_ANY = 0,
01013 XCB_ATOM_PRIMARY = 1,
01014 XCB_ATOM_SECONDARY = 2,
01015 XCB_ATOM_ARC = 3,
01016 XCB_ATOM_ATOM = 4,
01017 XCB_ATOM_BITMAP = 5,
01018 XCB_ATOM_CARDINAL = 6,
01019 XCB_ATOM_COLORMAP = 7,
01020 XCB_ATOM_CURSOR = 8,
01021 XCB_ATOM_CUT_BUFFER0 = 9,
01022 XCB_ATOM_CUT_BUFFER1 = 10,
01023 XCB_ATOM_CUT_BUFFER2 = 11,
01024 XCB_ATOM_CUT_BUFFER3 = 12,
01025 XCB_ATOM_CUT_BUFFER4 = 13,
01026 XCB_ATOM_CUT_BUFFER5 = 14,
01027 XCB_ATOM_CUT_BUFFER6 = 15,
01028 XCB_ATOM_CUT_BUFFER7 = 16,
01029 XCB_ATOM_DRAWABLE = 17,
01030 XCB_ATOM_FONT = 18,
01031 XCB_ATOM_INTEGER = 19,
01032 XCB_ATOM_PIXMAP = 20,
01033 XCB_ATOM_POINT = 21,
01034 XCB_ATOM_RECTANGLE = 22,
01035 XCB_ATOM_RESOURCE_MANAGER = 23,
01036 XCB_ATOM_RGB_COLOR_MAP = 24,
01037 XCB_ATOM_RGB_BEST_MAP = 25,
01038 XCB_ATOM_RGB_BLUE_MAP = 26,
01039 XCB_ATOM_RGB_DEFAULT_MAP = 27,
01040 XCB_ATOM_RGB_GRAY_MAP = 28,
01041 XCB_ATOM_RGB_GREEN_MAP = 29,
01042 XCB_ATOM_RGB_RED_MAP = 30,
01043 XCB_ATOM_STRING = 31,
01044 XCB_ATOM_VISUALID = 32,
01045 XCB_ATOM_WINDOW = 33,
01046 XCB_ATOM_WM_COMMAND = 34,
01047 XCB_ATOM_WM_HINTS = 35,
01048 XCB_ATOM_WM_CLIENT_MACHINE = 36,
01049 XCB_ATOM_WM_ICON_NAME = 37,
01050 XCB_ATOM_WM_ICON_SIZE = 38,
01051 XCB_ATOM_WM_NAME = 39,
01052 XCB_ATOM_WM_NORMAL_HINTS = 40,
01053 XCB_ATOM_WM_SIZE_HINTS = 41,
01054 XCB_ATOM_WM_ZOOM_HINTS = 42,
01055 XCB_ATOM_MIN_SPACE = 43,
01056 XCB_ATOM_NORM_SPACE = 44,
01057 XCB_ATOM_MAX_SPACE = 45,
01058 XCB_ATOM_END_SPACE = 46,
01059 XCB_ATOM_SUPERSCRIPT_X = 47,
01060 XCB_ATOM_SUPERSCRIPT_Y = 48,
01061 XCB_ATOM_SUBSCRIPT_X = 49,
01062 XCB_ATOM_SUBSCRIPT_Y = 50,
01063 XCB_ATOM_UNDERLINE_POSITION = 51,
01064 XCB_ATOM_UNDERLINE_THICKNESS = 52,
01065 XCB_ATOM_STRIKEOUT_ASCENT = 53,
01066 XCB_ATOM_STRIKEOUT_DESCENT = 54,
01067 XCB_ATOM_ITALIC_ANGLE = 55,
01068 XCB_ATOM_X_HEIGHT = 56,
01069 XCB_ATOM_QUAD_WIDTH = 57,
01070 XCB_ATOM_WEIGHT = 58,
01071 XCB_ATOM_POINT_SIZE = 59,
01072 XCB_ATOM_RESOLUTION = 60,
01073 XCB_ATOM_COPYRIGHT = 61,
01074 XCB_ATOM_NOTICE = 62,
01075 XCB_ATOM_FONT_NAME = 63,
01076 XCB_ATOM_FAMILY_NAME = 64,
01077 XCB_ATOM_FULL_NAME = 65,
01078 XCB_ATOM_CAP_HEIGHT = 66,
01079 XCB_ATOM_WM_CLASS = 67,
01080 XCB_ATOM_WM_TRANSIENT_FOR = 68
01081 } xcb_atom_enum_t;
01082
01084 #define XCB_SELECTION_REQUEST 30
01085
01089 typedef struct xcb_selection_request_event_t {
01090 uint8_t response_type;
01091 uint8_t pad0;
01092 uint16_t sequence;
01093 xcb_timestamp_t time;
01094 xcb_window_t owner;
01095 xcb_window_t requestor;
01096 xcb_atom_t selection;
01097 xcb_atom_t target;
01098 xcb_atom_t property;
01099 } xcb_selection_request_event_t;
01100
01102 #define XCB_SELECTION_NOTIFY 31
01103
01107 typedef struct xcb_selection_notify_event_t {
01108 uint8_t response_type;
01109 uint8_t pad0;
01110 uint16_t sequence;
01111 xcb_timestamp_t time;
01112 xcb_window_t requestor;
01113 xcb_atom_t selection;
01114 xcb_atom_t target;
01115 xcb_atom_t property;
01116 } xcb_selection_notify_event_t;
01117
01118 typedef enum xcb_colormap_state_t {
01119 XCB_COLORMAP_STATE_UNINSTALLED = 0,
01122 XCB_COLORMAP_STATE_INSTALLED = 1
01125 } xcb_colormap_state_t;
01126
01127 typedef enum xcb_colormap_enum_t {
01128 XCB_COLORMAP_NONE = 0
01129 } xcb_colormap_enum_t;
01130
01132 #define XCB_COLORMAP_NOTIFY 32
01133
01137 typedef struct xcb_colormap_notify_event_t {
01138 uint8_t response_type;
01139 uint8_t pad0;
01140 uint16_t sequence;
01141 xcb_window_t window;
01142 xcb_colormap_t colormap;
01143 uint8_t _new;
01144 uint8_t state;
01145 uint8_t pad1[2];
01146 } xcb_colormap_notify_event_t;
01147
01151 typedef union xcb_client_message_data_t {
01152 uint8_t data8[20];
01153 uint16_t data16[10];
01154 uint32_t data32[5];
01155 } xcb_client_message_data_t;
01156
01160 typedef struct xcb_client_message_data_iterator_t {
01161 xcb_client_message_data_t *data;
01162 int rem;
01163 int index;
01164 } xcb_client_message_data_iterator_t;
01165
01167 #define XCB_CLIENT_MESSAGE 33
01168
01172 typedef struct xcb_client_message_event_t {
01173 uint8_t response_type;
01174 uint8_t format;
01175 uint16_t sequence;
01176 xcb_window_t window;
01177 xcb_atom_t type;
01178 xcb_client_message_data_t data;
01179 } xcb_client_message_event_t;
01180
01181 typedef enum xcb_mapping_t {
01182 XCB_MAPPING_MODIFIER = 0,
01183 XCB_MAPPING_KEYBOARD = 1,
01184 XCB_MAPPING_POINTER = 2
01185 } xcb_mapping_t;
01186
01188 #define XCB_MAPPING_NOTIFY 34
01189
01193 typedef struct xcb_mapping_notify_event_t {
01194 uint8_t response_type;
01195 uint8_t pad0;
01196 uint16_t sequence;
01197 uint8_t request;
01198 xcb_keycode_t first_keycode;
01199 uint8_t count;
01200 uint8_t pad1;
01201 } xcb_mapping_notify_event_t;
01202
01204 #define XCB_GE_GENERIC 35
01205
01209 typedef struct xcb_ge_generic_event_t {
01210 uint8_t response_type;
01211 uint8_t extension;
01212 uint16_t sequence;
01213 uint32_t length;
01214 uint16_t event_type;
01215 uint8_t pad0[22];
01216 uint32_t full_sequence;
01217 } xcb_ge_generic_event_t;
01218
01220 #define XCB_REQUEST 1
01221
01225 typedef struct xcb_request_error_t {
01226 uint8_t response_type;
01227 uint8_t error_code;
01228 uint16_t sequence;
01229 uint32_t bad_value;
01230 uint16_t minor_opcode;
01231 uint8_t major_opcode;
01232 uint8_t pad0;
01233 } xcb_request_error_t;
01234
01236 #define XCB_VALUE 2
01237
01241 typedef struct xcb_value_error_t {
01242 uint8_t response_type;
01243 uint8_t error_code;
01244 uint16_t sequence;
01245 uint32_t bad_value;
01246 uint16_t minor_opcode;
01247 uint8_t major_opcode;
01248 uint8_t pad0;
01249 } xcb_value_error_t;
01250
01252 #define XCB_WINDOW 3
01253
01254 typedef xcb_value_error_t xcb_window_error_t;
01255
01257 #define XCB_PIXMAP 4
01258
01259 typedef xcb_value_error_t xcb_pixmap_error_t;
01260
01262 #define XCB_ATOM 5
01263
01264 typedef xcb_value_error_t xcb_atom_error_t;
01265
01267 #define XCB_CURSOR 6
01268
01269 typedef xcb_value_error_t xcb_cursor_error_t;
01270
01272 #define XCB_FONT 7
01273
01274 typedef xcb_value_error_t xcb_font_error_t;
01275
01277 #define XCB_MATCH 8
01278
01279 typedef xcb_request_error_t xcb_match_error_t;
01280
01282 #define XCB_DRAWABLE 9
01283
01284 typedef xcb_value_error_t xcb_drawable_error_t;
01285
01287 #define XCB_ACCESS 10
01288
01289 typedef xcb_request_error_t xcb_access_error_t;
01290
01292 #define XCB_ALLOC 11
01293
01294 typedef xcb_request_error_t xcb_alloc_error_t;
01295
01297 #define XCB_COLORMAP 12
01298
01299 typedef xcb_value_error_t xcb_colormap_error_t;
01300
01302 #define XCB_G_CONTEXT 13
01303
01304 typedef xcb_value_error_t xcb_g_context_error_t;
01305
01307 #define XCB_ID_CHOICE 14
01308
01309 typedef xcb_value_error_t xcb_id_choice_error_t;
01310
01312 #define XCB_NAME 15
01313
01314 typedef xcb_request_error_t xcb_name_error_t;
01315
01317 #define XCB_LENGTH 16
01318
01319 typedef xcb_request_error_t xcb_length_error_t;
01320
01322 #define XCB_IMPLEMENTATION 17
01323
01324 typedef xcb_request_error_t xcb_implementation_error_t;
01325
01326 typedef enum xcb_window_class_t {
01327 XCB_WINDOW_CLASS_COPY_FROM_PARENT = 0,
01328 XCB_WINDOW_CLASS_INPUT_OUTPUT = 1,
01329 XCB_WINDOW_CLASS_INPUT_ONLY = 2
01330 } xcb_window_class_t;
01331
01332 typedef enum xcb_cw_t {
01333 XCB_CW_BACK_PIXMAP = 1,
01347 XCB_CW_BACK_PIXEL = 2,
01352 XCB_CW_BORDER_PIXMAP = 4,
01361 XCB_CW_BORDER_PIXEL = 8,
01366 XCB_CW_BIT_GRAVITY = 16,
01369 XCB_CW_WIN_GRAVITY = 32,
01373 XCB_CW_BACKING_STORE = 64,
01386 XCB_CW_BACKING_PLANES = 128,
01391 XCB_CW_BACKING_PIXEL = 256,
01398 XCB_CW_OVERRIDE_REDIRECT = 512,
01403 XCB_CW_SAVE_UNDER = 1024,
01407 XCB_CW_EVENT_MASK = 2048,
01411 XCB_CW_DONT_PROPAGATE = 4096,
01415 XCB_CW_COLORMAP = 8192,
01426 XCB_CW_CURSOR = 16384
01431 } xcb_cw_t;
01432
01433 typedef enum xcb_back_pixmap_t {
01434 XCB_BACK_PIXMAP_NONE = 0,
01435 XCB_BACK_PIXMAP_PARENT_RELATIVE = 1
01436 } xcb_back_pixmap_t;
01437
01438 typedef enum xcb_gravity_t {
01439 XCB_GRAVITY_BIT_FORGET = 0,
01440 XCB_GRAVITY_WIN_UNMAP = 0,
01441 XCB_GRAVITY_NORTH_WEST = 1,
01442 XCB_GRAVITY_NORTH = 2,
01443 XCB_GRAVITY_NORTH_EAST = 3,
01444 XCB_GRAVITY_WEST = 4,
01445 XCB_GRAVITY_CENTER = 5,
01446 XCB_GRAVITY_EAST = 6,
01447 XCB_GRAVITY_SOUTH_WEST = 7,
01448 XCB_GRAVITY_SOUTH = 8,
01449 XCB_GRAVITY_SOUTH_EAST = 9,
01450 XCB_GRAVITY_STATIC = 10
01451 } xcb_gravity_t;
01452
01454 #define XCB_CREATE_WINDOW 1
01455
01459 typedef struct xcb_create_window_request_t {
01460 uint8_t major_opcode;
01461 uint8_t depth;
01462 uint16_t length;
01463 xcb_window_t wid;
01464 xcb_window_t parent;
01465 int16_t x;
01466 int16_t y;
01467 uint16_t width;
01468 uint16_t height;
01469 uint16_t border_width;
01470 uint16_t _class;
01471 xcb_visualid_t visual;
01472 uint32_t value_mask;
01473 } xcb_create_window_request_t;
01474
01476 #define XCB_CHANGE_WINDOW_ATTRIBUTES 2
01477
01481 typedef struct xcb_change_window_attributes_request_t {
01482 uint8_t major_opcode;
01483 uint8_t pad0;
01484 uint16_t length;
01485 xcb_window_t window;
01486 uint32_t value_mask;
01487 } xcb_change_window_attributes_request_t;
01488
01489 typedef enum xcb_map_state_t {
01490 XCB_MAP_STATE_UNMAPPED = 0,
01491 XCB_MAP_STATE_UNVIEWABLE = 1,
01492 XCB_MAP_STATE_VIEWABLE = 2
01493 } xcb_map_state_t;
01494
01498 typedef struct xcb_get_window_attributes_cookie_t {
01499 unsigned int sequence;
01500 } xcb_get_window_attributes_cookie_t;
01501
01503 #define XCB_GET_WINDOW_ATTRIBUTES 3
01504
01508 typedef struct xcb_get_window_attributes_request_t {
01509 uint8_t major_opcode;
01510 uint8_t pad0;
01511 uint16_t length;
01512 xcb_window_t window;
01513 } xcb_get_window_attributes_request_t;
01514
01518 typedef struct xcb_get_window_attributes_reply_t {
01519 uint8_t response_type;
01520 uint8_t backing_store;
01521 uint16_t sequence;
01522 uint32_t length;
01523 xcb_visualid_t visual;
01524 uint16_t _class;
01525 uint8_t bit_gravity;
01526 uint8_t win_gravity;
01527 uint32_t backing_planes;
01528 uint32_t backing_pixel;
01529 uint8_t save_under;
01530 uint8_t map_is_installed;
01531 uint8_t map_state;
01532 uint8_t override_redirect;
01533 xcb_colormap_t colormap;
01534 uint32_t all_event_masks;
01535 uint32_t your_event_mask;
01536 uint16_t do_not_propagate_mask;
01537 uint8_t pad0[2];
01538 } xcb_get_window_attributes_reply_t;
01539
01541 #define XCB_DESTROY_WINDOW 4
01542
01546 typedef struct xcb_destroy_window_request_t {
01547 uint8_t major_opcode;
01548 uint8_t pad0;
01549 uint16_t length;
01550 xcb_window_t window;
01551 } xcb_destroy_window_request_t;
01552
01554 #define XCB_DESTROY_SUBWINDOWS 5
01555
01559 typedef struct xcb_destroy_subwindows_request_t {
01560 uint8_t major_opcode;
01561 uint8_t pad0;
01562 uint16_t length;
01563 xcb_window_t window;
01564 } xcb_destroy_subwindows_request_t;
01565
01566 typedef enum xcb_set_mode_t {
01567 XCB_SET_MODE_INSERT = 0,
01568 XCB_SET_MODE_DELETE = 1
01569 } xcb_set_mode_t;
01570
01572 #define XCB_CHANGE_SAVE_SET 6
01573
01577 typedef struct xcb_change_save_set_request_t {
01578 uint8_t major_opcode;
01579 uint8_t mode;
01580 uint16_t length;
01581 xcb_window_t window;
01582 } xcb_change_save_set_request_t;
01583
01585 #define XCB_REPARENT_WINDOW 7
01586
01590 typedef struct xcb_reparent_window_request_t {
01591 uint8_t major_opcode;
01592 uint8_t pad0;
01593 uint16_t length;
01594 xcb_window_t window;
01595 xcb_window_t parent;
01596 int16_t x;
01597 int16_t y;
01598 } xcb_reparent_window_request_t;
01599
01601 #define XCB_MAP_WINDOW 8
01602
01606 typedef struct xcb_map_window_request_t {
01607 uint8_t major_opcode;
01608 uint8_t pad0;
01609 uint16_t length;
01610 xcb_window_t window;
01611 } xcb_map_window_request_t;
01612
01614 #define XCB_MAP_SUBWINDOWS 9
01615
01619 typedef struct xcb_map_subwindows_request_t {
01620 uint8_t major_opcode;
01621 uint8_t pad0;
01622 uint16_t length;
01623 xcb_window_t window;
01624 } xcb_map_subwindows_request_t;
01625
01627 #define XCB_UNMAP_WINDOW 10
01628
01632 typedef struct xcb_unmap_window_request_t {
01633 uint8_t major_opcode;
01634 uint8_t pad0;
01635 uint16_t length;
01636 xcb_window_t window;
01637 } xcb_unmap_window_request_t;
01638
01640 #define XCB_UNMAP_SUBWINDOWS 11
01641
01645 typedef struct xcb_unmap_subwindows_request_t {
01646 uint8_t major_opcode;
01647 uint8_t pad0;
01648 uint16_t length;
01649 xcb_window_t window;
01650 } xcb_unmap_subwindows_request_t;
01651
01652 typedef enum xcb_config_window_t {
01653 XCB_CONFIG_WINDOW_X = 1,
01654 XCB_CONFIG_WINDOW_Y = 2,
01655 XCB_CONFIG_WINDOW_WIDTH = 4,
01656 XCB_CONFIG_WINDOW_HEIGHT = 8,
01657 XCB_CONFIG_WINDOW_BORDER_WIDTH = 16,
01658 XCB_CONFIG_WINDOW_SIBLING = 32,
01659 XCB_CONFIG_WINDOW_STACK_MODE = 64
01660 } xcb_config_window_t;
01661
01662 typedef enum xcb_stack_mode_t {
01663 XCB_STACK_MODE_ABOVE = 0,
01664 XCB_STACK_MODE_BELOW = 1,
01665 XCB_STACK_MODE_TOP_IF = 2,
01666 XCB_STACK_MODE_BOTTOM_IF = 3,
01667 XCB_STACK_MODE_OPPOSITE = 4
01668 } xcb_stack_mode_t;
01669
01671 #define XCB_CONFIGURE_WINDOW 12
01672
01676 typedef struct xcb_configure_window_request_t {
01677 uint8_t major_opcode;
01678 uint8_t pad0;
01679 uint16_t length;
01680 xcb_window_t window;
01681 uint16_t value_mask;
01682 uint8_t pad1[2];
01683 } xcb_configure_window_request_t;
01684
01685 typedef enum xcb_circulate_t {
01686 XCB_CIRCULATE_RAISE_LOWEST = 0,
01687 XCB_CIRCULATE_LOWER_HIGHEST = 1
01688 } xcb_circulate_t;
01689
01691 #define XCB_CIRCULATE_WINDOW 13
01692
01696 typedef struct xcb_circulate_window_request_t {
01697 uint8_t major_opcode;
01698 uint8_t direction;
01699 uint16_t length;
01700 xcb_window_t window;
01701 } xcb_circulate_window_request_t;
01702
01706 typedef struct xcb_get_geometry_cookie_t {
01707 unsigned int sequence;
01708 } xcb_get_geometry_cookie_t;
01709
01711 #define XCB_GET_GEOMETRY 14
01712
01716 typedef struct xcb_get_geometry_request_t {
01717 uint8_t major_opcode;
01718 uint8_t pad0;
01719 uint16_t length;
01720 xcb_drawable_t drawable;
01721 } xcb_get_geometry_request_t;
01722
01726 typedef struct xcb_get_geometry_reply_t {
01727 uint8_t response_type;
01728 uint8_t depth;
01729 uint16_t sequence;
01730 uint32_t length;
01731 xcb_window_t root;
01732 int16_t x;
01733 int16_t y;
01734 uint16_t width;
01735 uint16_t height;
01736 uint16_t border_width;
01737 uint8_t pad0[2];
01738 } xcb_get_geometry_reply_t;
01739
01743 typedef struct xcb_query_tree_cookie_t {
01744 unsigned int sequence;
01745 } xcb_query_tree_cookie_t;
01746
01748 #define XCB_QUERY_TREE 15
01749
01753 typedef struct xcb_query_tree_request_t {
01754 uint8_t major_opcode;
01755 uint8_t pad0;
01756 uint16_t length;
01757 xcb_window_t window;
01758 } xcb_query_tree_request_t;
01759
01763 typedef struct xcb_query_tree_reply_t {
01764 uint8_t response_type;
01765 uint8_t pad0;
01766 uint16_t sequence;
01767 uint32_t length;
01768 xcb_window_t root;
01769 xcb_window_t parent;
01770 uint16_t children_len;
01771 uint8_t pad1[14];
01772 } xcb_query_tree_reply_t;
01773
01777 typedef struct xcb_intern_atom_cookie_t {
01778 unsigned int sequence;
01779 } xcb_intern_atom_cookie_t;
01780
01782 #define XCB_INTERN_ATOM 16
01783
01787 typedef struct xcb_intern_atom_request_t {
01788 uint8_t major_opcode;
01789 uint8_t only_if_exists;
01790 uint16_t length;
01791 uint16_t name_len;
01792 uint8_t pad0[2];
01793 } xcb_intern_atom_request_t;
01794
01798 typedef struct xcb_intern_atom_reply_t {
01799 uint8_t response_type;
01800 uint8_t pad0;
01801 uint16_t sequence;
01802 uint32_t length;
01803 xcb_atom_t atom;
01804 } xcb_intern_atom_reply_t;
01805
01809 typedef struct xcb_get_atom_name_cookie_t {
01810 unsigned int sequence;
01811 } xcb_get_atom_name_cookie_t;
01812
01814 #define XCB_GET_ATOM_NAME 17
01815
01819 typedef struct xcb_get_atom_name_request_t {
01820 uint8_t major_opcode;
01821 uint8_t pad0;
01822 uint16_t length;
01823 xcb_atom_t atom;
01824 } xcb_get_atom_name_request_t;
01825
01829 typedef struct xcb_get_atom_name_reply_t {
01830 uint8_t response_type;
01831 uint8_t pad0;
01832 uint16_t sequence;
01833 uint32_t length;
01834 uint16_t name_len;
01835 uint8_t pad1[22];
01836 } xcb_get_atom_name_reply_t;
01837
01838 typedef enum xcb_prop_mode_t {
01839 XCB_PROP_MODE_REPLACE = 0,
01842 XCB_PROP_MODE_PREPEND = 1,
01847 XCB_PROP_MODE_APPEND = 2
01852 } xcb_prop_mode_t;
01853
01855 #define XCB_CHANGE_PROPERTY 18
01856
01860 typedef struct xcb_change_property_request_t {
01861 uint8_t major_opcode;
01862 uint8_t mode;
01863 uint16_t length;
01864 xcb_window_t window;
01865 xcb_atom_t property;
01866 xcb_atom_t type;
01867 uint8_t format;
01868 uint8_t pad0[3];
01869 uint32_t data_len;
01870 } xcb_change_property_request_t;
01871
01873 #define XCB_DELETE_PROPERTY 19
01874
01878 typedef struct xcb_delete_property_request_t {
01879 uint8_t major_opcode;
01880 uint8_t pad0;
01881 uint16_t length;
01882 xcb_window_t window;
01883 xcb_atom_t property;
01884 } xcb_delete_property_request_t;
01885
01886 typedef enum xcb_get_property_type_t {
01887 XCB_GET_PROPERTY_TYPE_ANY = 0
01888 } xcb_get_property_type_t;
01889
01893 typedef struct xcb_get_property_cookie_t {
01894 unsigned int sequence;
01895 } xcb_get_property_cookie_t;
01896
01898 #define XCB_GET_PROPERTY 20
01899
01903 typedef struct xcb_get_property_request_t {
01904 uint8_t major_opcode;
01905 uint8_t _delete;
01906 uint16_t length;
01907 xcb_window_t window;
01908 xcb_atom_t property;
01909 xcb_atom_t type;
01910 uint32_t long_offset;
01911 uint32_t long_length;
01912 } xcb_get_property_request_t;
01913
01917 typedef struct xcb_get_property_reply_t {
01918 uint8_t response_type;
01919 uint8_t format;
01920 uint16_t sequence;
01921 uint32_t length;
01922 xcb_atom_t type;
01923 uint32_t bytes_after;
01924 uint32_t value_len;
01925 uint8_t pad0[12];
01926 } xcb_get_property_reply_t;
01927
01931 typedef struct xcb_list_properties_cookie_t {
01932 unsigned int sequence;
01933 } xcb_list_properties_cookie_t;
01934
01936 #define XCB_LIST_PROPERTIES 21
01937
01941 typedef struct xcb_list_properties_request_t {
01942 uint8_t major_opcode;
01943 uint8_t pad0;
01944 uint16_t length;
01945 xcb_window_t window;
01946 } xcb_list_properties_request_t;
01947
01951 typedef struct xcb_list_properties_reply_t {
01952 uint8_t response_type;
01953 uint8_t pad0;
01954 uint16_t sequence;
01955 uint32_t length;
01956 uint16_t atoms_len;
01957 uint8_t pad1[22];
01958 } xcb_list_properties_reply_t;
01959
01961 #define XCB_SET_SELECTION_OWNER 22
01962
01966 typedef struct xcb_set_selection_owner_request_t {
01967 uint8_t major_opcode;
01968 uint8_t pad0;
01969 uint16_t length;
01970 xcb_window_t owner;
01971 xcb_atom_t selection;
01972 xcb_timestamp_t time;
01973 } xcb_set_selection_owner_request_t;
01974
01978 typedef struct xcb_get_selection_owner_cookie_t {
01979 unsigned int sequence;
01980 } xcb_get_selection_owner_cookie_t;
01981
01983 #define XCB_GET_SELECTION_OWNER 23
01984
01988 typedef struct xcb_get_selection_owner_request_t {
01989 uint8_t major_opcode;
01990 uint8_t pad0;
01991 uint16_t length;
01992 xcb_atom_t selection;
01993 } xcb_get_selection_owner_request_t;
01994
01998 typedef struct xcb_get_selection_owner_reply_t {
01999 uint8_t response_type;
02000 uint8_t pad0;
02001 uint16_t sequence;
02002 uint32_t length;
02003 xcb_window_t owner;
02004 } xcb_get_selection_owner_reply_t;
02005
02007 #define XCB_CONVERT_SELECTION 24
02008
02012 typedef struct xcb_convert_selection_request_t {
02013 uint8_t major_opcode;
02014 uint8_t pad0;
02015 uint16_t length;
02016 xcb_window_t requestor;
02017 xcb_atom_t selection;
02018 xcb_atom_t target;
02019 xcb_atom_t property;
02020 xcb_timestamp_t time;
02021 } xcb_convert_selection_request_t;
02022
02023 typedef enum xcb_send_event_dest_t {
02024 XCB_SEND_EVENT_DEST_POINTER_WINDOW = 0,
02025 XCB_SEND_EVENT_DEST_ITEM_FOCUS = 1
02026 } xcb_send_event_dest_t;
02027
02029 #define XCB_SEND_EVENT 25
02030
02034 typedef struct xcb_send_event_request_t {
02035 uint8_t major_opcode;
02036 uint8_t propagate;
02037 uint16_t length;
02038 xcb_window_t destination;
02039 uint32_t event_mask;
02040 char event[32];
02041 } xcb_send_event_request_t;
02042
02043 typedef enum xcb_grab_mode_t {
02044 XCB_GRAB_MODE_SYNC = 0,
02049 XCB_GRAB_MODE_ASYNC = 1
02052 } xcb_grab_mode_t;
02053
02054 typedef enum xcb_grab_status_t {
02055 XCB_GRAB_STATUS_SUCCESS = 0,
02056 XCB_GRAB_STATUS_ALREADY_GRABBED = 1,
02057 XCB_GRAB_STATUS_INVALID_TIME = 2,
02058 XCB_GRAB_STATUS_NOT_VIEWABLE = 3,
02059 XCB_GRAB_STATUS_FROZEN = 4
02060 } xcb_grab_status_t;
02061
02062 typedef enum xcb_cursor_enum_t {
02063 XCB_CURSOR_NONE = 0
02064 } xcb_cursor_enum_t;
02065
02069 typedef struct xcb_grab_pointer_cookie_t {
02070 unsigned int sequence;
02071 } xcb_grab_pointer_cookie_t;
02072
02074 #define XCB_GRAB_POINTER 26
02075
02079 typedef struct xcb_grab_pointer_request_t {
02080 uint8_t major_opcode;
02081 uint8_t owner_events;
02082 uint16_t length;
02083 xcb_window_t grab_window;
02084 uint16_t event_mask;
02085 uint8_t pointer_mode;
02086 uint8_t keyboard_mode;
02087 xcb_window_t confine_to;
02088 xcb_cursor_t cursor;
02089 xcb_timestamp_t time;
02090 } xcb_grab_pointer_request_t;
02091
02095 typedef struct xcb_grab_pointer_reply_t {
02096 uint8_t response_type;
02097 uint8_t status;
02098 uint16_t sequence;
02099 uint32_t length;
02100 } xcb_grab_pointer_reply_t;
02101
02103 #define XCB_UNGRAB_POINTER 27
02104
02108 typedef struct xcb_ungrab_pointer_request_t {
02109 uint8_t major_opcode;
02110 uint8_t pad0;
02111 uint16_t length;
02112 xcb_timestamp_t time;
02113 } xcb_ungrab_pointer_request_t;
02114
02115 typedef enum xcb_button_index_t {
02116 XCB_BUTTON_INDEX_ANY = 0,
02119 XCB_BUTTON_INDEX_1 = 1,
02122 XCB_BUTTON_INDEX_2 = 2,
02125 XCB_BUTTON_INDEX_3 = 3,
02128 XCB_BUTTON_INDEX_4 = 4,
02131 XCB_BUTTON_INDEX_5 = 5
02134 } xcb_button_index_t;
02135
02137 #define XCB_GRAB_BUTTON 28
02138
02142 typedef struct xcb_grab_button_request_t {
02143 uint8_t major_opcode;
02144 uint8_t owner_events;
02145 uint16_t length;
02146 xcb_window_t grab_window;
02147 uint16_t event_mask;
02148 uint8_t pointer_mode;
02149 uint8_t keyboard_mode;
02150 xcb_window_t confine_to;
02151 xcb_cursor_t cursor;
02152 uint8_t button;
02153 uint8_t pad0;
02154 uint16_t modifiers;
02155 } xcb_grab_button_request_t;
02156
02158 #define XCB_UNGRAB_BUTTON 29
02159
02163 typedef struct xcb_ungrab_button_request_t {
02164 uint8_t major_opcode;
02165 uint8_t button;
02166 uint16_t length;
02167 xcb_window_t grab_window;
02168 uint16_t modifiers;
02169 uint8_t pad0[2];
02170 } xcb_ungrab_button_request_t;
02171
02173 #define XCB_CHANGE_ACTIVE_POINTER_GRAB 30
02174
02178 typedef struct xcb_change_active_pointer_grab_request_t {
02179 uint8_t major_opcode;
02180 uint8_t pad0;
02181 uint16_t length;
02182 xcb_cursor_t cursor;
02183 xcb_timestamp_t time;
02184 uint16_t event_mask;
02185 uint8_t pad1[2];
02186 } xcb_change_active_pointer_grab_request_t;
02187
02191 typedef struct xcb_grab_keyboard_cookie_t {
02192 unsigned int sequence;
02193 } xcb_grab_keyboard_cookie_t;
02194
02196 #define XCB_GRAB_KEYBOARD 31
02197
02201 typedef struct xcb_grab_keyboard_request_t {
02202 uint8_t major_opcode;
02203 uint8_t owner_events;
02204 uint16_t length;
02205 xcb_window_t grab_window;
02206 xcb_timestamp_t time;
02207 uint8_t pointer_mode;
02208 uint8_t keyboard_mode;
02209 uint8_t pad0[2];
02210 } xcb_grab_keyboard_request_t;
02211
02215 typedef struct xcb_grab_keyboard_reply_t {
02216 uint8_t response_type;
02217 uint8_t status;
02218 uint16_t sequence;
02219 uint32_t length;
02220 } xcb_grab_keyboard_reply_t;
02221
02223 #define XCB_UNGRAB_KEYBOARD 32
02224
02228 typedef struct xcb_ungrab_keyboard_request_t {
02229 uint8_t major_opcode;
02230 uint8_t pad0;
02231 uint16_t length;
02232 xcb_timestamp_t time;
02233 } xcb_ungrab_keyboard_request_t;
02234
02235 typedef enum xcb_grab_t {
02236 XCB_GRAB_ANY = 0
02237 } xcb_grab_t;
02238
02240 #define XCB_GRAB_KEY 33
02241
02245 typedef struct xcb_grab_key_request_t {
02246 uint8_t major_opcode;
02247 uint8_t owner_events;
02248 uint16_t length;
02249 xcb_window_t grab_window;
02250 uint16_t modifiers;
02251 xcb_keycode_t key;
02252 uint8_t pointer_mode;
02253 uint8_t keyboard_mode;
02254 uint8_t pad0[3];
02255 } xcb_grab_key_request_t;
02256
02258 #define XCB_UNGRAB_KEY 34
02259
02263 typedef struct xcb_ungrab_key_request_t {
02264 uint8_t major_opcode;
02265 xcb_keycode_t key;
02266 uint16_t length;
02267 xcb_window_t grab_window;
02268 uint16_t modifiers;
02269 uint8_t pad0[2];
02270 } xcb_ungrab_key_request_t;
02271
02272 typedef enum xcb_allow_t {
02273 XCB_ALLOW_ASYNC_POINTER = 0,
02282 XCB_ALLOW_SYNC_POINTER = 1,
02291 XCB_ALLOW_REPLAY_POINTER = 2,
02301 XCB_ALLOW_ASYNC_KEYBOARD = 3,
02308 XCB_ALLOW_SYNC_KEYBOARD = 4,
02317 XCB_ALLOW_REPLAY_KEYBOARD = 5,
02327 XCB_ALLOW_ASYNC_BOTH = 6,
02333 XCB_ALLOW_SYNC_BOTH = 7
02346 } xcb_allow_t;
02347
02349 #define XCB_ALLOW_EVENTS 35
02350
02354 typedef struct xcb_allow_events_request_t {
02355 uint8_t major_opcode;
02356 uint8_t mode;
02357 uint16_t length;
02358 xcb_timestamp_t time;
02359 } xcb_allow_events_request_t;
02360
02362 #define XCB_GRAB_SERVER 36
02363
02367 typedef struct xcb_grab_server_request_t {
02368 uint8_t major_opcode;
02369 uint8_t pad0;
02370 uint16_t length;
02371 } xcb_grab_server_request_t;
02372
02374 #define XCB_UNGRAB_SERVER 37
02375
02379 typedef struct xcb_ungrab_server_request_t {
02380 uint8_t major_opcode;
02381 uint8_t pad0;
02382 uint16_t length;
02383 } xcb_ungrab_server_request_t;
02384
02388 typedef struct xcb_query_pointer_cookie_t {
02389 unsigned int sequence;
02390 } xcb_query_pointer_cookie_t;
02391
02393 #define XCB_QUERY_POINTER 38
02394
02398 typedef struct xcb_query_pointer_request_t {
02399 uint8_t major_opcode;
02400 uint8_t pad0;
02401 uint16_t length;
02402 xcb_window_t window;
02403 } xcb_query_pointer_request_t;
02404
02408 typedef struct xcb_query_pointer_reply_t {
02409 uint8_t response_type;
02410 uint8_t same_screen;
02411 uint16_t sequence;
02412 uint32_t length;
02413 xcb_window_t root;
02414 xcb_window_t child;
02415 int16_t root_x;
02416 int16_t root_y;
02417 int16_t win_x;
02418 int16_t win_y;
02419 uint16_t mask;
02420 uint8_t pad0[2];
02421 } xcb_query_pointer_reply_t;
02422
02426 typedef struct xcb_timecoord_t {
02427 xcb_timestamp_t time;
02428 int16_t x;
02429 int16_t y;
02430 } xcb_timecoord_t;
02431
02435 typedef struct xcb_timecoord_iterator_t {
02436 xcb_timecoord_t *data;
02437 int rem;
02438 int index;
02439 } xcb_timecoord_iterator_t;
02440
02444 typedef struct xcb_get_motion_events_cookie_t {
02445 unsigned int sequence;
02446 } xcb_get_motion_events_cookie_t;
02447
02449 #define XCB_GET_MOTION_EVENTS 39
02450
02454 typedef struct xcb_get_motion_events_request_t {
02455 uint8_t major_opcode;
02456 uint8_t pad0;
02457 uint16_t length;
02458 xcb_window_t window;
02459 xcb_timestamp_t start;
02460 xcb_timestamp_t stop;
02461 } xcb_get_motion_events_request_t;
02462
02466 typedef struct xcb_get_motion_events_reply_t {
02467 uint8_t response_type;
02468 uint8_t pad0;
02469 uint16_t sequence;
02470 uint32_t length;
02471 uint32_t events_len;
02472 uint8_t pad1[20];
02473 } xcb_get_motion_events_reply_t;
02474
02478 typedef struct xcb_translate_coordinates_cookie_t {
02479 unsigned int sequence;
02480 } xcb_translate_coordinates_cookie_t;
02481
02483 #define XCB_TRANSLATE_COORDINATES 40
02484
02488 typedef struct xcb_translate_coordinates_request_t {
02489 uint8_t major_opcode;
02490 uint8_t pad0;
02491 uint16_t length;
02492 xcb_window_t src_window;
02493 xcb_window_t dst_window;
02494 int16_t src_x;
02495 int16_t src_y;
02496 } xcb_translate_coordinates_request_t;
02497
02501 typedef struct xcb_translate_coordinates_reply_t {
02502 uint8_t response_type;
02503 uint8_t same_screen;
02504 uint16_t sequence;
02505 uint32_t length;
02506 xcb_window_t child;
02507 int16_t dst_x;
02508 int16_t dst_y;
02509 } xcb_translate_coordinates_reply_t;
02510
02512 #define XCB_WARP_POINTER 41
02513
02517 typedef struct xcb_warp_pointer_request_t {
02518 uint8_t major_opcode;
02519 uint8_t pad0;
02520 uint16_t length;
02521 xcb_window_t src_window;
02522 xcb_window_t dst_window;
02523 int16_t src_x;
02524 int16_t src_y;
02525 uint16_t src_width;
02526 uint16_t src_height;
02527 int16_t dst_x;
02528 int16_t dst_y;
02529 } xcb_warp_pointer_request_t;
02530
02531 typedef enum xcb_input_focus_t {
02532 XCB_INPUT_FOCUS_NONE = 0,
02535 XCB_INPUT_FOCUS_POINTER_ROOT = 1,
02540 XCB_INPUT_FOCUS_PARENT = 2,
02544 XCB_INPUT_FOCUS_FOLLOW_KEYBOARD = 3
02547 } xcb_input_focus_t;
02548
02550 #define XCB_SET_INPUT_FOCUS 42
02551
02555 typedef struct xcb_set_input_focus_request_t {
02556 uint8_t major_opcode;
02557 uint8_t revert_to;
02558 uint16_t length;
02559 xcb_window_t focus;
02560 xcb_timestamp_t time;
02561 } xcb_set_input_focus_request_t;
02562
02566 typedef struct xcb_get_input_focus_cookie_t {
02567 unsigned int sequence;
02568 } xcb_get_input_focus_cookie_t;
02569
02571 #define XCB_GET_INPUT_FOCUS 43
02572
02576 typedef struct xcb_get_input_focus_request_t {
02577 uint8_t major_opcode;
02578 uint8_t pad0;
02579 uint16_t length;
02580 } xcb_get_input_focus_request_t;
02581
02585 typedef struct xcb_get_input_focus_reply_t {
02586 uint8_t response_type;
02587 uint8_t revert_to;
02588 uint16_t sequence;
02589 uint32_t length;
02590 xcb_window_t focus;
02591 } xcb_get_input_focus_reply_t;
02592
02596 typedef struct xcb_query_keymap_cookie_t {
02597 unsigned int sequence;
02598 } xcb_query_keymap_cookie_t;
02599
02601 #define XCB_QUERY_KEYMAP 44
02602
02606 typedef struct xcb_query_keymap_request_t {
02607 uint8_t major_opcode;
02608 uint8_t pad0;
02609 uint16_t length;
02610 } xcb_query_keymap_request_t;
02611
02615 typedef struct xcb_query_keymap_reply_t {
02616 uint8_t response_type;
02617 uint8_t pad0;
02618 uint16_t sequence;
02619 uint32_t length;
02620 uint8_t keys[32];
02621 } xcb_query_keymap_reply_t;
02622
02624 #define XCB_OPEN_FONT 45
02625
02629 typedef struct xcb_open_font_request_t {
02630 uint8_t major_opcode;
02631 uint8_t pad0;
02632 uint16_t length;
02633 xcb_font_t fid;
02634 uint16_t name_len;
02635 uint8_t pad1[2];
02636 } xcb_open_font_request_t;
02637
02639 #define XCB_CLOSE_FONT 46
02640
02644 typedef struct xcb_close_font_request_t {
02645 uint8_t major_opcode;
02646 uint8_t pad0;
02647 uint16_t length;
02648 xcb_font_t font;
02649 } xcb_close_font_request_t;
02650
02651 typedef enum xcb_font_draw_t {
02652 XCB_FONT_DRAW_LEFT_TO_RIGHT = 0,
02653 XCB_FONT_DRAW_RIGHT_TO_LEFT = 1
02654 } xcb_font_draw_t;
02655
02659 typedef struct xcb_fontprop_t {
02660 xcb_atom_t name;
02661 uint32_t value;
02662 } xcb_fontprop_t;
02663
02667 typedef struct xcb_fontprop_iterator_t {
02668 xcb_fontprop_t *data;
02669 int rem;
02670 int index;
02671 } xcb_fontprop_iterator_t;
02672
02676 typedef struct xcb_charinfo_t {
02677 int16_t left_side_bearing;
02678 int16_t right_side_bearing;
02679 int16_t character_width;
02680 int16_t ascent;
02681 int16_t descent;
02682 uint16_t attributes;
02683 } xcb_charinfo_t;
02684
02688 typedef struct xcb_charinfo_iterator_t {
02689 xcb_charinfo_t *data;
02690 int rem;
02691 int index;
02692 } xcb_charinfo_iterator_t;
02693
02697 typedef struct xcb_query_font_cookie_t {
02698 unsigned int sequence;
02699 } xcb_query_font_cookie_t;
02700
02702 #define XCB_QUERY_FONT 47
02703
02707 typedef struct xcb_query_font_request_t {
02708 uint8_t major_opcode;
02709 uint8_t pad0;
02710 uint16_t length;
02711 xcb_fontable_t font;
02712 } xcb_query_font_request_t;
02713
02717 typedef struct xcb_query_font_reply_t {
02718 uint8_t response_type;
02719 uint8_t pad0;
02720 uint16_t sequence;
02721 uint32_t length;
02722 xcb_charinfo_t min_bounds;
02723 uint8_t pad1[4];
02724 xcb_charinfo_t max_bounds;
02725 uint8_t pad2[4];
02726 uint16_t min_char_or_byte2;
02727 uint16_t max_char_or_byte2;
02728 uint16_t default_char;
02729 uint16_t properties_len;
02730 uint8_t draw_direction;
02731 uint8_t min_byte1;
02732 uint8_t max_byte1;
02733 uint8_t all_chars_exist;
02734 int16_t font_ascent;
02735 int16_t font_descent;
02736 uint32_t char_infos_len;
02737 } xcb_query_font_reply_t;
02738
02742 typedef struct xcb_query_text_extents_cookie_t {
02743 unsigned int sequence;
02744 } xcb_query_text_extents_cookie_t;
02745
02747 #define XCB_QUERY_TEXT_EXTENTS 48
02748
02752 typedef struct xcb_query_text_extents_request_t {
02753 uint8_t major_opcode;
02754 uint8_t odd_length;
02755 uint16_t length;
02756 xcb_fontable_t font;
02757 } xcb_query_text_extents_request_t;
02758
02762 typedef struct xcb_query_text_extents_reply_t {
02763 uint8_t response_type;
02764 uint8_t draw_direction;
02765 uint16_t sequence;
02766 uint32_t length;
02767 int16_t font_ascent;
02768 int16_t font_descent;
02769 int16_t overall_ascent;
02770 int16_t overall_descent;
02771 int32_t overall_width;
02772 int32_t overall_left;
02773 int32_t overall_right;
02774 } xcb_query_text_extents_reply_t;
02775
02779 typedef struct xcb_str_t {
02780 uint8_t name_len;
02781 } xcb_str_t;
02782
02786 typedef struct xcb_str_iterator_t {
02787 xcb_str_t *data;
02788 int rem;
02789 int index;
02790 } xcb_str_iterator_t;
02791
02795 typedef struct xcb_list_fonts_cookie_t {
02796 unsigned int sequence;
02797 } xcb_list_fonts_cookie_t;
02798
02800 #define XCB_LIST_FONTS 49
02801
02805 typedef struct xcb_list_fonts_request_t {
02806 uint8_t major_opcode;
02807 uint8_t pad0;
02808 uint16_t length;
02809 uint16_t max_names;
02810 uint16_t pattern_len;
02811 } xcb_list_fonts_request_t;
02812
02816 typedef struct xcb_list_fonts_reply_t {
02817 uint8_t response_type;
02818 uint8_t pad0;
02819 uint16_t sequence;
02820 uint32_t length;
02821 uint16_t names_len;
02822 uint8_t pad1[22];
02823 } xcb_list_fonts_reply_t;
02824
02828 typedef struct xcb_list_fonts_with_info_cookie_t {
02829 unsigned int sequence;
02830 } xcb_list_fonts_with_info_cookie_t;
02831
02833 #define XCB_LIST_FONTS_WITH_INFO 50
02834
02838 typedef struct xcb_list_fonts_with_info_request_t {
02839 uint8_t major_opcode;
02840 uint8_t pad0;
02841 uint16_t length;
02842 uint16_t max_names;
02843 uint16_t pattern_len;
02844 } xcb_list_fonts_with_info_request_t;
02845
02849 typedef struct xcb_list_fonts_with_info_reply_t {
02850 uint8_t response_type;
02851 uint8_t name_len;
02852 uint16_t sequence;
02853 uint32_t length;
02854 xcb_charinfo_t min_bounds;
02855 uint8_t pad0[4];
02856 xcb_charinfo_t max_bounds;
02857 uint8_t pad1[4];
02858 uint16_t min_char_or_byte2;
02859 uint16_t max_char_or_byte2;
02860 uint16_t default_char;
02861 uint16_t properties_len;
02862 uint8_t draw_direction;
02863 uint8_t min_byte1;
02864 uint8_t max_byte1;
02865 uint8_t all_chars_exist;
02866 int16_t font_ascent;
02867 int16_t font_descent;
02868 uint32_t replies_hint;
02869 } xcb_list_fonts_with_info_reply_t;
02870
02872 #define XCB_SET_FONT_PATH 51
02873
02877 typedef struct xcb_set_font_path_request_t {
02878 uint8_t major_opcode;
02879 uint8_t pad0;
02880 uint16_t length;
02881 uint16_t font_qty;
02882 uint8_t pad1[2];
02883 } xcb_set_font_path_request_t;
02884
02888 typedef struct xcb_get_font_path_cookie_t {
02889 unsigned int sequence;
02890 } xcb_get_font_path_cookie_t;
02891
02893 #define XCB_GET_FONT_PATH 52
02894
02898 typedef struct xcb_get_font_path_request_t {
02899 uint8_t major_opcode;
02900 uint8_t pad0;
02901 uint16_t length;
02902 } xcb_get_font_path_request_t;
02903
02907 typedef struct xcb_get_font_path_reply_t {
02908 uint8_t response_type;
02909 uint8_t pad0;
02910 uint16_t sequence;
02911 uint32_t length;
02912 uint16_t path_len;
02913 uint8_t pad1[22];
02914 } xcb_get_font_path_reply_t;
02915
02917 #define XCB_CREATE_PIXMAP 53
02918
02922 typedef struct xcb_create_pixmap_request_t {
02923 uint8_t major_opcode;
02924 uint8_t depth;
02925 uint16_t length;
02926 xcb_pixmap_t pid;
02927 xcb_drawable_t drawable;
02928 uint16_t width;
02929 uint16_t height;
02930 } xcb_create_pixmap_request_t;
02931
02933 #define XCB_FREE_PIXMAP 54
02934
02938 typedef struct xcb_free_pixmap_request_t {
02939 uint8_t major_opcode;
02940 uint8_t pad0;
02941 uint16_t length;
02942 xcb_pixmap_t pixmap;
02943 } xcb_free_pixmap_request_t;
02944
02945 typedef enum xcb_gc_t {
02946 XCB_GC_FUNCTION = 1,
02949 XCB_GC_PLANE_MASK = 2,
02957 XCB_GC_FOREGROUND = 4,
02960 XCB_GC_BACKGROUND = 8,
02963 XCB_GC_LINE_WIDTH = 16,
02967 XCB_GC_LINE_STYLE = 32,
02976 XCB_GC_CAP_STYLE = 64,
02988 XCB_GC_JOIN_STYLE = 128,
02996 XCB_GC_FILL_STYLE = 256,
03014 XCB_GC_FILL_RULE = 512,
03017 XCB_GC_TILE = 1024,
03031 XCB_GC_STIPPLE = 2048,
03045 XCB_GC_TILE_STIPPLE_ORIGIN_X = 4096,
03048 XCB_GC_TILE_STIPPLE_ORIGIN_Y = 8192,
03051 XCB_GC_FONT = 16384,
03054 XCB_GC_SUBWINDOW_MODE = 32768,
03063 XCB_GC_GRAPHICS_EXPOSURES = 65536,
03068 XCB_GC_CLIP_ORIGIN_X = 131072,
03071 XCB_GC_CLIP_ORIGIN_Y = 262144,
03074 XCB_GC_CLIP_MASK = 524288,
03083 XCB_GC_DASH_OFFSET = 1048576,
03086 XCB_GC_DASH_LIST = 2097152,
03089 XCB_GC_ARC_MODE = 4194304
03092 } xcb_gc_t;
03093
03094 typedef enum xcb_gx_t {
03095 XCB_GX_CLEAR = 0,
03096 XCB_GX_AND = 1,
03097 XCB_GX_AND_REVERSE = 2,
03098 XCB_GX_COPY = 3,
03099 XCB_GX_AND_INVERTED = 4,
03100 XCB_GX_NOOP = 5,
03101 XCB_GX_XOR = 6,
03102 XCB_GX_OR = 7,
03103 XCB_GX_NOR = 8,
03104 XCB_GX_EQUIV = 9,
03105 XCB_GX_INVERT = 10,
03106 XCB_GX_OR_REVERSE = 11,
03107 XCB_GX_COPY_INVERTED = 12,
03108 XCB_GX_OR_INVERTED = 13,
03109 XCB_GX_NAND = 14,
03110 XCB_GX_SET = 15
03111 } xcb_gx_t;
03112
03113 typedef enum xcb_line_style_t {
03114 XCB_LINE_STYLE_SOLID = 0,
03115 XCB_LINE_STYLE_ON_OFF_DASH = 1,
03116 XCB_LINE_STYLE_DOUBLE_DASH = 2
03117 } xcb_line_style_t;
03118
03119 typedef enum xcb_cap_style_t {
03120 XCB_CAP_STYLE_NOT_LAST = 0,
03121 XCB_CAP_STYLE_BUTT = 1,
03122 XCB_CAP_STYLE_ROUND = 2,
03123 XCB_CAP_STYLE_PROJECTING = 3
03124 } xcb_cap_style_t;
03125
03126 typedef enum xcb_join_style_t {
03127 XCB_JOIN_STYLE_MITER = 0,
03128 XCB_JOIN_STYLE_ROUND = 1,
03129 XCB_JOIN_STYLE_BEVEL = 2
03130 } xcb_join_style_t;
03131
03132 typedef enum xcb_fill_style_t {
03133 XCB_FILL_STYLE_SOLID = 0,
03134 XCB_FILL_STYLE_TILED = 1,
03135 XCB_FILL_STYLE_STIPPLED = 2,
03136 XCB_FILL_STYLE_OPAQUE_STIPPLED = 3
03137 } xcb_fill_style_t;
03138
03139 typedef enum xcb_fill_rule_t {
03140 XCB_FILL_RULE_EVEN_ODD = 0,
03141 XCB_FILL_RULE_WINDING = 1
03142 } xcb_fill_rule_t;
03143
03144 typedef enum xcb_subwindow_mode_t {
03145 XCB_SUBWINDOW_MODE_CLIP_BY_CHILDREN = 0,
03146 XCB_SUBWINDOW_MODE_INCLUDE_INFERIORS = 1
03147 } xcb_subwindow_mode_t;
03148
03149 typedef enum xcb_arc_mode_t {
03150 XCB_ARC_MODE_CHORD = 0,
03151 XCB_ARC_MODE_PIE_SLICE = 1
03152 } xcb_arc_mode_t;
03153
03155 #define XCB_CREATE_GC 55
03156
03160 typedef struct xcb_create_gc_request_t {
03161 uint8_t major_opcode;
03162 uint8_t pad0;
03163 uint16_t length;
03164 xcb_gcontext_t cid;
03165 xcb_drawable_t drawable;
03166 uint32_t value_mask;
03167 } xcb_create_gc_request_t;
03168
03170 #define XCB_CHANGE_GC 56
03171
03175 typedef struct xcb_change_gc_request_t {
03176 uint8_t major_opcode;
03177 uint8_t pad0;
03178 uint16_t length;
03179 xcb_gcontext_t gc;
03180 uint32_t value_mask;
03181 } xcb_change_gc_request_t;
03182
03184 #define XCB_COPY_GC 57
03185
03189 typedef struct xcb_copy_gc_request_t {
03190 uint8_t major_opcode;
03191 uint8_t pad0;
03192 uint16_t length;
03193 xcb_gcontext_t src_gc;
03194 xcb_gcontext_t dst_gc;
03195 uint32_t value_mask;
03196 } xcb_copy_gc_request_t;
03197
03199 #define XCB_SET_DASHES 58
03200
03204 typedef struct xcb_set_dashes_request_t {
03205 uint8_t major_opcode;
03206 uint8_t pad0;
03207 uint16_t length;
03208 xcb_gcontext_t gc;
03209 uint16_t dash_offset;
03210 uint16_t dashes_len;
03211 } xcb_set_dashes_request_t;
03212
03213 typedef enum xcb_clip_ordering_t {
03214 XCB_CLIP_ORDERING_UNSORTED = 0,
03215 XCB_CLIP_ORDERING_Y_SORTED = 1,
03216 XCB_CLIP_ORDERING_YX_SORTED = 2,
03217 XCB_CLIP_ORDERING_YX_BANDED = 3
03218 } xcb_clip_ordering_t;
03219
03221 #define XCB_SET_CLIP_RECTANGLES 59
03222
03226 typedef struct xcb_set_clip_rectangles_request_t {
03227 uint8_t major_opcode;
03228 uint8_t ordering;
03229 uint16_t length;
03230 xcb_gcontext_t gc;
03231 int16_t clip_x_origin;
03232 int16_t clip_y_origin;
03233 } xcb_set_clip_rectangles_request_t;
03234
03236 #define XCB_FREE_GC 60
03237
03241 typedef struct xcb_free_gc_request_t {
03242 uint8_t major_opcode;
03243 uint8_t pad0;
03244 uint16_t length;
03245 xcb_gcontext_t gc;
03246 } xcb_free_gc_request_t;
03247
03249 #define XCB_CLEAR_AREA 61
03250
03254 typedef struct xcb_clear_area_request_t {
03255 uint8_t major_opcode;
03256 uint8_t exposures;
03257 uint16_t length;
03258 xcb_window_t window;
03259 int16_t x;
03260 int16_t y;
03261 uint16_t width;
03262 uint16_t height;
03263 } xcb_clear_area_request_t;
03264
03266 #define XCB_COPY_AREA 62
03267
03271 typedef struct xcb_copy_area_request_t {
03272 uint8_t major_opcode;
03273 uint8_t pad0;
03274 uint16_t length;
03275 xcb_drawable_t src_drawable;
03276 xcb_drawable_t dst_drawable;
03277 xcb_gcontext_t gc;
03278 int16_t src_x;
03279 int16_t src_y;
03280 int16_t dst_x;
03281 int16_t dst_y;
03282 uint16_t width;
03283 uint16_t height;
03284 } xcb_copy_area_request_t;
03285
03287 #define XCB_COPY_PLANE 63
03288
03292 typedef struct xcb_copy_plane_request_t {
03293 uint8_t major_opcode;
03294 uint8_t pad0;
03295 uint16_t length;
03296 xcb_drawable_t src_drawable;
03297 xcb_drawable_t dst_drawable;
03298 xcb_gcontext_t gc;
03299 int16_t src_x;
03300 int16_t src_y;
03301 int16_t dst_x;
03302 int16_t dst_y;
03303 uint16_t width;
03304 uint16_t height;
03305 uint32_t bit_plane;
03306 } xcb_copy_plane_request_t;
03307
03308 typedef enum xcb_coord_mode_t {
03309 XCB_COORD_MODE_ORIGIN = 0,
03312 XCB_COORD_MODE_PREVIOUS = 1
03315 } xcb_coord_mode_t;
03316
03318 #define XCB_POLY_POINT 64
03319
03323 typedef struct xcb_poly_point_request_t {
03324 uint8_t major_opcode;
03325 uint8_t coordinate_mode;
03326 uint16_t length;
03327 xcb_drawable_t drawable;
03328 xcb_gcontext_t gc;
03329 } xcb_poly_point_request_t;
03330
03332 #define XCB_POLY_LINE 65
03333
03337 typedef struct xcb_poly_line_request_t {
03338 uint8_t major_opcode;
03339 uint8_t coordinate_mode;
03340 uint16_t length;
03341 xcb_drawable_t drawable;
03342 xcb_gcontext_t gc;
03343 } xcb_poly_line_request_t;
03344
03348 typedef struct xcb_segment_t {
03349 int16_t x1;
03350 int16_t y1;
03351 int16_t x2;
03352 int16_t y2;
03353 } xcb_segment_t;
03354
03358 typedef struct xcb_segment_iterator_t {
03359 xcb_segment_t *data;
03360 int rem;
03361 int index;
03362 } xcb_segment_iterator_t;
03363
03365 #define XCB_POLY_SEGMENT 66
03366
03370 typedef struct xcb_poly_segment_request_t {
03371 uint8_t major_opcode;
03372 uint8_t pad0;
03373 uint16_t length;
03374 xcb_drawable_t drawable;
03375 xcb_gcontext_t gc;
03376 } xcb_poly_segment_request_t;
03377
03379 #define XCB_POLY_RECTANGLE 67
03380
03384 typedef struct xcb_poly_rectangle_request_t {
03385 uint8_t major_opcode;
03386 uint8_t pad0;
03387 uint16_t length;
03388 xcb_drawable_t drawable;
03389 xcb_gcontext_t gc;
03390 } xcb_poly_rectangle_request_t;
03391
03393 #define XCB_POLY_ARC 68
03394
03398 typedef struct xcb_poly_arc_request_t {
03399 uint8_t major_opcode;
03400 uint8_t pad0;
03401 uint16_t length;
03402 xcb_drawable_t drawable;
03403 xcb_gcontext_t gc;
03404 } xcb_poly_arc_request_t;
03405
03406 typedef enum xcb_poly_shape_t {
03407 XCB_POLY_SHAPE_COMPLEX = 0,
03408 XCB_POLY_SHAPE_NONCONVEX = 1,
03409 XCB_POLY_SHAPE_CONVEX = 2
03410 } xcb_poly_shape_t;
03411
03413 #define XCB_FILL_POLY 69
03414
03418 typedef struct xcb_fill_poly_request_t {
03419 uint8_t major_opcode;
03420 uint8_t pad0;
03421 uint16_t length;
03422 xcb_drawable_t drawable;
03423 xcb_gcontext_t gc;
03424 uint8_t shape;
03425 uint8_t coordinate_mode;
03426 uint8_t pad1[2];
03427 } xcb_fill_poly_request_t;
03428
03430 #define XCB_POLY_FILL_RECTANGLE 70
03431
03435 typedef struct xcb_poly_fill_rectangle_request_t {
03436 uint8_t major_opcode;
03437 uint8_t pad0;
03438 uint16_t length;
03439 xcb_drawable_t drawable;
03440 xcb_gcontext_t gc;
03441 } xcb_poly_fill_rectangle_request_t;
03442
03444 #define XCB_POLY_FILL_ARC 71
03445
03449 typedef struct xcb_poly_fill_arc_request_t {
03450 uint8_t major_opcode;
03451 uint8_t pad0;
03452 uint16_t length;
03453 xcb_drawable_t drawable;
03454 xcb_gcontext_t gc;
03455 } xcb_poly_fill_arc_request_t;
03456
03457 typedef enum xcb_image_format_t {
03458 XCB_IMAGE_FORMAT_XY_BITMAP = 0,
03459 XCB_IMAGE_FORMAT_XY_PIXMAP = 1,
03460 XCB_IMAGE_FORMAT_Z_PIXMAP = 2
03461 } xcb_image_format_t;
03462
03464 #define XCB_PUT_IMAGE 72
03465
03469 typedef struct xcb_put_image_request_t {
03470 uint8_t major_opcode;
03471 uint8_t format;
03472 uint16_t length;
03473 xcb_drawable_t drawable;
03474 xcb_gcontext_t gc;
03475 uint16_t width;
03476 uint16_t height;
03477 int16_t dst_x;
03478 int16_t dst_y;
03479 uint8_t left_pad;
03480 uint8_t depth;
03481 uint8_t pad0[2];
03482 } xcb_put_image_request_t;
03483
03487 typedef struct xcb_get_image_cookie_t {
03488 unsigned int sequence;
03489 } xcb_get_image_cookie_t;
03490
03492 #define XCB_GET_IMAGE 73
03493
03497 typedef struct xcb_get_image_request_t {
03498 uint8_t major_opcode;
03499 uint8_t format;
03500 uint16_t length;
03501 xcb_drawable_t drawable;
03502 int16_t x;
03503 int16_t y;
03504 uint16_t width;
03505 uint16_t height;
03506 uint32_t plane_mask;
03507 } xcb_get_image_request_t;
03508
03512 typedef struct xcb_get_image_reply_t {
03513 uint8_t response_type;
03514 uint8_t depth;
03515 uint16_t sequence;
03516 uint32_t length;
03517 xcb_visualid_t visual;
03518 uint8_t pad0[20];
03519 } xcb_get_image_reply_t;
03520
03522 #define XCB_POLY_TEXT_8 74
03523
03527 typedef struct xcb_poly_text_8_request_t {
03528 uint8_t major_opcode;
03529 uint8_t pad0;
03530 uint16_t length;
03531 xcb_drawable_t drawable;
03532 xcb_gcontext_t gc;
03533 int16_t x;
03534 int16_t y;
03535 } xcb_poly_text_8_request_t;
03536
03538 #define XCB_POLY_TEXT_16 75
03539
03543 typedef struct xcb_poly_text_16_request_t {
03544 uint8_t major_opcode;
03545 uint8_t pad0;
03546 uint16_t length;
03547 xcb_drawable_t drawable;
03548 xcb_gcontext_t gc;
03549 int16_t x;
03550 int16_t y;
03551 } xcb_poly_text_16_request_t;
03552
03554 #define XCB_IMAGE_TEXT_8 76
03555
03559 typedef struct xcb_image_text_8_request_t {
03560 uint8_t major_opcode;
03561 uint8_t string_len;
03562 uint16_t length;
03563 xcb_drawable_t drawable;
03564 xcb_gcontext_t gc;
03565 int16_t x;
03566 int16_t y;
03567 } xcb_image_text_8_request_t;
03568
03570 #define XCB_IMAGE_TEXT_16 77
03571
03575 typedef struct xcb_image_text_16_request_t {
03576 uint8_t major_opcode;
03577 uint8_t string_len;
03578 uint16_t length;
03579 xcb_drawable_t drawable;
03580 xcb_gcontext_t gc;
03581 int16_t x;
03582 int16_t y;
03583 } xcb_image_text_16_request_t;
03584
03585 typedef enum xcb_colormap_alloc_t {
03586 XCB_COLORMAP_ALLOC_NONE = 0,
03587 XCB_COLORMAP_ALLOC_ALL = 1
03588 } xcb_colormap_alloc_t;
03589
03591 #define XCB_CREATE_COLORMAP 78
03592
03596 typedef struct xcb_create_colormap_request_t {
03597 uint8_t major_opcode;
03598 uint8_t alloc;
03599 uint16_t length;
03600 xcb_colormap_t mid;
03601 xcb_window_t window;
03602 xcb_visualid_t visual;
03603 } xcb_create_colormap_request_t;
03604
03606 #define XCB_FREE_COLORMAP 79
03607
03611 typedef struct xcb_free_colormap_request_t {
03612 uint8_t major_opcode;
03613 uint8_t pad0;
03614 uint16_t length;
03615 xcb_colormap_t cmap;
03616 } xcb_free_colormap_request_t;
03617
03619 #define XCB_COPY_COLORMAP_AND_FREE 80
03620
03624 typedef struct xcb_copy_colormap_and_free_request_t {
03625 uint8_t major_opcode;
03626 uint8_t pad0;
03627 uint16_t length;
03628 xcb_colormap_t mid;
03629 xcb_colormap_t src_cmap;
03630 } xcb_copy_colormap_and_free_request_t;
03631
03633 #define XCB_INSTALL_COLORMAP 81
03634
03638 typedef struct xcb_install_colormap_request_t {
03639 uint8_t major_opcode;
03640 uint8_t pad0;
03641 uint16_t length;
03642 xcb_colormap_t cmap;
03643 } xcb_install_colormap_request_t;
03644
03646 #define XCB_UNINSTALL_COLORMAP 82
03647
03651 typedef struct xcb_uninstall_colormap_request_t {
03652 uint8_t major_opcode;
03653 uint8_t pad0;
03654 uint16_t length;
03655 xcb_colormap_t cmap;
03656 } xcb_uninstall_colormap_request_t;
03657
03661 typedef struct xcb_list_installed_colormaps_cookie_t {
03662 unsigned int sequence;
03663 } xcb_list_installed_colormaps_cookie_t;
03664
03666 #define XCB_LIST_INSTALLED_COLORMAPS 83
03667
03671 typedef struct xcb_list_installed_colormaps_request_t {
03672 uint8_t major_opcode;
03673 uint8_t pad0;
03674 uint16_t length;
03675 xcb_window_t window;
03676 } xcb_list_installed_colormaps_request_t;
03677
03681 typedef struct xcb_list_installed_colormaps_reply_t {
03682 uint8_t response_type;
03683 uint8_t pad0;
03684 uint16_t sequence;
03685 uint32_t length;
03686 uint16_t cmaps_len;
03687 uint8_t pad1[22];
03688 } xcb_list_installed_colormaps_reply_t;
03689
03693 typedef struct xcb_alloc_color_cookie_t {
03694 unsigned int sequence;
03695 } xcb_alloc_color_cookie_t;
03696
03698 #define XCB_ALLOC_COLOR 84
03699
03703 typedef struct xcb_alloc_color_request_t {
03704 uint8_t major_opcode;
03705 uint8_t pad0;
03706 uint16_t length;
03707 xcb_colormap_t cmap;
03708 uint16_t red;
03709 uint16_t green;
03710 uint16_t blue;
03711 uint8_t pad1[2];
03712 } xcb_alloc_color_request_t;
03713
03717 typedef struct xcb_alloc_color_reply_t {
03718 uint8_t response_type;
03719 uint8_t pad0;
03720 uint16_t sequence;
03721 uint32_t length;
03722 uint16_t red;
03723 uint16_t green;
03724 uint16_t blue;
03725 uint8_t pad1[2];
03726 uint32_t pixel;
03727 } xcb_alloc_color_reply_t;
03728
03732 typedef struct xcb_alloc_named_color_cookie_t {
03733 unsigned int sequence;
03734 } xcb_alloc_named_color_cookie_t;
03735
03737 #define XCB_ALLOC_NAMED_COLOR 85
03738
03742 typedef struct xcb_alloc_named_color_request_t {
03743 uint8_t major_opcode;
03744 uint8_t pad0;
03745 uint16_t length;
03746 xcb_colormap_t cmap;
03747 uint16_t name_len;
03748 uint8_t pad1[2];
03749 } xcb_alloc_named_color_request_t;
03750
03754 typedef struct xcb_alloc_named_color_reply_t {
03755 uint8_t response_type;
03756 uint8_t pad0;
03757 uint16_t sequence;
03758 uint32_t length;
03759 uint32_t pixel;
03760 uint16_t exact_red;
03761 uint16_t exact_green;
03762 uint16_t exact_blue;
03763 uint16_t visual_red;
03764 uint16_t visual_green;
03765 uint16_t visual_blue;
03766 } xcb_alloc_named_color_reply_t;
03767
03771 typedef struct xcb_alloc_color_cells_cookie_t {
03772 unsigned int sequence;
03773 } xcb_alloc_color_cells_cookie_t;
03774
03776 #define XCB_ALLOC_COLOR_CELLS 86
03777
03781 typedef struct xcb_alloc_color_cells_request_t {
03782 uint8_t major_opcode;
03783 uint8_t contiguous;
03784 uint16_t length;
03785 xcb_colormap_t cmap;
03786 uint16_t colors;
03787 uint16_t planes;
03788 } xcb_alloc_color_cells_request_t;
03789
03793 typedef struct xcb_alloc_color_cells_reply_t {
03794 uint8_t response_type;
03795 uint8_t pad0;
03796 uint16_t sequence;
03797 uint32_t length;
03798 uint16_t pixels_len;
03799 uint16_t masks_len;
03800 uint8_t pad1[20];
03801 } xcb_alloc_color_cells_reply_t;
03802
03806 typedef struct xcb_alloc_color_planes_cookie_t {
03807 unsigned int sequence;
03808 } xcb_alloc_color_planes_cookie_t;
03809
03811 #define XCB_ALLOC_COLOR_PLANES 87
03812
03816 typedef struct xcb_alloc_color_planes_request_t {
03817 uint8_t major_opcode;
03818 uint8_t contiguous;
03819 uint16_t length;
03820 xcb_colormap_t cmap;
03821 uint16_t colors;
03822 uint16_t reds;
03823 uint16_t greens;
03824 uint16_t blues;
03825 } xcb_alloc_color_planes_request_t;
03826
03830 typedef struct xcb_alloc_color_planes_reply_t {
03831 uint8_t response_type;
03832 uint8_t pad0;
03833 uint16_t sequence;
03834 uint32_t length;
03835 uint16_t pixels_len;
03836 uint8_t pad1[2];
03837 uint32_t red_mask;
03838 uint32_t green_mask;
03839 uint32_t blue_mask;
03840 uint8_t pad2[8];
03841 } xcb_alloc_color_planes_reply_t;
03842
03844 #define XCB_FREE_COLORS 88
03845
03849 typedef struct xcb_free_colors_request_t {
03850 uint8_t major_opcode;
03851 uint8_t pad0;
03852 uint16_t length;
03853 xcb_colormap_t cmap;
03854 uint32_t plane_mask;
03855 } xcb_free_colors_request_t;
03856
03857 typedef enum xcb_color_flag_t {
03858 XCB_COLOR_FLAG_RED = 1,
03859 XCB_COLOR_FLAG_GREEN = 2,
03860 XCB_COLOR_FLAG_BLUE = 4
03861 } xcb_color_flag_t;
03862
03866 typedef struct xcb_coloritem_t {
03867 uint32_t pixel;
03868 uint16_t red;
03869 uint16_t green;
03870 uint16_t blue;
03871 uint8_t flags;
03872 uint8_t pad0;
03873 } xcb_coloritem_t;
03874
03878 typedef struct xcb_coloritem_iterator_t {
03879 xcb_coloritem_t *data;
03880 int rem;
03881 int index;
03882 } xcb_coloritem_iterator_t;
03883
03885 #define XCB_STORE_COLORS 89
03886
03890 typedef struct xcb_store_colors_request_t {
03891 uint8_t major_opcode;
03892 uint8_t pad0;
03893 uint16_t length;
03894 xcb_colormap_t cmap;
03895 } xcb_store_colors_request_t;
03896
03898 #define XCB_STORE_NAMED_COLOR 90
03899
03903 typedef struct xcb_store_named_color_request_t {
03904 uint8_t major_opcode;
03905 uint8_t flags;
03906 uint16_t length;
03907 xcb_colormap_t cmap;
03908 uint32_t pixel;
03909 uint16_t name_len;
03910 uint8_t pad0[2];
03911 } xcb_store_named_color_request_t;
03912
03916 typedef struct xcb_rgb_t {
03917 uint16_t red;
03918 uint16_t green;
03919 uint16_t blue;
03920 uint8_t pad0[2];
03921 } xcb_rgb_t;
03922
03926 typedef struct xcb_rgb_iterator_t {
03927 xcb_rgb_t *data;
03928 int rem;
03929 int index;
03930 } xcb_rgb_iterator_t;
03931
03935 typedef struct xcb_query_colors_cookie_t {
03936 unsigned int sequence;
03937 } xcb_query_colors_cookie_t;
03938
03940 #define XCB_QUERY_COLORS 91
03941
03945 typedef struct xcb_query_colors_request_t {
03946 uint8_t major_opcode;
03947 uint8_t pad0;
03948 uint16_t length;
03949 xcb_colormap_t cmap;
03950 } xcb_query_colors_request_t;
03951
03955 typedef struct xcb_query_colors_reply_t {
03956 uint8_t response_type;
03957 uint8_t pad0;
03958 uint16_t sequence;
03959 uint32_t length;
03960 uint16_t colors_len;
03961 uint8_t pad1[22];
03962 } xcb_query_colors_reply_t;
03963
03967 typedef struct xcb_lookup_color_cookie_t {
03968 unsigned int sequence;
03969 } xcb_lookup_color_cookie_t;
03970
03972 #define XCB_LOOKUP_COLOR 92
03973
03977 typedef struct xcb_lookup_color_request_t {
03978 uint8_t major_opcode;
03979 uint8_t pad0;
03980 uint16_t length;
03981 xcb_colormap_t cmap;
03982 uint16_t name_len;
03983 uint8_t pad1[2];
03984 } xcb_lookup_color_request_t;
03985
03989 typedef struct xcb_lookup_color_reply_t {
03990 uint8_t response_type;
03991 uint8_t pad0;
03992 uint16_t sequence;
03993 uint32_t length;
03994 uint16_t exact_red;
03995 uint16_t exact_green;
03996 uint16_t exact_blue;
03997 uint16_t visual_red;
03998 uint16_t visual_green;
03999 uint16_t visual_blue;
04000 } xcb_lookup_color_reply_t;
04001
04002 typedef enum xcb_pixmap_enum_t {
04003 XCB_PIXMAP_NONE = 0
04004 } xcb_pixmap_enum_t;
04005
04007 #define XCB_CREATE_CURSOR 93
04008
04012 typedef struct xcb_create_cursor_request_t {
04013 uint8_t major_opcode;
04014 uint8_t pad0;
04015 uint16_t length;
04016 xcb_cursor_t cid;
04017 xcb_pixmap_t source;
04018 xcb_pixmap_t mask;
04019 uint16_t fore_red;
04020 uint16_t fore_green;
04021 uint16_t fore_blue;
04022 uint16_t back_red;
04023 uint16_t back_green;
04024 uint16_t back_blue;
04025 uint16_t x;
04026 uint16_t y;
04027 } xcb_create_cursor_request_t;
04028
04029 typedef enum xcb_font_enum_t {
04030 XCB_FONT_NONE = 0
04031 } xcb_font_enum_t;
04032
04034 #define XCB_CREATE_GLYPH_CURSOR 94
04035
04039 typedef struct xcb_create_glyph_cursor_request_t {
04040 uint8_t major_opcode;
04041 uint8_t pad0;
04042 uint16_t length;
04043 xcb_cursor_t cid;
04044 xcb_font_t source_font;
04045 xcb_font_t mask_font;
04046 uint16_t source_char;
04047 uint16_t mask_char;
04048 uint16_t fore_red;
04049 uint16_t fore_green;
04050 uint16_t fore_blue;
04051 uint16_t back_red;
04052 uint16_t back_green;
04053 uint16_t back_blue;
04054 } xcb_create_glyph_cursor_request_t;
04055
04057 #define XCB_FREE_CURSOR 95
04058
04062 typedef struct xcb_free_cursor_request_t {
04063 uint8_t major_opcode;
04064 uint8_t pad0;
04065 uint16_t length;
04066 xcb_cursor_t cursor;
04067 } xcb_free_cursor_request_t;
04068
04070 #define XCB_RECOLOR_CURSOR 96
04071
04075 typedef struct xcb_recolor_cursor_request_t {
04076 uint8_t major_opcode;
04077 uint8_t pad0;
04078 uint16_t length;
04079 xcb_cursor_t cursor;
04080 uint16_t fore_red;
04081 uint16_t fore_green;
04082 uint16_t fore_blue;
04083 uint16_t back_red;
04084 uint16_t back_green;
04085 uint16_t back_blue;
04086 } xcb_recolor_cursor_request_t;
04087
04088 typedef enum xcb_query_shape_of_t {
04089 XCB_QUERY_SHAPE_OF_LARGEST_CURSOR = 0,
04090 XCB_QUERY_SHAPE_OF_FASTEST_TILE = 1,
04091 XCB_QUERY_SHAPE_OF_FASTEST_STIPPLE = 2
04092 } xcb_query_shape_of_t;
04093
04097 typedef struct xcb_query_best_size_cookie_t {
04098 unsigned int sequence;
04099 } xcb_query_best_size_cookie_t;
04100
04102 #define XCB_QUERY_BEST_SIZE 97
04103
04107 typedef struct xcb_query_best_size_request_t {
04108 uint8_t major_opcode;
04109 uint8_t _class;
04110 uint16_t length;
04111 xcb_drawable_t drawable;
04112 uint16_t width;
04113 uint16_t height;
04114 } xcb_query_best_size_request_t;
04115
04119 typedef struct xcb_query_best_size_reply_t {
04120 uint8_t response_type;
04121 uint8_t pad0;
04122 uint16_t sequence;
04123 uint32_t length;
04124 uint16_t width;
04125 uint16_t height;
04126 } xcb_query_best_size_reply_t;
04127
04131 typedef struct xcb_query_extension_cookie_t {
04132 unsigned int sequence;
04133 } xcb_query_extension_cookie_t;
04134
04136 #define XCB_QUERY_EXTENSION 98
04137
04141 typedef struct xcb_query_extension_request_t {
04142 uint8_t major_opcode;
04143 uint8_t pad0;
04144 uint16_t length;
04145 uint16_t name_len;
04146 uint8_t pad1[2];
04147 } xcb_query_extension_request_t;
04148
04152 typedef struct xcb_query_extension_reply_t {
04153 uint8_t response_type;
04154 uint8_t pad0;
04155 uint16_t sequence;
04156 uint32_t length;
04157 uint8_t present;
04158 uint8_t major_opcode;
04159 uint8_t first_event;
04160 uint8_t first_error;
04161 } xcb_query_extension_reply_t;
04162
04166 typedef struct xcb_list_extensions_cookie_t {
04167 unsigned int sequence;
04168 } xcb_list_extensions_cookie_t;
04169
04171 #define XCB_LIST_EXTENSIONS 99
04172
04176 typedef struct xcb_list_extensions_request_t {
04177 uint8_t major_opcode;
04178 uint8_t pad0;
04179 uint16_t length;
04180 } xcb_list_extensions_request_t;
04181
04185 typedef struct xcb_list_extensions_reply_t {
04186 uint8_t response_type;
04187 uint8_t names_len;
04188 uint16_t sequence;
04189 uint32_t length;
04190 uint8_t pad0[24];
04191 } xcb_list_extensions_reply_t;
04192
04194 #define XCB_CHANGE_KEYBOARD_MAPPING 100
04195
04199 typedef struct xcb_change_keyboard_mapping_request_t {
04200 uint8_t major_opcode;
04201 uint8_t keycode_count;
04202 uint16_t length;
04203 xcb_keycode_t first_keycode;
04204 uint8_t keysyms_per_keycode;
04205 uint8_t pad0[2];
04206 } xcb_change_keyboard_mapping_request_t;
04207
04211 typedef struct xcb_get_keyboard_mapping_cookie_t {
04212 unsigned int sequence;
04213 } xcb_get_keyboard_mapping_cookie_t;
04214
04216 #define XCB_GET_KEYBOARD_MAPPING 101
04217
04221 typedef struct xcb_get_keyboard_mapping_request_t {
04222 uint8_t major_opcode;
04223 uint8_t pad0;
04224 uint16_t length;
04225 xcb_keycode_t first_keycode;
04226 uint8_t count;
04227 } xcb_get_keyboard_mapping_request_t;
04228
04232 typedef struct xcb_get_keyboard_mapping_reply_t {
04233 uint8_t response_type;
04234 uint8_t keysyms_per_keycode;
04235 uint16_t sequence;
04236 uint32_t length;
04237 uint8_t pad0[24];
04238 } xcb_get_keyboard_mapping_reply_t;
04239
04240 typedef enum xcb_kb_t {
04241 XCB_KB_KEY_CLICK_PERCENT = 1,
04242 XCB_KB_BELL_PERCENT = 2,
04243 XCB_KB_BELL_PITCH = 4,
04244 XCB_KB_BELL_DURATION = 8,
04245 XCB_KB_LED = 16,
04246 XCB_KB_LED_MODE = 32,
04247 XCB_KB_KEY = 64,
04248 XCB_KB_AUTO_REPEAT_MODE = 128
04249 } xcb_kb_t;
04250
04251 typedef enum xcb_led_mode_t {
04252 XCB_LED_MODE_OFF = 0,
04253 XCB_LED_MODE_ON = 1
04254 } xcb_led_mode_t;
04255
04256 typedef enum xcb_auto_repeat_mode_t {
04257 XCB_AUTO_REPEAT_MODE_OFF = 0,
04258 XCB_AUTO_REPEAT_MODE_ON = 1,
04259 XCB_AUTO_REPEAT_MODE_DEFAULT = 2
04260 } xcb_auto_repeat_mode_t;
04261
04263 #define XCB_CHANGE_KEYBOARD_CONTROL 102
04264
04268 typedef struct xcb_change_keyboard_control_request_t {
04269 uint8_t major_opcode;
04270 uint8_t pad0;
04271 uint16_t length;
04272 uint32_t value_mask;
04273 } xcb_change_keyboard_control_request_t;
04274
04278 typedef struct xcb_get_keyboard_control_cookie_t {
04279 unsigned int sequence;
04280 } xcb_get_keyboard_control_cookie_t;
04281
04283 #define XCB_GET_KEYBOARD_CONTROL 103
04284
04288 typedef struct xcb_get_keyboard_control_request_t {
04289 uint8_t major_opcode;
04290 uint8_t pad0;
04291 uint16_t length;
04292 } xcb_get_keyboard_control_request_t;
04293
04297 typedef struct xcb_get_keyboard_control_reply_t {
04298 uint8_t response_type;
04299 uint8_t global_auto_repeat;
04300 uint16_t sequence;
04301 uint32_t length;
04302 uint32_t led_mask;
04303 uint8_t key_click_percent;
04304 uint8_t bell_percent;
04305 uint16_t bell_pitch;
04306 uint16_t bell_duration;
04307 uint8_t pad0[2];
04308 uint8_t auto_repeats[32];
04309 } xcb_get_keyboard_control_reply_t;
04310
04312 #define XCB_BELL 104
04313
04317 typedef struct xcb_bell_request_t {
04318 uint8_t major_opcode;
04319 int8_t percent;
04320 uint16_t length;
04321 } xcb_bell_request_t;
04322
04324 #define XCB_CHANGE_POINTER_CONTROL 105
04325
04329 typedef struct xcb_change_pointer_control_request_t {
04330 uint8_t major_opcode;
04331 uint8_t pad0;
04332 uint16_t length;
04333 int16_t acceleration_numerator;
04334 int16_t acceleration_denominator;
04335 int16_t threshold;
04336 uint8_t do_acceleration;
04337 uint8_t do_threshold;
04338 } xcb_change_pointer_control_request_t;
04339
04343 typedef struct xcb_get_pointer_control_cookie_t {
04344 unsigned int sequence;
04345 } xcb_get_pointer_control_cookie_t;
04346
04348 #define XCB_GET_POINTER_CONTROL 106
04349
04353 typedef struct xcb_get_pointer_control_request_t {
04354 uint8_t major_opcode;
04355 uint8_t pad0;
04356 uint16_t length;
04357 } xcb_get_pointer_control_request_t;
04358
04362 typedef struct xcb_get_pointer_control_reply_t {
04363 uint8_t response_type;
04364 uint8_t pad0;
04365 uint16_t sequence;
04366 uint32_t length;
04367 uint16_t acceleration_numerator;
04368 uint16_t acceleration_denominator;
04369 uint16_t threshold;
04370 uint8_t pad1[18];
04371 } xcb_get_pointer_control_reply_t;
04372
04373 typedef enum xcb_blanking_t {
04374 XCB_BLANKING_NOT_PREFERRED = 0,
04375 XCB_BLANKING_PREFERRED = 1,
04376 XCB_BLANKING_DEFAULT = 2
04377 } xcb_blanking_t;
04378
04379 typedef enum xcb_exposures_t {
04380 XCB_EXPOSURES_NOT_ALLOWED = 0,
04381 XCB_EXPOSURES_ALLOWED = 1,
04382 XCB_EXPOSURES_DEFAULT = 2
04383 } xcb_exposures_t;
04384
04386 #define XCB_SET_SCREEN_SAVER 107
04387
04391 typedef struct xcb_set_screen_saver_request_t {
04392 uint8_t major_opcode;
04393 uint8_t pad0;
04394 uint16_t length;
04395 int16_t timeout;
04396 int16_t interval;
04397 uint8_t prefer_blanking;
04398 uint8_t allow_exposures;
04399 } xcb_set_screen_saver_request_t;
04400
04404 typedef struct xcb_get_screen_saver_cookie_t {
04405 unsigned int sequence;
04406 } xcb_get_screen_saver_cookie_t;
04407
04409 #define XCB_GET_SCREEN_SAVER 108
04410
04414 typedef struct xcb_get_screen_saver_request_t {
04415 uint8_t major_opcode;
04416 uint8_t pad0;
04417 uint16_t length;
04418 } xcb_get_screen_saver_request_t;
04419
04423 typedef struct xcb_get_screen_saver_reply_t {
04424 uint8_t response_type;
04425 uint8_t pad0;
04426 uint16_t sequence;
04427 uint32_t length;
04428 uint16_t timeout;
04429 uint16_t interval;
04430 uint8_t prefer_blanking;
04431 uint8_t allow_exposures;
04432 uint8_t pad1[18];
04433 } xcb_get_screen_saver_reply_t;
04434
04435 typedef enum xcb_host_mode_t {
04436 XCB_HOST_MODE_INSERT = 0,
04437 XCB_HOST_MODE_DELETE = 1
04438 } xcb_host_mode_t;
04439
04440 typedef enum xcb_family_t {
04441 XCB_FAMILY_INTERNET = 0,
04442 XCB_FAMILY_DECNET = 1,
04443 XCB_FAMILY_CHAOS = 2,
04444 XCB_FAMILY_SERVER_INTERPRETED = 5,
04445 XCB_FAMILY_INTERNET_6 = 6
04446 } xcb_family_t;
04447
04449 #define XCB_CHANGE_HOSTS 109
04450
04454 typedef struct xcb_change_hosts_request_t {
04455 uint8_t major_opcode;
04456 uint8_t mode;
04457 uint16_t length;
04458 uint8_t family;
04459 uint8_t pad0;
04460 uint16_t address_len;
04461 } xcb_change_hosts_request_t;
04462
04466 typedef struct xcb_host_t {
04467 uint8_t family;
04468 uint8_t pad0;
04469 uint16_t address_len;
04470 } xcb_host_t;
04471
04475 typedef struct xcb_host_iterator_t {
04476 xcb_host_t *data;
04477 int rem;
04478 int index;
04479 } xcb_host_iterator_t;
04480
04484 typedef struct xcb_list_hosts_cookie_t {
04485 unsigned int sequence;
04486 } xcb_list_hosts_cookie_t;
04487
04489 #define XCB_LIST_HOSTS 110
04490
04494 typedef struct xcb_list_hosts_request_t {
04495 uint8_t major_opcode;
04496 uint8_t pad0;
04497 uint16_t length;
04498 } xcb_list_hosts_request_t;
04499
04503 typedef struct xcb_list_hosts_reply_t {
04504 uint8_t response_type;
04505 uint8_t mode;
04506 uint16_t sequence;
04507 uint32_t length;
04508 uint16_t hosts_len;
04509 uint8_t pad0[22];
04510 } xcb_list_hosts_reply_t;
04511
04512 typedef enum xcb_access_control_t {
04513 XCB_ACCESS_CONTROL_DISABLE = 0,
04514 XCB_ACCESS_CONTROL_ENABLE = 1
04515 } xcb_access_control_t;
04516
04518 #define XCB_SET_ACCESS_CONTROL 111
04519
04523 typedef struct xcb_set_access_control_request_t {
04524 uint8_t major_opcode;
04525 uint8_t mode;
04526 uint16_t length;
04527 } xcb_set_access_control_request_t;
04528
04529 typedef enum xcb_close_down_t {
04530 XCB_CLOSE_DOWN_DESTROY_ALL = 0,
04531 XCB_CLOSE_DOWN_RETAIN_PERMANENT = 1,
04532 XCB_CLOSE_DOWN_RETAIN_TEMPORARY = 2
04533 } xcb_close_down_t;
04534
04536 #define XCB_SET_CLOSE_DOWN_MODE 112
04537
04541 typedef struct xcb_set_close_down_mode_request_t {
04542 uint8_t major_opcode;
04543 uint8_t mode;
04544 uint16_t length;
04545 } xcb_set_close_down_mode_request_t;
04546
04547 typedef enum xcb_kill_t {
04548 XCB_KILL_ALL_TEMPORARY = 0
04549 } xcb_kill_t;
04550
04552 #define XCB_KILL_CLIENT 113
04553
04557 typedef struct xcb_kill_client_request_t {
04558 uint8_t major_opcode;
04559 uint8_t pad0;
04560 uint16_t length;
04561 uint32_t resource;
04562 } xcb_kill_client_request_t;
04563
04565 #define XCB_ROTATE_PROPERTIES 114
04566
04570 typedef struct xcb_rotate_properties_request_t {
04571 uint8_t major_opcode;
04572 uint8_t pad0;
04573 uint16_t length;
04574 xcb_window_t window;
04575 uint16_t atoms_len;
04576 int16_t delta;
04577 } xcb_rotate_properties_request_t;
04578
04579 typedef enum xcb_screen_saver_t {
04580 XCB_SCREEN_SAVER_RESET = 0,
04581 XCB_SCREEN_SAVER_ACTIVE = 1
04582 } xcb_screen_saver_t;
04583
04585 #define XCB_FORCE_SCREEN_SAVER 115
04586
04590 typedef struct xcb_force_screen_saver_request_t {
04591 uint8_t major_opcode;
04592 uint8_t mode;
04593 uint16_t length;
04594 } xcb_force_screen_saver_request_t;
04595
04596 typedef enum xcb_mapping_status_t {
04597 XCB_MAPPING_STATUS_SUCCESS = 0,
04598 XCB_MAPPING_STATUS_BUSY = 1,
04599 XCB_MAPPING_STATUS_FAILURE = 2
04600 } xcb_mapping_status_t;
04601
04605 typedef struct xcb_set_pointer_mapping_cookie_t {
04606 unsigned int sequence;
04607 } xcb_set_pointer_mapping_cookie_t;
04608
04610 #define XCB_SET_POINTER_MAPPING 116
04611
04615 typedef struct xcb_set_pointer_mapping_request_t {
04616 uint8_t major_opcode;
04617 uint8_t map_len;
04618 uint16_t length;
04619 } xcb_set_pointer_mapping_request_t;
04620
04624 typedef struct xcb_set_pointer_mapping_reply_t {
04625 uint8_t response_type;
04626 uint8_t status;
04627 uint16_t sequence;
04628 uint32_t length;
04629 } xcb_set_pointer_mapping_reply_t;
04630
04634 typedef struct xcb_get_pointer_mapping_cookie_t {
04635 unsigned int sequence;
04636 } xcb_get_pointer_mapping_cookie_t;
04637
04639 #define XCB_GET_POINTER_MAPPING 117
04640
04644 typedef struct xcb_get_pointer_mapping_request_t {
04645 uint8_t major_opcode;
04646 uint8_t pad0;
04647 uint16_t length;
04648 } xcb_get_pointer_mapping_request_t;
04649
04653 typedef struct xcb_get_pointer_mapping_reply_t {
04654 uint8_t response_type;
04655 uint8_t map_len;
04656 uint16_t sequence;
04657 uint32_t length;
04658 uint8_t pad0[24];
04659 } xcb_get_pointer_mapping_reply_t;
04660
04661 typedef enum xcb_map_index_t {
04662 XCB_MAP_INDEX_SHIFT = 0,
04663 XCB_MAP_INDEX_LOCK = 1,
04664 XCB_MAP_INDEX_CONTROL = 2,
04665 XCB_MAP_INDEX_1 = 3,
04666 XCB_MAP_INDEX_2 = 4,
04667 XCB_MAP_INDEX_3 = 5,
04668 XCB_MAP_INDEX_4 = 6,
04669 XCB_MAP_INDEX_5 = 7
04670 } xcb_map_index_t;
04671
04675 typedef struct xcb_set_modifier_mapping_cookie_t {
04676 unsigned int sequence;
04677 } xcb_set_modifier_mapping_cookie_t;
04678
04680 #define XCB_SET_MODIFIER_MAPPING 118
04681
04685 typedef struct xcb_set_modifier_mapping_request_t {
04686 uint8_t major_opcode;
04687 uint8_t keycodes_per_modifier;
04688 uint16_t length;
04689 } xcb_set_modifier_mapping_request_t;
04690
04694 typedef struct xcb_set_modifier_mapping_reply_t {
04695 uint8_t response_type;
04696 uint8_t status;
04697 uint16_t sequence;
04698 uint32_t length;
04699 } xcb_set_modifier_mapping_reply_t;
04700
04704 typedef struct xcb_get_modifier_mapping_cookie_t {
04705 unsigned int sequence;
04706 } xcb_get_modifier_mapping_cookie_t;
04707
04709 #define XCB_GET_MODIFIER_MAPPING 119
04710
04714 typedef struct xcb_get_modifier_mapping_request_t {
04715 uint8_t major_opcode;
04716 uint8_t pad0;
04717 uint16_t length;
04718 } xcb_get_modifier_mapping_request_t;
04719
04723 typedef struct xcb_get_modifier_mapping_reply_t {
04724 uint8_t response_type;
04725 uint8_t keycodes_per_modifier;
04726 uint16_t sequence;
04727 uint32_t length;
04728 uint8_t pad0[24];
04729 } xcb_get_modifier_mapping_reply_t;
04730
04732 #define XCB_NO_OPERATION 127
04733
04737 typedef struct xcb_no_operation_request_t {
04738 uint8_t major_opcode;
04739 uint8_t pad0;
04740 uint16_t length;
04741 } xcb_no_operation_request_t;
04742
04751 void
04752 xcb_char2b_next (xcb_char2b_iterator_t *i );
04753
04763 xcb_generic_iterator_t
04764 xcb_char2b_end (xcb_char2b_iterator_t i );
04765
04774 void
04775 xcb_window_next (xcb_window_iterator_t *i );
04776
04786 xcb_generic_iterator_t
04787 xcb_window_end (xcb_window_iterator_t i );
04788
04797 void
04798 xcb_pixmap_next (xcb_pixmap_iterator_t *i );
04799
04809 xcb_generic_iterator_t
04810 xcb_pixmap_end (xcb_pixmap_iterator_t i );
04811
04820 void
04821 xcb_cursor_next (xcb_cursor_iterator_t *i );
04822
04832 xcb_generic_iterator_t
04833 xcb_cursor_end (xcb_cursor_iterator_t i );
04834
04843 void
04844 xcb_font_next (xcb_font_iterator_t *i );
04845
04855 xcb_generic_iterator_t
04856 xcb_font_end (xcb_font_iterator_t i );
04857
04866 void
04867 xcb_gcontext_next (xcb_gcontext_iterator_t *i );
04868
04878 xcb_generic_iterator_t
04879 xcb_gcontext_end (xcb_gcontext_iterator_t i );
04880
04889 void
04890 xcb_colormap_next (xcb_colormap_iterator_t *i );
04891
04901 xcb_generic_iterator_t
04902 xcb_colormap_end (xcb_colormap_iterator_t i );
04903
04912 void
04913 xcb_atom_next (xcb_atom_iterator_t *i );
04914
04924 xcb_generic_iterator_t
04925 xcb_atom_end (xcb_atom_iterator_t i );
04926
04935 void
04936 xcb_drawable_next (xcb_drawable_iterator_t *i );
04937
04947 xcb_generic_iterator_t
04948 xcb_drawable_end (xcb_drawable_iterator_t i );
04949
04958 void
04959 xcb_fontable_next (xcb_fontable_iterator_t *i );
04960
04970 xcb_generic_iterator_t
04971 xcb_fontable_end (xcb_fontable_iterator_t i );
04972
04981 void
04982 xcb_visualid_next (xcb_visualid_iterator_t *i );
04983
04993 xcb_generic_iterator_t
04994 xcb_visualid_end (xcb_visualid_iterator_t i );
04995
05004 void
05005 xcb_timestamp_next (xcb_timestamp_iterator_t *i );
05006
05016 xcb_generic_iterator_t
05017 xcb_timestamp_end (xcb_timestamp_iterator_t i );
05018
05027 void
05028 xcb_keysym_next (xcb_keysym_iterator_t *i );
05029
05039 xcb_generic_iterator_t
05040 xcb_keysym_end (xcb_keysym_iterator_t i );
05041
05050 void
05051 xcb_keycode_next (xcb_keycode_iterator_t *i );
05052
05062 xcb_generic_iterator_t
05063 xcb_keycode_end (xcb_keycode_iterator_t i );
05064
05073 void
05074 xcb_button_next (xcb_button_iterator_t *i );
05075
05085 xcb_generic_iterator_t
05086 xcb_button_end (xcb_button_iterator_t i );
05087
05096 void
05097 xcb_point_next (xcb_point_iterator_t *i );
05098
05108 xcb_generic_iterator_t
05109 xcb_point_end (xcb_point_iterator_t i );
05110
05119 void
05120 xcb_rectangle_next (xcb_rectangle_iterator_t *i );
05121
05131 xcb_generic_iterator_t
05132 xcb_rectangle_end (xcb_rectangle_iterator_t i );
05133
05142 void
05143 xcb_arc_next (xcb_arc_iterator_t *i );
05144
05154 xcb_generic_iterator_t
05155 xcb_arc_end (xcb_arc_iterator_t i );
05156
05165 void
05166 xcb_format_next (xcb_format_iterator_t *i );
05167
05177 xcb_generic_iterator_t
05178 xcb_format_end (xcb_format_iterator_t i );
05179
05188 void
05189 xcb_visualtype_next (xcb_visualtype_iterator_t *i );
05190
05200 xcb_generic_iterator_t
05201 xcb_visualtype_end (xcb_visualtype_iterator_t i );
05202
05203 int
05204 xcb_depth_sizeof (const void *_buffer );
05205
05206 xcb_visualtype_t *
05207 xcb_depth_visuals (const xcb_depth_t *R );
05208
05209 int
05210 xcb_depth_visuals_length (const xcb_depth_t *R );
05211
05212 xcb_visualtype_iterator_t
05213 xcb_depth_visuals_iterator (const xcb_depth_t *R );
05214
05223 void
05224 xcb_depth_next (xcb_depth_iterator_t *i );
05225
05235 xcb_generic_iterator_t
05236 xcb_depth_end (xcb_depth_iterator_t i );
05237
05238 int
05239 xcb_screen_sizeof (const void *_buffer );
05240
05241 int
05242 xcb_screen_allowed_depths_length (const xcb_screen_t *R );
05243
05244 xcb_depth_iterator_t
05245 xcb_screen_allowed_depths_iterator (const xcb_screen_t *R );
05246
05255 void
05256 xcb_screen_next (xcb_screen_iterator_t *i );
05257
05267 xcb_generic_iterator_t
05268 xcb_screen_end (xcb_screen_iterator_t i );
05269
05270 int
05271 xcb_setup_request_sizeof (const void *_buffer );
05272
05273 char *
05274 xcb_setup_request_authorization_protocol_name (const xcb_setup_request_t *R );
05275
05276 int
05277 xcb_setup_request_authorization_protocol_name_length (const xcb_setup_request_t *R );
05278
05279 xcb_generic_iterator_t
05280 xcb_setup_request_authorization_protocol_name_end (const xcb_setup_request_t *R );
05281
05282 char *
05283 xcb_setup_request_authorization_protocol_data (const xcb_setup_request_t *R );
05284
05285 int
05286 xcb_setup_request_authorization_protocol_data_length (const xcb_setup_request_t *R );
05287
05288 xcb_generic_iterator_t
05289 xcb_setup_request_authorization_protocol_data_end (const xcb_setup_request_t *R );
05290
05299 void
05300 xcb_setup_request_next (xcb_setup_request_iterator_t *i );
05301
05311 xcb_generic_iterator_t
05312 xcb_setup_request_end (xcb_setup_request_iterator_t i );
05313
05314 int
05315 xcb_setup_failed_sizeof (const void *_buffer );
05316
05317 char *
05318 xcb_setup_failed_reason (const xcb_setup_failed_t *R );
05319
05320 int
05321 xcb_setup_failed_reason_length (const xcb_setup_failed_t *R );
05322
05323 xcb_generic_iterator_t
05324 xcb_setup_failed_reason_end (const xcb_setup_failed_t *R );
05325
05334 void
05335 xcb_setup_failed_next (xcb_setup_failed_iterator_t *i );
05336
05346 xcb_generic_iterator_t
05347 xcb_setup_failed_end (xcb_setup_failed_iterator_t i );
05348
05349 int
05350 xcb_setup_authenticate_sizeof (const void *_buffer );
05351
05352 char *
05353 xcb_setup_authenticate_reason (const xcb_setup_authenticate_t *R );
05354
05355 int
05356 xcb_setup_authenticate_reason_length (const xcb_setup_authenticate_t *R );
05357
05358 xcb_generic_iterator_t
05359 xcb_setup_authenticate_reason_end (const xcb_setup_authenticate_t *R );
05360
05369 void
05370 xcb_setup_authenticate_next (xcb_setup_authenticate_iterator_t *i );
05371
05381 xcb_generic_iterator_t
05382 xcb_setup_authenticate_end (xcb_setup_authenticate_iterator_t i );
05383
05384 int
05385 xcb_setup_sizeof (const void *_buffer );
05386
05387 char *
05388 xcb_setup_vendor (const xcb_setup_t *R );
05389
05390 int
05391 xcb_setup_vendor_length (const xcb_setup_t *R );
05392
05393 xcb_generic_iterator_t
05394 xcb_setup_vendor_end (const xcb_setup_t *R );
05395
05396 xcb_format_t *
05397 xcb_setup_pixmap_formats (const xcb_setup_t *R );
05398
05399 int
05400 xcb_setup_pixmap_formats_length (const xcb_setup_t *R );
05401
05402 xcb_format_iterator_t
05403 xcb_setup_pixmap_formats_iterator (const xcb_setup_t *R );
05404
05405 int
05406 xcb_setup_roots_length (const xcb_setup_t *R );
05407
05408 xcb_screen_iterator_t
05409 xcb_setup_roots_iterator (const xcb_setup_t *R );
05410
05419 void
05420 xcb_setup_next (xcb_setup_iterator_t *i );
05421
05431 xcb_generic_iterator_t
05432 xcb_setup_end (xcb_setup_iterator_t i );
05433
05442 void
05443 xcb_client_message_data_next (xcb_client_message_data_iterator_t *i );
05444
05454 xcb_generic_iterator_t
05455 xcb_client_message_data_end (xcb_client_message_data_iterator_t i );
05456
05457 int
05458 xcb_create_window_sizeof (const void *_buffer );
05459
05506 xcb_void_cookie_t
05507 xcb_create_window_checked (xcb_connection_t *c ,
05508 uint8_t depth ,
05509 xcb_window_t wid ,
05510 xcb_window_t parent ,
05511 int16_t x ,
05512 int16_t y ,
05513 uint16_t width ,
05514 uint16_t height ,
05515 uint16_t border_width ,
05516 uint16_t _class ,
05517 xcb_visualid_t visual ,
05518 uint32_t value_mask ,
05519 const uint32_t *value_list );
05520
05564 xcb_void_cookie_t
05565 xcb_create_window (xcb_connection_t *c ,
05566 uint8_t depth ,
05567 xcb_window_t wid ,
05568 xcb_window_t parent ,
05569 int16_t x ,
05570 int16_t y ,
05571 uint16_t width ,
05572 uint16_t height ,
05573 uint16_t border_width ,
05574 uint16_t _class ,
05575 xcb_visualid_t visual ,
05576 uint32_t value_mask ,
05577 const uint32_t *value_list );
05578
05579 int
05580 xcb_change_window_attributes_sizeof (const void *_buffer );
05581
05600 xcb_void_cookie_t
05601 xcb_change_window_attributes_checked (xcb_connection_t *c ,
05602 xcb_window_t window ,
05603 uint32_t value_mask ,
05604 const uint32_t *value_list );
05605
05621 xcb_void_cookie_t
05622 xcb_change_window_attributes (xcb_connection_t *c ,
05623 xcb_window_t window ,
05624 uint32_t value_mask ,
05625 const uint32_t *value_list );
05626
05637 xcb_get_window_attributes_cookie_t
05638 xcb_get_window_attributes (xcb_connection_t *c ,
05639 xcb_window_t window );
05640
05654 xcb_get_window_attributes_cookie_t
05655 xcb_get_window_attributes_unchecked (xcb_connection_t *c ,
05656 xcb_window_t window );
05657
05672 xcb_get_window_attributes_reply_t *
05673 xcb_get_window_attributes_reply (xcb_connection_t *c ,
05674 xcb_get_window_attributes_cookie_t cookie ,
05675 xcb_generic_error_t **e );
05676
05695 xcb_void_cookie_t
05696 xcb_destroy_window_checked (xcb_connection_t *c ,
05697 xcb_window_t window );
05698
05714 xcb_void_cookie_t
05715 xcb_destroy_window (xcb_connection_t *c ,
05716 xcb_window_t window );
05717
05729 xcb_void_cookie_t
05730 xcb_destroy_subwindows_checked (xcb_connection_t *c ,
05731 xcb_window_t window );
05732
05741 xcb_void_cookie_t
05742 xcb_destroy_subwindows (xcb_connection_t *c ,
05743 xcb_window_t window );
05744
05763 xcb_void_cookie_t
05764 xcb_change_save_set_checked (xcb_connection_t *c ,
05765 uint8_t mode ,
05766 xcb_window_t window );
05767
05783 xcb_void_cookie_t
05784 xcb_change_save_set (xcb_connection_t *c ,
05785 uint8_t mode ,
05786 xcb_window_t window );
05787
05809 xcb_void_cookie_t
05810 xcb_reparent_window_checked (xcb_connection_t *c ,
05811 xcb_window_t window ,
05812 xcb_window_t parent ,
05813 int16_t x ,
05814 int16_t y );
05815
05834 xcb_void_cookie_t
05835 xcb_reparent_window (xcb_connection_t *c ,
05836 xcb_window_t window ,
05837 xcb_window_t parent ,
05838 int16_t x ,
05839 int16_t y );
05840
05872 xcb_void_cookie_t
05873 xcb_map_window_checked (xcb_connection_t *c ,
05874 xcb_window_t window );
05875
05904 xcb_void_cookie_t
05905 xcb_map_window (xcb_connection_t *c ,
05906 xcb_window_t window );
05907
05919 xcb_void_cookie_t
05920 xcb_map_subwindows_checked (xcb_connection_t *c ,
05921 xcb_window_t window );
05922
05931 xcb_void_cookie_t
05932 xcb_map_subwindows (xcb_connection_t *c ,
05933 xcb_window_t window );
05934
05952 xcb_void_cookie_t
05953 xcb_unmap_window_checked (xcb_connection_t *c ,
05954 xcb_window_t window );
05955
05970 xcb_void_cookie_t
05971 xcb_unmap_window (xcb_connection_t *c ,
05972 xcb_window_t window );
05973
05985 xcb_void_cookie_t
05986 xcb_unmap_subwindows_checked (xcb_connection_t *c ,
05987 xcb_window_t window );
05988
05997 xcb_void_cookie_t
05998 xcb_unmap_subwindows (xcb_connection_t *c ,
05999 xcb_window_t window );
06000
06001 int
06002 xcb_configure_window_sizeof (const void *_buffer );
06003
06020 xcb_void_cookie_t
06021 xcb_configure_window_checked (xcb_connection_t *c ,
06022 xcb_window_t window ,
06023 uint16_t value_mask ,
06024 const uint32_t *value_list );
06025
06039 xcb_void_cookie_t
06040 xcb_configure_window (xcb_connection_t *c ,
06041 xcb_window_t window ,
06042 uint16_t value_mask ,
06043 const uint32_t *value_list );
06044
06064 xcb_void_cookie_t
06065 xcb_circulate_window_checked (xcb_connection_t *c ,
06066 uint8_t direction ,
06067 xcb_window_t window );
06068
06085 xcb_void_cookie_t
06086 xcb_circulate_window (xcb_connection_t *c ,
06087 uint8_t direction ,
06088 xcb_window_t window );
06089
06100 xcb_get_geometry_cookie_t
06101 xcb_get_geometry (xcb_connection_t *c ,
06102 xcb_drawable_t drawable );
06103
06117 xcb_get_geometry_cookie_t
06118 xcb_get_geometry_unchecked (xcb_connection_t *c ,
06119 xcb_drawable_t drawable );
06120
06135 xcb_get_geometry_reply_t *
06136 xcb_get_geometry_reply (xcb_connection_t *c ,
06137 xcb_get_geometry_cookie_t cookie ,
06138 xcb_generic_error_t **e );
06139
06140 int
06141 xcb_query_tree_sizeof (const void *_buffer );
06142
06154 xcb_query_tree_cookie_t
06155 xcb_query_tree (xcb_connection_t *c ,
06156 xcb_window_t window );
06157
06172 xcb_query_tree_cookie_t
06173 xcb_query_tree_unchecked (xcb_connection_t *c ,
06174 xcb_window_t window );
06175
06176 xcb_window_t *
06177 xcb_query_tree_children (const xcb_query_tree_reply_t *R );
06178
06179 int
06180 xcb_query_tree_children_length (const xcb_query_tree_reply_t *R );
06181
06182 xcb_generic_iterator_t
06183 xcb_query_tree_children_end (const xcb_query_tree_reply_t *R );
06184
06199 xcb_query_tree_reply_t *
06200 xcb_query_tree_reply (xcb_connection_t *c ,
06201 xcb_query_tree_cookie_t cookie ,
06202 xcb_generic_error_t **e );
06203
06204 int
06205 xcb_intern_atom_sizeof (const void *_buffer );
06206
06225 xcb_intern_atom_cookie_t
06226 xcb_intern_atom (xcb_connection_t *c ,
06227 uint8_t only_if_exists ,
06228 uint16_t name_len ,
06229 const char *name );
06230
06252 xcb_intern_atom_cookie_t
06253 xcb_intern_atom_unchecked (xcb_connection_t *c ,
06254 uint8_t only_if_exists ,
06255 uint16_t name_len ,
06256 const char *name );
06257
06272 xcb_intern_atom_reply_t *
06273 xcb_intern_atom_reply (xcb_connection_t *c ,
06274 xcb_intern_atom_cookie_t cookie ,
06275 xcb_generic_error_t **e );
06276
06277 int
06278 xcb_get_atom_name_sizeof (const void *_buffer );
06279
06288 xcb_get_atom_name_cookie_t
06289 xcb_get_atom_name (xcb_connection_t *c ,
06290 xcb_atom_t atom );
06291
06303 xcb_get_atom_name_cookie_t
06304 xcb_get_atom_name_unchecked (xcb_connection_t *c ,
06305 xcb_atom_t atom );
06306
06307 char *
06308 xcb_get_atom_name_name (const xcb_get_atom_name_reply_t *R );
06309
06310 int
06311 xcb_get_atom_name_name_length (const xcb_get_atom_name_reply_t *R );
06312
06313 xcb_generic_iterator_t
06314 xcb_get_atom_name_name_end (const xcb_get_atom_name_reply_t *R );
06315
06330 xcb_get_atom_name_reply_t *
06331 xcb_get_atom_name_reply (xcb_connection_t *c ,
06332 xcb_get_atom_name_cookie_t cookie ,
06333 xcb_generic_error_t **e );
06334
06335 int
06336 xcb_change_property_sizeof (const void *_buffer );
06337
06363 xcb_void_cookie_t
06364 xcb_change_property_checked (xcb_connection_t *c ,
06365 uint8_t mode ,
06366 xcb_window_t window ,
06367 xcb_atom_t property ,
06368 xcb_atom_t type ,
06369 uint8_t format ,
06370 uint32_t data_len ,
06371 const void *data );
06372
06395 xcb_void_cookie_t
06396 xcb_change_property (xcb_connection_t *c ,
06397 uint8_t mode ,
06398 xcb_window_t window ,
06399 xcb_atom_t property ,
06400 xcb_atom_t type ,
06401 uint8_t format ,
06402 uint32_t data_len ,
06403 const void *data );
06404
06416 xcb_void_cookie_t
06417 xcb_delete_property_checked (xcb_connection_t *c ,
06418 xcb_window_t window ,
06419 xcb_atom_t property );
06420
06429 xcb_void_cookie_t
06430 xcb_delete_property (xcb_connection_t *c ,
06431 xcb_window_t window ,
06432 xcb_atom_t property );
06433
06434 int
06435 xcb_get_property_sizeof (const void *_buffer );
06436
06464 xcb_get_property_cookie_t
06465 xcb_get_property (xcb_connection_t *c ,
06466 uint8_t _delete ,
06467 xcb_window_t window ,
06468 xcb_atom_t property ,
06469 xcb_atom_t type ,
06470 uint32_t long_offset ,
06471 uint32_t long_length );
06472
06503 xcb_get_property_cookie_t
06504 xcb_get_property_unchecked (xcb_connection_t *c ,
06505 uint8_t _delete ,
06506 xcb_window_t window ,
06507 xcb_atom_t property ,
06508 xcb_atom_t type ,
06509 uint32_t long_offset ,
06510 uint32_t long_length );
06511
06512 void *
06513 xcb_get_property_value (const xcb_get_property_reply_t *R );
06514
06515 int
06516 xcb_get_property_value_length (const xcb_get_property_reply_t *R );
06517
06518 xcb_generic_iterator_t
06519 xcb_get_property_value_end (const xcb_get_property_reply_t *R );
06520
06535 xcb_get_property_reply_t *
06536 xcb_get_property_reply (xcb_connection_t *c ,
06537 xcb_get_property_cookie_t cookie ,
06538 xcb_generic_error_t **e );
06539
06540 int
06541 xcb_list_properties_sizeof (const void *_buffer );
06542
06551 xcb_list_properties_cookie_t
06552 xcb_list_properties (xcb_connection_t *c ,
06553 xcb_window_t window );
06554
06566 xcb_list_properties_cookie_t
06567 xcb_list_properties_unchecked (xcb_connection_t *c ,
06568 xcb_window_t window );
06569
06570 xcb_atom_t *
06571 xcb_list_properties_atoms (const xcb_list_properties_reply_t *R );
06572
06573 int
06574 xcb_list_properties_atoms_length (const xcb_list_properties_reply_t *R );
06575
06576 xcb_generic_iterator_t
06577 xcb_list_properties_atoms_end (const xcb_list_properties_reply_t *R );
06578
06593 xcb_list_properties_reply_t *
06594 xcb_list_properties_reply (xcb_connection_t *c ,
06595 xcb_list_properties_cookie_t cookie ,
06596 xcb_generic_error_t **e );
06597
06625 xcb_void_cookie_t
06626 xcb_set_selection_owner_checked (xcb_connection_t *c ,
06627 xcb_window_t owner ,
06628 xcb_atom_t selection ,
06629 xcb_timestamp_t time );
06630
06655 xcb_void_cookie_t
06656 xcb_set_selection_owner (xcb_connection_t *c ,
06657 xcb_window_t owner ,
06658 xcb_atom_t selection ,
06659 xcb_timestamp_t time );
06660
06673 xcb_get_selection_owner_cookie_t
06674 xcb_get_selection_owner (xcb_connection_t *c ,
06675 xcb_atom_t selection );
06676
06692 xcb_get_selection_owner_cookie_t
06693 xcb_get_selection_owner_unchecked (xcb_connection_t *c ,
06694 xcb_atom_t selection );
06695
06710 xcb_get_selection_owner_reply_t *
06711 xcb_get_selection_owner_reply (xcb_connection_t *c ,
06712 xcb_get_selection_owner_cookie_t cookie ,
06713 xcb_generic_error_t **e );
06714
06726 xcb_void_cookie_t
06727 xcb_convert_selection_checked (xcb_connection_t *c ,
06728 xcb_window_t requestor ,
06729 xcb_atom_t selection ,
06730 xcb_atom_t target ,
06731 xcb_atom_t property ,
06732 xcb_timestamp_t time );
06733
06742 xcb_void_cookie_t
06743 xcb_convert_selection (xcb_connection_t *c ,
06744 xcb_window_t requestor ,
06745 xcb_atom_t selection ,
06746 xcb_atom_t target ,
06747 xcb_atom_t property ,
06748 xcb_timestamp_t time );
06749
06787 xcb_void_cookie_t
06788 xcb_send_event_checked (xcb_connection_t *c ,
06789 uint8_t propagate ,
06790 xcb_window_t destination ,
06791 uint32_t event_mask ,
06792 const char *event );
06793
06828 xcb_void_cookie_t
06829 xcb_send_event (xcb_connection_t *c ,
06830 uint8_t propagate ,
06831 xcb_window_t destination ,
06832 uint32_t event_mask ,
06833 const char *event );
06834
06871 xcb_grab_pointer_cookie_t
06872 xcb_grab_pointer (xcb_connection_t *c ,
06873 uint8_t owner_events ,
06874 xcb_window_t grab_window ,
06875 uint16_t event_mask ,
06876 uint8_t pointer_mode ,
06877 uint8_t keyboard_mode ,
06878 xcb_window_t confine_to ,
06879 xcb_cursor_t cursor ,
06880 xcb_timestamp_t time );
06881
06921 xcb_grab_pointer_cookie_t
06922 xcb_grab_pointer_unchecked (xcb_connection_t *c ,
06923 uint8_t owner_events ,
06924 xcb_window_t grab_window ,
06925 uint16_t event_mask ,
06926 uint8_t pointer_mode ,
06927 uint8_t keyboard_mode ,
06928 xcb_window_t confine_to ,
06929 xcb_cursor_t cursor ,
06930 xcb_timestamp_t time );
06931
06946 xcb_grab_pointer_reply_t *
06947 xcb_grab_pointer_reply (xcb_connection_t *c ,
06948 xcb_grab_pointer_cookie_t cookie ,
06949 xcb_generic_error_t **e );
06950
06971 xcb_void_cookie_t
06972 xcb_ungrab_pointer_checked (xcb_connection_t *c ,
06973 xcb_timestamp_t time );
06974
06992 xcb_void_cookie_t
06993 xcb_ungrab_pointer (xcb_connection_t *c ,
06994 xcb_timestamp_t time );
06995
07064 xcb_void_cookie_t
07065 xcb_grab_button_checked (xcb_connection_t *c ,
07066 uint8_t owner_events ,
07067 xcb_window_t grab_window ,
07068 uint16_t event_mask ,
07069 uint8_t pointer_mode ,
07070 uint8_t keyboard_mode ,
07071 xcb_window_t confine_to ,
07072 xcb_cursor_t cursor ,
07073 uint8_t button ,
07074 uint16_t modifiers );
07075
07141 xcb_void_cookie_t
07142 xcb_grab_button (xcb_connection_t *c ,
07143 uint8_t owner_events ,
07144 xcb_window_t grab_window ,
07145 uint16_t event_mask ,
07146 uint8_t pointer_mode ,
07147 uint8_t keyboard_mode ,
07148 xcb_window_t confine_to ,
07149 xcb_cursor_t cursor ,
07150 uint8_t button ,
07151 uint16_t modifiers );
07152
07164 xcb_void_cookie_t
07165 xcb_ungrab_button_checked (xcb_connection_t *c ,
07166 uint8_t button ,
07167 xcb_window_t grab_window ,
07168 uint16_t modifiers );
07169
07178 xcb_void_cookie_t
07179 xcb_ungrab_button (xcb_connection_t *c ,
07180 uint8_t button ,
07181 xcb_window_t grab_window ,
07182 uint16_t modifiers );
07183
07195 xcb_void_cookie_t
07196 xcb_change_active_pointer_grab_checked (xcb_connection_t *c ,
07197 xcb_cursor_t cursor ,
07198 xcb_timestamp_t time ,
07199 uint16_t event_mask );
07200
07209 xcb_void_cookie_t
07210 xcb_change_active_pointer_grab (xcb_connection_t *c ,
07211 xcb_cursor_t cursor ,
07212 xcb_timestamp_t time ,
07213 uint16_t event_mask );
07214
07244 xcb_grab_keyboard_cookie_t
07245 xcb_grab_keyboard (xcb_connection_t *c ,
07246 uint8_t owner_events ,
07247 xcb_window_t grab_window ,
07248 xcb_timestamp_t time ,
07249 uint8_t pointer_mode ,
07250 uint8_t keyboard_mode );
07251
07284 xcb_grab_keyboard_cookie_t
07285 xcb_grab_keyboard_unchecked (xcb_connection_t *c ,
07286 uint8_t owner_events ,
07287 xcb_window_t grab_window ,
07288 xcb_timestamp_t time ,
07289 uint8_t pointer_mode ,
07290 uint8_t keyboard_mode );
07291
07306 xcb_grab_keyboard_reply_t *
07307 xcb_grab_keyboard_reply (xcb_connection_t *c ,
07308 xcb_grab_keyboard_cookie_t cookie ,
07309 xcb_generic_error_t **e );
07310
07322 xcb_void_cookie_t
07323 xcb_ungrab_keyboard_checked (xcb_connection_t *c ,
07324 xcb_timestamp_t time );
07325
07334 xcb_void_cookie_t
07335 xcb_ungrab_keyboard (xcb_connection_t *c ,
07336 xcb_timestamp_t time );
07337
07393 xcb_void_cookie_t
07394 xcb_grab_key_checked (xcb_connection_t *c ,
07395 uint8_t owner_events ,
07396 xcb_window_t grab_window ,
07397 uint16_t modifiers ,
07398 xcb_keycode_t key ,
07399 uint8_t pointer_mode ,
07400 uint8_t keyboard_mode );
07401
07454 xcb_void_cookie_t
07455 xcb_grab_key (xcb_connection_t *c ,
07456 uint8_t owner_events ,
07457 xcb_window_t grab_window ,
07458 uint16_t modifiers ,
07459 xcb_keycode_t key ,
07460 uint8_t pointer_mode ,
07461 uint8_t keyboard_mode );
07462
07484 xcb_void_cookie_t
07485 xcb_ungrab_key_checked (xcb_connection_t *c ,
07486 xcb_keycode_t key ,
07487 xcb_window_t grab_window ,
07488 uint16_t modifiers );
07489
07508 xcb_void_cookie_t
07509 xcb_ungrab_key (xcb_connection_t *c ,
07510 xcb_keycode_t key ,
07511 xcb_window_t grab_window ,
07512 uint16_t modifiers );
07513
07535 xcb_void_cookie_t
07536 xcb_allow_events_checked (xcb_connection_t *c ,
07537 uint8_t mode ,
07538 xcb_timestamp_t time );
07539
07558 xcb_void_cookie_t
07559 xcb_allow_events (xcb_connection_t *c ,
07560 uint8_t mode ,
07561 xcb_timestamp_t time );
07562
07574 xcb_void_cookie_t
07575 xcb_grab_server_checked (xcb_connection_t *c );
07576
07585 xcb_void_cookie_t
07586 xcb_grab_server (xcb_connection_t *c );
07587
07599 xcb_void_cookie_t
07600 xcb_ungrab_server_checked (xcb_connection_t *c );
07601
07610 xcb_void_cookie_t
07611 xcb_ungrab_server (xcb_connection_t *c );
07612
07625 xcb_query_pointer_cookie_t
07626 xcb_query_pointer (xcb_connection_t *c ,
07627 xcb_window_t window );
07628
07644 xcb_query_pointer_cookie_t
07645 xcb_query_pointer_unchecked (xcb_connection_t *c ,
07646 xcb_window_t window );
07647
07662 xcb_query_pointer_reply_t *
07663 xcb_query_pointer_reply (xcb_connection_t *c ,
07664 xcb_query_pointer_cookie_t cookie ,
07665 xcb_generic_error_t **e );
07666
07675 void
07676 xcb_timecoord_next (xcb_timecoord_iterator_t *i );
07677
07687 xcb_generic_iterator_t
07688 xcb_timecoord_end (xcb_timecoord_iterator_t i );
07689
07690 int
07691 xcb_get_motion_events_sizeof (const void *_buffer );
07692
07701 xcb_get_motion_events_cookie_t
07702 xcb_get_motion_events (xcb_connection_t *c ,
07703 xcb_window_t window ,
07704 xcb_timestamp_t start ,
07705 xcb_timestamp_t stop );
07706
07718 xcb_get_motion_events_cookie_t
07719 xcb_get_motion_events_unchecked (xcb_connection_t *c ,
07720 xcb_window_t window ,
07721 xcb_timestamp_t start ,
07722 xcb_timestamp_t stop );
07723
07724 xcb_timecoord_t *
07725 xcb_get_motion_events_events (const xcb_get_motion_events_reply_t *R );
07726
07727 int
07728 xcb_get_motion_events_events_length (const xcb_get_motion_events_reply_t *R );
07729
07730 xcb_timecoord_iterator_t
07731 xcb_get_motion_events_events_iterator (const xcb_get_motion_events_reply_t *R );
07732
07747 xcb_get_motion_events_reply_t *
07748 xcb_get_motion_events_reply (xcb_connection_t *c ,
07749 xcb_get_motion_events_cookie_t cookie ,
07750 xcb_generic_error_t **e );
07751
07760 xcb_translate_coordinates_cookie_t
07761 xcb_translate_coordinates (xcb_connection_t *c ,
07762 xcb_window_t src_window ,
07763 xcb_window_t dst_window ,
07764 int16_t src_x ,
07765 int16_t src_y );
07766
07778 xcb_translate_coordinates_cookie_t
07779 xcb_translate_coordinates_unchecked (xcb_connection_t *c ,
07780 xcb_window_t src_window ,
07781 xcb_window_t dst_window ,
07782 int16_t src_x ,
07783 int16_t src_y );
07784
07799 xcb_translate_coordinates_reply_t *
07800 xcb_translate_coordinates_reply (xcb_connection_t *c ,
07801 xcb_translate_coordinates_cookie_t cookie ,
07802 xcb_generic_error_t **e );
07803
07834 xcb_void_cookie_t
07835 xcb_warp_pointer_checked (xcb_connection_t *c ,
07836 xcb_window_t src_window ,
07837 xcb_window_t dst_window ,
07838 int16_t src_x ,
07839 int16_t src_y ,
07840 uint16_t src_width ,
07841 uint16_t src_height ,
07842 int16_t dst_x ,
07843 int16_t dst_y );
07844
07872 xcb_void_cookie_t
07873 xcb_warp_pointer (xcb_connection_t *c ,
07874 xcb_window_t src_window ,
07875 xcb_window_t dst_window ,
07876 int16_t src_x ,
07877 int16_t src_y ,
07878 uint16_t src_width ,
07879 uint16_t src_height ,
07880 int16_t dst_x ,
07881 int16_t dst_y );
07882
07914 xcb_void_cookie_t
07915 xcb_set_input_focus_checked (xcb_connection_t *c ,
07916 uint8_t revert_to ,
07917 xcb_window_t focus ,
07918 xcb_timestamp_t time );
07919
07948 xcb_void_cookie_t
07949 xcb_set_input_focus (xcb_connection_t *c ,
07950 uint8_t revert_to ,
07951 xcb_window_t focus ,
07952 xcb_timestamp_t time );
07953
07962 xcb_get_input_focus_cookie_t
07963 xcb_get_input_focus (xcb_connection_t *c );
07964
07976 xcb_get_input_focus_cookie_t
07977 xcb_get_input_focus_unchecked (xcb_connection_t *c );
07978
07993 xcb_get_input_focus_reply_t *
07994 xcb_get_input_focus_reply (xcb_connection_t *c ,
07995 xcb_get_input_focus_cookie_t cookie ,
07996 xcb_generic_error_t **e );
07997
08006 xcb_query_keymap_cookie_t
08007 xcb_query_keymap (xcb_connection_t *c );
08008
08020 xcb_query_keymap_cookie_t
08021 xcb_query_keymap_unchecked (xcb_connection_t *c );
08022
08037 xcb_query_keymap_reply_t *
08038 xcb_query_keymap_reply (xcb_connection_t *c ,
08039 xcb_query_keymap_cookie_t cookie ,
08040 xcb_generic_error_t **e );
08041
08042 int
08043 xcb_open_font_sizeof (const void *_buffer );
08044
08063 xcb_void_cookie_t
08064 xcb_open_font_checked (xcb_connection_t *c ,
08065 xcb_font_t fid ,
08066 uint16_t name_len ,
08067 const char *name );
08068
08084 xcb_void_cookie_t
08085 xcb_open_font (xcb_connection_t *c ,
08086 xcb_font_t fid ,
08087 uint16_t name_len ,
08088 const char *name );
08089
08101 xcb_void_cookie_t
08102 xcb_close_font_checked (xcb_connection_t *c ,
08103 xcb_font_t font );
08104
08113 xcb_void_cookie_t
08114 xcb_close_font (xcb_connection_t *c ,
08115 xcb_font_t font );
08116
08125 void
08126 xcb_fontprop_next (xcb_fontprop_iterator_t *i );
08127
08137 xcb_generic_iterator_t
08138 xcb_fontprop_end (xcb_fontprop_iterator_t i );
08139
08148 void
08149 xcb_charinfo_next (xcb_charinfo_iterator_t *i );
08150
08160 xcb_generic_iterator_t
08161 xcb_charinfo_end (xcb_charinfo_iterator_t i );
08162
08163 int
08164 xcb_query_font_sizeof (const void *_buffer );
08165
08176 xcb_query_font_cookie_t
08177 xcb_query_font (xcb_connection_t *c ,
08178 xcb_fontable_t font );
08179
08193 xcb_query_font_cookie_t
08194 xcb_query_font_unchecked (xcb_connection_t *c ,
08195 xcb_fontable_t font );
08196
08197 xcb_fontprop_t *
08198 xcb_query_font_properties (const xcb_query_font_reply_t *R );
08199
08200 int
08201 xcb_query_font_properties_length (const xcb_query_font_reply_t *R );
08202
08203 xcb_fontprop_iterator_t
08204 xcb_query_font_properties_iterator (const xcb_query_font_reply_t *R );
08205
08206 xcb_charinfo_t *
08207 xcb_query_font_char_infos (const xcb_query_font_reply_t *R );
08208
08209 int
08210 xcb_query_font_char_infos_length (const xcb_query_font_reply_t *R );
08211
08212 xcb_charinfo_iterator_t
08213 xcb_query_font_char_infos_iterator (const xcb_query_font_reply_t *R );
08214
08229 xcb_query_font_reply_t *
08230 xcb_query_font_reply (xcb_connection_t *c ,
08231 xcb_query_font_cookie_t cookie ,
08232 xcb_generic_error_t **e );
08233
08234 int
08235 xcb_query_text_extents_sizeof (const void *_buffer ,
08236 uint32_t string_len );
08237
08270 xcb_query_text_extents_cookie_t
08271 xcb_query_text_extents (xcb_connection_t *c ,
08272 xcb_fontable_t font ,
08273 uint32_t string_len ,
08274 const xcb_char2b_t *string );
08275
08311 xcb_query_text_extents_cookie_t
08312 xcb_query_text_extents_unchecked (xcb_connection_t *c ,
08313 xcb_fontable_t font ,
08314 uint32_t string_len ,
08315 const xcb_char2b_t *string );
08316
08331 xcb_query_text_extents_reply_t *
08332 xcb_query_text_extents_reply (xcb_connection_t *c ,
08333 xcb_query_text_extents_cookie_t cookie ,
08334 xcb_generic_error_t **e );
08335
08336 int
08337 xcb_str_sizeof (const void *_buffer );
08338
08339 char *
08340 xcb_str_name (const xcb_str_t *R );
08341
08342 int
08343 xcb_str_name_length (const xcb_str_t *R );
08344
08345 xcb_generic_iterator_t
08346 xcb_str_name_end (const xcb_str_t *R );
08347
08356 void
08357 xcb_str_next (xcb_str_iterator_t *i );
08358
08368 xcb_generic_iterator_t
08369 xcb_str_end (xcb_str_iterator_t i );
08370
08371 int
08372 xcb_list_fonts_sizeof (const void *_buffer );
08373
08390 xcb_list_fonts_cookie_t
08391 xcb_list_fonts (xcb_connection_t *c ,
08392 uint16_t max_names ,
08393 uint16_t pattern_len ,
08394 const char *pattern );
08395
08415 xcb_list_fonts_cookie_t
08416 xcb_list_fonts_unchecked (xcb_connection_t *c ,
08417 uint16_t max_names ,
08418 uint16_t pattern_len ,
08419 const char *pattern );
08420
08421 int
08422 xcb_list_fonts_names_length (const xcb_list_fonts_reply_t *R );
08423
08424 xcb_str_iterator_t
08425 xcb_list_fonts_names_iterator (const xcb_list_fonts_reply_t *R );
08426
08441 xcb_list_fonts_reply_t *
08442 xcb_list_fonts_reply (xcb_connection_t *c ,
08443 xcb_list_fonts_cookie_t cookie ,
08444 xcb_generic_error_t **e );
08445
08446 int
08447 xcb_list_fonts_with_info_sizeof (const void *_buffer );
08448
08465 xcb_list_fonts_with_info_cookie_t
08466 xcb_list_fonts_with_info (xcb_connection_t *c ,
08467 uint16_t max_names ,
08468 uint16_t pattern_len ,
08469 const char *pattern );
08470
08490 xcb_list_fonts_with_info_cookie_t
08491 xcb_list_fonts_with_info_unchecked (xcb_connection_t *c ,
08492 uint16_t max_names ,
08493 uint16_t pattern_len ,
08494 const char *pattern );
08495
08496 xcb_fontprop_t *
08497 xcb_list_fonts_with_info_properties (const xcb_list_fonts_with_info_reply_t *R );
08498
08499 int
08500 xcb_list_fonts_with_info_properties_length (const xcb_list_fonts_with_info_reply_t *R );
08501
08502 xcb_fontprop_iterator_t
08503 xcb_list_fonts_with_info_properties_iterator (const xcb_list_fonts_with_info_reply_t *R );
08504
08505 char *
08506 xcb_list_fonts_with_info_name (const xcb_list_fonts_with_info_reply_t *R );
08507
08508 int
08509 xcb_list_fonts_with_info_name_length (const xcb_list_fonts_with_info_reply_t *R );
08510
08511 xcb_generic_iterator_t
08512 xcb_list_fonts_with_info_name_end (const xcb_list_fonts_with_info_reply_t *R );
08513
08528 xcb_list_fonts_with_info_reply_t *
08529 xcb_list_fonts_with_info_reply (xcb_connection_t *c ,
08530 xcb_list_fonts_with_info_cookie_t cookie ,
08531 xcb_generic_error_t **e );
08532
08533 int
08534 xcb_set_font_path_sizeof (const void *_buffer );
08535
08547 xcb_void_cookie_t
08548 xcb_set_font_path_checked (xcb_connection_t *c ,
08549 uint16_t font_qty ,
08550 const xcb_str_t *font );
08551
08560 xcb_void_cookie_t
08561 xcb_set_font_path (xcb_connection_t *c ,
08562 uint16_t font_qty ,
08563 const xcb_str_t *font );
08564
08565 int
08566 xcb_get_font_path_sizeof (const void *_buffer );
08567
08576 xcb_get_font_path_cookie_t
08577 xcb_get_font_path (xcb_connection_t *c );
08578
08590 xcb_get_font_path_cookie_t
08591 xcb_get_font_path_unchecked (xcb_connection_t *c );
08592
08593 int
08594 xcb_get_font_path_path_length (const xcb_get_font_path_reply_t *R );
08595
08596 xcb_str_iterator_t
08597 xcb_get_font_path_path_iterator (const xcb_get_font_path_reply_t *R );
08598
08613 xcb_get_font_path_reply_t *
08614 xcb_get_font_path_reply (xcb_connection_t *c ,
08615 xcb_get_font_path_cookie_t cookie ,
08616 xcb_generic_error_t **e );
08617
08637 xcb_void_cookie_t
08638 xcb_create_pixmap_checked (xcb_connection_t *c ,
08639 uint8_t depth ,
08640 xcb_pixmap_t pid ,
08641 xcb_drawable_t drawable ,
08642 uint16_t width ,
08643 uint16_t height );
08644
08661 xcb_void_cookie_t
08662 xcb_create_pixmap (xcb_connection_t *c ,
08663 uint8_t depth ,
08664 xcb_pixmap_t pid ,
08665 xcb_drawable_t drawable ,
08666 uint16_t width ,
08667 uint16_t height );
08668
08683 xcb_void_cookie_t
08684 xcb_free_pixmap_checked (xcb_connection_t *c ,
08685 xcb_pixmap_t pixmap );
08686
08698 xcb_void_cookie_t
08699 xcb_free_pixmap (xcb_connection_t *c ,
08700 xcb_pixmap_t pixmap );
08701
08702 int
08703 xcb_create_gc_sizeof (const void *_buffer );
08704
08721 xcb_void_cookie_t
08722 xcb_create_gc_checked (xcb_connection_t *c ,
08723 xcb_gcontext_t cid ,
08724 xcb_drawable_t drawable ,
08725 uint32_t value_mask ,
08726 const uint32_t *value_list );
08727
08741 xcb_void_cookie_t
08742 xcb_create_gc (xcb_connection_t *c ,
08743 xcb_gcontext_t cid ,
08744 xcb_drawable_t drawable ,
08745 uint32_t value_mask ,
08746 const uint32_t *value_list );
08747
08748 int
08749 xcb_change_gc_sizeof (const void *_buffer );
08750
08769 xcb_void_cookie_t
08770 xcb_change_gc_checked (xcb_connection_t *c ,
08771 xcb_gcontext_t gc ,
08772 uint32_t value_mask ,
08773 const uint32_t *value_list );
08774
08790 xcb_void_cookie_t
08791 xcb_change_gc (xcb_connection_t *c ,
08792 xcb_gcontext_t gc ,
08793 uint32_t value_mask ,
08794 const uint32_t *value_list );
08795
08807 xcb_void_cookie_t
08808 xcb_copy_gc_checked (xcb_connection_t *c ,
08809 xcb_gcontext_t src_gc ,
08810 xcb_gcontext_t dst_gc ,
08811 uint32_t value_mask );
08812
08821 xcb_void_cookie_t
08822 xcb_copy_gc (xcb_connection_t *c ,
08823 xcb_gcontext_t src_gc ,
08824 xcb_gcontext_t dst_gc ,
08825 uint32_t value_mask );
08826
08827 int
08828 xcb_set_dashes_sizeof (const void *_buffer );
08829
08841 xcb_void_cookie_t
08842 xcb_set_dashes_checked (xcb_connection_t *c ,
08843 xcb_gcontext_t gc ,
08844 uint16_t dash_offset ,
08845 uint16_t dashes_len ,
08846 const uint8_t *dashes );
08847
08856 xcb_void_cookie_t
08857 xcb_set_dashes (xcb_connection_t *c ,
08858 xcb_gcontext_t gc ,
08859 uint16_t dash_offset ,
08860 uint16_t dashes_len ,
08861 const uint8_t *dashes );
08862
08863 int
08864 xcb_set_clip_rectangles_sizeof (const void *_buffer ,
08865 uint32_t rectangles_len );
08866
08878 xcb_void_cookie_t
08879 xcb_set_clip_rectangles_checked (xcb_connection_t *c ,
08880 uint8_t ordering ,
08881 xcb_gcontext_t gc ,
08882 int16_t clip_x_origin ,
08883 int16_t clip_y_origin ,
08884 uint32_t rectangles_len ,
08885 const xcb_rectangle_t *rectangles );
08886
08895 xcb_void_cookie_t
08896 xcb_set_clip_rectangles (xcb_connection_t *c ,
08897 uint8_t ordering ,
08898 xcb_gcontext_t gc ,
08899 int16_t clip_x_origin ,
08900 int16_t clip_y_origin ,
08901 uint32_t rectangles_len ,
08902 const xcb_rectangle_t *rectangles );
08903
08917 xcb_void_cookie_t
08918 xcb_free_gc_checked (xcb_connection_t *c ,
08919 xcb_gcontext_t gc );
08920
08931 xcb_void_cookie_t
08932 xcb_free_gc (xcb_connection_t *c ,
08933 xcb_gcontext_t gc );
08934
08946 xcb_void_cookie_t
08947 xcb_clear_area_checked (xcb_connection_t *c ,
08948 uint8_t exposures ,
08949 xcb_window_t window ,
08950 int16_t x ,
08951 int16_t y ,
08952 uint16_t width ,
08953 uint16_t height );
08954
08963 xcb_void_cookie_t
08964 xcb_clear_area (xcb_connection_t *c ,
08965 uint8_t exposures ,
08966 xcb_window_t window ,
08967 int16_t x ,
08968 int16_t y ,
08969 uint16_t width ,
08970 uint16_t height );
08971
08993 xcb_void_cookie_t
08994 xcb_copy_area_checked (xcb_connection_t *c ,
08995 xcb_drawable_t src_drawable ,
08996 xcb_drawable_t dst_drawable ,
08997 xcb_gcontext_t gc ,
08998 int16_t src_x ,
08999 int16_t src_y ,
09000 int16_t dst_x ,
09001 int16_t dst_y ,
09002 uint16_t width ,
09003 uint16_t height );
09004
09023 xcb_void_cookie_t
09024 xcb_copy_area (xcb_connection_t *c ,
09025 xcb_drawable_t src_drawable ,
09026 xcb_drawable_t dst_drawable ,
09027 xcb_gcontext_t gc ,
09028 int16_t src_x ,
09029 int16_t src_y ,
09030 int16_t dst_x ,
09031 int16_t dst_y ,
09032 uint16_t width ,
09033 uint16_t height );
09034
09046 xcb_void_cookie_t
09047 xcb_copy_plane_checked (xcb_connection_t *c ,
09048 xcb_drawable_t src_drawable ,
09049 xcb_drawable_t dst_drawable ,
09050 xcb_gcontext_t gc ,
09051 int16_t src_x ,
09052 int16_t src_y ,
09053 int16_t dst_x ,
09054 int16_t dst_y ,
09055 uint16_t width ,
09056 uint16_t height ,
09057 uint32_t bit_plane );
09058
09067 xcb_void_cookie_t
09068 xcb_copy_plane (xcb_connection_t *c ,
09069 xcb_drawable_t src_drawable ,
09070 xcb_drawable_t dst_drawable ,
09071 xcb_gcontext_t gc ,
09072 int16_t src_x ,
09073 int16_t src_y ,
09074 int16_t dst_x ,
09075 int16_t dst_y ,
09076 uint16_t width ,
09077 uint16_t height ,
09078 uint32_t bit_plane );
09079
09080 int
09081 xcb_poly_point_sizeof (const void *_buffer ,
09082 uint32_t points_len );
09083
09095 xcb_void_cookie_t
09096 xcb_poly_point_checked (xcb_connection_t *c ,
09097 uint8_t coordinate_mode ,
09098 xcb_drawable_t drawable ,
09099 xcb_gcontext_t gc ,
09100 uint32_t points_len ,
09101 const xcb_point_t *points );
09102
09111 xcb_void_cookie_t
09112 xcb_poly_point (xcb_connection_t *c ,
09113 uint8_t coordinate_mode ,
09114 xcb_drawable_t drawable ,
09115 xcb_gcontext_t gc ,
09116 uint32_t points_len ,
09117 const xcb_point_t *points );
09118
09119 int
09120 xcb_poly_line_sizeof (const void *_buffer ,
09121 uint32_t points_len );
09122
09148 xcb_void_cookie_t
09149 xcb_poly_line_checked (xcb_connection_t *c ,
09150 uint8_t coordinate_mode ,
09151 xcb_drawable_t drawable ,
09152 xcb_gcontext_t gc ,
09153 uint32_t points_len ,
09154 const xcb_point_t *points );
09155
09178 xcb_void_cookie_t
09179 xcb_poly_line (xcb_connection_t *c ,
09180 uint8_t coordinate_mode ,
09181 xcb_drawable_t drawable ,
09182 xcb_gcontext_t gc ,
09183 uint32_t points_len ,
09184 const xcb_point_t *points );
09185
09194 void
09195 xcb_segment_next (xcb_segment_iterator_t *i );
09196
09206 xcb_generic_iterator_t
09207 xcb_segment_end (xcb_segment_iterator_t i );
09208
09209 int
09210 xcb_poly_segment_sizeof (const void *_buffer ,
09211 uint32_t segments_len );
09212
09239 xcb_void_cookie_t
09240 xcb_poly_segment_checked (xcb_connection_t *c ,
09241 xcb_drawable_t drawable ,
09242 xcb_gcontext_t gc ,
09243 uint32_t segments_len ,
09244 const xcb_segment_t *segments );
09245
09269 xcb_void_cookie_t
09270 xcb_poly_segment (xcb_connection_t *c ,
09271 xcb_drawable_t drawable ,
09272 xcb_gcontext_t gc ,
09273 uint32_t segments_len ,
09274 const xcb_segment_t *segments );
09275
09276 int
09277 xcb_poly_rectangle_sizeof (const void *_buffer ,
09278 uint32_t rectangles_len );
09279
09291 xcb_void_cookie_t
09292 xcb_poly_rectangle_checked (xcb_connection_t *c ,
09293 xcb_drawable_t drawable ,
09294 xcb_gcontext_t gc ,
09295 uint32_t rectangles_len ,
09296 const xcb_rectangle_t *rectangles );
09297
09306 xcb_void_cookie_t
09307 xcb_poly_rectangle (xcb_connection_t *c ,
09308 xcb_drawable_t drawable ,
09309 xcb_gcontext_t gc ,
09310 uint32_t rectangles_len ,
09311 const xcb_rectangle_t *rectangles );
09312
09313 int
09314 xcb_poly_arc_sizeof (const void *_buffer ,
09315 uint32_t arcs_len );
09316
09328 xcb_void_cookie_t
09329 xcb_poly_arc_checked (xcb_connection_t *c ,
09330 xcb_drawable_t drawable ,
09331 xcb_gcontext_t gc ,
09332 uint32_t arcs_len ,
09333 const xcb_arc_t *arcs );
09334
09343 xcb_void_cookie_t
09344 xcb_poly_arc (xcb_connection_t *c ,
09345 xcb_drawable_t drawable ,
09346 xcb_gcontext_t gc ,
09347 uint32_t arcs_len ,
09348 const xcb_arc_t *arcs );
09349
09350 int
09351 xcb_fill_poly_sizeof (const void *_buffer ,
09352 uint32_t points_len );
09353
09365 xcb_void_cookie_t
09366 xcb_fill_poly_checked (xcb_connection_t *c ,
09367 xcb_drawable_t drawable ,
09368 xcb_gcontext_t gc ,
09369 uint8_t shape ,
09370 uint8_t coordinate_mode ,
09371 uint32_t points_len ,
09372 const xcb_point_t *points );
09373
09382 xcb_void_cookie_t
09383 xcb_fill_poly (xcb_connection_t *c ,
09384 xcb_drawable_t drawable ,
09385 xcb_gcontext_t gc ,
09386 uint8_t shape ,
09387 uint8_t coordinate_mode ,
09388 uint32_t points_len ,
09389 const xcb_point_t *points );
09390
09391 int
09392 xcb_poly_fill_rectangle_sizeof (const void *_buffer ,
09393 uint32_t rectangles_len );
09394
09420 xcb_void_cookie_t
09421 xcb_poly_fill_rectangle_checked (xcb_connection_t *c ,
09422 xcb_drawable_t drawable ,
09423 xcb_gcontext_t gc ,
09424 uint32_t rectangles_len ,
09425 const xcb_rectangle_t *rectangles );
09426
09449 xcb_void_cookie_t
09450 xcb_poly_fill_rectangle (xcb_connection_t *c ,
09451 xcb_drawable_t drawable ,
09452 xcb_gcontext_t gc ,
09453 uint32_t rectangles_len ,
09454 const xcb_rectangle_t *rectangles );
09455
09456 int
09457 xcb_poly_fill_arc_sizeof (const void *_buffer ,
09458 uint32_t arcs_len );
09459
09471 xcb_void_cookie_t
09472 xcb_poly_fill_arc_checked (xcb_connection_t *c ,
09473 xcb_drawable_t drawable ,
09474 xcb_gcontext_t gc ,
09475 uint32_t arcs_len ,
09476 const xcb_arc_t *arcs );
09477
09486 xcb_void_cookie_t
09487 xcb_poly_fill_arc (xcb_connection_t *c ,
09488 xcb_drawable_t drawable ,
09489 xcb_gcontext_t gc ,
09490 uint32_t arcs_len ,
09491 const xcb_arc_t *arcs );
09492
09493 int
09494 xcb_put_image_sizeof (const void *_buffer ,
09495 uint32_t data_len );
09496
09508 xcb_void_cookie_t
09509 xcb_put_image_checked (xcb_connection_t *c ,
09510 uint8_t format ,
09511 xcb_drawable_t drawable ,
09512 xcb_gcontext_t gc ,
09513 uint16_t width ,
09514 uint16_t height ,
09515 int16_t dst_x ,
09516 int16_t dst_y ,
09517 uint8_t left_pad ,
09518 uint8_t depth ,
09519 uint32_t data_len ,
09520 const uint8_t *data );
09521
09530 xcb_void_cookie_t
09531 xcb_put_image (xcb_connection_t *c ,
09532 uint8_t format ,
09533 xcb_drawable_t drawable ,
09534 xcb_gcontext_t gc ,
09535 uint16_t width ,
09536 uint16_t height ,
09537 int16_t dst_x ,
09538 int16_t dst_y ,
09539 uint8_t left_pad ,
09540 uint8_t depth ,
09541 uint32_t data_len ,
09542 const uint8_t *data );
09543
09544 int
09545 xcb_get_image_sizeof (const void *_buffer );
09546
09555 xcb_get_image_cookie_t
09556 xcb_get_image (xcb_connection_t *c ,
09557 uint8_t format ,
09558 xcb_drawable_t drawable ,
09559 int16_t x ,
09560 int16_t y ,
09561 uint16_t width ,
09562 uint16_t height ,
09563 uint32_t plane_mask );
09564
09576 xcb_get_image_cookie_t
09577 xcb_get_image_unchecked (xcb_connection_t *c ,
09578 uint8_t format ,
09579 xcb_drawable_t drawable ,
09580 int16_t x ,
09581 int16_t y ,
09582 uint16_t width ,
09583 uint16_t height ,
09584 uint32_t plane_mask );
09585
09586 uint8_t *
09587 xcb_get_image_data (const xcb_get_image_reply_t *R );
09588
09589 int
09590 xcb_get_image_data_length (const xcb_get_image_reply_t *R );
09591
09592 xcb_generic_iterator_t
09593 xcb_get_image_data_end (const xcb_get_image_reply_t *R );
09594
09609 xcb_get_image_reply_t *
09610 xcb_get_image_reply (xcb_connection_t *c ,
09611 xcb_get_image_cookie_t cookie ,
09612 xcb_generic_error_t **e );
09613
09614 int
09615 xcb_poly_text_8_sizeof (const void *_buffer ,
09616 uint32_t items_len );
09617
09629 xcb_void_cookie_t
09630 xcb_poly_text_8_checked (xcb_connection_t *c ,
09631 xcb_drawable_t drawable ,
09632 xcb_gcontext_t gc ,
09633 int16_t x ,
09634 int16_t y ,
09635 uint32_t items_len ,
09636 const uint8_t *items );
09637
09646 xcb_void_cookie_t
09647 xcb_poly_text_8 (xcb_connection_t *c ,
09648 xcb_drawable_t drawable ,
09649 xcb_gcontext_t gc ,
09650 int16_t x ,
09651 int16_t y ,
09652 uint32_t items_len ,
09653 const uint8_t *items );
09654
09655 int
09656 xcb_poly_text_16_sizeof (const void *_buffer ,
09657 uint32_t items_len );
09658
09670 xcb_void_cookie_t
09671 xcb_poly_text_16_checked (xcb_connection_t *c ,
09672 xcb_drawable_t drawable ,
09673 xcb_gcontext_t gc ,
09674 int16_t x ,
09675 int16_t y ,
09676 uint32_t items_len ,
09677 const uint8_t *items );
09678
09687 xcb_void_cookie_t
09688 xcb_poly_text_16 (xcb_connection_t *c ,
09689 xcb_drawable_t drawable ,
09690 xcb_gcontext_t gc ,
09691 int16_t x ,
09692 int16_t y ,
09693 uint32_t items_len ,
09694 const uint8_t *items );
09695
09696 int
09697 xcb_image_text_8_sizeof (const void *_buffer );
09698
09729 xcb_void_cookie_t
09730 xcb_image_text_8_checked (xcb_connection_t *c ,
09731 uint8_t string_len ,
09732 xcb_drawable_t drawable ,
09733 xcb_gcontext_t gc ,
09734 int16_t x ,
09735 int16_t y ,
09736 const char *string );
09737
09765 xcb_void_cookie_t
09766 xcb_image_text_8 (xcb_connection_t *c ,
09767 uint8_t string_len ,
09768 xcb_drawable_t drawable ,
09769 xcb_gcontext_t gc ,
09770 int16_t x ,
09771 int16_t y ,
09772 const char *string );
09773
09774 int
09775 xcb_image_text_16_sizeof (const void *_buffer );
09776
09808 xcb_void_cookie_t
09809 xcb_image_text_16_checked (xcb_connection_t *c ,
09810 uint8_t string_len ,
09811 xcb_drawable_t drawable ,
09812 xcb_gcontext_t gc ,
09813 int16_t x ,
09814 int16_t y ,
09815 const xcb_char2b_t *string );
09816
09845 xcb_void_cookie_t
09846 xcb_image_text_16 (xcb_connection_t *c ,
09847 uint8_t string_len ,
09848 xcb_drawable_t drawable ,
09849 xcb_gcontext_t gc ,
09850 int16_t x ,
09851 int16_t y ,
09852 const xcb_char2b_t *string );
09853
09865 xcb_void_cookie_t
09866 xcb_create_colormap_checked (xcb_connection_t *c ,
09867 uint8_t alloc ,
09868 xcb_colormap_t mid ,
09869 xcb_window_t window ,
09870 xcb_visualid_t visual );
09871
09880 xcb_void_cookie_t
09881 xcb_create_colormap (xcb_connection_t *c ,
09882 uint8_t alloc ,
09883 xcb_colormap_t mid ,
09884 xcb_window_t window ,
09885 xcb_visualid_t visual );
09886
09898 xcb_void_cookie_t
09899 xcb_free_colormap_checked (xcb_connection_t *c ,
09900 xcb_colormap_t cmap );
09901
09910 xcb_void_cookie_t
09911 xcb_free_colormap (xcb_connection_t *c ,
09912 xcb_colormap_t cmap );
09913
09925 xcb_void_cookie_t
09926 xcb_copy_colormap_and_free_checked (xcb_connection_t *c ,
09927 xcb_colormap_t mid ,
09928 xcb_colormap_t src_cmap );
09929
09938 xcb_void_cookie_t
09939 xcb_copy_colormap_and_free (xcb_connection_t *c ,
09940 xcb_colormap_t mid ,
09941 xcb_colormap_t src_cmap );
09942
09954 xcb_void_cookie_t
09955 xcb_install_colormap_checked (xcb_connection_t *c ,
09956 xcb_colormap_t cmap );
09957
09966 xcb_void_cookie_t
09967 xcb_install_colormap (xcb_connection_t *c ,
09968 xcb_colormap_t cmap );
09969
09981 xcb_void_cookie_t
09982 xcb_uninstall_colormap_checked (xcb_connection_t *c ,
09983 xcb_colormap_t cmap );
09984
09993 xcb_void_cookie_t
09994 xcb_uninstall_colormap (xcb_connection_t *c ,
09995 xcb_colormap_t cmap );
09996
09997 int
09998 xcb_list_installed_colormaps_sizeof (const void *_buffer );
09999
10008 xcb_list_installed_colormaps_cookie_t
10009 xcb_list_installed_colormaps (xcb_connection_t *c ,
10010 xcb_window_t window );
10011
10023 xcb_list_installed_colormaps_cookie_t
10024 xcb_list_installed_colormaps_unchecked (xcb_connection_t *c ,
10025 xcb_window_t window );
10026
10027 xcb_colormap_t *
10028 xcb_list_installed_colormaps_cmaps (const xcb_list_installed_colormaps_reply_t *R );
10029
10030 int
10031 xcb_list_installed_colormaps_cmaps_length (const xcb_list_installed_colormaps_reply_t *R );
10032
10033 xcb_generic_iterator_t
10034 xcb_list_installed_colormaps_cmaps_end (const xcb_list_installed_colormaps_reply_t *R );
10035
10050 xcb_list_installed_colormaps_reply_t *
10051 xcb_list_installed_colormaps_reply (xcb_connection_t *c ,
10052 xcb_list_installed_colormaps_cookie_t cookie ,
10053 xcb_generic_error_t **e );
10054
10072 xcb_alloc_color_cookie_t
10073 xcb_alloc_color (xcb_connection_t *c ,
10074 xcb_colormap_t cmap ,
10075 uint16_t red ,
10076 uint16_t green ,
10077 uint16_t blue );
10078
10099 xcb_alloc_color_cookie_t
10100 xcb_alloc_color_unchecked (xcb_connection_t *c ,
10101 xcb_colormap_t cmap ,
10102 uint16_t red ,
10103 uint16_t green ,
10104 uint16_t blue );
10105
10120 xcb_alloc_color_reply_t *
10121 xcb_alloc_color_reply (xcb_connection_t *c ,
10122 xcb_alloc_color_cookie_t cookie ,
10123 xcb_generic_error_t **e );
10124
10125 int
10126 xcb_alloc_named_color_sizeof (const void *_buffer );
10127
10136 xcb_alloc_named_color_cookie_t
10137 xcb_alloc_named_color (xcb_connection_t *c ,
10138 xcb_colormap_t cmap ,
10139 uint16_t name_len ,
10140 const char *name );
10141
10153 xcb_alloc_named_color_cookie_t
10154 xcb_alloc_named_color_unchecked (xcb_connection_t *c ,
10155 xcb_colormap_t cmap ,
10156 uint16_t name_len ,
10157 const char *name );
10158
10173 xcb_alloc_named_color_reply_t *
10174 xcb_alloc_named_color_reply (xcb_connection_t *c ,
10175 xcb_alloc_named_color_cookie_t cookie ,
10176 xcb_generic_error_t **e );
10177
10178 int
10179 xcb_alloc_color_cells_sizeof (const void *_buffer );
10180
10189 xcb_alloc_color_cells_cookie_t
10190 xcb_alloc_color_cells (xcb_connection_t *c ,
10191 uint8_t contiguous ,
10192 xcb_colormap_t cmap ,
10193 uint16_t colors ,
10194 uint16_t planes );
10195
10207 xcb_alloc_color_cells_cookie_t
10208 xcb_alloc_color_cells_unchecked (xcb_connection_t *c ,
10209 uint8_t contiguous ,
10210 xcb_colormap_t cmap ,
10211 uint16_t colors ,
10212 uint16_t planes );
10213
10214 uint32_t *
10215 xcb_alloc_color_cells_pixels (const xcb_alloc_color_cells_reply_t *R );
10216
10217 int
10218 xcb_alloc_color_cells_pixels_length (const xcb_alloc_color_cells_reply_t *R );
10219
10220 xcb_generic_iterator_t
10221 xcb_alloc_color_cells_pixels_end (const xcb_alloc_color_cells_reply_t *R );
10222
10223 uint32_t *
10224 xcb_alloc_color_cells_masks (const xcb_alloc_color_cells_reply_t *R );
10225
10226 int
10227 xcb_alloc_color_cells_masks_length (const xcb_alloc_color_cells_reply_t *R );
10228
10229 xcb_generic_iterator_t
10230 xcb_alloc_color_cells_masks_end (const xcb_alloc_color_cells_reply_t *R );
10231
10246 xcb_alloc_color_cells_reply_t *
10247 xcb_alloc_color_cells_reply (xcb_connection_t *c ,
10248 xcb_alloc_color_cells_cookie_t cookie ,
10249 xcb_generic_error_t **e );
10250
10251 int
10252 xcb_alloc_color_planes_sizeof (const void *_buffer );
10253
10262 xcb_alloc_color_planes_cookie_t
10263 xcb_alloc_color_planes (xcb_connection_t *c ,
10264 uint8_t contiguous ,
10265 xcb_colormap_t cmap ,
10266 uint16_t colors ,
10267 uint16_t reds ,
10268 uint16_t greens ,
10269 uint16_t blues );
10270
10282 xcb_alloc_color_planes_cookie_t
10283 xcb_alloc_color_planes_unchecked (xcb_connection_t *c ,
10284 uint8_t contiguous ,
10285 xcb_colormap_t cmap ,
10286 uint16_t colors ,
10287 uint16_t reds ,
10288 uint16_t greens ,
10289 uint16_t blues );
10290
10291 uint32_t *
10292 xcb_alloc_color_planes_pixels (const xcb_alloc_color_planes_reply_t *R );
10293
10294 int
10295 xcb_alloc_color_planes_pixels_length (const xcb_alloc_color_planes_reply_t *R );
10296
10297 xcb_generic_iterator_t
10298 xcb_alloc_color_planes_pixels_end (const xcb_alloc_color_planes_reply_t *R );
10299
10314 xcb_alloc_color_planes_reply_t *
10315 xcb_alloc_color_planes_reply (xcb_connection_t *c ,
10316 xcb_alloc_color_planes_cookie_t cookie ,
10317 xcb_generic_error_t **e );
10318
10319 int
10320 xcb_free_colors_sizeof (const void *_buffer ,
10321 uint32_t pixels_len );
10322
10334 xcb_void_cookie_t
10335 xcb_free_colors_checked (xcb_connection_t *c ,
10336 xcb_colormap_t cmap ,
10337 uint32_t plane_mask ,
10338 uint32_t pixels_len ,
10339 const uint32_t *pixels );
10340
10349 xcb_void_cookie_t
10350 xcb_free_colors (xcb_connection_t *c ,
10351 xcb_colormap_t cmap ,
10352 uint32_t plane_mask ,
10353 uint32_t pixels_len ,
10354 const uint32_t *pixels );
10355
10364 void
10365 xcb_coloritem_next (xcb_coloritem_iterator_t *i );
10366
10376 xcb_generic_iterator_t
10377 xcb_coloritem_end (xcb_coloritem_iterator_t i );
10378
10379 int
10380 xcb_store_colors_sizeof (const void *_buffer ,
10381 uint32_t items_len );
10382
10394 xcb_void_cookie_t
10395 xcb_store_colors_checked (xcb_connection_t *c ,
10396 xcb_colormap_t cmap ,
10397 uint32_t items_len ,
10398 const xcb_coloritem_t *items );
10399
10408 xcb_void_cookie_t
10409 xcb_store_colors (xcb_connection_t *c ,
10410 xcb_colormap_t cmap ,
10411 uint32_t items_len ,
10412 const xcb_coloritem_t *items );
10413
10414 int
10415 xcb_store_named_color_sizeof (const void *_buffer );
10416
10428 xcb_void_cookie_t
10429 xcb_store_named_color_checked (xcb_connection_t *c ,
10430 uint8_t flags ,
10431 xcb_colormap_t cmap ,
10432 uint32_t pixel ,
10433 uint16_t name_len ,
10434 const char *name );
10435
10444 xcb_void_cookie_t
10445 xcb_store_named_color (xcb_connection_t *c ,
10446 uint8_t flags ,
10447 xcb_colormap_t cmap ,
10448 uint32_t pixel ,
10449 uint16_t name_len ,
10450 const char *name );
10451
10460 void
10461 xcb_rgb_next (xcb_rgb_iterator_t *i );
10462
10472 xcb_generic_iterator_t
10473 xcb_rgb_end (xcb_rgb_iterator_t i );
10474
10475 int
10476 xcb_query_colors_sizeof (const void *_buffer ,
10477 uint32_t pixels_len );
10478
10487 xcb_query_colors_cookie_t
10488 xcb_query_colors (xcb_connection_t *c ,
10489 xcb_colormap_t cmap ,
10490 uint32_t pixels_len ,
10491 const uint32_t *pixels );
10492
10504 xcb_query_colors_cookie_t
10505 xcb_query_colors_unchecked (xcb_connection_t *c ,
10506 xcb_colormap_t cmap ,
10507 uint32_t pixels_len ,
10508 const uint32_t *pixels );
10509
10510 xcb_rgb_t *
10511 xcb_query_colors_colors (const xcb_query_colors_reply_t *R );
10512
10513 int
10514 xcb_query_colors_colors_length (const xcb_query_colors_reply_t *R );
10515
10516 xcb_rgb_iterator_t
10517 xcb_query_colors_colors_iterator (const xcb_query_colors_reply_t *R );
10518
10533 xcb_query_colors_reply_t *
10534 xcb_query_colors_reply (xcb_connection_t *c ,
10535 xcb_query_colors_cookie_t cookie ,
10536 xcb_generic_error_t **e );
10537
10538 int
10539 xcb_lookup_color_sizeof (const void *_buffer );
10540
10549 xcb_lookup_color_cookie_t
10550 xcb_lookup_color (xcb_connection_t *c ,
10551 xcb_colormap_t cmap ,
10552 uint16_t name_len ,
10553 const char *name );
10554
10566 xcb_lookup_color_cookie_t
10567 xcb_lookup_color_unchecked (xcb_connection_t *c ,
10568 xcb_colormap_t cmap ,
10569 uint16_t name_len ,
10570 const char *name );
10571
10586 xcb_lookup_color_reply_t *
10587 xcb_lookup_color_reply (xcb_connection_t *c ,
10588 xcb_lookup_color_cookie_t cookie ,
10589 xcb_generic_error_t **e );
10590
10602 xcb_void_cookie_t
10603 xcb_create_cursor_checked (xcb_connection_t *c ,
10604 xcb_cursor_t cid ,
10605 xcb_pixmap_t source ,
10606 xcb_pixmap_t mask ,
10607 uint16_t fore_red ,
10608 uint16_t fore_green ,
10609 uint16_t fore_blue ,
10610 uint16_t back_red ,
10611 uint16_t back_green ,
10612 uint16_t back_blue ,
10613 uint16_t x ,
10614 uint16_t y );
10615
10624 xcb_void_cookie_t
10625 xcb_create_cursor (xcb_connection_t *c ,
10626 xcb_cursor_t cid ,
10627 xcb_pixmap_t source ,
10628 xcb_pixmap_t mask ,
10629 uint16_t fore_red ,
10630 uint16_t fore_green ,
10631 uint16_t fore_blue ,
10632 uint16_t back_red ,
10633 uint16_t back_green ,
10634 uint16_t back_blue ,
10635 uint16_t x ,
10636 uint16_t y );
10637
10671 xcb_void_cookie_t
10672 xcb_create_glyph_cursor_checked (xcb_connection_t *c ,
10673 xcb_cursor_t cid ,
10674 xcb_font_t source_font ,
10675 xcb_font_t mask_font ,
10676 uint16_t source_char ,
10677 uint16_t mask_char ,
10678 uint16_t fore_red ,
10679 uint16_t fore_green ,
10680 uint16_t fore_blue ,
10681 uint16_t back_red ,
10682 uint16_t back_green ,
10683 uint16_t back_blue );
10684
10715 xcb_void_cookie_t
10716 xcb_create_glyph_cursor (xcb_connection_t *c ,
10717 xcb_cursor_t cid ,
10718 xcb_font_t source_font ,
10719 xcb_font_t mask_font ,
10720 uint16_t source_char ,
10721 uint16_t mask_char ,
10722 uint16_t fore_red ,
10723 uint16_t fore_green ,
10724 uint16_t fore_blue ,
10725 uint16_t back_red ,
10726 uint16_t back_green ,
10727 uint16_t back_blue );
10728
10743 xcb_void_cookie_t
10744 xcb_free_cursor_checked (xcb_connection_t *c ,
10745 xcb_cursor_t cursor );
10746
10758 xcb_void_cookie_t
10759 xcb_free_cursor (xcb_connection_t *c ,
10760 xcb_cursor_t cursor );
10761
10773 xcb_void_cookie_t
10774 xcb_recolor_cursor_checked (xcb_connection_t *c ,
10775 xcb_cursor_t cursor ,
10776 uint16_t fore_red ,
10777 uint16_t fore_green ,
10778 uint16_t fore_blue ,
10779 uint16_t back_red ,
10780 uint16_t back_green ,
10781 uint16_t back_blue );
10782
10791 xcb_void_cookie_t
10792 xcb_recolor_cursor (xcb_connection_t *c ,
10793 xcb_cursor_t cursor ,
10794 uint16_t fore_red ,
10795 uint16_t fore_green ,
10796 uint16_t fore_blue ,
10797 uint16_t back_red ,
10798 uint16_t back_green ,
10799 uint16_t back_blue );
10800
10809 xcb_query_best_size_cookie_t
10810 xcb_query_best_size (xcb_connection_t *c ,
10811 uint8_t _class ,
10812 xcb_drawable_t drawable ,
10813 uint16_t width ,
10814 uint16_t height );
10815
10827 xcb_query_best_size_cookie_t
10828 xcb_query_best_size_unchecked (xcb_connection_t *c ,
10829 uint8_t _class ,
10830 xcb_drawable_t drawable ,
10831 uint16_t width ,
10832 uint16_t height );
10833
10848 xcb_query_best_size_reply_t *
10849 xcb_query_best_size_reply (xcb_connection_t *c ,
10850 xcb_query_best_size_cookie_t cookie ,
10851 xcb_generic_error_t **e );
10852
10853 int
10854 xcb_query_extension_sizeof (const void *_buffer );
10855
10876 xcb_query_extension_cookie_t
10877 xcb_query_extension (xcb_connection_t *c ,
10878 uint16_t name_len ,
10879 const char *name );
10880
10904 xcb_query_extension_cookie_t
10905 xcb_query_extension_unchecked (xcb_connection_t *c ,
10906 uint16_t name_len ,
10907 const char *name );
10908
10923 xcb_query_extension_reply_t *
10924 xcb_query_extension_reply (xcb_connection_t *c ,
10925 xcb_query_extension_cookie_t cookie ,
10926 xcb_generic_error_t **e );
10927
10928 int
10929 xcb_list_extensions_sizeof (const void *_buffer );
10930
10939 xcb_list_extensions_cookie_t
10940 xcb_list_extensions (xcb_connection_t *c );
10941
10953 xcb_list_extensions_cookie_t
10954 xcb_list_extensions_unchecked (xcb_connection_t *c );
10955
10956 int
10957 xcb_list_extensions_names_length (const xcb_list_extensions_reply_t *R );
10958
10959 xcb_str_iterator_t
10960 xcb_list_extensions_names_iterator (const xcb_list_extensions_reply_t *R );
10961
10976 xcb_list_extensions_reply_t *
10977 xcb_list_extensions_reply (xcb_connection_t *c ,
10978 xcb_list_extensions_cookie_t cookie ,
10979 xcb_generic_error_t **e );
10980
10981 int
10982 xcb_change_keyboard_mapping_sizeof (const void *_buffer );
10983
10995 xcb_void_cookie_t
10996 xcb_change_keyboard_mapping_checked (xcb_connection_t *c ,
10997 uint8_t keycode_count ,
10998 xcb_keycode_t first_keycode ,
10999 uint8_t keysyms_per_keycode ,
11000 const xcb_keysym_t *keysyms );
11001
11010 xcb_void_cookie_t
11011 xcb_change_keyboard_mapping (xcb_connection_t *c ,
11012 uint8_t keycode_count ,
11013 xcb_keycode_t first_keycode ,
11014 uint8_t keysyms_per_keycode ,
11015 const xcb_keysym_t *keysyms );
11016
11017 int
11018 xcb_get_keyboard_mapping_sizeof (const void *_buffer );
11019
11028 xcb_get_keyboard_mapping_cookie_t
11029 xcb_get_keyboard_mapping (xcb_connection_t *c ,
11030 xcb_keycode_t first_keycode ,
11031 uint8_t count );
11032
11044 xcb_get_keyboard_mapping_cookie_t
11045 xcb_get_keyboard_mapping_unchecked (xcb_connection_t *c ,
11046 xcb_keycode_t first_keycode ,
11047 uint8_t count );
11048
11049 xcb_keysym_t *
11050 xcb_get_keyboard_mapping_keysyms (const xcb_get_keyboard_mapping_reply_t *R );
11051
11052 int
11053 xcb_get_keyboard_mapping_keysyms_length (const xcb_get_keyboard_mapping_reply_t *R );
11054
11055 xcb_generic_iterator_t
11056 xcb_get_keyboard_mapping_keysyms_end (const xcb_get_keyboard_mapping_reply_t *R );
11057
11072 xcb_get_keyboard_mapping_reply_t *
11073 xcb_get_keyboard_mapping_reply (xcb_connection_t *c ,
11074 xcb_get_keyboard_mapping_cookie_t cookie ,
11075 xcb_generic_error_t **e );
11076
11077 int
11078 xcb_change_keyboard_control_sizeof (const void *_buffer );
11079
11091 xcb_void_cookie_t
11092 xcb_change_keyboard_control_checked (xcb_connection_t *c ,
11093 uint32_t value_mask ,
11094 const uint32_t *value_list );
11095
11104 xcb_void_cookie_t
11105 xcb_change_keyboard_control (xcb_connection_t *c ,
11106 uint32_t value_mask ,
11107 const uint32_t *value_list );
11108
11117 xcb_get_keyboard_control_cookie_t
11118 xcb_get_keyboard_control (xcb_connection_t *c );
11119
11131 xcb_get_keyboard_control_cookie_t
11132 xcb_get_keyboard_control_unchecked (xcb_connection_t *c );
11133
11148 xcb_get_keyboard_control_reply_t *
11149 xcb_get_keyboard_control_reply (xcb_connection_t *c ,
11150 xcb_get_keyboard_control_cookie_t cookie ,
11151 xcb_generic_error_t **e );
11152
11164 xcb_void_cookie_t
11165 xcb_bell_checked (xcb_connection_t *c ,
11166 int8_t percent );
11167
11176 xcb_void_cookie_t
11177 xcb_bell (xcb_connection_t *c ,
11178 int8_t percent );
11179
11191 xcb_void_cookie_t
11192 xcb_change_pointer_control_checked (xcb_connection_t *c ,
11193 int16_t acceleration_numerator ,
11194 int16_t acceleration_denominator ,
11195 int16_t threshold ,
11196 uint8_t do_acceleration ,
11197 uint8_t do_threshold );
11198
11207 xcb_void_cookie_t
11208 xcb_change_pointer_control (xcb_connection_t *c ,
11209 int16_t acceleration_numerator ,
11210 int16_t acceleration_denominator ,
11211 int16_t threshold ,
11212 uint8_t do_acceleration ,
11213 uint8_t do_threshold );
11214
11223 xcb_get_pointer_control_cookie_t
11224 xcb_get_pointer_control (xcb_connection_t *c );
11225
11237 xcb_get_pointer_control_cookie_t
11238 xcb_get_pointer_control_unchecked (xcb_connection_t *c );
11239
11254 xcb_get_pointer_control_reply_t *
11255 xcb_get_pointer_control_reply (xcb_connection_t *c ,
11256 xcb_get_pointer_control_cookie_t cookie ,
11257 xcb_generic_error_t **e );
11258
11270 xcb_void_cookie_t
11271 xcb_set_screen_saver_checked (xcb_connection_t *c ,
11272 int16_t timeout ,
11273 int16_t interval ,
11274 uint8_t prefer_blanking ,
11275 uint8_t allow_exposures );
11276
11285 xcb_void_cookie_t
11286 xcb_set_screen_saver (xcb_connection_t *c ,
11287 int16_t timeout ,
11288 int16_t interval ,
11289 uint8_t prefer_blanking ,
11290 uint8_t allow_exposures );
11291
11300 xcb_get_screen_saver_cookie_t
11301 xcb_get_screen_saver (xcb_connection_t *c );
11302
11314 xcb_get_screen_saver_cookie_t
11315 xcb_get_screen_saver_unchecked (xcb_connection_t *c );
11316
11331 xcb_get_screen_saver_reply_t *
11332 xcb_get_screen_saver_reply (xcb_connection_t *c ,
11333 xcb_get_screen_saver_cookie_t cookie ,
11334 xcb_generic_error_t **e );
11335
11336 int
11337 xcb_change_hosts_sizeof (const void *_buffer );
11338
11350 xcb_void_cookie_t
11351 xcb_change_hosts_checked (xcb_connection_t *c ,
11352 uint8_t mode ,
11353 uint8_t family ,
11354 uint16_t address_len ,
11355 const uint8_t *address );
11356
11365 xcb_void_cookie_t
11366 xcb_change_hosts (xcb_connection_t *c ,
11367 uint8_t mode ,
11368 uint8_t family ,
11369 uint16_t address_len ,
11370 const uint8_t *address );
11371
11372 int
11373 xcb_host_sizeof (const void *_buffer );
11374
11375 uint8_t *
11376 xcb_host_address (const xcb_host_t *R );
11377
11378 int
11379 xcb_host_address_length (const xcb_host_t *R );
11380
11381 xcb_generic_iterator_t
11382 xcb_host_address_end (const xcb_host_t *R );
11383
11392 void
11393 xcb_host_next (xcb_host_iterator_t *i );
11394
11404 xcb_generic_iterator_t
11405 xcb_host_end (xcb_host_iterator_t i );
11406
11407 int
11408 xcb_list_hosts_sizeof (const void *_buffer );
11409
11418 xcb_list_hosts_cookie_t
11419 xcb_list_hosts (xcb_connection_t *c );
11420
11432 xcb_list_hosts_cookie_t
11433 xcb_list_hosts_unchecked (xcb_connection_t *c );
11434
11435 int
11436 xcb_list_hosts_hosts_length (const xcb_list_hosts_reply_t *R );
11437
11438 xcb_host_iterator_t
11439 xcb_list_hosts_hosts_iterator (const xcb_list_hosts_reply_t *R );
11440
11455 xcb_list_hosts_reply_t *
11456 xcb_list_hosts_reply (xcb_connection_t *c ,
11457 xcb_list_hosts_cookie_t cookie ,
11458 xcb_generic_error_t **e );
11459
11471 xcb_void_cookie_t
11472 xcb_set_access_control_checked (xcb_connection_t *c ,
11473 uint8_t mode );
11474
11483 xcb_void_cookie_t
11484 xcb_set_access_control (xcb_connection_t *c ,
11485 uint8_t mode );
11486
11498 xcb_void_cookie_t
11499 xcb_set_close_down_mode_checked (xcb_connection_t *c ,
11500 uint8_t mode );
11501
11510 xcb_void_cookie_t
11511 xcb_set_close_down_mode (xcb_connection_t *c ,
11512 uint8_t mode );
11513
11531 xcb_void_cookie_t
11532 xcb_kill_client_checked (xcb_connection_t *c ,
11533 uint32_t resource );
11534
11549 xcb_void_cookie_t
11550 xcb_kill_client (xcb_connection_t *c ,
11551 uint32_t resource );
11552
11553 int
11554 xcb_rotate_properties_sizeof (const void *_buffer );
11555
11567 xcb_void_cookie_t
11568 xcb_rotate_properties_checked (xcb_connection_t *c ,
11569 xcb_window_t window ,
11570 uint16_t atoms_len ,
11571 int16_t delta ,
11572 const xcb_atom_t *atoms );
11573
11582 xcb_void_cookie_t
11583 xcb_rotate_properties (xcb_connection_t *c ,
11584 xcb_window_t window ,
11585 uint16_t atoms_len ,
11586 int16_t delta ,
11587 const xcb_atom_t *atoms );
11588
11600 xcb_void_cookie_t
11601 xcb_force_screen_saver_checked (xcb_connection_t *c ,
11602 uint8_t mode );
11603
11612 xcb_void_cookie_t
11613 xcb_force_screen_saver (xcb_connection_t *c ,
11614 uint8_t mode );
11615
11616 int
11617 xcb_set_pointer_mapping_sizeof (const void *_buffer );
11618
11627 xcb_set_pointer_mapping_cookie_t
11628 xcb_set_pointer_mapping (xcb_connection_t *c ,
11629 uint8_t map_len ,
11630 const uint8_t *map );
11631
11643 xcb_set_pointer_mapping_cookie_t
11644 xcb_set_pointer_mapping_unchecked (xcb_connection_t *c ,
11645 uint8_t map_len ,
11646 const uint8_t *map );
11647
11662 xcb_set_pointer_mapping_reply_t *
11663 xcb_set_pointer_mapping_reply (xcb_connection_t *c ,
11664 xcb_set_pointer_mapping_cookie_t cookie ,
11665 xcb_generic_error_t **e );
11666
11667 int
11668 xcb_get_pointer_mapping_sizeof (const void *_buffer );
11669
11678 xcb_get_pointer_mapping_cookie_t
11679 xcb_get_pointer_mapping (xcb_connection_t *c );
11680
11692 xcb_get_pointer_mapping_cookie_t
11693 xcb_get_pointer_mapping_unchecked (xcb_connection_t *c );
11694
11695 uint8_t *
11696 xcb_get_pointer_mapping_map (const xcb_get_pointer_mapping_reply_t *R );
11697
11698 int
11699 xcb_get_pointer_mapping_map_length (const xcb_get_pointer_mapping_reply_t *R );
11700
11701 xcb_generic_iterator_t
11702 xcb_get_pointer_mapping_map_end (const xcb_get_pointer_mapping_reply_t *R );
11703
11718 xcb_get_pointer_mapping_reply_t *
11719 xcb_get_pointer_mapping_reply (xcb_connection_t *c ,
11720 xcb_get_pointer_mapping_cookie_t cookie ,
11721 xcb_generic_error_t **e );
11722
11723 int
11724 xcb_set_modifier_mapping_sizeof (const void *_buffer );
11725
11734 xcb_set_modifier_mapping_cookie_t
11735 xcb_set_modifier_mapping (xcb_connection_t *c ,
11736 uint8_t keycodes_per_modifier ,
11737 const xcb_keycode_t *keycodes );
11738
11750 xcb_set_modifier_mapping_cookie_t
11751 xcb_set_modifier_mapping_unchecked (xcb_connection_t *c ,
11752 uint8_t keycodes_per_modifier ,
11753 const xcb_keycode_t *keycodes );
11754
11769 xcb_set_modifier_mapping_reply_t *
11770 xcb_set_modifier_mapping_reply (xcb_connection_t *c ,
11771 xcb_set_modifier_mapping_cookie_t cookie ,
11772 xcb_generic_error_t **e );
11773
11774 int
11775 xcb_get_modifier_mapping_sizeof (const void *_buffer );
11776
11785 xcb_get_modifier_mapping_cookie_t
11786 xcb_get_modifier_mapping (xcb_connection_t *c );
11787
11799 xcb_get_modifier_mapping_cookie_t
11800 xcb_get_modifier_mapping_unchecked (xcb_connection_t *c );
11801
11802 xcb_keycode_t *
11803 xcb_get_modifier_mapping_keycodes (const xcb_get_modifier_mapping_reply_t *R );
11804
11805 int
11806 xcb_get_modifier_mapping_keycodes_length (const xcb_get_modifier_mapping_reply_t *R );
11807
11808 xcb_generic_iterator_t
11809 xcb_get_modifier_mapping_keycodes_end (const xcb_get_modifier_mapping_reply_t *R );
11810
11825 xcb_get_modifier_mapping_reply_t *
11826 xcb_get_modifier_mapping_reply (xcb_connection_t *c ,
11827 xcb_get_modifier_mapping_cookie_t cookie ,
11828 xcb_generic_error_t **e );
11829
11841 xcb_void_cookie_t
11842 xcb_no_operation_checked (xcb_connection_t *c );
11843
11852 xcb_void_cookie_t
11853 xcb_no_operation (xcb_connection_t *c );
11854
11855
11856 #ifdef __cplusplus
11857 }
11858 #endif
11859
11860 #endif
11861