XCB
1.13.1
|
00001 /* 00002 * This file generated automatically from xproto.xml by c_client.py. 00003 * Edit at your peril. 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_bool32_t; 00138 00142 typedef struct xcb_bool32_iterator_t { 00143 xcb_bool32_t *data; 00144 int rem; 00145 int index; 00146 } xcb_bool32_iterator_t; 00147 00148 typedef uint32_t xcb_visualid_t; 00149 00153 typedef struct xcb_visualid_iterator_t { 00154 xcb_visualid_t *data; 00155 int rem; 00156 int index; 00157 } xcb_visualid_iterator_t; 00158 00159 typedef uint32_t xcb_timestamp_t; 00160 00164 typedef struct xcb_timestamp_iterator_t { 00165 xcb_timestamp_t *data; 00166 int rem; 00167 int index; 00168 } xcb_timestamp_iterator_t; 00169 00170 typedef uint32_t xcb_keysym_t; 00171 00175 typedef struct xcb_keysym_iterator_t { 00176 xcb_keysym_t *data; 00177 int rem; 00178 int index; 00179 } xcb_keysym_iterator_t; 00180 00181 typedef uint8_t xcb_keycode_t; 00182 00186 typedef struct xcb_keycode_iterator_t { 00187 xcb_keycode_t *data; 00188 int rem; 00189 int index; 00190 } xcb_keycode_iterator_t; 00191 00192 typedef uint32_t xcb_keycode32_t; 00193 00197 typedef struct xcb_keycode32_iterator_t { 00198 xcb_keycode32_t *data; 00199 int rem; 00200 int index; 00201 } xcb_keycode32_iterator_t; 00202 00203 typedef uint8_t xcb_button_t; 00204 00208 typedef struct xcb_button_iterator_t { 00209 xcb_button_t *data; 00210 int rem; 00211 int index; 00212 } xcb_button_iterator_t; 00213 00217 typedef struct xcb_point_t { 00218 int16_t x; 00219 int16_t y; 00220 } xcb_point_t; 00221 00225 typedef struct xcb_point_iterator_t { 00226 xcb_point_t *data; 00227 int rem; 00228 int index; 00229 } xcb_point_iterator_t; 00230 00234 typedef struct xcb_rectangle_t { 00235 int16_t x; 00236 int16_t y; 00237 uint16_t width; 00238 uint16_t height; 00239 } xcb_rectangle_t; 00240 00244 typedef struct xcb_rectangle_iterator_t { 00245 xcb_rectangle_t *data; 00246 int rem; 00247 int index; 00248 } xcb_rectangle_iterator_t; 00249 00253 typedef struct xcb_arc_t { 00254 int16_t x; 00255 int16_t y; 00256 uint16_t width; 00257 uint16_t height; 00258 int16_t angle1; 00259 int16_t angle2; 00260 } xcb_arc_t; 00261 00265 typedef struct xcb_arc_iterator_t { 00266 xcb_arc_t *data; 00267 int rem; 00268 int index; 00269 } xcb_arc_iterator_t; 00270 00274 typedef struct xcb_format_t { 00275 uint8_t depth; 00276 uint8_t bits_per_pixel; 00277 uint8_t scanline_pad; 00278 uint8_t pad0[5]; 00279 } xcb_format_t; 00280 00284 typedef struct xcb_format_iterator_t { 00285 xcb_format_t *data; 00286 int rem; 00287 int index; 00288 } xcb_format_iterator_t; 00289 00290 typedef enum xcb_visual_class_t { 00291 XCB_VISUAL_CLASS_STATIC_GRAY = 0, 00292 XCB_VISUAL_CLASS_GRAY_SCALE = 1, 00293 XCB_VISUAL_CLASS_STATIC_COLOR = 2, 00294 XCB_VISUAL_CLASS_PSEUDO_COLOR = 3, 00295 XCB_VISUAL_CLASS_TRUE_COLOR = 4, 00296 XCB_VISUAL_CLASS_DIRECT_COLOR = 5 00297 } xcb_visual_class_t; 00298 00302 typedef struct xcb_visualtype_t { 00303 xcb_visualid_t visual_id; 00304 uint8_t _class; 00305 uint8_t bits_per_rgb_value; 00306 uint16_t colormap_entries; 00307 uint32_t red_mask; 00308 uint32_t green_mask; 00309 uint32_t blue_mask; 00310 uint8_t pad0[4]; 00311 } xcb_visualtype_t; 00312 00316 typedef struct xcb_visualtype_iterator_t { 00317 xcb_visualtype_t *data; 00318 int rem; 00319 int index; 00320 } xcb_visualtype_iterator_t; 00321 00325 typedef struct xcb_depth_t { 00326 uint8_t depth; 00327 uint8_t pad0; 00328 uint16_t visuals_len; 00329 uint8_t pad1[4]; 00330 } xcb_depth_t; 00331 00335 typedef struct xcb_depth_iterator_t { 00336 xcb_depth_t *data; 00337 int rem; 00338 int index; 00339 } xcb_depth_iterator_t; 00340 00341 typedef enum xcb_event_mask_t { 00342 XCB_EVENT_MASK_NO_EVENT = 0, 00343 XCB_EVENT_MASK_KEY_PRESS = 1, 00344 XCB_EVENT_MASK_KEY_RELEASE = 2, 00345 XCB_EVENT_MASK_BUTTON_PRESS = 4, 00346 XCB_EVENT_MASK_BUTTON_RELEASE = 8, 00347 XCB_EVENT_MASK_ENTER_WINDOW = 16, 00348 XCB_EVENT_MASK_LEAVE_WINDOW = 32, 00349 XCB_EVENT_MASK_POINTER_MOTION = 64, 00350 XCB_EVENT_MASK_POINTER_MOTION_HINT = 128, 00351 XCB_EVENT_MASK_BUTTON_1_MOTION = 256, 00352 XCB_EVENT_MASK_BUTTON_2_MOTION = 512, 00353 XCB_EVENT_MASK_BUTTON_3_MOTION = 1024, 00354 XCB_EVENT_MASK_BUTTON_4_MOTION = 2048, 00355 XCB_EVENT_MASK_BUTTON_5_MOTION = 4096, 00356 XCB_EVENT_MASK_BUTTON_MOTION = 8192, 00357 XCB_EVENT_MASK_KEYMAP_STATE = 16384, 00358 XCB_EVENT_MASK_EXPOSURE = 32768, 00359 XCB_EVENT_MASK_VISIBILITY_CHANGE = 65536, 00360 XCB_EVENT_MASK_STRUCTURE_NOTIFY = 131072, 00361 XCB_EVENT_MASK_RESIZE_REDIRECT = 262144, 00362 XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY = 524288, 00363 XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT = 1048576, 00364 XCB_EVENT_MASK_FOCUS_CHANGE = 2097152, 00365 XCB_EVENT_MASK_PROPERTY_CHANGE = 4194304, 00366 XCB_EVENT_MASK_COLOR_MAP_CHANGE = 8388608, 00367 XCB_EVENT_MASK_OWNER_GRAB_BUTTON = 16777216 00368 } xcb_event_mask_t; 00369 00370 typedef enum xcb_backing_store_t { 00371 XCB_BACKING_STORE_NOT_USEFUL = 0, 00372 XCB_BACKING_STORE_WHEN_MAPPED = 1, 00373 XCB_BACKING_STORE_ALWAYS = 2 00374 } xcb_backing_store_t; 00375 00379 typedef struct xcb_screen_t { 00380 xcb_window_t root; 00381 xcb_colormap_t default_colormap; 00382 uint32_t white_pixel; 00383 uint32_t black_pixel; 00384 uint32_t current_input_masks; 00385 uint16_t width_in_pixels; 00386 uint16_t height_in_pixels; 00387 uint16_t width_in_millimeters; 00388 uint16_t height_in_millimeters; 00389 uint16_t min_installed_maps; 00390 uint16_t max_installed_maps; 00391 xcb_visualid_t root_visual; 00392 uint8_t backing_stores; 00393 uint8_t save_unders; 00394 uint8_t root_depth; 00395 uint8_t allowed_depths_len; 00396 } xcb_screen_t; 00397 00401 typedef struct xcb_screen_iterator_t { 00402 xcb_screen_t *data; 00403 int rem; 00404 int index; 00405 } xcb_screen_iterator_t; 00406 00410 typedef struct xcb_setup_request_t { 00411 uint8_t byte_order; 00412 uint8_t pad0; 00413 uint16_t protocol_major_version; 00414 uint16_t protocol_minor_version; 00415 uint16_t authorization_protocol_name_len; 00416 uint16_t authorization_protocol_data_len; 00417 uint8_t pad1[2]; 00418 } xcb_setup_request_t; 00419 00423 typedef struct xcb_setup_request_iterator_t { 00424 xcb_setup_request_t *data; 00425 int rem; 00426 int index; 00427 } xcb_setup_request_iterator_t; 00428 00432 typedef struct xcb_setup_failed_t { 00433 uint8_t status; 00434 uint8_t reason_len; 00435 uint16_t protocol_major_version; 00436 uint16_t protocol_minor_version; 00437 uint16_t length; 00438 } xcb_setup_failed_t; 00439 00443 typedef struct xcb_setup_failed_iterator_t { 00444 xcb_setup_failed_t *data; 00445 int rem; 00446 int index; 00447 } xcb_setup_failed_iterator_t; 00448 00452 typedef struct xcb_setup_authenticate_t { 00453 uint8_t status; 00454 uint8_t pad0[5]; 00455 uint16_t length; 00456 } xcb_setup_authenticate_t; 00457 00461 typedef struct xcb_setup_authenticate_iterator_t { 00462 xcb_setup_authenticate_t *data; 00463 int rem; 00464 int index; 00465 } xcb_setup_authenticate_iterator_t; 00466 00467 typedef enum xcb_image_order_t { 00468 XCB_IMAGE_ORDER_LSB_FIRST = 0, 00469 XCB_IMAGE_ORDER_MSB_FIRST = 1 00470 } xcb_image_order_t; 00471 00475 typedef struct xcb_setup_t { 00476 uint8_t status; 00477 uint8_t pad0; 00478 uint16_t protocol_major_version; 00479 uint16_t protocol_minor_version; 00480 uint16_t length; 00481 uint32_t release_number; 00482 uint32_t resource_id_base; 00483 uint32_t resource_id_mask; 00484 uint32_t motion_buffer_size; 00485 uint16_t vendor_len; 00486 uint16_t maximum_request_length; 00487 uint8_t roots_len; 00488 uint8_t pixmap_formats_len; 00489 uint8_t image_byte_order; 00490 uint8_t bitmap_format_bit_order; 00491 uint8_t bitmap_format_scanline_unit; 00492 uint8_t bitmap_format_scanline_pad; 00493 xcb_keycode_t min_keycode; 00494 xcb_keycode_t max_keycode; 00495 uint8_t pad1[4]; 00496 } xcb_setup_t; 00497 00501 typedef struct xcb_setup_iterator_t { 00502 xcb_setup_t *data; 00503 int rem; 00504 int index; 00505 } xcb_setup_iterator_t; 00506 00507 typedef enum xcb_mod_mask_t { 00508 XCB_MOD_MASK_SHIFT = 1, 00509 XCB_MOD_MASK_LOCK = 2, 00510 XCB_MOD_MASK_CONTROL = 4, 00511 XCB_MOD_MASK_1 = 8, 00512 XCB_MOD_MASK_2 = 16, 00513 XCB_MOD_MASK_3 = 32, 00514 XCB_MOD_MASK_4 = 64, 00515 XCB_MOD_MASK_5 = 128, 00516 XCB_MOD_MASK_ANY = 32768 00517 } xcb_mod_mask_t; 00518 00519 typedef enum xcb_key_but_mask_t { 00520 XCB_KEY_BUT_MASK_SHIFT = 1, 00521 XCB_KEY_BUT_MASK_LOCK = 2, 00522 XCB_KEY_BUT_MASK_CONTROL = 4, 00523 XCB_KEY_BUT_MASK_MOD_1 = 8, 00524 XCB_KEY_BUT_MASK_MOD_2 = 16, 00525 XCB_KEY_BUT_MASK_MOD_3 = 32, 00526 XCB_KEY_BUT_MASK_MOD_4 = 64, 00527 XCB_KEY_BUT_MASK_MOD_5 = 128, 00528 XCB_KEY_BUT_MASK_BUTTON_1 = 256, 00529 XCB_KEY_BUT_MASK_BUTTON_2 = 512, 00530 XCB_KEY_BUT_MASK_BUTTON_3 = 1024, 00531 XCB_KEY_BUT_MASK_BUTTON_4 = 2048, 00532 XCB_KEY_BUT_MASK_BUTTON_5 = 4096 00533 } xcb_key_but_mask_t; 00534 00535 typedef enum xcb_window_enum_t { 00536 XCB_WINDOW_NONE = 0 00537 } xcb_window_enum_t; 00538 00540 #define XCB_KEY_PRESS 2 00541 00545 typedef struct xcb_key_press_event_t { 00546 uint8_t response_type; 00547 xcb_keycode_t detail; 00548 uint16_t sequence; 00549 xcb_timestamp_t time; 00550 xcb_window_t root; 00551 xcb_window_t event; 00552 xcb_window_t child; 00553 int16_t root_x; 00554 int16_t root_y; 00555 int16_t event_x; 00556 int16_t event_y; 00557 uint16_t state; 00558 uint8_t same_screen; 00559 uint8_t pad0; 00560 } xcb_key_press_event_t; 00561 00563 #define XCB_KEY_RELEASE 3 00564 00565 typedef xcb_key_press_event_t xcb_key_release_event_t; 00566 00567 typedef enum xcb_button_mask_t { 00568 XCB_BUTTON_MASK_1 = 256, 00569 XCB_BUTTON_MASK_2 = 512, 00570 XCB_BUTTON_MASK_3 = 1024, 00571 XCB_BUTTON_MASK_4 = 2048, 00572 XCB_BUTTON_MASK_5 = 4096, 00573 XCB_BUTTON_MASK_ANY = 32768 00574 } xcb_button_mask_t; 00575 00577 #define XCB_BUTTON_PRESS 4 00578 00582 typedef struct xcb_button_press_event_t { 00583 uint8_t response_type; 00584 xcb_button_t detail; 00585 uint16_t sequence; 00586 xcb_timestamp_t time; 00587 xcb_window_t root; 00588 xcb_window_t event; 00589 xcb_window_t child; 00590 int16_t root_x; 00591 int16_t root_y; 00592 int16_t event_x; 00593 int16_t event_y; 00594 uint16_t state; 00595 uint8_t same_screen; 00596 uint8_t pad0; 00597 } xcb_button_press_event_t; 00598 00600 #define XCB_BUTTON_RELEASE 5 00601 00602 typedef xcb_button_press_event_t xcb_button_release_event_t; 00603 00604 typedef enum xcb_motion_t { 00605 XCB_MOTION_NORMAL = 0, 00606 XCB_MOTION_HINT = 1 00607 } xcb_motion_t; 00608 00610 #define XCB_MOTION_NOTIFY 6 00611 00615 typedef struct xcb_motion_notify_event_t { 00616 uint8_t response_type; 00617 uint8_t detail; 00618 uint16_t sequence; 00619 xcb_timestamp_t time; 00620 xcb_window_t root; 00621 xcb_window_t event; 00622 xcb_window_t child; 00623 int16_t root_x; 00624 int16_t root_y; 00625 int16_t event_x; 00626 int16_t event_y; 00627 uint16_t state; 00628 uint8_t same_screen; 00629 uint8_t pad0; 00630 } xcb_motion_notify_event_t; 00631 00632 typedef enum xcb_notify_detail_t { 00633 XCB_NOTIFY_DETAIL_ANCESTOR = 0, 00634 XCB_NOTIFY_DETAIL_VIRTUAL = 1, 00635 XCB_NOTIFY_DETAIL_INFERIOR = 2, 00636 XCB_NOTIFY_DETAIL_NONLINEAR = 3, 00637 XCB_NOTIFY_DETAIL_NONLINEAR_VIRTUAL = 4, 00638 XCB_NOTIFY_DETAIL_POINTER = 5, 00639 XCB_NOTIFY_DETAIL_POINTER_ROOT = 6, 00640 XCB_NOTIFY_DETAIL_NONE = 7 00641 } xcb_notify_detail_t; 00642 00643 typedef enum xcb_notify_mode_t { 00644 XCB_NOTIFY_MODE_NORMAL = 0, 00645 XCB_NOTIFY_MODE_GRAB = 1, 00646 XCB_NOTIFY_MODE_UNGRAB = 2, 00647 XCB_NOTIFY_MODE_WHILE_GRABBED = 3 00648 } xcb_notify_mode_t; 00649 00651 #define XCB_ENTER_NOTIFY 7 00652 00656 typedef struct xcb_enter_notify_event_t { 00657 uint8_t response_type; 00658 uint8_t detail; 00659 uint16_t sequence; 00660 xcb_timestamp_t time; 00661 xcb_window_t root; 00662 xcb_window_t event; 00663 xcb_window_t child; 00664 int16_t root_x; 00665 int16_t root_y; 00666 int16_t event_x; 00667 int16_t event_y; 00668 uint16_t state; 00669 uint8_t mode; 00670 uint8_t same_screen_focus; 00671 } xcb_enter_notify_event_t; 00672 00674 #define XCB_LEAVE_NOTIFY 8 00675 00676 typedef xcb_enter_notify_event_t xcb_leave_notify_event_t; 00677 00679 #define XCB_FOCUS_IN 9 00680 00684 typedef struct xcb_focus_in_event_t { 00685 uint8_t response_type; 00686 uint8_t detail; 00687 uint16_t sequence; 00688 xcb_window_t event; 00689 uint8_t mode; 00690 uint8_t pad0[3]; 00691 } xcb_focus_in_event_t; 00692 00694 #define XCB_FOCUS_OUT 10 00695 00696 typedef xcb_focus_in_event_t xcb_focus_out_event_t; 00697 00699 #define XCB_KEYMAP_NOTIFY 11 00700 00704 typedef struct xcb_keymap_notify_event_t { 00705 uint8_t response_type; 00706 uint8_t keys[31]; 00707 } xcb_keymap_notify_event_t; 00708 00710 #define XCB_EXPOSE 12 00711 00715 typedef struct xcb_expose_event_t { 00716 uint8_t response_type; 00717 uint8_t pad0; 00718 uint16_t sequence; 00719 xcb_window_t window; 00720 uint16_t x; 00721 uint16_t y; 00722 uint16_t width; 00723 uint16_t height; 00724 uint16_t count; 00725 uint8_t pad1[2]; 00726 } xcb_expose_event_t; 00727 00729 #define XCB_GRAPHICS_EXPOSURE 13 00730 00734 typedef struct xcb_graphics_exposure_event_t { 00735 uint8_t response_type; 00736 uint8_t pad0; 00737 uint16_t sequence; 00738 xcb_drawable_t drawable; 00739 uint16_t x; 00740 uint16_t y; 00741 uint16_t width; 00742 uint16_t height; 00743 uint16_t minor_opcode; 00744 uint16_t count; 00745 uint8_t major_opcode; 00746 uint8_t pad1[3]; 00747 } xcb_graphics_exposure_event_t; 00748 00750 #define XCB_NO_EXPOSURE 14 00751 00755 typedef struct xcb_no_exposure_event_t { 00756 uint8_t response_type; 00757 uint8_t pad0; 00758 uint16_t sequence; 00759 xcb_drawable_t drawable; 00760 uint16_t minor_opcode; 00761 uint8_t major_opcode; 00762 uint8_t pad1; 00763 } xcb_no_exposure_event_t; 00764 00765 typedef enum xcb_visibility_t { 00766 XCB_VISIBILITY_UNOBSCURED = 0, 00767 XCB_VISIBILITY_PARTIALLY_OBSCURED = 1, 00768 XCB_VISIBILITY_FULLY_OBSCURED = 2 00769 } xcb_visibility_t; 00770 00772 #define XCB_VISIBILITY_NOTIFY 15 00773 00777 typedef struct xcb_visibility_notify_event_t { 00778 uint8_t response_type; 00779 uint8_t pad0; 00780 uint16_t sequence; 00781 xcb_window_t window; 00782 uint8_t state; 00783 uint8_t pad1[3]; 00784 } xcb_visibility_notify_event_t; 00785 00787 #define XCB_CREATE_NOTIFY 16 00788 00792 typedef struct xcb_create_notify_event_t { 00793 uint8_t response_type; 00794 uint8_t pad0; 00795 uint16_t sequence; 00796 xcb_window_t parent; 00797 xcb_window_t window; 00798 int16_t x; 00799 int16_t y; 00800 uint16_t width; 00801 uint16_t height; 00802 uint16_t border_width; 00803 uint8_t override_redirect; 00804 uint8_t pad1; 00805 } xcb_create_notify_event_t; 00806 00808 #define XCB_DESTROY_NOTIFY 17 00809 00813 typedef struct xcb_destroy_notify_event_t { 00814 uint8_t response_type; 00815 uint8_t pad0; 00816 uint16_t sequence; 00817 xcb_window_t event; 00818 xcb_window_t window; 00819 } xcb_destroy_notify_event_t; 00820 00822 #define XCB_UNMAP_NOTIFY 18 00823 00827 typedef struct xcb_unmap_notify_event_t { 00828 uint8_t response_type; 00829 uint8_t pad0; 00830 uint16_t sequence; 00831 xcb_window_t event; 00832 xcb_window_t window; 00833 uint8_t from_configure; 00834 uint8_t pad1[3]; 00835 } xcb_unmap_notify_event_t; 00836 00838 #define XCB_MAP_NOTIFY 19 00839 00843 typedef struct xcb_map_notify_event_t { 00844 uint8_t response_type; 00845 uint8_t pad0; 00846 uint16_t sequence; 00847 xcb_window_t event; 00848 xcb_window_t window; 00849 uint8_t override_redirect; 00850 uint8_t pad1[3]; 00851 } xcb_map_notify_event_t; 00852 00854 #define XCB_MAP_REQUEST 20 00855 00859 typedef struct xcb_map_request_event_t { 00860 uint8_t response_type; 00861 uint8_t pad0; 00862 uint16_t sequence; 00863 xcb_window_t parent; 00864 xcb_window_t window; 00865 } xcb_map_request_event_t; 00866 00868 #define XCB_REPARENT_NOTIFY 21 00869 00873 typedef struct xcb_reparent_notify_event_t { 00874 uint8_t response_type; 00875 uint8_t pad0; 00876 uint16_t sequence; 00877 xcb_window_t event; 00878 xcb_window_t window; 00879 xcb_window_t parent; 00880 int16_t x; 00881 int16_t y; 00882 uint8_t override_redirect; 00883 uint8_t pad1[3]; 00884 } xcb_reparent_notify_event_t; 00885 00887 #define XCB_CONFIGURE_NOTIFY 22 00888 00892 typedef struct xcb_configure_notify_event_t { 00893 uint8_t response_type; 00894 uint8_t pad0; 00895 uint16_t sequence; 00896 xcb_window_t event; 00897 xcb_window_t window; 00898 xcb_window_t above_sibling; 00899 int16_t x; 00900 int16_t y; 00901 uint16_t width; 00902 uint16_t height; 00903 uint16_t border_width; 00904 uint8_t override_redirect; 00905 uint8_t pad1; 00906 } xcb_configure_notify_event_t; 00907 00909 #define XCB_CONFIGURE_REQUEST 23 00910 00914 typedef struct xcb_configure_request_event_t { 00915 uint8_t response_type; 00916 uint8_t stack_mode; 00917 uint16_t sequence; 00918 xcb_window_t parent; 00919 xcb_window_t window; 00920 xcb_window_t sibling; 00921 int16_t x; 00922 int16_t y; 00923 uint16_t width; 00924 uint16_t height; 00925 uint16_t border_width; 00926 uint16_t value_mask; 00927 } xcb_configure_request_event_t; 00928 00930 #define XCB_GRAVITY_NOTIFY 24 00931 00935 typedef struct xcb_gravity_notify_event_t { 00936 uint8_t response_type; 00937 uint8_t pad0; 00938 uint16_t sequence; 00939 xcb_window_t event; 00940 xcb_window_t window; 00941 int16_t x; 00942 int16_t y; 00943 } xcb_gravity_notify_event_t; 00944 00946 #define XCB_RESIZE_REQUEST 25 00947 00951 typedef struct xcb_resize_request_event_t { 00952 uint8_t response_type; 00953 uint8_t pad0; 00954 uint16_t sequence; 00955 xcb_window_t window; 00956 uint16_t width; 00957 uint16_t height; 00958 } xcb_resize_request_event_t; 00959 00960 typedef enum xcb_place_t { 00961 XCB_PLACE_ON_TOP = 0, 00964 XCB_PLACE_ON_BOTTOM = 1 00967 } xcb_place_t; 00968 00970 #define XCB_CIRCULATE_NOTIFY 26 00971 00975 typedef struct xcb_circulate_notify_event_t { 00976 uint8_t response_type; 00977 uint8_t pad0; 00978 uint16_t sequence; 00979 xcb_window_t event; 00980 xcb_window_t window; 00981 uint8_t pad1[4]; 00982 uint8_t place; 00983 uint8_t pad2[3]; 00984 } xcb_circulate_notify_event_t; 00985 00987 #define XCB_CIRCULATE_REQUEST 27 00988 00989 typedef xcb_circulate_notify_event_t xcb_circulate_request_event_t; 00990 00991 typedef enum xcb_property_t { 00992 XCB_PROPERTY_NEW_VALUE = 0, 00993 XCB_PROPERTY_DELETE = 1 00994 } xcb_property_t; 00995 00997 #define XCB_PROPERTY_NOTIFY 28 00998 01002 typedef struct xcb_property_notify_event_t { 01003 uint8_t response_type; 01004 uint8_t pad0; 01005 uint16_t sequence; 01006 xcb_window_t window; 01007 xcb_atom_t atom; 01008 xcb_timestamp_t time; 01009 uint8_t state; 01010 uint8_t pad1[3]; 01011 } xcb_property_notify_event_t; 01012 01014 #define XCB_SELECTION_CLEAR 29 01015 01019 typedef struct xcb_selection_clear_event_t { 01020 uint8_t response_type; 01021 uint8_t pad0; 01022 uint16_t sequence; 01023 xcb_timestamp_t time; 01024 xcb_window_t owner; 01025 xcb_atom_t selection; 01026 } xcb_selection_clear_event_t; 01027 01028 typedef enum xcb_time_t { 01029 XCB_TIME_CURRENT_TIME = 0 01030 } xcb_time_t; 01031 01032 typedef enum xcb_atom_enum_t { 01033 XCB_ATOM_NONE = 0, 01034 XCB_ATOM_ANY = 0, 01035 XCB_ATOM_PRIMARY = 1, 01036 XCB_ATOM_SECONDARY = 2, 01037 XCB_ATOM_ARC = 3, 01038 XCB_ATOM_ATOM = 4, 01039 XCB_ATOM_BITMAP = 5, 01040 XCB_ATOM_CARDINAL = 6, 01041 XCB_ATOM_COLORMAP = 7, 01042 XCB_ATOM_CURSOR = 8, 01043 XCB_ATOM_CUT_BUFFER0 = 9, 01044 XCB_ATOM_CUT_BUFFER1 = 10, 01045 XCB_ATOM_CUT_BUFFER2 = 11, 01046 XCB_ATOM_CUT_BUFFER3 = 12, 01047 XCB_ATOM_CUT_BUFFER4 = 13, 01048 XCB_ATOM_CUT_BUFFER5 = 14, 01049 XCB_ATOM_CUT_BUFFER6 = 15, 01050 XCB_ATOM_CUT_BUFFER7 = 16, 01051 XCB_ATOM_DRAWABLE = 17, 01052 XCB_ATOM_FONT = 18, 01053 XCB_ATOM_INTEGER = 19, 01054 XCB_ATOM_PIXMAP = 20, 01055 XCB_ATOM_POINT = 21, 01056 XCB_ATOM_RECTANGLE = 22, 01057 XCB_ATOM_RESOURCE_MANAGER = 23, 01058 XCB_ATOM_RGB_COLOR_MAP = 24, 01059 XCB_ATOM_RGB_BEST_MAP = 25, 01060 XCB_ATOM_RGB_BLUE_MAP = 26, 01061 XCB_ATOM_RGB_DEFAULT_MAP = 27, 01062 XCB_ATOM_RGB_GRAY_MAP = 28, 01063 XCB_ATOM_RGB_GREEN_MAP = 29, 01064 XCB_ATOM_RGB_RED_MAP = 30, 01065 XCB_ATOM_STRING = 31, 01066 XCB_ATOM_VISUALID = 32, 01067 XCB_ATOM_WINDOW = 33, 01068 XCB_ATOM_WM_COMMAND = 34, 01069 XCB_ATOM_WM_HINTS = 35, 01070 XCB_ATOM_WM_CLIENT_MACHINE = 36, 01071 XCB_ATOM_WM_ICON_NAME = 37, 01072 XCB_ATOM_WM_ICON_SIZE = 38, 01073 XCB_ATOM_WM_NAME = 39, 01074 XCB_ATOM_WM_NORMAL_HINTS = 40, 01075 XCB_ATOM_WM_SIZE_HINTS = 41, 01076 XCB_ATOM_WM_ZOOM_HINTS = 42, 01077 XCB_ATOM_MIN_SPACE = 43, 01078 XCB_ATOM_NORM_SPACE = 44, 01079 XCB_ATOM_MAX_SPACE = 45, 01080 XCB_ATOM_END_SPACE = 46, 01081 XCB_ATOM_SUPERSCRIPT_X = 47, 01082 XCB_ATOM_SUPERSCRIPT_Y = 48, 01083 XCB_ATOM_SUBSCRIPT_X = 49, 01084 XCB_ATOM_SUBSCRIPT_Y = 50, 01085 XCB_ATOM_UNDERLINE_POSITION = 51, 01086 XCB_ATOM_UNDERLINE_THICKNESS = 52, 01087 XCB_ATOM_STRIKEOUT_ASCENT = 53, 01088 XCB_ATOM_STRIKEOUT_DESCENT = 54, 01089 XCB_ATOM_ITALIC_ANGLE = 55, 01090 XCB_ATOM_X_HEIGHT = 56, 01091 XCB_ATOM_QUAD_WIDTH = 57, 01092 XCB_ATOM_WEIGHT = 58, 01093 XCB_ATOM_POINT_SIZE = 59, 01094 XCB_ATOM_RESOLUTION = 60, 01095 XCB_ATOM_COPYRIGHT = 61, 01096 XCB_ATOM_NOTICE = 62, 01097 XCB_ATOM_FONT_NAME = 63, 01098 XCB_ATOM_FAMILY_NAME = 64, 01099 XCB_ATOM_FULL_NAME = 65, 01100 XCB_ATOM_CAP_HEIGHT = 66, 01101 XCB_ATOM_WM_CLASS = 67, 01102 XCB_ATOM_WM_TRANSIENT_FOR = 68 01103 } xcb_atom_enum_t; 01104 01106 #define XCB_SELECTION_REQUEST 30 01107 01111 typedef struct xcb_selection_request_event_t { 01112 uint8_t response_type; 01113 uint8_t pad0; 01114 uint16_t sequence; 01115 xcb_timestamp_t time; 01116 xcb_window_t owner; 01117 xcb_window_t requestor; 01118 xcb_atom_t selection; 01119 xcb_atom_t target; 01120 xcb_atom_t property; 01121 } xcb_selection_request_event_t; 01122 01124 #define XCB_SELECTION_NOTIFY 31 01125 01129 typedef struct xcb_selection_notify_event_t { 01130 uint8_t response_type; 01131 uint8_t pad0; 01132 uint16_t sequence; 01133 xcb_timestamp_t time; 01134 xcb_window_t requestor; 01135 xcb_atom_t selection; 01136 xcb_atom_t target; 01137 xcb_atom_t property; 01138 } xcb_selection_notify_event_t; 01139 01140 typedef enum xcb_colormap_state_t { 01141 XCB_COLORMAP_STATE_UNINSTALLED = 0, 01144 XCB_COLORMAP_STATE_INSTALLED = 1 01147 } xcb_colormap_state_t; 01148 01149 typedef enum xcb_colormap_enum_t { 01150 XCB_COLORMAP_NONE = 0 01151 } xcb_colormap_enum_t; 01152 01154 #define XCB_COLORMAP_NOTIFY 32 01155 01159 typedef struct xcb_colormap_notify_event_t { 01160 uint8_t response_type; 01161 uint8_t pad0; 01162 uint16_t sequence; 01163 xcb_window_t window; 01164 xcb_colormap_t colormap; 01165 uint8_t _new; 01166 uint8_t state; 01167 uint8_t pad1[2]; 01168 } xcb_colormap_notify_event_t; 01169 01173 typedef union xcb_client_message_data_t { 01174 uint8_t data8[20]; 01175 uint16_t data16[10]; 01176 uint32_t data32[5]; 01177 } xcb_client_message_data_t; 01178 01182 typedef struct xcb_client_message_data_iterator_t { 01183 xcb_client_message_data_t *data; 01184 int rem; 01185 int index; 01186 } xcb_client_message_data_iterator_t; 01187 01189 #define XCB_CLIENT_MESSAGE 33 01190 01194 typedef struct xcb_client_message_event_t { 01195 uint8_t response_type; 01196 uint8_t format; 01197 uint16_t sequence; 01198 xcb_window_t window; 01199 xcb_atom_t type; 01200 xcb_client_message_data_t data; 01201 } xcb_client_message_event_t; 01202 01203 typedef enum xcb_mapping_t { 01204 XCB_MAPPING_MODIFIER = 0, 01205 XCB_MAPPING_KEYBOARD = 1, 01206 XCB_MAPPING_POINTER = 2 01207 } xcb_mapping_t; 01208 01210 #define XCB_MAPPING_NOTIFY 34 01211 01215 typedef struct xcb_mapping_notify_event_t { 01216 uint8_t response_type; 01217 uint8_t pad0; 01218 uint16_t sequence; 01219 uint8_t request; 01220 xcb_keycode_t first_keycode; 01221 uint8_t count; 01222 uint8_t pad1; 01223 } xcb_mapping_notify_event_t; 01224 01226 #define XCB_GE_GENERIC 35 01227 01231 typedef struct xcb_ge_generic_event_t { 01232 uint8_t response_type; 01233 uint8_t extension; 01234 uint16_t sequence; 01235 uint32_t length; 01236 uint16_t event_type; 01237 uint8_t pad0[22]; 01238 uint32_t full_sequence; 01239 } xcb_ge_generic_event_t; 01240 01242 #define XCB_REQUEST 1 01243 01247 typedef struct xcb_request_error_t { 01248 uint8_t response_type; 01249 uint8_t error_code; 01250 uint16_t sequence; 01251 uint32_t bad_value; 01252 uint16_t minor_opcode; 01253 uint8_t major_opcode; 01254 uint8_t pad0; 01255 } xcb_request_error_t; 01256 01258 #define XCB_VALUE 2 01259 01263 typedef struct xcb_value_error_t { 01264 uint8_t response_type; 01265 uint8_t error_code; 01266 uint16_t sequence; 01267 uint32_t bad_value; 01268 uint16_t minor_opcode; 01269 uint8_t major_opcode; 01270 uint8_t pad0; 01271 } xcb_value_error_t; 01272 01274 #define XCB_WINDOW 3 01275 01276 typedef xcb_value_error_t xcb_window_error_t; 01277 01279 #define XCB_PIXMAP 4 01280 01281 typedef xcb_value_error_t xcb_pixmap_error_t; 01282 01284 #define XCB_ATOM 5 01285 01286 typedef xcb_value_error_t xcb_atom_error_t; 01287 01289 #define XCB_CURSOR 6 01290 01291 typedef xcb_value_error_t xcb_cursor_error_t; 01292 01294 #define XCB_FONT 7 01295 01296 typedef xcb_value_error_t xcb_font_error_t; 01297 01299 #define XCB_MATCH 8 01300 01301 typedef xcb_request_error_t xcb_match_error_t; 01302 01304 #define XCB_DRAWABLE 9 01305 01306 typedef xcb_value_error_t xcb_drawable_error_t; 01307 01309 #define XCB_ACCESS 10 01310 01311 typedef xcb_request_error_t xcb_access_error_t; 01312 01314 #define XCB_ALLOC 11 01315 01316 typedef xcb_request_error_t xcb_alloc_error_t; 01317 01319 #define XCB_COLORMAP 12 01320 01321 typedef xcb_value_error_t xcb_colormap_error_t; 01322 01324 #define XCB_G_CONTEXT 13 01325 01326 typedef xcb_value_error_t xcb_g_context_error_t; 01327 01329 #define XCB_ID_CHOICE 14 01330 01331 typedef xcb_value_error_t xcb_id_choice_error_t; 01332 01334 #define XCB_NAME 15 01335 01336 typedef xcb_request_error_t xcb_name_error_t; 01337 01339 #define XCB_LENGTH 16 01340 01341 typedef xcb_request_error_t xcb_length_error_t; 01342 01344 #define XCB_IMPLEMENTATION 17 01345 01346 typedef xcb_request_error_t xcb_implementation_error_t; 01347 01348 typedef enum xcb_window_class_t { 01349 XCB_WINDOW_CLASS_COPY_FROM_PARENT = 0, 01350 XCB_WINDOW_CLASS_INPUT_OUTPUT = 1, 01351 XCB_WINDOW_CLASS_INPUT_ONLY = 2 01352 } xcb_window_class_t; 01353 01354 typedef enum xcb_cw_t { 01355 XCB_CW_BACK_PIXMAP = 1, 01369 XCB_CW_BACK_PIXEL = 2, 01374 XCB_CW_BORDER_PIXMAP = 4, 01383 XCB_CW_BORDER_PIXEL = 8, 01388 XCB_CW_BIT_GRAVITY = 16, 01391 XCB_CW_WIN_GRAVITY = 32, 01395 XCB_CW_BACKING_STORE = 64, 01408 XCB_CW_BACKING_PLANES = 128, 01413 XCB_CW_BACKING_PIXEL = 256, 01420 XCB_CW_OVERRIDE_REDIRECT = 512, 01425 XCB_CW_SAVE_UNDER = 1024, 01429 XCB_CW_EVENT_MASK = 2048, 01433 XCB_CW_DONT_PROPAGATE = 4096, 01437 XCB_CW_COLORMAP = 8192, 01448 XCB_CW_CURSOR = 16384 01453 } xcb_cw_t; 01454 01455 typedef enum xcb_back_pixmap_t { 01456 XCB_BACK_PIXMAP_NONE = 0, 01457 XCB_BACK_PIXMAP_PARENT_RELATIVE = 1 01458 } xcb_back_pixmap_t; 01459 01460 typedef enum xcb_gravity_t { 01461 XCB_GRAVITY_BIT_FORGET = 0, 01462 XCB_GRAVITY_WIN_UNMAP = 0, 01463 XCB_GRAVITY_NORTH_WEST = 1, 01464 XCB_GRAVITY_NORTH = 2, 01465 XCB_GRAVITY_NORTH_EAST = 3, 01466 XCB_GRAVITY_WEST = 4, 01467 XCB_GRAVITY_CENTER = 5, 01468 XCB_GRAVITY_EAST = 6, 01469 XCB_GRAVITY_SOUTH_WEST = 7, 01470 XCB_GRAVITY_SOUTH = 8, 01471 XCB_GRAVITY_SOUTH_EAST = 9, 01472 XCB_GRAVITY_STATIC = 10 01473 } xcb_gravity_t; 01474 01478 typedef struct xcb_create_window_value_list_t { 01479 xcb_pixmap_t background_pixmap; 01480 uint32_t background_pixel; 01481 xcb_pixmap_t border_pixmap; 01482 uint32_t border_pixel; 01483 uint32_t bit_gravity; 01484 uint32_t win_gravity; 01485 uint32_t backing_store; 01486 uint32_t backing_planes; 01487 uint32_t backing_pixel; 01488 xcb_bool32_t override_redirect; 01489 xcb_bool32_t save_under; 01490 uint32_t event_mask; 01491 uint32_t do_not_propogate_mask; 01492 xcb_colormap_t colormap; 01493 xcb_cursor_t cursor; 01494 } xcb_create_window_value_list_t; 01495 01497 #define XCB_CREATE_WINDOW 1 01498 01502 typedef struct xcb_create_window_request_t { 01503 uint8_t major_opcode; 01504 uint8_t depth; 01505 uint16_t length; 01506 xcb_window_t wid; 01507 xcb_window_t parent; 01508 int16_t x; 01509 int16_t y; 01510 uint16_t width; 01511 uint16_t height; 01512 uint16_t border_width; 01513 uint16_t _class; 01514 xcb_visualid_t visual; 01515 uint32_t value_mask; 01516 } xcb_create_window_request_t; 01517 01521 typedef struct xcb_change_window_attributes_value_list_t { 01522 xcb_pixmap_t background_pixmap; 01523 uint32_t background_pixel; 01524 xcb_pixmap_t border_pixmap; 01525 uint32_t border_pixel; 01526 uint32_t bit_gravity; 01527 uint32_t win_gravity; 01528 uint32_t backing_store; 01529 uint32_t backing_planes; 01530 uint32_t backing_pixel; 01531 xcb_bool32_t override_redirect; 01532 xcb_bool32_t save_under; 01533 uint32_t event_mask; 01534 uint32_t do_not_propogate_mask; 01535 xcb_colormap_t colormap; 01536 xcb_cursor_t cursor; 01537 } xcb_change_window_attributes_value_list_t; 01538 01540 #define XCB_CHANGE_WINDOW_ATTRIBUTES 2 01541 01545 typedef struct xcb_change_window_attributes_request_t { 01546 uint8_t major_opcode; 01547 uint8_t pad0; 01548 uint16_t length; 01549 xcb_window_t window; 01550 uint32_t value_mask; 01551 } xcb_change_window_attributes_request_t; 01552 01553 typedef enum xcb_map_state_t { 01554 XCB_MAP_STATE_UNMAPPED = 0, 01555 XCB_MAP_STATE_UNVIEWABLE = 1, 01556 XCB_MAP_STATE_VIEWABLE = 2 01557 } xcb_map_state_t; 01558 01562 typedef struct xcb_get_window_attributes_cookie_t { 01563 unsigned int sequence; 01564 } xcb_get_window_attributes_cookie_t; 01565 01567 #define XCB_GET_WINDOW_ATTRIBUTES 3 01568 01572 typedef struct xcb_get_window_attributes_request_t { 01573 uint8_t major_opcode; 01574 uint8_t pad0; 01575 uint16_t length; 01576 xcb_window_t window; 01577 } xcb_get_window_attributes_request_t; 01578 01582 typedef struct xcb_get_window_attributes_reply_t { 01583 uint8_t response_type; 01584 uint8_t backing_store; 01585 uint16_t sequence; 01586 uint32_t length; 01587 xcb_visualid_t visual; 01588 uint16_t _class; 01589 uint8_t bit_gravity; 01590 uint8_t win_gravity; 01591 uint32_t backing_planes; 01592 uint32_t backing_pixel; 01593 uint8_t save_under; 01594 uint8_t map_is_installed; 01595 uint8_t map_state; 01596 uint8_t override_redirect; 01597 xcb_colormap_t colormap; 01598 uint32_t all_event_masks; 01599 uint32_t your_event_mask; 01600 uint16_t do_not_propagate_mask; 01601 uint8_t pad0[2]; 01602 } xcb_get_window_attributes_reply_t; 01603 01605 #define XCB_DESTROY_WINDOW 4 01606 01610 typedef struct xcb_destroy_window_request_t { 01611 uint8_t major_opcode; 01612 uint8_t pad0; 01613 uint16_t length; 01614 xcb_window_t window; 01615 } xcb_destroy_window_request_t; 01616 01618 #define XCB_DESTROY_SUBWINDOWS 5 01619 01623 typedef struct xcb_destroy_subwindows_request_t { 01624 uint8_t major_opcode; 01625 uint8_t pad0; 01626 uint16_t length; 01627 xcb_window_t window; 01628 } xcb_destroy_subwindows_request_t; 01629 01630 typedef enum xcb_set_mode_t { 01631 XCB_SET_MODE_INSERT = 0, 01632 XCB_SET_MODE_DELETE = 1 01633 } xcb_set_mode_t; 01634 01636 #define XCB_CHANGE_SAVE_SET 6 01637 01641 typedef struct xcb_change_save_set_request_t { 01642 uint8_t major_opcode; 01643 uint8_t mode; 01644 uint16_t length; 01645 xcb_window_t window; 01646 } xcb_change_save_set_request_t; 01647 01649 #define XCB_REPARENT_WINDOW 7 01650 01654 typedef struct xcb_reparent_window_request_t { 01655 uint8_t major_opcode; 01656 uint8_t pad0; 01657 uint16_t length; 01658 xcb_window_t window; 01659 xcb_window_t parent; 01660 int16_t x; 01661 int16_t y; 01662 } xcb_reparent_window_request_t; 01663 01665 #define XCB_MAP_WINDOW 8 01666 01670 typedef struct xcb_map_window_request_t { 01671 uint8_t major_opcode; 01672 uint8_t pad0; 01673 uint16_t length; 01674 xcb_window_t window; 01675 } xcb_map_window_request_t; 01676 01678 #define XCB_MAP_SUBWINDOWS 9 01679 01683 typedef struct xcb_map_subwindows_request_t { 01684 uint8_t major_opcode; 01685 uint8_t pad0; 01686 uint16_t length; 01687 xcb_window_t window; 01688 } xcb_map_subwindows_request_t; 01689 01691 #define XCB_UNMAP_WINDOW 10 01692 01696 typedef struct xcb_unmap_window_request_t { 01697 uint8_t major_opcode; 01698 uint8_t pad0; 01699 uint16_t length; 01700 xcb_window_t window; 01701 } xcb_unmap_window_request_t; 01702 01704 #define XCB_UNMAP_SUBWINDOWS 11 01705 01709 typedef struct xcb_unmap_subwindows_request_t { 01710 uint8_t major_opcode; 01711 uint8_t pad0; 01712 uint16_t length; 01713 xcb_window_t window; 01714 } xcb_unmap_subwindows_request_t; 01715 01716 typedef enum xcb_config_window_t { 01717 XCB_CONFIG_WINDOW_X = 1, 01718 XCB_CONFIG_WINDOW_Y = 2, 01719 XCB_CONFIG_WINDOW_WIDTH = 4, 01720 XCB_CONFIG_WINDOW_HEIGHT = 8, 01721 XCB_CONFIG_WINDOW_BORDER_WIDTH = 16, 01722 XCB_CONFIG_WINDOW_SIBLING = 32, 01723 XCB_CONFIG_WINDOW_STACK_MODE = 64 01724 } xcb_config_window_t; 01725 01726 typedef enum xcb_stack_mode_t { 01727 XCB_STACK_MODE_ABOVE = 0, 01728 XCB_STACK_MODE_BELOW = 1, 01729 XCB_STACK_MODE_TOP_IF = 2, 01730 XCB_STACK_MODE_BOTTOM_IF = 3, 01731 XCB_STACK_MODE_OPPOSITE = 4 01732 } xcb_stack_mode_t; 01733 01737 typedef struct xcb_configure_window_value_list_t { 01738 int32_t x; 01739 int32_t y; 01740 uint32_t width; 01741 uint32_t height; 01742 uint32_t border_width; 01743 xcb_window_t sibling; 01744 uint32_t stack_mode; 01745 } xcb_configure_window_value_list_t; 01746 01748 #define XCB_CONFIGURE_WINDOW 12 01749 01753 typedef struct xcb_configure_window_request_t { 01754 uint8_t major_opcode; 01755 uint8_t pad0; 01756 uint16_t length; 01757 xcb_window_t window; 01758 uint16_t value_mask; 01759 uint8_t pad1[2]; 01760 } xcb_configure_window_request_t; 01761 01762 typedef enum xcb_circulate_t { 01763 XCB_CIRCULATE_RAISE_LOWEST = 0, 01764 XCB_CIRCULATE_LOWER_HIGHEST = 1 01765 } xcb_circulate_t; 01766 01768 #define XCB_CIRCULATE_WINDOW 13 01769 01773 typedef struct xcb_circulate_window_request_t { 01774 uint8_t major_opcode; 01775 uint8_t direction; 01776 uint16_t length; 01777 xcb_window_t window; 01778 } xcb_circulate_window_request_t; 01779 01783 typedef struct xcb_get_geometry_cookie_t { 01784 unsigned int sequence; 01785 } xcb_get_geometry_cookie_t; 01786 01788 #define XCB_GET_GEOMETRY 14 01789 01793 typedef struct xcb_get_geometry_request_t { 01794 uint8_t major_opcode; 01795 uint8_t pad0; 01796 uint16_t length; 01797 xcb_drawable_t drawable; 01798 } xcb_get_geometry_request_t; 01799 01803 typedef struct xcb_get_geometry_reply_t { 01804 uint8_t response_type; 01805 uint8_t depth; 01806 uint16_t sequence; 01807 uint32_t length; 01808 xcb_window_t root; 01809 int16_t x; 01810 int16_t y; 01811 uint16_t width; 01812 uint16_t height; 01813 uint16_t border_width; 01814 uint8_t pad0[2]; 01815 } xcb_get_geometry_reply_t; 01816 01820 typedef struct xcb_query_tree_cookie_t { 01821 unsigned int sequence; 01822 } xcb_query_tree_cookie_t; 01823 01825 #define XCB_QUERY_TREE 15 01826 01830 typedef struct xcb_query_tree_request_t { 01831 uint8_t major_opcode; 01832 uint8_t pad0; 01833 uint16_t length; 01834 xcb_window_t window; 01835 } xcb_query_tree_request_t; 01836 01840 typedef struct xcb_query_tree_reply_t { 01841 uint8_t response_type; 01842 uint8_t pad0; 01843 uint16_t sequence; 01844 uint32_t length; 01845 xcb_window_t root; 01846 xcb_window_t parent; 01847 uint16_t children_len; 01848 uint8_t pad1[14]; 01849 } xcb_query_tree_reply_t; 01850 01854 typedef struct xcb_intern_atom_cookie_t { 01855 unsigned int sequence; 01856 } xcb_intern_atom_cookie_t; 01857 01859 #define XCB_INTERN_ATOM 16 01860 01864 typedef struct xcb_intern_atom_request_t { 01865 uint8_t major_opcode; 01866 uint8_t only_if_exists; 01867 uint16_t length; 01868 uint16_t name_len; 01869 uint8_t pad0[2]; 01870 } xcb_intern_atom_request_t; 01871 01875 typedef struct xcb_intern_atom_reply_t { 01876 uint8_t response_type; 01877 uint8_t pad0; 01878 uint16_t sequence; 01879 uint32_t length; 01880 xcb_atom_t atom; 01881 } xcb_intern_atom_reply_t; 01882 01886 typedef struct xcb_get_atom_name_cookie_t { 01887 unsigned int sequence; 01888 } xcb_get_atom_name_cookie_t; 01889 01891 #define XCB_GET_ATOM_NAME 17 01892 01896 typedef struct xcb_get_atom_name_request_t { 01897 uint8_t major_opcode; 01898 uint8_t pad0; 01899 uint16_t length; 01900 xcb_atom_t atom; 01901 } xcb_get_atom_name_request_t; 01902 01906 typedef struct xcb_get_atom_name_reply_t { 01907 uint8_t response_type; 01908 uint8_t pad0; 01909 uint16_t sequence; 01910 uint32_t length; 01911 uint16_t name_len; 01912 uint8_t pad1[22]; 01913 } xcb_get_atom_name_reply_t; 01914 01915 typedef enum xcb_prop_mode_t { 01916 XCB_PROP_MODE_REPLACE = 0, 01919 XCB_PROP_MODE_PREPEND = 1, 01924 XCB_PROP_MODE_APPEND = 2 01929 } xcb_prop_mode_t; 01930 01932 #define XCB_CHANGE_PROPERTY 18 01933 01937 typedef struct xcb_change_property_request_t { 01938 uint8_t major_opcode; 01939 uint8_t mode; 01940 uint16_t length; 01941 xcb_window_t window; 01942 xcb_atom_t property; 01943 xcb_atom_t type; 01944 uint8_t format; 01945 uint8_t pad0[3]; 01946 uint32_t data_len; 01947 } xcb_change_property_request_t; 01948 01950 #define XCB_DELETE_PROPERTY 19 01951 01955 typedef struct xcb_delete_property_request_t { 01956 uint8_t major_opcode; 01957 uint8_t pad0; 01958 uint16_t length; 01959 xcb_window_t window; 01960 xcb_atom_t property; 01961 } xcb_delete_property_request_t; 01962 01963 typedef enum xcb_get_property_type_t { 01964 XCB_GET_PROPERTY_TYPE_ANY = 0 01965 } xcb_get_property_type_t; 01966 01970 typedef struct xcb_get_property_cookie_t { 01971 unsigned int sequence; 01972 } xcb_get_property_cookie_t; 01973 01975 #define XCB_GET_PROPERTY 20 01976 01980 typedef struct xcb_get_property_request_t { 01981 uint8_t major_opcode; 01982 uint8_t _delete; 01983 uint16_t length; 01984 xcb_window_t window; 01985 xcb_atom_t property; 01986 xcb_atom_t type; 01987 uint32_t long_offset; 01988 uint32_t long_length; 01989 } xcb_get_property_request_t; 01990 01994 typedef struct xcb_get_property_reply_t { 01995 uint8_t response_type; 01996 uint8_t format; 01997 uint16_t sequence; 01998 uint32_t length; 01999 xcb_atom_t type; 02000 uint32_t bytes_after; 02001 uint32_t value_len; 02002 uint8_t pad0[12]; 02003 } xcb_get_property_reply_t; 02004 02008 typedef struct xcb_list_properties_cookie_t { 02009 unsigned int sequence; 02010 } xcb_list_properties_cookie_t; 02011 02013 #define XCB_LIST_PROPERTIES 21 02014 02018 typedef struct xcb_list_properties_request_t { 02019 uint8_t major_opcode; 02020 uint8_t pad0; 02021 uint16_t length; 02022 xcb_window_t window; 02023 } xcb_list_properties_request_t; 02024 02028 typedef struct xcb_list_properties_reply_t { 02029 uint8_t response_type; 02030 uint8_t pad0; 02031 uint16_t sequence; 02032 uint32_t length; 02033 uint16_t atoms_len; 02034 uint8_t pad1[22]; 02035 } xcb_list_properties_reply_t; 02036 02038 #define XCB_SET_SELECTION_OWNER 22 02039 02043 typedef struct xcb_set_selection_owner_request_t { 02044 uint8_t major_opcode; 02045 uint8_t pad0; 02046 uint16_t length; 02047 xcb_window_t owner; 02048 xcb_atom_t selection; 02049 xcb_timestamp_t time; 02050 } xcb_set_selection_owner_request_t; 02051 02055 typedef struct xcb_get_selection_owner_cookie_t { 02056 unsigned int sequence; 02057 } xcb_get_selection_owner_cookie_t; 02058 02060 #define XCB_GET_SELECTION_OWNER 23 02061 02065 typedef struct xcb_get_selection_owner_request_t { 02066 uint8_t major_opcode; 02067 uint8_t pad0; 02068 uint16_t length; 02069 xcb_atom_t selection; 02070 } xcb_get_selection_owner_request_t; 02071 02075 typedef struct xcb_get_selection_owner_reply_t { 02076 uint8_t response_type; 02077 uint8_t pad0; 02078 uint16_t sequence; 02079 uint32_t length; 02080 xcb_window_t owner; 02081 } xcb_get_selection_owner_reply_t; 02082 02084 #define XCB_CONVERT_SELECTION 24 02085 02089 typedef struct xcb_convert_selection_request_t { 02090 uint8_t major_opcode; 02091 uint8_t pad0; 02092 uint16_t length; 02093 xcb_window_t requestor; 02094 xcb_atom_t selection; 02095 xcb_atom_t target; 02096 xcb_atom_t property; 02097 xcb_timestamp_t time; 02098 } xcb_convert_selection_request_t; 02099 02100 typedef enum xcb_send_event_dest_t { 02101 XCB_SEND_EVENT_DEST_POINTER_WINDOW = 0, 02102 XCB_SEND_EVENT_DEST_ITEM_FOCUS = 1 02103 } xcb_send_event_dest_t; 02104 02106 #define XCB_SEND_EVENT 25 02107 02111 typedef struct xcb_send_event_request_t { 02112 uint8_t major_opcode; 02113 uint8_t propagate; 02114 uint16_t length; 02115 xcb_window_t destination; 02116 uint32_t event_mask; 02117 char event[32]; 02118 } xcb_send_event_request_t; 02119 02120 typedef enum xcb_grab_mode_t { 02121 XCB_GRAB_MODE_SYNC = 0, 02126 XCB_GRAB_MODE_ASYNC = 1 02129 } xcb_grab_mode_t; 02130 02131 typedef enum xcb_grab_status_t { 02132 XCB_GRAB_STATUS_SUCCESS = 0, 02133 XCB_GRAB_STATUS_ALREADY_GRABBED = 1, 02134 XCB_GRAB_STATUS_INVALID_TIME = 2, 02135 XCB_GRAB_STATUS_NOT_VIEWABLE = 3, 02136 XCB_GRAB_STATUS_FROZEN = 4 02137 } xcb_grab_status_t; 02138 02139 typedef enum xcb_cursor_enum_t { 02140 XCB_CURSOR_NONE = 0 02141 } xcb_cursor_enum_t; 02142 02146 typedef struct xcb_grab_pointer_cookie_t { 02147 unsigned int sequence; 02148 } xcb_grab_pointer_cookie_t; 02149 02151 #define XCB_GRAB_POINTER 26 02152 02156 typedef struct xcb_grab_pointer_request_t { 02157 uint8_t major_opcode; 02158 uint8_t owner_events; 02159 uint16_t length; 02160 xcb_window_t grab_window; 02161 uint16_t event_mask; 02162 uint8_t pointer_mode; 02163 uint8_t keyboard_mode; 02164 xcb_window_t confine_to; 02165 xcb_cursor_t cursor; 02166 xcb_timestamp_t time; 02167 } xcb_grab_pointer_request_t; 02168 02172 typedef struct xcb_grab_pointer_reply_t { 02173 uint8_t response_type; 02174 uint8_t status; 02175 uint16_t sequence; 02176 uint32_t length; 02177 } xcb_grab_pointer_reply_t; 02178 02180 #define XCB_UNGRAB_POINTER 27 02181 02185 typedef struct xcb_ungrab_pointer_request_t { 02186 uint8_t major_opcode; 02187 uint8_t pad0; 02188 uint16_t length; 02189 xcb_timestamp_t time; 02190 } xcb_ungrab_pointer_request_t; 02191 02192 typedef enum xcb_button_index_t { 02193 XCB_BUTTON_INDEX_ANY = 0, 02196 XCB_BUTTON_INDEX_1 = 1, 02199 XCB_BUTTON_INDEX_2 = 2, 02202 XCB_BUTTON_INDEX_3 = 3, 02205 XCB_BUTTON_INDEX_4 = 4, 02208 XCB_BUTTON_INDEX_5 = 5 02211 } xcb_button_index_t; 02212 02214 #define XCB_GRAB_BUTTON 28 02215 02219 typedef struct xcb_grab_button_request_t { 02220 uint8_t major_opcode; 02221 uint8_t owner_events; 02222 uint16_t length; 02223 xcb_window_t grab_window; 02224 uint16_t event_mask; 02225 uint8_t pointer_mode; 02226 uint8_t keyboard_mode; 02227 xcb_window_t confine_to; 02228 xcb_cursor_t cursor; 02229 uint8_t button; 02230 uint8_t pad0; 02231 uint16_t modifiers; 02232 } xcb_grab_button_request_t; 02233 02235 #define XCB_UNGRAB_BUTTON 29 02236 02240 typedef struct xcb_ungrab_button_request_t { 02241 uint8_t major_opcode; 02242 uint8_t button; 02243 uint16_t length; 02244 xcb_window_t grab_window; 02245 uint16_t modifiers; 02246 uint8_t pad0[2]; 02247 } xcb_ungrab_button_request_t; 02248 02250 #define XCB_CHANGE_ACTIVE_POINTER_GRAB 30 02251 02255 typedef struct xcb_change_active_pointer_grab_request_t { 02256 uint8_t major_opcode; 02257 uint8_t pad0; 02258 uint16_t length; 02259 xcb_cursor_t cursor; 02260 xcb_timestamp_t time; 02261 uint16_t event_mask; 02262 uint8_t pad1[2]; 02263 } xcb_change_active_pointer_grab_request_t; 02264 02268 typedef struct xcb_grab_keyboard_cookie_t { 02269 unsigned int sequence; 02270 } xcb_grab_keyboard_cookie_t; 02271 02273 #define XCB_GRAB_KEYBOARD 31 02274 02278 typedef struct xcb_grab_keyboard_request_t { 02279 uint8_t major_opcode; 02280 uint8_t owner_events; 02281 uint16_t length; 02282 xcb_window_t grab_window; 02283 xcb_timestamp_t time; 02284 uint8_t pointer_mode; 02285 uint8_t keyboard_mode; 02286 uint8_t pad0[2]; 02287 } xcb_grab_keyboard_request_t; 02288 02292 typedef struct xcb_grab_keyboard_reply_t { 02293 uint8_t response_type; 02294 uint8_t status; 02295 uint16_t sequence; 02296 uint32_t length; 02297 } xcb_grab_keyboard_reply_t; 02298 02300 #define XCB_UNGRAB_KEYBOARD 32 02301 02305 typedef struct xcb_ungrab_keyboard_request_t { 02306 uint8_t major_opcode; 02307 uint8_t pad0; 02308 uint16_t length; 02309 xcb_timestamp_t time; 02310 } xcb_ungrab_keyboard_request_t; 02311 02312 typedef enum xcb_grab_t { 02313 XCB_GRAB_ANY = 0 02314 } xcb_grab_t; 02315 02317 #define XCB_GRAB_KEY 33 02318 02322 typedef struct xcb_grab_key_request_t { 02323 uint8_t major_opcode; 02324 uint8_t owner_events; 02325 uint16_t length; 02326 xcb_window_t grab_window; 02327 uint16_t modifiers; 02328 xcb_keycode_t key; 02329 uint8_t pointer_mode; 02330 uint8_t keyboard_mode; 02331 uint8_t pad0[3]; 02332 } xcb_grab_key_request_t; 02333 02335 #define XCB_UNGRAB_KEY 34 02336 02340 typedef struct xcb_ungrab_key_request_t { 02341 uint8_t major_opcode; 02342 xcb_keycode_t key; 02343 uint16_t length; 02344 xcb_window_t grab_window; 02345 uint16_t modifiers; 02346 uint8_t pad0[2]; 02347 } xcb_ungrab_key_request_t; 02348 02349 typedef enum xcb_allow_t { 02350 XCB_ALLOW_ASYNC_POINTER = 0, 02359 XCB_ALLOW_SYNC_POINTER = 1, 02368 XCB_ALLOW_REPLAY_POINTER = 2, 02378 XCB_ALLOW_ASYNC_KEYBOARD = 3, 02385 XCB_ALLOW_SYNC_KEYBOARD = 4, 02394 XCB_ALLOW_REPLAY_KEYBOARD = 5, 02404 XCB_ALLOW_ASYNC_BOTH = 6, 02410 XCB_ALLOW_SYNC_BOTH = 7 02423 } xcb_allow_t; 02424 02426 #define XCB_ALLOW_EVENTS 35 02427 02431 typedef struct xcb_allow_events_request_t { 02432 uint8_t major_opcode; 02433 uint8_t mode; 02434 uint16_t length; 02435 xcb_timestamp_t time; 02436 } xcb_allow_events_request_t; 02437 02439 #define XCB_GRAB_SERVER 36 02440 02444 typedef struct xcb_grab_server_request_t { 02445 uint8_t major_opcode; 02446 uint8_t pad0; 02447 uint16_t length; 02448 } xcb_grab_server_request_t; 02449 02451 #define XCB_UNGRAB_SERVER 37 02452 02456 typedef struct xcb_ungrab_server_request_t { 02457 uint8_t major_opcode; 02458 uint8_t pad0; 02459 uint16_t length; 02460 } xcb_ungrab_server_request_t; 02461 02465 typedef struct xcb_query_pointer_cookie_t { 02466 unsigned int sequence; 02467 } xcb_query_pointer_cookie_t; 02468 02470 #define XCB_QUERY_POINTER 38 02471 02475 typedef struct xcb_query_pointer_request_t { 02476 uint8_t major_opcode; 02477 uint8_t pad0; 02478 uint16_t length; 02479 xcb_window_t window; 02480 } xcb_query_pointer_request_t; 02481 02485 typedef struct xcb_query_pointer_reply_t { 02486 uint8_t response_type; 02487 uint8_t same_screen; 02488 uint16_t sequence; 02489 uint32_t length; 02490 xcb_window_t root; 02491 xcb_window_t child; 02492 int16_t root_x; 02493 int16_t root_y; 02494 int16_t win_x; 02495 int16_t win_y; 02496 uint16_t mask; 02497 uint8_t pad0[2]; 02498 } xcb_query_pointer_reply_t; 02499 02503 typedef struct xcb_timecoord_t { 02504 xcb_timestamp_t time; 02505 int16_t x; 02506 int16_t y; 02507 } xcb_timecoord_t; 02508 02512 typedef struct xcb_timecoord_iterator_t { 02513 xcb_timecoord_t *data; 02514 int rem; 02515 int index; 02516 } xcb_timecoord_iterator_t; 02517 02521 typedef struct xcb_get_motion_events_cookie_t { 02522 unsigned int sequence; 02523 } xcb_get_motion_events_cookie_t; 02524 02526 #define XCB_GET_MOTION_EVENTS 39 02527 02531 typedef struct xcb_get_motion_events_request_t { 02532 uint8_t major_opcode; 02533 uint8_t pad0; 02534 uint16_t length; 02535 xcb_window_t window; 02536 xcb_timestamp_t start; 02537 xcb_timestamp_t stop; 02538 } xcb_get_motion_events_request_t; 02539 02543 typedef struct xcb_get_motion_events_reply_t { 02544 uint8_t response_type; 02545 uint8_t pad0; 02546 uint16_t sequence; 02547 uint32_t length; 02548 uint32_t events_len; 02549 uint8_t pad1[20]; 02550 } xcb_get_motion_events_reply_t; 02551 02555 typedef struct xcb_translate_coordinates_cookie_t { 02556 unsigned int sequence; 02557 } xcb_translate_coordinates_cookie_t; 02558 02560 #define XCB_TRANSLATE_COORDINATES 40 02561 02565 typedef struct xcb_translate_coordinates_request_t { 02566 uint8_t major_opcode; 02567 uint8_t pad0; 02568 uint16_t length; 02569 xcb_window_t src_window; 02570 xcb_window_t dst_window; 02571 int16_t src_x; 02572 int16_t src_y; 02573 } xcb_translate_coordinates_request_t; 02574 02578 typedef struct xcb_translate_coordinates_reply_t { 02579 uint8_t response_type; 02580 uint8_t same_screen; 02581 uint16_t sequence; 02582 uint32_t length; 02583 xcb_window_t child; 02584 int16_t dst_x; 02585 int16_t dst_y; 02586 } xcb_translate_coordinates_reply_t; 02587 02589 #define XCB_WARP_POINTER 41 02590 02594 typedef struct xcb_warp_pointer_request_t { 02595 uint8_t major_opcode; 02596 uint8_t pad0; 02597 uint16_t length; 02598 xcb_window_t src_window; 02599 xcb_window_t dst_window; 02600 int16_t src_x; 02601 int16_t src_y; 02602 uint16_t src_width; 02603 uint16_t src_height; 02604 int16_t dst_x; 02605 int16_t dst_y; 02606 } xcb_warp_pointer_request_t; 02607 02608 typedef enum xcb_input_focus_t { 02609 XCB_INPUT_FOCUS_NONE = 0, 02612 XCB_INPUT_FOCUS_POINTER_ROOT = 1, 02617 XCB_INPUT_FOCUS_PARENT = 2, 02621 XCB_INPUT_FOCUS_FOLLOW_KEYBOARD = 3 02624 } xcb_input_focus_t; 02625 02627 #define XCB_SET_INPUT_FOCUS 42 02628 02632 typedef struct xcb_set_input_focus_request_t { 02633 uint8_t major_opcode; 02634 uint8_t revert_to; 02635 uint16_t length; 02636 xcb_window_t focus; 02637 xcb_timestamp_t time; 02638 } xcb_set_input_focus_request_t; 02639 02643 typedef struct xcb_get_input_focus_cookie_t { 02644 unsigned int sequence; 02645 } xcb_get_input_focus_cookie_t; 02646 02648 #define XCB_GET_INPUT_FOCUS 43 02649 02653 typedef struct xcb_get_input_focus_request_t { 02654 uint8_t major_opcode; 02655 uint8_t pad0; 02656 uint16_t length; 02657 } xcb_get_input_focus_request_t; 02658 02662 typedef struct xcb_get_input_focus_reply_t { 02663 uint8_t response_type; 02664 uint8_t revert_to; 02665 uint16_t sequence; 02666 uint32_t length; 02667 xcb_window_t focus; 02668 } xcb_get_input_focus_reply_t; 02669 02673 typedef struct xcb_query_keymap_cookie_t { 02674 unsigned int sequence; 02675 } xcb_query_keymap_cookie_t; 02676 02678 #define XCB_QUERY_KEYMAP 44 02679 02683 typedef struct xcb_query_keymap_request_t { 02684 uint8_t major_opcode; 02685 uint8_t pad0; 02686 uint16_t length; 02687 } xcb_query_keymap_request_t; 02688 02692 typedef struct xcb_query_keymap_reply_t { 02693 uint8_t response_type; 02694 uint8_t pad0; 02695 uint16_t sequence; 02696 uint32_t length; 02697 uint8_t keys[32]; 02698 } xcb_query_keymap_reply_t; 02699 02701 #define XCB_OPEN_FONT 45 02702 02706 typedef struct xcb_open_font_request_t { 02707 uint8_t major_opcode; 02708 uint8_t pad0; 02709 uint16_t length; 02710 xcb_font_t fid; 02711 uint16_t name_len; 02712 uint8_t pad1[2]; 02713 } xcb_open_font_request_t; 02714 02716 #define XCB_CLOSE_FONT 46 02717 02721 typedef struct xcb_close_font_request_t { 02722 uint8_t major_opcode; 02723 uint8_t pad0; 02724 uint16_t length; 02725 xcb_font_t font; 02726 } xcb_close_font_request_t; 02727 02728 typedef enum xcb_font_draw_t { 02729 XCB_FONT_DRAW_LEFT_TO_RIGHT = 0, 02730 XCB_FONT_DRAW_RIGHT_TO_LEFT = 1 02731 } xcb_font_draw_t; 02732 02736 typedef struct xcb_fontprop_t { 02737 xcb_atom_t name; 02738 uint32_t value; 02739 } xcb_fontprop_t; 02740 02744 typedef struct xcb_fontprop_iterator_t { 02745 xcb_fontprop_t *data; 02746 int rem; 02747 int index; 02748 } xcb_fontprop_iterator_t; 02749 02753 typedef struct xcb_charinfo_t { 02754 int16_t left_side_bearing; 02755 int16_t right_side_bearing; 02756 int16_t character_width; 02757 int16_t ascent; 02758 int16_t descent; 02759 uint16_t attributes; 02760 } xcb_charinfo_t; 02761 02765 typedef struct xcb_charinfo_iterator_t { 02766 xcb_charinfo_t *data; 02767 int rem; 02768 int index; 02769 } xcb_charinfo_iterator_t; 02770 02774 typedef struct xcb_query_font_cookie_t { 02775 unsigned int sequence; 02776 } xcb_query_font_cookie_t; 02777 02779 #define XCB_QUERY_FONT 47 02780 02784 typedef struct xcb_query_font_request_t { 02785 uint8_t major_opcode; 02786 uint8_t pad0; 02787 uint16_t length; 02788 xcb_fontable_t font; 02789 } xcb_query_font_request_t; 02790 02794 typedef struct xcb_query_font_reply_t { 02795 uint8_t response_type; 02796 uint8_t pad0; 02797 uint16_t sequence; 02798 uint32_t length; 02799 xcb_charinfo_t min_bounds; 02800 uint8_t pad1[4]; 02801 xcb_charinfo_t max_bounds; 02802 uint8_t pad2[4]; 02803 uint16_t min_char_or_byte2; 02804 uint16_t max_char_or_byte2; 02805 uint16_t default_char; 02806 uint16_t properties_len; 02807 uint8_t draw_direction; 02808 uint8_t min_byte1; 02809 uint8_t max_byte1; 02810 uint8_t all_chars_exist; 02811 int16_t font_ascent; 02812 int16_t font_descent; 02813 uint32_t char_infos_len; 02814 } xcb_query_font_reply_t; 02815 02819 typedef struct xcb_query_text_extents_cookie_t { 02820 unsigned int sequence; 02821 } xcb_query_text_extents_cookie_t; 02822 02824 #define XCB_QUERY_TEXT_EXTENTS 48 02825 02829 typedef struct xcb_query_text_extents_request_t { 02830 uint8_t major_opcode; 02831 uint8_t odd_length; 02832 uint16_t length; 02833 xcb_fontable_t font; 02834 } xcb_query_text_extents_request_t; 02835 02839 typedef struct xcb_query_text_extents_reply_t { 02840 uint8_t response_type; 02841 uint8_t draw_direction; 02842 uint16_t sequence; 02843 uint32_t length; 02844 int16_t font_ascent; 02845 int16_t font_descent; 02846 int16_t overall_ascent; 02847 int16_t overall_descent; 02848 int32_t overall_width; 02849 int32_t overall_left; 02850 int32_t overall_right; 02851 } xcb_query_text_extents_reply_t; 02852 02856 typedef struct xcb_str_t { 02857 uint8_t name_len; 02858 } xcb_str_t; 02859 02863 typedef struct xcb_str_iterator_t { 02864 xcb_str_t *data; 02865 int rem; 02866 int index; 02867 } xcb_str_iterator_t; 02868 02872 typedef struct xcb_list_fonts_cookie_t { 02873 unsigned int sequence; 02874 } xcb_list_fonts_cookie_t; 02875 02877 #define XCB_LIST_FONTS 49 02878 02882 typedef struct xcb_list_fonts_request_t { 02883 uint8_t major_opcode; 02884 uint8_t pad0; 02885 uint16_t length; 02886 uint16_t max_names; 02887 uint16_t pattern_len; 02888 } xcb_list_fonts_request_t; 02889 02893 typedef struct xcb_list_fonts_reply_t { 02894 uint8_t response_type; 02895 uint8_t pad0; 02896 uint16_t sequence; 02897 uint32_t length; 02898 uint16_t names_len; 02899 uint8_t pad1[22]; 02900 } xcb_list_fonts_reply_t; 02901 02905 typedef struct xcb_list_fonts_with_info_cookie_t { 02906 unsigned int sequence; 02907 } xcb_list_fonts_with_info_cookie_t; 02908 02910 #define XCB_LIST_FONTS_WITH_INFO 50 02911 02915 typedef struct xcb_list_fonts_with_info_request_t { 02916 uint8_t major_opcode; 02917 uint8_t pad0; 02918 uint16_t length; 02919 uint16_t max_names; 02920 uint16_t pattern_len; 02921 } xcb_list_fonts_with_info_request_t; 02922 02926 typedef struct xcb_list_fonts_with_info_reply_t { 02927 uint8_t response_type; 02928 uint8_t name_len; 02929 uint16_t sequence; 02930 uint32_t length; 02931 xcb_charinfo_t min_bounds; 02932 uint8_t pad0[4]; 02933 xcb_charinfo_t max_bounds; 02934 uint8_t pad1[4]; 02935 uint16_t min_char_or_byte2; 02936 uint16_t max_char_or_byte2; 02937 uint16_t default_char; 02938 uint16_t properties_len; 02939 uint8_t draw_direction; 02940 uint8_t min_byte1; 02941 uint8_t max_byte1; 02942 uint8_t all_chars_exist; 02943 int16_t font_ascent; 02944 int16_t font_descent; 02945 uint32_t replies_hint; 02946 } xcb_list_fonts_with_info_reply_t; 02947 02949 #define XCB_SET_FONT_PATH 51 02950 02954 typedef struct xcb_set_font_path_request_t { 02955 uint8_t major_opcode; 02956 uint8_t pad0; 02957 uint16_t length; 02958 uint16_t font_qty; 02959 uint8_t pad1[2]; 02960 } xcb_set_font_path_request_t; 02961 02965 typedef struct xcb_get_font_path_cookie_t { 02966 unsigned int sequence; 02967 } xcb_get_font_path_cookie_t; 02968 02970 #define XCB_GET_FONT_PATH 52 02971 02975 typedef struct xcb_get_font_path_request_t { 02976 uint8_t major_opcode; 02977 uint8_t pad0; 02978 uint16_t length; 02979 } xcb_get_font_path_request_t; 02980 02984 typedef struct xcb_get_font_path_reply_t { 02985 uint8_t response_type; 02986 uint8_t pad0; 02987 uint16_t sequence; 02988 uint32_t length; 02989 uint16_t path_len; 02990 uint8_t pad1[22]; 02991 } xcb_get_font_path_reply_t; 02992 02994 #define XCB_CREATE_PIXMAP 53 02995 02999 typedef struct xcb_create_pixmap_request_t { 03000 uint8_t major_opcode; 03001 uint8_t depth; 03002 uint16_t length; 03003 xcb_pixmap_t pid; 03004 xcb_drawable_t drawable; 03005 uint16_t width; 03006 uint16_t height; 03007 } xcb_create_pixmap_request_t; 03008 03010 #define XCB_FREE_PIXMAP 54 03011 03015 typedef struct xcb_free_pixmap_request_t { 03016 uint8_t major_opcode; 03017 uint8_t pad0; 03018 uint16_t length; 03019 xcb_pixmap_t pixmap; 03020 } xcb_free_pixmap_request_t; 03021 03022 typedef enum xcb_gc_t { 03023 XCB_GC_FUNCTION = 1, 03026 XCB_GC_PLANE_MASK = 2, 03034 XCB_GC_FOREGROUND = 4, 03037 XCB_GC_BACKGROUND = 8, 03040 XCB_GC_LINE_WIDTH = 16, 03044 XCB_GC_LINE_STYLE = 32, 03053 XCB_GC_CAP_STYLE = 64, 03065 XCB_GC_JOIN_STYLE = 128, 03073 XCB_GC_FILL_STYLE = 256, 03091 XCB_GC_FILL_RULE = 512, 03094 XCB_GC_TILE = 1024, 03108 XCB_GC_STIPPLE = 2048, 03122 XCB_GC_TILE_STIPPLE_ORIGIN_X = 4096, 03125 XCB_GC_TILE_STIPPLE_ORIGIN_Y = 8192, 03128 XCB_GC_FONT = 16384, 03131 XCB_GC_SUBWINDOW_MODE = 32768, 03140 XCB_GC_GRAPHICS_EXPOSURES = 65536, 03145 XCB_GC_CLIP_ORIGIN_X = 131072, 03148 XCB_GC_CLIP_ORIGIN_Y = 262144, 03151 XCB_GC_CLIP_MASK = 524288, 03160 XCB_GC_DASH_OFFSET = 1048576, 03163 XCB_GC_DASH_LIST = 2097152, 03166 XCB_GC_ARC_MODE = 4194304 03169 } xcb_gc_t; 03170 03171 typedef enum xcb_gx_t { 03172 XCB_GX_CLEAR = 0, 03173 XCB_GX_AND = 1, 03174 XCB_GX_AND_REVERSE = 2, 03175 XCB_GX_COPY = 3, 03176 XCB_GX_AND_INVERTED = 4, 03177 XCB_GX_NOOP = 5, 03178 XCB_GX_XOR = 6, 03179 XCB_GX_OR = 7, 03180 XCB_GX_NOR = 8, 03181 XCB_GX_EQUIV = 9, 03182 XCB_GX_INVERT = 10, 03183 XCB_GX_OR_REVERSE = 11, 03184 XCB_GX_COPY_INVERTED = 12, 03185 XCB_GX_OR_INVERTED = 13, 03186 XCB_GX_NAND = 14, 03187 XCB_GX_SET = 15 03188 } xcb_gx_t; 03189 03190 typedef enum xcb_line_style_t { 03191 XCB_LINE_STYLE_SOLID = 0, 03192 XCB_LINE_STYLE_ON_OFF_DASH = 1, 03193 XCB_LINE_STYLE_DOUBLE_DASH = 2 03194 } xcb_line_style_t; 03195 03196 typedef enum xcb_cap_style_t { 03197 XCB_CAP_STYLE_NOT_LAST = 0, 03198 XCB_CAP_STYLE_BUTT = 1, 03199 XCB_CAP_STYLE_ROUND = 2, 03200 XCB_CAP_STYLE_PROJECTING = 3 03201 } xcb_cap_style_t; 03202 03203 typedef enum xcb_join_style_t { 03204 XCB_JOIN_STYLE_MITER = 0, 03205 XCB_JOIN_STYLE_ROUND = 1, 03206 XCB_JOIN_STYLE_BEVEL = 2 03207 } xcb_join_style_t; 03208 03209 typedef enum xcb_fill_style_t { 03210 XCB_FILL_STYLE_SOLID = 0, 03211 XCB_FILL_STYLE_TILED = 1, 03212 XCB_FILL_STYLE_STIPPLED = 2, 03213 XCB_FILL_STYLE_OPAQUE_STIPPLED = 3 03214 } xcb_fill_style_t; 03215 03216 typedef enum xcb_fill_rule_t { 03217 XCB_FILL_RULE_EVEN_ODD = 0, 03218 XCB_FILL_RULE_WINDING = 1 03219 } xcb_fill_rule_t; 03220 03221 typedef enum xcb_subwindow_mode_t { 03222 XCB_SUBWINDOW_MODE_CLIP_BY_CHILDREN = 0, 03223 XCB_SUBWINDOW_MODE_INCLUDE_INFERIORS = 1 03224 } xcb_subwindow_mode_t; 03225 03226 typedef enum xcb_arc_mode_t { 03227 XCB_ARC_MODE_CHORD = 0, 03228 XCB_ARC_MODE_PIE_SLICE = 1 03229 } xcb_arc_mode_t; 03230 03234 typedef struct xcb_create_gc_value_list_t { 03235 uint32_t function; 03236 uint32_t plane_mask; 03237 uint32_t foreground; 03238 uint32_t background; 03239 uint32_t line_width; 03240 uint32_t line_style; 03241 uint32_t cap_style; 03242 uint32_t join_style; 03243 uint32_t fill_style; 03244 uint32_t fill_rule; 03245 xcb_pixmap_t tile; 03246 xcb_pixmap_t stipple; 03247 int32_t tile_stipple_x_origin; 03248 int32_t tile_stipple_y_origin; 03249 xcb_font_t font; 03250 uint32_t subwindow_mode; 03251 xcb_bool32_t graphics_exposures; 03252 int32_t clip_x_origin; 03253 int32_t clip_y_origin; 03254 xcb_pixmap_t clip_mask; 03255 uint32_t dash_offset; 03256 uint32_t dashes; 03257 uint32_t arc_mode; 03258 } xcb_create_gc_value_list_t; 03259 03261 #define XCB_CREATE_GC 55 03262 03266 typedef struct xcb_create_gc_request_t { 03267 uint8_t major_opcode; 03268 uint8_t pad0; 03269 uint16_t length; 03270 xcb_gcontext_t cid; 03271 xcb_drawable_t drawable; 03272 uint32_t value_mask; 03273 } xcb_create_gc_request_t; 03274 03278 typedef struct xcb_change_gc_value_list_t { 03279 uint32_t function; 03280 uint32_t plane_mask; 03281 uint32_t foreground; 03282 uint32_t background; 03283 uint32_t line_width; 03284 uint32_t line_style; 03285 uint32_t cap_style; 03286 uint32_t join_style; 03287 uint32_t fill_style; 03288 uint32_t fill_rule; 03289 xcb_pixmap_t tile; 03290 xcb_pixmap_t stipple; 03291 int32_t tile_stipple_x_origin; 03292 int32_t tile_stipple_y_origin; 03293 xcb_font_t font; 03294 uint32_t subwindow_mode; 03295 xcb_bool32_t graphics_exposures; 03296 int32_t clip_x_origin; 03297 int32_t clip_y_origin; 03298 xcb_pixmap_t clip_mask; 03299 uint32_t dash_offset; 03300 uint32_t dashes; 03301 uint32_t arc_mode; 03302 } xcb_change_gc_value_list_t; 03303 03305 #define XCB_CHANGE_GC 56 03306 03310 typedef struct xcb_change_gc_request_t { 03311 uint8_t major_opcode; 03312 uint8_t pad0; 03313 uint16_t length; 03314 xcb_gcontext_t gc; 03315 uint32_t value_mask; 03316 } xcb_change_gc_request_t; 03317 03319 #define XCB_COPY_GC 57 03320 03324 typedef struct xcb_copy_gc_request_t { 03325 uint8_t major_opcode; 03326 uint8_t pad0; 03327 uint16_t length; 03328 xcb_gcontext_t src_gc; 03329 xcb_gcontext_t dst_gc; 03330 uint32_t value_mask; 03331 } xcb_copy_gc_request_t; 03332 03334 #define XCB_SET_DASHES 58 03335 03339 typedef struct xcb_set_dashes_request_t { 03340 uint8_t major_opcode; 03341 uint8_t pad0; 03342 uint16_t length; 03343 xcb_gcontext_t gc; 03344 uint16_t dash_offset; 03345 uint16_t dashes_len; 03346 } xcb_set_dashes_request_t; 03347 03348 typedef enum xcb_clip_ordering_t { 03349 XCB_CLIP_ORDERING_UNSORTED = 0, 03350 XCB_CLIP_ORDERING_Y_SORTED = 1, 03351 XCB_CLIP_ORDERING_YX_SORTED = 2, 03352 XCB_CLIP_ORDERING_YX_BANDED = 3 03353 } xcb_clip_ordering_t; 03354 03356 #define XCB_SET_CLIP_RECTANGLES 59 03357 03361 typedef struct xcb_set_clip_rectangles_request_t { 03362 uint8_t major_opcode; 03363 uint8_t ordering; 03364 uint16_t length; 03365 xcb_gcontext_t gc; 03366 int16_t clip_x_origin; 03367 int16_t clip_y_origin; 03368 } xcb_set_clip_rectangles_request_t; 03369 03371 #define XCB_FREE_GC 60 03372 03376 typedef struct xcb_free_gc_request_t { 03377 uint8_t major_opcode; 03378 uint8_t pad0; 03379 uint16_t length; 03380 xcb_gcontext_t gc; 03381 } xcb_free_gc_request_t; 03382 03384 #define XCB_CLEAR_AREA 61 03385 03389 typedef struct xcb_clear_area_request_t { 03390 uint8_t major_opcode; 03391 uint8_t exposures; 03392 uint16_t length; 03393 xcb_window_t window; 03394 int16_t x; 03395 int16_t y; 03396 uint16_t width; 03397 uint16_t height; 03398 } xcb_clear_area_request_t; 03399 03401 #define XCB_COPY_AREA 62 03402 03406 typedef struct xcb_copy_area_request_t { 03407 uint8_t major_opcode; 03408 uint8_t pad0; 03409 uint16_t length; 03410 xcb_drawable_t src_drawable; 03411 xcb_drawable_t dst_drawable; 03412 xcb_gcontext_t gc; 03413 int16_t src_x; 03414 int16_t src_y; 03415 int16_t dst_x; 03416 int16_t dst_y; 03417 uint16_t width; 03418 uint16_t height; 03419 } xcb_copy_area_request_t; 03420 03422 #define XCB_COPY_PLANE 63 03423 03427 typedef struct xcb_copy_plane_request_t { 03428 uint8_t major_opcode; 03429 uint8_t pad0; 03430 uint16_t length; 03431 xcb_drawable_t src_drawable; 03432 xcb_drawable_t dst_drawable; 03433 xcb_gcontext_t gc; 03434 int16_t src_x; 03435 int16_t src_y; 03436 int16_t dst_x; 03437 int16_t dst_y; 03438 uint16_t width; 03439 uint16_t height; 03440 uint32_t bit_plane; 03441 } xcb_copy_plane_request_t; 03442 03443 typedef enum xcb_coord_mode_t { 03444 XCB_COORD_MODE_ORIGIN = 0, 03447 XCB_COORD_MODE_PREVIOUS = 1 03450 } xcb_coord_mode_t; 03451 03453 #define XCB_POLY_POINT 64 03454 03458 typedef struct xcb_poly_point_request_t { 03459 uint8_t major_opcode; 03460 uint8_t coordinate_mode; 03461 uint16_t length; 03462 xcb_drawable_t drawable; 03463 xcb_gcontext_t gc; 03464 } xcb_poly_point_request_t; 03465 03467 #define XCB_POLY_LINE 65 03468 03472 typedef struct xcb_poly_line_request_t { 03473 uint8_t major_opcode; 03474 uint8_t coordinate_mode; 03475 uint16_t length; 03476 xcb_drawable_t drawable; 03477 xcb_gcontext_t gc; 03478 } xcb_poly_line_request_t; 03479 03483 typedef struct xcb_segment_t { 03484 int16_t x1; 03485 int16_t y1; 03486 int16_t x2; 03487 int16_t y2; 03488 } xcb_segment_t; 03489 03493 typedef struct xcb_segment_iterator_t { 03494 xcb_segment_t *data; 03495 int rem; 03496 int index; 03497 } xcb_segment_iterator_t; 03498 03500 #define XCB_POLY_SEGMENT 66 03501 03505 typedef struct xcb_poly_segment_request_t { 03506 uint8_t major_opcode; 03507 uint8_t pad0; 03508 uint16_t length; 03509 xcb_drawable_t drawable; 03510 xcb_gcontext_t gc; 03511 } xcb_poly_segment_request_t; 03512 03514 #define XCB_POLY_RECTANGLE 67 03515 03519 typedef struct xcb_poly_rectangle_request_t { 03520 uint8_t major_opcode; 03521 uint8_t pad0; 03522 uint16_t length; 03523 xcb_drawable_t drawable; 03524 xcb_gcontext_t gc; 03525 } xcb_poly_rectangle_request_t; 03526 03528 #define XCB_POLY_ARC 68 03529 03533 typedef struct xcb_poly_arc_request_t { 03534 uint8_t major_opcode; 03535 uint8_t pad0; 03536 uint16_t length; 03537 xcb_drawable_t drawable; 03538 xcb_gcontext_t gc; 03539 } xcb_poly_arc_request_t; 03540 03541 typedef enum xcb_poly_shape_t { 03542 XCB_POLY_SHAPE_COMPLEX = 0, 03543 XCB_POLY_SHAPE_NONCONVEX = 1, 03544 XCB_POLY_SHAPE_CONVEX = 2 03545 } xcb_poly_shape_t; 03546 03548 #define XCB_FILL_POLY 69 03549 03553 typedef struct xcb_fill_poly_request_t { 03554 uint8_t major_opcode; 03555 uint8_t pad0; 03556 uint16_t length; 03557 xcb_drawable_t drawable; 03558 xcb_gcontext_t gc; 03559 uint8_t shape; 03560 uint8_t coordinate_mode; 03561 uint8_t pad1[2]; 03562 } xcb_fill_poly_request_t; 03563 03565 #define XCB_POLY_FILL_RECTANGLE 70 03566 03570 typedef struct xcb_poly_fill_rectangle_request_t { 03571 uint8_t major_opcode; 03572 uint8_t pad0; 03573 uint16_t length; 03574 xcb_drawable_t drawable; 03575 xcb_gcontext_t gc; 03576 } xcb_poly_fill_rectangle_request_t; 03577 03579 #define XCB_POLY_FILL_ARC 71 03580 03584 typedef struct xcb_poly_fill_arc_request_t { 03585 uint8_t major_opcode; 03586 uint8_t pad0; 03587 uint16_t length; 03588 xcb_drawable_t drawable; 03589 xcb_gcontext_t gc; 03590 } xcb_poly_fill_arc_request_t; 03591 03592 typedef enum xcb_image_format_t { 03593 XCB_IMAGE_FORMAT_XY_BITMAP = 0, 03594 XCB_IMAGE_FORMAT_XY_PIXMAP = 1, 03595 XCB_IMAGE_FORMAT_Z_PIXMAP = 2 03596 } xcb_image_format_t; 03597 03599 #define XCB_PUT_IMAGE 72 03600 03604 typedef struct xcb_put_image_request_t { 03605 uint8_t major_opcode; 03606 uint8_t format; 03607 uint16_t length; 03608 xcb_drawable_t drawable; 03609 xcb_gcontext_t gc; 03610 uint16_t width; 03611 uint16_t height; 03612 int16_t dst_x; 03613 int16_t dst_y; 03614 uint8_t left_pad; 03615 uint8_t depth; 03616 uint8_t pad0[2]; 03617 } xcb_put_image_request_t; 03618 03622 typedef struct xcb_get_image_cookie_t { 03623 unsigned int sequence; 03624 } xcb_get_image_cookie_t; 03625 03627 #define XCB_GET_IMAGE 73 03628 03632 typedef struct xcb_get_image_request_t { 03633 uint8_t major_opcode; 03634 uint8_t format; 03635 uint16_t length; 03636 xcb_drawable_t drawable; 03637 int16_t x; 03638 int16_t y; 03639 uint16_t width; 03640 uint16_t height; 03641 uint32_t plane_mask; 03642 } xcb_get_image_request_t; 03643 03647 typedef struct xcb_get_image_reply_t { 03648 uint8_t response_type; 03649 uint8_t depth; 03650 uint16_t sequence; 03651 uint32_t length; 03652 xcb_visualid_t visual; 03653 uint8_t pad0[20]; 03654 } xcb_get_image_reply_t; 03655 03657 #define XCB_POLY_TEXT_8 74 03658 03662 typedef struct xcb_poly_text_8_request_t { 03663 uint8_t major_opcode; 03664 uint8_t pad0; 03665 uint16_t length; 03666 xcb_drawable_t drawable; 03667 xcb_gcontext_t gc; 03668 int16_t x; 03669 int16_t y; 03670 } xcb_poly_text_8_request_t; 03671 03673 #define XCB_POLY_TEXT_16 75 03674 03678 typedef struct xcb_poly_text_16_request_t { 03679 uint8_t major_opcode; 03680 uint8_t pad0; 03681 uint16_t length; 03682 xcb_drawable_t drawable; 03683 xcb_gcontext_t gc; 03684 int16_t x; 03685 int16_t y; 03686 } xcb_poly_text_16_request_t; 03687 03689 #define XCB_IMAGE_TEXT_8 76 03690 03694 typedef struct xcb_image_text_8_request_t { 03695 uint8_t major_opcode; 03696 uint8_t string_len; 03697 uint16_t length; 03698 xcb_drawable_t drawable; 03699 xcb_gcontext_t gc; 03700 int16_t x; 03701 int16_t y; 03702 } xcb_image_text_8_request_t; 03703 03705 #define XCB_IMAGE_TEXT_16 77 03706 03710 typedef struct xcb_image_text_16_request_t { 03711 uint8_t major_opcode; 03712 uint8_t string_len; 03713 uint16_t length; 03714 xcb_drawable_t drawable; 03715 xcb_gcontext_t gc; 03716 int16_t x; 03717 int16_t y; 03718 } xcb_image_text_16_request_t; 03719 03720 typedef enum xcb_colormap_alloc_t { 03721 XCB_COLORMAP_ALLOC_NONE = 0, 03722 XCB_COLORMAP_ALLOC_ALL = 1 03723 } xcb_colormap_alloc_t; 03724 03726 #define XCB_CREATE_COLORMAP 78 03727 03731 typedef struct xcb_create_colormap_request_t { 03732 uint8_t major_opcode; 03733 uint8_t alloc; 03734 uint16_t length; 03735 xcb_colormap_t mid; 03736 xcb_window_t window; 03737 xcb_visualid_t visual; 03738 } xcb_create_colormap_request_t; 03739 03741 #define XCB_FREE_COLORMAP 79 03742 03746 typedef struct xcb_free_colormap_request_t { 03747 uint8_t major_opcode; 03748 uint8_t pad0; 03749 uint16_t length; 03750 xcb_colormap_t cmap; 03751 } xcb_free_colormap_request_t; 03752 03754 #define XCB_COPY_COLORMAP_AND_FREE 80 03755 03759 typedef struct xcb_copy_colormap_and_free_request_t { 03760 uint8_t major_opcode; 03761 uint8_t pad0; 03762 uint16_t length; 03763 xcb_colormap_t mid; 03764 xcb_colormap_t src_cmap; 03765 } xcb_copy_colormap_and_free_request_t; 03766 03768 #define XCB_INSTALL_COLORMAP 81 03769 03773 typedef struct xcb_install_colormap_request_t { 03774 uint8_t major_opcode; 03775 uint8_t pad0; 03776 uint16_t length; 03777 xcb_colormap_t cmap; 03778 } xcb_install_colormap_request_t; 03779 03781 #define XCB_UNINSTALL_COLORMAP 82 03782 03786 typedef struct xcb_uninstall_colormap_request_t { 03787 uint8_t major_opcode; 03788 uint8_t pad0; 03789 uint16_t length; 03790 xcb_colormap_t cmap; 03791 } xcb_uninstall_colormap_request_t; 03792 03796 typedef struct xcb_list_installed_colormaps_cookie_t { 03797 unsigned int sequence; 03798 } xcb_list_installed_colormaps_cookie_t; 03799 03801 #define XCB_LIST_INSTALLED_COLORMAPS 83 03802 03806 typedef struct xcb_list_installed_colormaps_request_t { 03807 uint8_t major_opcode; 03808 uint8_t pad0; 03809 uint16_t length; 03810 xcb_window_t window; 03811 } xcb_list_installed_colormaps_request_t; 03812 03816 typedef struct xcb_list_installed_colormaps_reply_t { 03817 uint8_t response_type; 03818 uint8_t pad0; 03819 uint16_t sequence; 03820 uint32_t length; 03821 uint16_t cmaps_len; 03822 uint8_t pad1[22]; 03823 } xcb_list_installed_colormaps_reply_t; 03824 03828 typedef struct xcb_alloc_color_cookie_t { 03829 unsigned int sequence; 03830 } xcb_alloc_color_cookie_t; 03831 03833 #define XCB_ALLOC_COLOR 84 03834 03838 typedef struct xcb_alloc_color_request_t { 03839 uint8_t major_opcode; 03840 uint8_t pad0; 03841 uint16_t length; 03842 xcb_colormap_t cmap; 03843 uint16_t red; 03844 uint16_t green; 03845 uint16_t blue; 03846 uint8_t pad1[2]; 03847 } xcb_alloc_color_request_t; 03848 03852 typedef struct xcb_alloc_color_reply_t { 03853 uint8_t response_type; 03854 uint8_t pad0; 03855 uint16_t sequence; 03856 uint32_t length; 03857 uint16_t red; 03858 uint16_t green; 03859 uint16_t blue; 03860 uint8_t pad1[2]; 03861 uint32_t pixel; 03862 } xcb_alloc_color_reply_t; 03863 03867 typedef struct xcb_alloc_named_color_cookie_t { 03868 unsigned int sequence; 03869 } xcb_alloc_named_color_cookie_t; 03870 03872 #define XCB_ALLOC_NAMED_COLOR 85 03873 03877 typedef struct xcb_alloc_named_color_request_t { 03878 uint8_t major_opcode; 03879 uint8_t pad0; 03880 uint16_t length; 03881 xcb_colormap_t cmap; 03882 uint16_t name_len; 03883 uint8_t pad1[2]; 03884 } xcb_alloc_named_color_request_t; 03885 03889 typedef struct xcb_alloc_named_color_reply_t { 03890 uint8_t response_type; 03891 uint8_t pad0; 03892 uint16_t sequence; 03893 uint32_t length; 03894 uint32_t pixel; 03895 uint16_t exact_red; 03896 uint16_t exact_green; 03897 uint16_t exact_blue; 03898 uint16_t visual_red; 03899 uint16_t visual_green; 03900 uint16_t visual_blue; 03901 } xcb_alloc_named_color_reply_t; 03902 03906 typedef struct xcb_alloc_color_cells_cookie_t { 03907 unsigned int sequence; 03908 } xcb_alloc_color_cells_cookie_t; 03909 03911 #define XCB_ALLOC_COLOR_CELLS 86 03912 03916 typedef struct xcb_alloc_color_cells_request_t { 03917 uint8_t major_opcode; 03918 uint8_t contiguous; 03919 uint16_t length; 03920 xcb_colormap_t cmap; 03921 uint16_t colors; 03922 uint16_t planes; 03923 } xcb_alloc_color_cells_request_t; 03924 03928 typedef struct xcb_alloc_color_cells_reply_t { 03929 uint8_t response_type; 03930 uint8_t pad0; 03931 uint16_t sequence; 03932 uint32_t length; 03933 uint16_t pixels_len; 03934 uint16_t masks_len; 03935 uint8_t pad1[20]; 03936 } xcb_alloc_color_cells_reply_t; 03937 03941 typedef struct xcb_alloc_color_planes_cookie_t { 03942 unsigned int sequence; 03943 } xcb_alloc_color_planes_cookie_t; 03944 03946 #define XCB_ALLOC_COLOR_PLANES 87 03947 03951 typedef struct xcb_alloc_color_planes_request_t { 03952 uint8_t major_opcode; 03953 uint8_t contiguous; 03954 uint16_t length; 03955 xcb_colormap_t cmap; 03956 uint16_t colors; 03957 uint16_t reds; 03958 uint16_t greens; 03959 uint16_t blues; 03960 } xcb_alloc_color_planes_request_t; 03961 03965 typedef struct xcb_alloc_color_planes_reply_t { 03966 uint8_t response_type; 03967 uint8_t pad0; 03968 uint16_t sequence; 03969 uint32_t length; 03970 uint16_t pixels_len; 03971 uint8_t pad1[2]; 03972 uint32_t red_mask; 03973 uint32_t green_mask; 03974 uint32_t blue_mask; 03975 uint8_t pad2[8]; 03976 } xcb_alloc_color_planes_reply_t; 03977 03979 #define XCB_FREE_COLORS 88 03980 03984 typedef struct xcb_free_colors_request_t { 03985 uint8_t major_opcode; 03986 uint8_t pad0; 03987 uint16_t length; 03988 xcb_colormap_t cmap; 03989 uint32_t plane_mask; 03990 } xcb_free_colors_request_t; 03991 03992 typedef enum xcb_color_flag_t { 03993 XCB_COLOR_FLAG_RED = 1, 03994 XCB_COLOR_FLAG_GREEN = 2, 03995 XCB_COLOR_FLAG_BLUE = 4 03996 } xcb_color_flag_t; 03997 04001 typedef struct xcb_coloritem_t { 04002 uint32_t pixel; 04003 uint16_t red; 04004 uint16_t green; 04005 uint16_t blue; 04006 uint8_t flags; 04007 uint8_t pad0; 04008 } xcb_coloritem_t; 04009 04013 typedef struct xcb_coloritem_iterator_t { 04014 xcb_coloritem_t *data; 04015 int rem; 04016 int index; 04017 } xcb_coloritem_iterator_t; 04018 04020 #define XCB_STORE_COLORS 89 04021 04025 typedef struct xcb_store_colors_request_t { 04026 uint8_t major_opcode; 04027 uint8_t pad0; 04028 uint16_t length; 04029 xcb_colormap_t cmap; 04030 } xcb_store_colors_request_t; 04031 04033 #define XCB_STORE_NAMED_COLOR 90 04034 04038 typedef struct xcb_store_named_color_request_t { 04039 uint8_t major_opcode; 04040 uint8_t flags; 04041 uint16_t length; 04042 xcb_colormap_t cmap; 04043 uint32_t pixel; 04044 uint16_t name_len; 04045 uint8_t pad0[2]; 04046 } xcb_store_named_color_request_t; 04047 04051 typedef struct xcb_rgb_t { 04052 uint16_t red; 04053 uint16_t green; 04054 uint16_t blue; 04055 uint8_t pad0[2]; 04056 } xcb_rgb_t; 04057 04061 typedef struct xcb_rgb_iterator_t { 04062 xcb_rgb_t *data; 04063 int rem; 04064 int index; 04065 } xcb_rgb_iterator_t; 04066 04070 typedef struct xcb_query_colors_cookie_t { 04071 unsigned int sequence; 04072 } xcb_query_colors_cookie_t; 04073 04075 #define XCB_QUERY_COLORS 91 04076 04080 typedef struct xcb_query_colors_request_t { 04081 uint8_t major_opcode; 04082 uint8_t pad0; 04083 uint16_t length; 04084 xcb_colormap_t cmap; 04085 } xcb_query_colors_request_t; 04086 04090 typedef struct xcb_query_colors_reply_t { 04091 uint8_t response_type; 04092 uint8_t pad0; 04093 uint16_t sequence; 04094 uint32_t length; 04095 uint16_t colors_len; 04096 uint8_t pad1[22]; 04097 } xcb_query_colors_reply_t; 04098 04102 typedef struct xcb_lookup_color_cookie_t { 04103 unsigned int sequence; 04104 } xcb_lookup_color_cookie_t; 04105 04107 #define XCB_LOOKUP_COLOR 92 04108 04112 typedef struct xcb_lookup_color_request_t { 04113 uint8_t major_opcode; 04114 uint8_t pad0; 04115 uint16_t length; 04116 xcb_colormap_t cmap; 04117 uint16_t name_len; 04118 uint8_t pad1[2]; 04119 } xcb_lookup_color_request_t; 04120 04124 typedef struct xcb_lookup_color_reply_t { 04125 uint8_t response_type; 04126 uint8_t pad0; 04127 uint16_t sequence; 04128 uint32_t length; 04129 uint16_t exact_red; 04130 uint16_t exact_green; 04131 uint16_t exact_blue; 04132 uint16_t visual_red; 04133 uint16_t visual_green; 04134 uint16_t visual_blue; 04135 } xcb_lookup_color_reply_t; 04136 04137 typedef enum xcb_pixmap_enum_t { 04138 XCB_PIXMAP_NONE = 0 04139 } xcb_pixmap_enum_t; 04140 04142 #define XCB_CREATE_CURSOR 93 04143 04147 typedef struct xcb_create_cursor_request_t { 04148 uint8_t major_opcode; 04149 uint8_t pad0; 04150 uint16_t length; 04151 xcb_cursor_t cid; 04152 xcb_pixmap_t source; 04153 xcb_pixmap_t mask; 04154 uint16_t fore_red; 04155 uint16_t fore_green; 04156 uint16_t fore_blue; 04157 uint16_t back_red; 04158 uint16_t back_green; 04159 uint16_t back_blue; 04160 uint16_t x; 04161 uint16_t y; 04162 } xcb_create_cursor_request_t; 04163 04164 typedef enum xcb_font_enum_t { 04165 XCB_FONT_NONE = 0 04166 } xcb_font_enum_t; 04167 04169 #define XCB_CREATE_GLYPH_CURSOR 94 04170 04174 typedef struct xcb_create_glyph_cursor_request_t { 04175 uint8_t major_opcode; 04176 uint8_t pad0; 04177 uint16_t length; 04178 xcb_cursor_t cid; 04179 xcb_font_t source_font; 04180 xcb_font_t mask_font; 04181 uint16_t source_char; 04182 uint16_t mask_char; 04183 uint16_t fore_red; 04184 uint16_t fore_green; 04185 uint16_t fore_blue; 04186 uint16_t back_red; 04187 uint16_t back_green; 04188 uint16_t back_blue; 04189 } xcb_create_glyph_cursor_request_t; 04190 04192 #define XCB_FREE_CURSOR 95 04193 04197 typedef struct xcb_free_cursor_request_t { 04198 uint8_t major_opcode; 04199 uint8_t pad0; 04200 uint16_t length; 04201 xcb_cursor_t cursor; 04202 } xcb_free_cursor_request_t; 04203 04205 #define XCB_RECOLOR_CURSOR 96 04206 04210 typedef struct xcb_recolor_cursor_request_t { 04211 uint8_t major_opcode; 04212 uint8_t pad0; 04213 uint16_t length; 04214 xcb_cursor_t cursor; 04215 uint16_t fore_red; 04216 uint16_t fore_green; 04217 uint16_t fore_blue; 04218 uint16_t back_red; 04219 uint16_t back_green; 04220 uint16_t back_blue; 04221 } xcb_recolor_cursor_request_t; 04222 04223 typedef enum xcb_query_shape_of_t { 04224 XCB_QUERY_SHAPE_OF_LARGEST_CURSOR = 0, 04225 XCB_QUERY_SHAPE_OF_FASTEST_TILE = 1, 04226 XCB_QUERY_SHAPE_OF_FASTEST_STIPPLE = 2 04227 } xcb_query_shape_of_t; 04228 04232 typedef struct xcb_query_best_size_cookie_t { 04233 unsigned int sequence; 04234 } xcb_query_best_size_cookie_t; 04235 04237 #define XCB_QUERY_BEST_SIZE 97 04238 04242 typedef struct xcb_query_best_size_request_t { 04243 uint8_t major_opcode; 04244 uint8_t _class; 04245 uint16_t length; 04246 xcb_drawable_t drawable; 04247 uint16_t width; 04248 uint16_t height; 04249 } xcb_query_best_size_request_t; 04250 04254 typedef struct xcb_query_best_size_reply_t { 04255 uint8_t response_type; 04256 uint8_t pad0; 04257 uint16_t sequence; 04258 uint32_t length; 04259 uint16_t width; 04260 uint16_t height; 04261 } xcb_query_best_size_reply_t; 04262 04266 typedef struct xcb_query_extension_cookie_t { 04267 unsigned int sequence; 04268 } xcb_query_extension_cookie_t; 04269 04271 #define XCB_QUERY_EXTENSION 98 04272 04276 typedef struct xcb_query_extension_request_t { 04277 uint8_t major_opcode; 04278 uint8_t pad0; 04279 uint16_t length; 04280 uint16_t name_len; 04281 uint8_t pad1[2]; 04282 } xcb_query_extension_request_t; 04283 04287 typedef struct xcb_query_extension_reply_t { 04288 uint8_t response_type; 04289 uint8_t pad0; 04290 uint16_t sequence; 04291 uint32_t length; 04292 uint8_t present; 04293 uint8_t major_opcode; 04294 uint8_t first_event; 04295 uint8_t first_error; 04296 } xcb_query_extension_reply_t; 04297 04301 typedef struct xcb_list_extensions_cookie_t { 04302 unsigned int sequence; 04303 } xcb_list_extensions_cookie_t; 04304 04306 #define XCB_LIST_EXTENSIONS 99 04307 04311 typedef struct xcb_list_extensions_request_t { 04312 uint8_t major_opcode; 04313 uint8_t pad0; 04314 uint16_t length; 04315 } xcb_list_extensions_request_t; 04316 04320 typedef struct xcb_list_extensions_reply_t { 04321 uint8_t response_type; 04322 uint8_t names_len; 04323 uint16_t sequence; 04324 uint32_t length; 04325 uint8_t pad0[24]; 04326 } xcb_list_extensions_reply_t; 04327 04329 #define XCB_CHANGE_KEYBOARD_MAPPING 100 04330 04334 typedef struct xcb_change_keyboard_mapping_request_t { 04335 uint8_t major_opcode; 04336 uint8_t keycode_count; 04337 uint16_t length; 04338 xcb_keycode_t first_keycode; 04339 uint8_t keysyms_per_keycode; 04340 uint8_t pad0[2]; 04341 } xcb_change_keyboard_mapping_request_t; 04342 04346 typedef struct xcb_get_keyboard_mapping_cookie_t { 04347 unsigned int sequence; 04348 } xcb_get_keyboard_mapping_cookie_t; 04349 04351 #define XCB_GET_KEYBOARD_MAPPING 101 04352 04356 typedef struct xcb_get_keyboard_mapping_request_t { 04357 uint8_t major_opcode; 04358 uint8_t pad0; 04359 uint16_t length; 04360 xcb_keycode_t first_keycode; 04361 uint8_t count; 04362 } xcb_get_keyboard_mapping_request_t; 04363 04367 typedef struct xcb_get_keyboard_mapping_reply_t { 04368 uint8_t response_type; 04369 uint8_t keysyms_per_keycode; 04370 uint16_t sequence; 04371 uint32_t length; 04372 uint8_t pad0[24]; 04373 } xcb_get_keyboard_mapping_reply_t; 04374 04375 typedef enum xcb_kb_t { 04376 XCB_KB_KEY_CLICK_PERCENT = 1, 04377 XCB_KB_BELL_PERCENT = 2, 04378 XCB_KB_BELL_PITCH = 4, 04379 XCB_KB_BELL_DURATION = 8, 04380 XCB_KB_LED = 16, 04381 XCB_KB_LED_MODE = 32, 04382 XCB_KB_KEY = 64, 04383 XCB_KB_AUTO_REPEAT_MODE = 128 04384 } xcb_kb_t; 04385 04386 typedef enum xcb_led_mode_t { 04387 XCB_LED_MODE_OFF = 0, 04388 XCB_LED_MODE_ON = 1 04389 } xcb_led_mode_t; 04390 04391 typedef enum xcb_auto_repeat_mode_t { 04392 XCB_AUTO_REPEAT_MODE_OFF = 0, 04393 XCB_AUTO_REPEAT_MODE_ON = 1, 04394 XCB_AUTO_REPEAT_MODE_DEFAULT = 2 04395 } xcb_auto_repeat_mode_t; 04396 04400 typedef struct xcb_change_keyboard_control_value_list_t { 04401 int32_t key_click_percent; 04402 int32_t bell_percent; 04403 int32_t bell_pitch; 04404 int32_t bell_duration; 04405 uint32_t led; 04406 uint32_t led_mode; 04407 xcb_keycode32_t key; 04408 uint32_t auto_repeat_mode; 04409 } xcb_change_keyboard_control_value_list_t; 04410 04412 #define XCB_CHANGE_KEYBOARD_CONTROL 102 04413 04417 typedef struct xcb_change_keyboard_control_request_t { 04418 uint8_t major_opcode; 04419 uint8_t pad0; 04420 uint16_t length; 04421 uint32_t value_mask; 04422 } xcb_change_keyboard_control_request_t; 04423 04427 typedef struct xcb_get_keyboard_control_cookie_t { 04428 unsigned int sequence; 04429 } xcb_get_keyboard_control_cookie_t; 04430 04432 #define XCB_GET_KEYBOARD_CONTROL 103 04433 04437 typedef struct xcb_get_keyboard_control_request_t { 04438 uint8_t major_opcode; 04439 uint8_t pad0; 04440 uint16_t length; 04441 } xcb_get_keyboard_control_request_t; 04442 04446 typedef struct xcb_get_keyboard_control_reply_t { 04447 uint8_t response_type; 04448 uint8_t global_auto_repeat; 04449 uint16_t sequence; 04450 uint32_t length; 04451 uint32_t led_mask; 04452 uint8_t key_click_percent; 04453 uint8_t bell_percent; 04454 uint16_t bell_pitch; 04455 uint16_t bell_duration; 04456 uint8_t pad0[2]; 04457 uint8_t auto_repeats[32]; 04458 } xcb_get_keyboard_control_reply_t; 04459 04461 #define XCB_BELL 104 04462 04466 typedef struct xcb_bell_request_t { 04467 uint8_t major_opcode; 04468 int8_t percent; 04469 uint16_t length; 04470 } xcb_bell_request_t; 04471 04473 #define XCB_CHANGE_POINTER_CONTROL 105 04474 04478 typedef struct xcb_change_pointer_control_request_t { 04479 uint8_t major_opcode; 04480 uint8_t pad0; 04481 uint16_t length; 04482 int16_t acceleration_numerator; 04483 int16_t acceleration_denominator; 04484 int16_t threshold; 04485 uint8_t do_acceleration; 04486 uint8_t do_threshold; 04487 } xcb_change_pointer_control_request_t; 04488 04492 typedef struct xcb_get_pointer_control_cookie_t { 04493 unsigned int sequence; 04494 } xcb_get_pointer_control_cookie_t; 04495 04497 #define XCB_GET_POINTER_CONTROL 106 04498 04502 typedef struct xcb_get_pointer_control_request_t { 04503 uint8_t major_opcode; 04504 uint8_t pad0; 04505 uint16_t length; 04506 } xcb_get_pointer_control_request_t; 04507 04511 typedef struct xcb_get_pointer_control_reply_t { 04512 uint8_t response_type; 04513 uint8_t pad0; 04514 uint16_t sequence; 04515 uint32_t length; 04516 uint16_t acceleration_numerator; 04517 uint16_t acceleration_denominator; 04518 uint16_t threshold; 04519 uint8_t pad1[18]; 04520 } xcb_get_pointer_control_reply_t; 04521 04522 typedef enum xcb_blanking_t { 04523 XCB_BLANKING_NOT_PREFERRED = 0, 04524 XCB_BLANKING_PREFERRED = 1, 04525 XCB_BLANKING_DEFAULT = 2 04526 } xcb_blanking_t; 04527 04528 typedef enum xcb_exposures_t { 04529 XCB_EXPOSURES_NOT_ALLOWED = 0, 04530 XCB_EXPOSURES_ALLOWED = 1, 04531 XCB_EXPOSURES_DEFAULT = 2 04532 } xcb_exposures_t; 04533 04535 #define XCB_SET_SCREEN_SAVER 107 04536 04540 typedef struct xcb_set_screen_saver_request_t { 04541 uint8_t major_opcode; 04542 uint8_t pad0; 04543 uint16_t length; 04544 int16_t timeout; 04545 int16_t interval; 04546 uint8_t prefer_blanking; 04547 uint8_t allow_exposures; 04548 } xcb_set_screen_saver_request_t; 04549 04553 typedef struct xcb_get_screen_saver_cookie_t { 04554 unsigned int sequence; 04555 } xcb_get_screen_saver_cookie_t; 04556 04558 #define XCB_GET_SCREEN_SAVER 108 04559 04563 typedef struct xcb_get_screen_saver_request_t { 04564 uint8_t major_opcode; 04565 uint8_t pad0; 04566 uint16_t length; 04567 } xcb_get_screen_saver_request_t; 04568 04572 typedef struct xcb_get_screen_saver_reply_t { 04573 uint8_t response_type; 04574 uint8_t pad0; 04575 uint16_t sequence; 04576 uint32_t length; 04577 uint16_t timeout; 04578 uint16_t interval; 04579 uint8_t prefer_blanking; 04580 uint8_t allow_exposures; 04581 uint8_t pad1[18]; 04582 } xcb_get_screen_saver_reply_t; 04583 04584 typedef enum xcb_host_mode_t { 04585 XCB_HOST_MODE_INSERT = 0, 04586 XCB_HOST_MODE_DELETE = 1 04587 } xcb_host_mode_t; 04588 04589 typedef enum xcb_family_t { 04590 XCB_FAMILY_INTERNET = 0, 04591 XCB_FAMILY_DECNET = 1, 04592 XCB_FAMILY_CHAOS = 2, 04593 XCB_FAMILY_SERVER_INTERPRETED = 5, 04594 XCB_FAMILY_INTERNET_6 = 6 04595 } xcb_family_t; 04596 04598 #define XCB_CHANGE_HOSTS 109 04599 04603 typedef struct xcb_change_hosts_request_t { 04604 uint8_t major_opcode; 04605 uint8_t mode; 04606 uint16_t length; 04607 uint8_t family; 04608 uint8_t pad0; 04609 uint16_t address_len; 04610 } xcb_change_hosts_request_t; 04611 04615 typedef struct xcb_host_t { 04616 uint8_t family; 04617 uint8_t pad0; 04618 uint16_t address_len; 04619 } xcb_host_t; 04620 04624 typedef struct xcb_host_iterator_t { 04625 xcb_host_t *data; 04626 int rem; 04627 int index; 04628 } xcb_host_iterator_t; 04629 04633 typedef struct xcb_list_hosts_cookie_t { 04634 unsigned int sequence; 04635 } xcb_list_hosts_cookie_t; 04636 04638 #define XCB_LIST_HOSTS 110 04639 04643 typedef struct xcb_list_hosts_request_t { 04644 uint8_t major_opcode; 04645 uint8_t pad0; 04646 uint16_t length; 04647 } xcb_list_hosts_request_t; 04648 04652 typedef struct xcb_list_hosts_reply_t { 04653 uint8_t response_type; 04654 uint8_t mode; 04655 uint16_t sequence; 04656 uint32_t length; 04657 uint16_t hosts_len; 04658 uint8_t pad0[22]; 04659 } xcb_list_hosts_reply_t; 04660 04661 typedef enum xcb_access_control_t { 04662 XCB_ACCESS_CONTROL_DISABLE = 0, 04663 XCB_ACCESS_CONTROL_ENABLE = 1 04664 } xcb_access_control_t; 04665 04667 #define XCB_SET_ACCESS_CONTROL 111 04668 04672 typedef struct xcb_set_access_control_request_t { 04673 uint8_t major_opcode; 04674 uint8_t mode; 04675 uint16_t length; 04676 } xcb_set_access_control_request_t; 04677 04678 typedef enum xcb_close_down_t { 04679 XCB_CLOSE_DOWN_DESTROY_ALL = 0, 04680 XCB_CLOSE_DOWN_RETAIN_PERMANENT = 1, 04681 XCB_CLOSE_DOWN_RETAIN_TEMPORARY = 2 04682 } xcb_close_down_t; 04683 04685 #define XCB_SET_CLOSE_DOWN_MODE 112 04686 04690 typedef struct xcb_set_close_down_mode_request_t { 04691 uint8_t major_opcode; 04692 uint8_t mode; 04693 uint16_t length; 04694 } xcb_set_close_down_mode_request_t; 04695 04696 typedef enum xcb_kill_t { 04697 XCB_KILL_ALL_TEMPORARY = 0 04698 } xcb_kill_t; 04699 04701 #define XCB_KILL_CLIENT 113 04702 04706 typedef struct xcb_kill_client_request_t { 04707 uint8_t major_opcode; 04708 uint8_t pad0; 04709 uint16_t length; 04710 uint32_t resource; 04711 } xcb_kill_client_request_t; 04712 04714 #define XCB_ROTATE_PROPERTIES 114 04715 04719 typedef struct xcb_rotate_properties_request_t { 04720 uint8_t major_opcode; 04721 uint8_t pad0; 04722 uint16_t length; 04723 xcb_window_t window; 04724 uint16_t atoms_len; 04725 int16_t delta; 04726 } xcb_rotate_properties_request_t; 04727 04728 typedef enum xcb_screen_saver_t { 04729 XCB_SCREEN_SAVER_RESET = 0, 04730 XCB_SCREEN_SAVER_ACTIVE = 1 04731 } xcb_screen_saver_t; 04732 04734 #define XCB_FORCE_SCREEN_SAVER 115 04735 04739 typedef struct xcb_force_screen_saver_request_t { 04740 uint8_t major_opcode; 04741 uint8_t mode; 04742 uint16_t length; 04743 } xcb_force_screen_saver_request_t; 04744 04745 typedef enum xcb_mapping_status_t { 04746 XCB_MAPPING_STATUS_SUCCESS = 0, 04747 XCB_MAPPING_STATUS_BUSY = 1, 04748 XCB_MAPPING_STATUS_FAILURE = 2 04749 } xcb_mapping_status_t; 04750 04754 typedef struct xcb_set_pointer_mapping_cookie_t { 04755 unsigned int sequence; 04756 } xcb_set_pointer_mapping_cookie_t; 04757 04759 #define XCB_SET_POINTER_MAPPING 116 04760 04764 typedef struct xcb_set_pointer_mapping_request_t { 04765 uint8_t major_opcode; 04766 uint8_t map_len; 04767 uint16_t length; 04768 } xcb_set_pointer_mapping_request_t; 04769 04773 typedef struct xcb_set_pointer_mapping_reply_t { 04774 uint8_t response_type; 04775 uint8_t status; 04776 uint16_t sequence; 04777 uint32_t length; 04778 } xcb_set_pointer_mapping_reply_t; 04779 04783 typedef struct xcb_get_pointer_mapping_cookie_t { 04784 unsigned int sequence; 04785 } xcb_get_pointer_mapping_cookie_t; 04786 04788 #define XCB_GET_POINTER_MAPPING 117 04789 04793 typedef struct xcb_get_pointer_mapping_request_t { 04794 uint8_t major_opcode; 04795 uint8_t pad0; 04796 uint16_t length; 04797 } xcb_get_pointer_mapping_request_t; 04798 04802 typedef struct xcb_get_pointer_mapping_reply_t { 04803 uint8_t response_type; 04804 uint8_t map_len; 04805 uint16_t sequence; 04806 uint32_t length; 04807 uint8_t pad0[24]; 04808 } xcb_get_pointer_mapping_reply_t; 04809 04810 typedef enum xcb_map_index_t { 04811 XCB_MAP_INDEX_SHIFT = 0, 04812 XCB_MAP_INDEX_LOCK = 1, 04813 XCB_MAP_INDEX_CONTROL = 2, 04814 XCB_MAP_INDEX_1 = 3, 04815 XCB_MAP_INDEX_2 = 4, 04816 XCB_MAP_INDEX_3 = 5, 04817 XCB_MAP_INDEX_4 = 6, 04818 XCB_MAP_INDEX_5 = 7 04819 } xcb_map_index_t; 04820 04824 typedef struct xcb_set_modifier_mapping_cookie_t { 04825 unsigned int sequence; 04826 } xcb_set_modifier_mapping_cookie_t; 04827 04829 #define XCB_SET_MODIFIER_MAPPING 118 04830 04834 typedef struct xcb_set_modifier_mapping_request_t { 04835 uint8_t major_opcode; 04836 uint8_t keycodes_per_modifier; 04837 uint16_t length; 04838 } xcb_set_modifier_mapping_request_t; 04839 04843 typedef struct xcb_set_modifier_mapping_reply_t { 04844 uint8_t response_type; 04845 uint8_t status; 04846 uint16_t sequence; 04847 uint32_t length; 04848 } xcb_set_modifier_mapping_reply_t; 04849 04853 typedef struct xcb_get_modifier_mapping_cookie_t { 04854 unsigned int sequence; 04855 } xcb_get_modifier_mapping_cookie_t; 04856 04858 #define XCB_GET_MODIFIER_MAPPING 119 04859 04863 typedef struct xcb_get_modifier_mapping_request_t { 04864 uint8_t major_opcode; 04865 uint8_t pad0; 04866 uint16_t length; 04867 } xcb_get_modifier_mapping_request_t; 04868 04872 typedef struct xcb_get_modifier_mapping_reply_t { 04873 uint8_t response_type; 04874 uint8_t keycodes_per_modifier; 04875 uint16_t sequence; 04876 uint32_t length; 04877 uint8_t pad0[24]; 04878 } xcb_get_modifier_mapping_reply_t; 04879 04881 #define XCB_NO_OPERATION 127 04882 04886 typedef struct xcb_no_operation_request_t { 04887 uint8_t major_opcode; 04888 uint8_t pad0; 04889 uint16_t length; 04890 } xcb_no_operation_request_t; 04891 04900 void 04901 xcb_char2b_next (xcb_char2b_iterator_t *i); 04902 04912 xcb_generic_iterator_t 04913 xcb_char2b_end (xcb_char2b_iterator_t i); 04914 04923 void 04924 xcb_window_next (xcb_window_iterator_t *i); 04925 04935 xcb_generic_iterator_t 04936 xcb_window_end (xcb_window_iterator_t i); 04937 04946 void 04947 xcb_pixmap_next (xcb_pixmap_iterator_t *i); 04948 04958 xcb_generic_iterator_t 04959 xcb_pixmap_end (xcb_pixmap_iterator_t i); 04960 04969 void 04970 xcb_cursor_next (xcb_cursor_iterator_t *i); 04971 04981 xcb_generic_iterator_t 04982 xcb_cursor_end (xcb_cursor_iterator_t i); 04983 04992 void 04993 xcb_font_next (xcb_font_iterator_t *i); 04994 05004 xcb_generic_iterator_t 05005 xcb_font_end (xcb_font_iterator_t i); 05006 05015 void 05016 xcb_gcontext_next (xcb_gcontext_iterator_t *i); 05017 05027 xcb_generic_iterator_t 05028 xcb_gcontext_end (xcb_gcontext_iterator_t i); 05029 05038 void 05039 xcb_colormap_next (xcb_colormap_iterator_t *i); 05040 05050 xcb_generic_iterator_t 05051 xcb_colormap_end (xcb_colormap_iterator_t i); 05052 05061 void 05062 xcb_atom_next (xcb_atom_iterator_t *i); 05063 05073 xcb_generic_iterator_t 05074 xcb_atom_end (xcb_atom_iterator_t i); 05075 05084 void 05085 xcb_drawable_next (xcb_drawable_iterator_t *i); 05086 05096 xcb_generic_iterator_t 05097 xcb_drawable_end (xcb_drawable_iterator_t i); 05098 05107 void 05108 xcb_fontable_next (xcb_fontable_iterator_t *i); 05109 05119 xcb_generic_iterator_t 05120 xcb_fontable_end (xcb_fontable_iterator_t i); 05121 05130 void 05131 xcb_bool32_next (xcb_bool32_iterator_t *i); 05132 05142 xcb_generic_iterator_t 05143 xcb_bool32_end (xcb_bool32_iterator_t i); 05144 05153 void 05154 xcb_visualid_next (xcb_visualid_iterator_t *i); 05155 05165 xcb_generic_iterator_t 05166 xcb_visualid_end (xcb_visualid_iterator_t i); 05167 05176 void 05177 xcb_timestamp_next (xcb_timestamp_iterator_t *i); 05178 05188 xcb_generic_iterator_t 05189 xcb_timestamp_end (xcb_timestamp_iterator_t i); 05190 05199 void 05200 xcb_keysym_next (xcb_keysym_iterator_t *i); 05201 05211 xcb_generic_iterator_t 05212 xcb_keysym_end (xcb_keysym_iterator_t i); 05213 05222 void 05223 xcb_keycode_next (xcb_keycode_iterator_t *i); 05224 05234 xcb_generic_iterator_t 05235 xcb_keycode_end (xcb_keycode_iterator_t i); 05236 05245 void 05246 xcb_keycode32_next (xcb_keycode32_iterator_t *i); 05247 05257 xcb_generic_iterator_t 05258 xcb_keycode32_end (xcb_keycode32_iterator_t i); 05259 05268 void 05269 xcb_button_next (xcb_button_iterator_t *i); 05270 05280 xcb_generic_iterator_t 05281 xcb_button_end (xcb_button_iterator_t i); 05282 05291 void 05292 xcb_point_next (xcb_point_iterator_t *i); 05293 05303 xcb_generic_iterator_t 05304 xcb_point_end (xcb_point_iterator_t i); 05305 05314 void 05315 xcb_rectangle_next (xcb_rectangle_iterator_t *i); 05316 05326 xcb_generic_iterator_t 05327 xcb_rectangle_end (xcb_rectangle_iterator_t i); 05328 05337 void 05338 xcb_arc_next (xcb_arc_iterator_t *i); 05339 05349 xcb_generic_iterator_t 05350 xcb_arc_end (xcb_arc_iterator_t i); 05351 05360 void 05361 xcb_format_next (xcb_format_iterator_t *i); 05362 05372 xcb_generic_iterator_t 05373 xcb_format_end (xcb_format_iterator_t i); 05374 05383 void 05384 xcb_visualtype_next (xcb_visualtype_iterator_t *i); 05385 05395 xcb_generic_iterator_t 05396 xcb_visualtype_end (xcb_visualtype_iterator_t i); 05397 05398 int 05399 xcb_depth_sizeof (const void *_buffer); 05400 05401 xcb_visualtype_t * 05402 xcb_depth_visuals (const xcb_depth_t *R); 05403 05404 int 05405 xcb_depth_visuals_length (const xcb_depth_t *R); 05406 05407 xcb_visualtype_iterator_t 05408 xcb_depth_visuals_iterator (const xcb_depth_t *R); 05409 05418 void 05419 xcb_depth_next (xcb_depth_iterator_t *i); 05420 05430 xcb_generic_iterator_t 05431 xcb_depth_end (xcb_depth_iterator_t i); 05432 05433 int 05434 xcb_screen_sizeof (const void *_buffer); 05435 05436 int 05437 xcb_screen_allowed_depths_length (const xcb_screen_t *R); 05438 05439 xcb_depth_iterator_t 05440 xcb_screen_allowed_depths_iterator (const xcb_screen_t *R); 05441 05450 void 05451 xcb_screen_next (xcb_screen_iterator_t *i); 05452 05462 xcb_generic_iterator_t 05463 xcb_screen_end (xcb_screen_iterator_t i); 05464 05465 int 05466 xcb_setup_request_sizeof (const void *_buffer); 05467 05468 char * 05469 xcb_setup_request_authorization_protocol_name (const xcb_setup_request_t *R); 05470 05471 int 05472 xcb_setup_request_authorization_protocol_name_length (const xcb_setup_request_t *R); 05473 05474 xcb_generic_iterator_t 05475 xcb_setup_request_authorization_protocol_name_end (const xcb_setup_request_t *R); 05476 05477 char * 05478 xcb_setup_request_authorization_protocol_data (const xcb_setup_request_t *R); 05479 05480 int 05481 xcb_setup_request_authorization_protocol_data_length (const xcb_setup_request_t *R); 05482 05483 xcb_generic_iterator_t 05484 xcb_setup_request_authorization_protocol_data_end (const xcb_setup_request_t *R); 05485 05494 void 05495 xcb_setup_request_next (xcb_setup_request_iterator_t *i); 05496 05506 xcb_generic_iterator_t 05507 xcb_setup_request_end (xcb_setup_request_iterator_t i); 05508 05509 int 05510 xcb_setup_failed_sizeof (const void *_buffer); 05511 05512 char * 05513 xcb_setup_failed_reason (const xcb_setup_failed_t *R); 05514 05515 int 05516 xcb_setup_failed_reason_length (const xcb_setup_failed_t *R); 05517 05518 xcb_generic_iterator_t 05519 xcb_setup_failed_reason_end (const xcb_setup_failed_t *R); 05520 05529 void 05530 xcb_setup_failed_next (xcb_setup_failed_iterator_t *i); 05531 05541 xcb_generic_iterator_t 05542 xcb_setup_failed_end (xcb_setup_failed_iterator_t i); 05543 05544 int 05545 xcb_setup_authenticate_sizeof (const void *_buffer); 05546 05547 char * 05548 xcb_setup_authenticate_reason (const xcb_setup_authenticate_t *R); 05549 05550 int 05551 xcb_setup_authenticate_reason_length (const xcb_setup_authenticate_t *R); 05552 05553 xcb_generic_iterator_t 05554 xcb_setup_authenticate_reason_end (const xcb_setup_authenticate_t *R); 05555 05564 void 05565 xcb_setup_authenticate_next (xcb_setup_authenticate_iterator_t *i); 05566 05576 xcb_generic_iterator_t 05577 xcb_setup_authenticate_end (xcb_setup_authenticate_iterator_t i); 05578 05579 int 05580 xcb_setup_sizeof (const void *_buffer); 05581 05582 char * 05583 xcb_setup_vendor (const xcb_setup_t *R); 05584 05585 int 05586 xcb_setup_vendor_length (const xcb_setup_t *R); 05587 05588 xcb_generic_iterator_t 05589 xcb_setup_vendor_end (const xcb_setup_t *R); 05590 05591 xcb_format_t * 05592 xcb_setup_pixmap_formats (const xcb_setup_t *R); 05593 05594 int 05595 xcb_setup_pixmap_formats_length (const xcb_setup_t *R); 05596 05597 xcb_format_iterator_t 05598 xcb_setup_pixmap_formats_iterator (const xcb_setup_t *R); 05599 05600 int 05601 xcb_setup_roots_length (const xcb_setup_t *R); 05602 05603 xcb_screen_iterator_t 05604 xcb_setup_roots_iterator (const xcb_setup_t *R); 05605 05614 void 05615 xcb_setup_next (xcb_setup_iterator_t *i); 05616 05626 xcb_generic_iterator_t 05627 xcb_setup_end (xcb_setup_iterator_t i); 05628 05637 void 05638 xcb_client_message_data_next (xcb_client_message_data_iterator_t *i); 05639 05649 xcb_generic_iterator_t 05650 xcb_client_message_data_end (xcb_client_message_data_iterator_t i); 05651 05652 int 05653 xcb_create_window_value_list_serialize (void **_buffer, 05654 uint32_t value_mask, 05655 const xcb_create_window_value_list_t *_aux); 05656 05657 int 05658 xcb_create_window_value_list_unpack (const void *_buffer, 05659 uint32_t value_mask, 05660 xcb_create_window_value_list_t *_aux); 05661 05662 int 05663 xcb_create_window_value_list_sizeof (const void *_buffer, 05664 uint32_t value_mask); 05665 05666 int 05667 xcb_create_window_sizeof (const void *_buffer); 05668 05715 xcb_void_cookie_t 05716 xcb_create_window_checked (xcb_connection_t *c, 05717 uint8_t depth, 05718 xcb_window_t wid, 05719 xcb_window_t parent, 05720 int16_t x, 05721 int16_t y, 05722 uint16_t width, 05723 uint16_t height, 05724 uint16_t border_width, 05725 uint16_t _class, 05726 xcb_visualid_t visual, 05727 uint32_t value_mask, 05728 const void *value_list); 05729 05773 xcb_void_cookie_t 05774 xcb_create_window (xcb_connection_t *c, 05775 uint8_t depth, 05776 xcb_window_t wid, 05777 xcb_window_t parent, 05778 int16_t x, 05779 int16_t y, 05780 uint16_t width, 05781 uint16_t height, 05782 uint16_t border_width, 05783 uint16_t _class, 05784 xcb_visualid_t visual, 05785 uint32_t value_mask, 05786 const void *value_list); 05787 05834 xcb_void_cookie_t 05835 xcb_create_window_aux_checked (xcb_connection_t *c, 05836 uint8_t depth, 05837 xcb_window_t wid, 05838 xcb_window_t parent, 05839 int16_t x, 05840 int16_t y, 05841 uint16_t width, 05842 uint16_t height, 05843 uint16_t border_width, 05844 uint16_t _class, 05845 xcb_visualid_t visual, 05846 uint32_t value_mask, 05847 const xcb_create_window_value_list_t *value_list); 05848 05892 xcb_void_cookie_t 05893 xcb_create_window_aux (xcb_connection_t *c, 05894 uint8_t depth, 05895 xcb_window_t wid, 05896 xcb_window_t parent, 05897 int16_t x, 05898 int16_t y, 05899 uint16_t width, 05900 uint16_t height, 05901 uint16_t border_width, 05902 uint16_t _class, 05903 xcb_visualid_t visual, 05904 uint32_t value_mask, 05905 const xcb_create_window_value_list_t *value_list); 05906 05907 void * 05908 xcb_create_window_value_list (const xcb_create_window_request_t *R); 05909 05910 int 05911 xcb_change_window_attributes_value_list_serialize (void **_buffer, 05912 uint32_t value_mask, 05913 const xcb_change_window_attributes_value_list_t *_aux); 05914 05915 int 05916 xcb_change_window_attributes_value_list_unpack (const void *_buffer, 05917 uint32_t value_mask, 05918 xcb_change_window_attributes_value_list_t *_aux); 05919 05920 int 05921 xcb_change_window_attributes_value_list_sizeof (const void *_buffer, 05922 uint32_t value_mask); 05923 05924 int 05925 xcb_change_window_attributes_sizeof (const void *_buffer); 05926 05945 xcb_void_cookie_t 05946 xcb_change_window_attributes_checked (xcb_connection_t *c, 05947 xcb_window_t window, 05948 uint32_t value_mask, 05949 const void *value_list); 05950 05966 xcb_void_cookie_t 05967 xcb_change_window_attributes (xcb_connection_t *c, 05968 xcb_window_t window, 05969 uint32_t value_mask, 05970 const void *value_list); 05971 05990 xcb_void_cookie_t 05991 xcb_change_window_attributes_aux_checked (xcb_connection_t *c, 05992 xcb_window_t window, 05993 uint32_t value_mask, 05994 const xcb_change_window_attributes_value_list_t *value_list); 05995 06011 xcb_void_cookie_t 06012 xcb_change_window_attributes_aux (xcb_connection_t *c, 06013 xcb_window_t window, 06014 uint32_t value_mask, 06015 const xcb_change_window_attributes_value_list_t *value_list); 06016 06017 void * 06018 xcb_change_window_attributes_value_list (const xcb_change_window_attributes_request_t *R); 06019 06030 xcb_get_window_attributes_cookie_t 06031 xcb_get_window_attributes (xcb_connection_t *c, 06032 xcb_window_t window); 06033 06047 xcb_get_window_attributes_cookie_t 06048 xcb_get_window_attributes_unchecked (xcb_connection_t *c, 06049 xcb_window_t window); 06050 06065 xcb_get_window_attributes_reply_t * 06066 xcb_get_window_attributes_reply (xcb_connection_t *c, 06067 xcb_get_window_attributes_cookie_t cookie , 06068 xcb_generic_error_t **e); 06069 06088 xcb_void_cookie_t 06089 xcb_destroy_window_checked (xcb_connection_t *c, 06090 xcb_window_t window); 06091 06107 xcb_void_cookie_t 06108 xcb_destroy_window (xcb_connection_t *c, 06109 xcb_window_t window); 06110 06122 xcb_void_cookie_t 06123 xcb_destroy_subwindows_checked (xcb_connection_t *c, 06124 xcb_window_t window); 06125 06134 xcb_void_cookie_t 06135 xcb_destroy_subwindows (xcb_connection_t *c, 06136 xcb_window_t window); 06137 06156 xcb_void_cookie_t 06157 xcb_change_save_set_checked (xcb_connection_t *c, 06158 uint8_t mode, 06159 xcb_window_t window); 06160 06176 xcb_void_cookie_t 06177 xcb_change_save_set (xcb_connection_t *c, 06178 uint8_t mode, 06179 xcb_window_t window); 06180 06202 xcb_void_cookie_t 06203 xcb_reparent_window_checked (xcb_connection_t *c, 06204 xcb_window_t window, 06205 xcb_window_t parent, 06206 int16_t x, 06207 int16_t y); 06208 06227 xcb_void_cookie_t 06228 xcb_reparent_window (xcb_connection_t *c, 06229 xcb_window_t window, 06230 xcb_window_t parent, 06231 int16_t x, 06232 int16_t y); 06233 06265 xcb_void_cookie_t 06266 xcb_map_window_checked (xcb_connection_t *c, 06267 xcb_window_t window); 06268 06297 xcb_void_cookie_t 06298 xcb_map_window (xcb_connection_t *c, 06299 xcb_window_t window); 06300 06312 xcb_void_cookie_t 06313 xcb_map_subwindows_checked (xcb_connection_t *c, 06314 xcb_window_t window); 06315 06324 xcb_void_cookie_t 06325 xcb_map_subwindows (xcb_connection_t *c, 06326 xcb_window_t window); 06327 06345 xcb_void_cookie_t 06346 xcb_unmap_window_checked (xcb_connection_t *c, 06347 xcb_window_t window); 06348 06363 xcb_void_cookie_t 06364 xcb_unmap_window (xcb_connection_t *c, 06365 xcb_window_t window); 06366 06378 xcb_void_cookie_t 06379 xcb_unmap_subwindows_checked (xcb_connection_t *c, 06380 xcb_window_t window); 06381 06390 xcb_void_cookie_t 06391 xcb_unmap_subwindows (xcb_connection_t *c, 06392 xcb_window_t window); 06393 06394 int 06395 xcb_configure_window_value_list_serialize (void **_buffer, 06396 uint16_t value_mask, 06397 const xcb_configure_window_value_list_t *_aux); 06398 06399 int 06400 xcb_configure_window_value_list_unpack (const void *_buffer, 06401 uint16_t value_mask, 06402 xcb_configure_window_value_list_t *_aux); 06403 06404 int 06405 xcb_configure_window_value_list_sizeof (const void *_buffer, 06406 uint16_t value_mask); 06407 06408 int 06409 xcb_configure_window_sizeof (const void *_buffer); 06410 06427 xcb_void_cookie_t 06428 xcb_configure_window_checked (xcb_connection_t *c, 06429 xcb_window_t window, 06430 uint16_t value_mask, 06431 const void *value_list); 06432 06446 xcb_void_cookie_t 06447 xcb_configure_window (xcb_connection_t *c, 06448 xcb_window_t window, 06449 uint16_t value_mask, 06450 const void *value_list); 06451 06468 xcb_void_cookie_t 06469 xcb_configure_window_aux_checked (xcb_connection_t *c, 06470 xcb_window_t window, 06471 uint16_t value_mask, 06472 const xcb_configure_window_value_list_t *value_list); 06473 06487 xcb_void_cookie_t 06488 xcb_configure_window_aux (xcb_connection_t *c, 06489 xcb_window_t window, 06490 uint16_t value_mask, 06491 const xcb_configure_window_value_list_t *value_list); 06492 06493 void * 06494 xcb_configure_window_value_list (const xcb_configure_window_request_t *R); 06495 06515 xcb_void_cookie_t 06516 xcb_circulate_window_checked (xcb_connection_t *c, 06517 uint8_t direction, 06518 xcb_window_t window); 06519 06536 xcb_void_cookie_t 06537 xcb_circulate_window (xcb_connection_t *c, 06538 uint8_t direction, 06539 xcb_window_t window); 06540 06551 xcb_get_geometry_cookie_t 06552 xcb_get_geometry (xcb_connection_t *c, 06553 xcb_drawable_t drawable); 06554 06568 xcb_get_geometry_cookie_t 06569 xcb_get_geometry_unchecked (xcb_connection_t *c, 06570 xcb_drawable_t drawable); 06571 06586 xcb_get_geometry_reply_t * 06587 xcb_get_geometry_reply (xcb_connection_t *c, 06588 xcb_get_geometry_cookie_t cookie , 06589 xcb_generic_error_t **e); 06590 06591 int 06592 xcb_query_tree_sizeof (const void *_buffer); 06593 06605 xcb_query_tree_cookie_t 06606 xcb_query_tree (xcb_connection_t *c, 06607 xcb_window_t window); 06608 06623 xcb_query_tree_cookie_t 06624 xcb_query_tree_unchecked (xcb_connection_t *c, 06625 xcb_window_t window); 06626 06627 xcb_window_t * 06628 xcb_query_tree_children (const xcb_query_tree_reply_t *R); 06629 06630 int 06631 xcb_query_tree_children_length (const xcb_query_tree_reply_t *R); 06632 06633 xcb_generic_iterator_t 06634 xcb_query_tree_children_end (const xcb_query_tree_reply_t *R); 06635 06650 xcb_query_tree_reply_t * 06651 xcb_query_tree_reply (xcb_connection_t *c, 06652 xcb_query_tree_cookie_t cookie , 06653 xcb_generic_error_t **e); 06654 06655 int 06656 xcb_intern_atom_sizeof (const void *_buffer); 06657 06676 xcb_intern_atom_cookie_t 06677 xcb_intern_atom (xcb_connection_t *c, 06678 uint8_t only_if_exists, 06679 uint16_t name_len, 06680 const char *name); 06681 06703 xcb_intern_atom_cookie_t 06704 xcb_intern_atom_unchecked (xcb_connection_t *c, 06705 uint8_t only_if_exists, 06706 uint16_t name_len, 06707 const char *name); 06708 06723 xcb_intern_atom_reply_t * 06724 xcb_intern_atom_reply (xcb_connection_t *c, 06725 xcb_intern_atom_cookie_t cookie , 06726 xcb_generic_error_t **e); 06727 06728 int 06729 xcb_get_atom_name_sizeof (const void *_buffer); 06730 06739 xcb_get_atom_name_cookie_t 06740 xcb_get_atom_name (xcb_connection_t *c, 06741 xcb_atom_t atom); 06742 06754 xcb_get_atom_name_cookie_t 06755 xcb_get_atom_name_unchecked (xcb_connection_t *c, 06756 xcb_atom_t atom); 06757 06758 char * 06759 xcb_get_atom_name_name (const xcb_get_atom_name_reply_t *R); 06760 06761 int 06762 xcb_get_atom_name_name_length (const xcb_get_atom_name_reply_t *R); 06763 06764 xcb_generic_iterator_t 06765 xcb_get_atom_name_name_end (const xcb_get_atom_name_reply_t *R); 06766 06781 xcb_get_atom_name_reply_t * 06782 xcb_get_atom_name_reply (xcb_connection_t *c, 06783 xcb_get_atom_name_cookie_t cookie , 06784 xcb_generic_error_t **e); 06785 06786 int 06787 xcb_change_property_sizeof (const void *_buffer); 06788 06814 xcb_void_cookie_t 06815 xcb_change_property_checked (xcb_connection_t *c, 06816 uint8_t mode, 06817 xcb_window_t window, 06818 xcb_atom_t property, 06819 xcb_atom_t type, 06820 uint8_t format, 06821 uint32_t data_len, 06822 const void *data); 06823 06846 xcb_void_cookie_t 06847 xcb_change_property (xcb_connection_t *c, 06848 uint8_t mode, 06849 xcb_window_t window, 06850 xcb_atom_t property, 06851 xcb_atom_t type, 06852 uint8_t format, 06853 uint32_t data_len, 06854 const void *data); 06855 06856 void * 06857 xcb_change_property_data (const xcb_change_property_request_t *R); 06858 06859 int 06860 xcb_change_property_data_length (const xcb_change_property_request_t *R); 06861 06862 xcb_generic_iterator_t 06863 xcb_change_property_data_end (const xcb_change_property_request_t *R); 06864 06876 xcb_void_cookie_t 06877 xcb_delete_property_checked (xcb_connection_t *c, 06878 xcb_window_t window, 06879 xcb_atom_t property); 06880 06889 xcb_void_cookie_t 06890 xcb_delete_property (xcb_connection_t *c, 06891 xcb_window_t window, 06892 xcb_atom_t property); 06893 06894 int 06895 xcb_get_property_sizeof (const void *_buffer); 06896 06924 xcb_get_property_cookie_t 06925 xcb_get_property (xcb_connection_t *c, 06926 uint8_t _delete, 06927 xcb_window_t window, 06928 xcb_atom_t property, 06929 xcb_atom_t type, 06930 uint32_t long_offset, 06931 uint32_t long_length); 06932 06963 xcb_get_property_cookie_t 06964 xcb_get_property_unchecked (xcb_connection_t *c, 06965 uint8_t _delete, 06966 xcb_window_t window, 06967 xcb_atom_t property, 06968 xcb_atom_t type, 06969 uint32_t long_offset, 06970 uint32_t long_length); 06971 06972 void * 06973 xcb_get_property_value (const xcb_get_property_reply_t *R); 06974 06975 int 06976 xcb_get_property_value_length (const xcb_get_property_reply_t *R); 06977 06978 xcb_generic_iterator_t 06979 xcb_get_property_value_end (const xcb_get_property_reply_t *R); 06980 06995 xcb_get_property_reply_t * 06996 xcb_get_property_reply (xcb_connection_t *c, 06997 xcb_get_property_cookie_t cookie , 06998 xcb_generic_error_t **e); 06999 07000 int 07001 xcb_list_properties_sizeof (const void *_buffer); 07002 07011 xcb_list_properties_cookie_t 07012 xcb_list_properties (xcb_connection_t *c, 07013 xcb_window_t window); 07014 07026 xcb_list_properties_cookie_t 07027 xcb_list_properties_unchecked (xcb_connection_t *c, 07028 xcb_window_t window); 07029 07030 xcb_atom_t * 07031 xcb_list_properties_atoms (const xcb_list_properties_reply_t *R); 07032 07033 int 07034 xcb_list_properties_atoms_length (const xcb_list_properties_reply_t *R); 07035 07036 xcb_generic_iterator_t 07037 xcb_list_properties_atoms_end (const xcb_list_properties_reply_t *R); 07038 07053 xcb_list_properties_reply_t * 07054 xcb_list_properties_reply (xcb_connection_t *c, 07055 xcb_list_properties_cookie_t cookie , 07056 xcb_generic_error_t **e); 07057 07085 xcb_void_cookie_t 07086 xcb_set_selection_owner_checked (xcb_connection_t *c, 07087 xcb_window_t owner, 07088 xcb_atom_t selection, 07089 xcb_timestamp_t time); 07090 07115 xcb_void_cookie_t 07116 xcb_set_selection_owner (xcb_connection_t *c, 07117 xcb_window_t owner, 07118 xcb_atom_t selection, 07119 xcb_timestamp_t time); 07120 07133 xcb_get_selection_owner_cookie_t 07134 xcb_get_selection_owner (xcb_connection_t *c, 07135 xcb_atom_t selection); 07136 07152 xcb_get_selection_owner_cookie_t 07153 xcb_get_selection_owner_unchecked (xcb_connection_t *c, 07154 xcb_atom_t selection); 07155 07170 xcb_get_selection_owner_reply_t * 07171 xcb_get_selection_owner_reply (xcb_connection_t *c, 07172 xcb_get_selection_owner_cookie_t cookie , 07173 xcb_generic_error_t **e); 07174 07186 xcb_void_cookie_t 07187 xcb_convert_selection_checked (xcb_connection_t *c, 07188 xcb_window_t requestor, 07189 xcb_atom_t selection, 07190 xcb_atom_t target, 07191 xcb_atom_t property, 07192 xcb_timestamp_t time); 07193 07202 xcb_void_cookie_t 07203 xcb_convert_selection (xcb_connection_t *c, 07204 xcb_window_t requestor, 07205 xcb_atom_t selection, 07206 xcb_atom_t target, 07207 xcb_atom_t property, 07208 xcb_timestamp_t time); 07209 07247 xcb_void_cookie_t 07248 xcb_send_event_checked (xcb_connection_t *c, 07249 uint8_t propagate, 07250 xcb_window_t destination, 07251 uint32_t event_mask, 07252 const char *event); 07253 07288 xcb_void_cookie_t 07289 xcb_send_event (xcb_connection_t *c, 07290 uint8_t propagate, 07291 xcb_window_t destination, 07292 uint32_t event_mask, 07293 const char *event); 07294 07331 xcb_grab_pointer_cookie_t 07332 xcb_grab_pointer (xcb_connection_t *c, 07333 uint8_t owner_events, 07334 xcb_window_t grab_window, 07335 uint16_t event_mask, 07336 uint8_t pointer_mode, 07337 uint8_t keyboard_mode, 07338 xcb_window_t confine_to, 07339 xcb_cursor_t cursor, 07340 xcb_timestamp_t time); 07341 07381 xcb_grab_pointer_cookie_t 07382 xcb_grab_pointer_unchecked (xcb_connection_t *c, 07383 uint8_t owner_events, 07384 xcb_window_t grab_window, 07385 uint16_t event_mask, 07386 uint8_t pointer_mode, 07387 uint8_t keyboard_mode, 07388 xcb_window_t confine_to, 07389 xcb_cursor_t cursor, 07390 xcb_timestamp_t time); 07391 07406 xcb_grab_pointer_reply_t * 07407 xcb_grab_pointer_reply (xcb_connection_t *c, 07408 xcb_grab_pointer_cookie_t cookie , 07409 xcb_generic_error_t **e); 07410 07431 xcb_void_cookie_t 07432 xcb_ungrab_pointer_checked (xcb_connection_t *c, 07433 xcb_timestamp_t time); 07434 07452 xcb_void_cookie_t 07453 xcb_ungrab_pointer (xcb_connection_t *c, 07454 xcb_timestamp_t time); 07455 07524 xcb_void_cookie_t 07525 xcb_grab_button_checked (xcb_connection_t *c, 07526 uint8_t owner_events, 07527 xcb_window_t grab_window, 07528 uint16_t event_mask, 07529 uint8_t pointer_mode, 07530 uint8_t keyboard_mode, 07531 xcb_window_t confine_to, 07532 xcb_cursor_t cursor, 07533 uint8_t button, 07534 uint16_t modifiers); 07535 07601 xcb_void_cookie_t 07602 xcb_grab_button (xcb_connection_t *c, 07603 uint8_t owner_events, 07604 xcb_window_t grab_window, 07605 uint16_t event_mask, 07606 uint8_t pointer_mode, 07607 uint8_t keyboard_mode, 07608 xcb_window_t confine_to, 07609 xcb_cursor_t cursor, 07610 uint8_t button, 07611 uint16_t modifiers); 07612 07624 xcb_void_cookie_t 07625 xcb_ungrab_button_checked (xcb_connection_t *c, 07626 uint8_t button, 07627 xcb_window_t grab_window, 07628 uint16_t modifiers); 07629 07638 xcb_void_cookie_t 07639 xcb_ungrab_button (xcb_connection_t *c, 07640 uint8_t button, 07641 xcb_window_t grab_window, 07642 uint16_t modifiers); 07643 07655 xcb_void_cookie_t 07656 xcb_change_active_pointer_grab_checked (xcb_connection_t *c, 07657 xcb_cursor_t cursor, 07658 xcb_timestamp_t time, 07659 uint16_t event_mask); 07660 07669 xcb_void_cookie_t 07670 xcb_change_active_pointer_grab (xcb_connection_t *c, 07671 xcb_cursor_t cursor, 07672 xcb_timestamp_t time, 07673 uint16_t event_mask); 07674 07704 xcb_grab_keyboard_cookie_t 07705 xcb_grab_keyboard (xcb_connection_t *c, 07706 uint8_t owner_events, 07707 xcb_window_t grab_window, 07708 xcb_timestamp_t time, 07709 uint8_t pointer_mode, 07710 uint8_t keyboard_mode); 07711 07744 xcb_grab_keyboard_cookie_t 07745 xcb_grab_keyboard_unchecked (xcb_connection_t *c, 07746 uint8_t owner_events, 07747 xcb_window_t grab_window, 07748 xcb_timestamp_t time, 07749 uint8_t pointer_mode, 07750 uint8_t keyboard_mode); 07751 07766 xcb_grab_keyboard_reply_t * 07767 xcb_grab_keyboard_reply (xcb_connection_t *c, 07768 xcb_grab_keyboard_cookie_t cookie , 07769 xcb_generic_error_t **e); 07770 07782 xcb_void_cookie_t 07783 xcb_ungrab_keyboard_checked (xcb_connection_t *c, 07784 xcb_timestamp_t time); 07785 07794 xcb_void_cookie_t 07795 xcb_ungrab_keyboard (xcb_connection_t *c, 07796 xcb_timestamp_t time); 07797 07853 xcb_void_cookie_t 07854 xcb_grab_key_checked (xcb_connection_t *c, 07855 uint8_t owner_events, 07856 xcb_window_t grab_window, 07857 uint16_t modifiers, 07858 xcb_keycode_t key, 07859 uint8_t pointer_mode, 07860 uint8_t keyboard_mode); 07861 07914 xcb_void_cookie_t 07915 xcb_grab_key (xcb_connection_t *c, 07916 uint8_t owner_events, 07917 xcb_window_t grab_window, 07918 uint16_t modifiers, 07919 xcb_keycode_t key, 07920 uint8_t pointer_mode, 07921 uint8_t keyboard_mode); 07922 07944 xcb_void_cookie_t 07945 xcb_ungrab_key_checked (xcb_connection_t *c, 07946 xcb_keycode_t key, 07947 xcb_window_t grab_window, 07948 uint16_t modifiers); 07949 07968 xcb_void_cookie_t 07969 xcb_ungrab_key (xcb_connection_t *c, 07970 xcb_keycode_t key, 07971 xcb_window_t grab_window, 07972 uint16_t modifiers); 07973 07995 xcb_void_cookie_t 07996 xcb_allow_events_checked (xcb_connection_t *c, 07997 uint8_t mode, 07998 xcb_timestamp_t time); 07999 08018 xcb_void_cookie_t 08019 xcb_allow_events (xcb_connection_t *c, 08020 uint8_t mode, 08021 xcb_timestamp_t time); 08022 08034 xcb_void_cookie_t 08035 xcb_grab_server_checked (xcb_connection_t *c); 08036 08045 xcb_void_cookie_t 08046 xcb_grab_server (xcb_connection_t *c); 08047 08059 xcb_void_cookie_t 08060 xcb_ungrab_server_checked (xcb_connection_t *c); 08061 08070 xcb_void_cookie_t 08071 xcb_ungrab_server (xcb_connection_t *c); 08072 08085 xcb_query_pointer_cookie_t 08086 xcb_query_pointer (xcb_connection_t *c, 08087 xcb_window_t window); 08088 08104 xcb_query_pointer_cookie_t 08105 xcb_query_pointer_unchecked (xcb_connection_t *c, 08106 xcb_window_t window); 08107 08122 xcb_query_pointer_reply_t * 08123 xcb_query_pointer_reply (xcb_connection_t *c, 08124 xcb_query_pointer_cookie_t cookie , 08125 xcb_generic_error_t **e); 08126 08135 void 08136 xcb_timecoord_next (xcb_timecoord_iterator_t *i); 08137 08147 xcb_generic_iterator_t 08148 xcb_timecoord_end (xcb_timecoord_iterator_t i); 08149 08150 int 08151 xcb_get_motion_events_sizeof (const void *_buffer); 08152 08161 xcb_get_motion_events_cookie_t 08162 xcb_get_motion_events (xcb_connection_t *c, 08163 xcb_window_t window, 08164 xcb_timestamp_t start, 08165 xcb_timestamp_t stop); 08166 08178 xcb_get_motion_events_cookie_t 08179 xcb_get_motion_events_unchecked (xcb_connection_t *c, 08180 xcb_window_t window, 08181 xcb_timestamp_t start, 08182 xcb_timestamp_t stop); 08183 08184 xcb_timecoord_t * 08185 xcb_get_motion_events_events (const xcb_get_motion_events_reply_t *R); 08186 08187 int 08188 xcb_get_motion_events_events_length (const xcb_get_motion_events_reply_t *R); 08189 08190 xcb_timecoord_iterator_t 08191 xcb_get_motion_events_events_iterator (const xcb_get_motion_events_reply_t *R); 08192 08207 xcb_get_motion_events_reply_t * 08208 xcb_get_motion_events_reply (xcb_connection_t *c, 08209 xcb_get_motion_events_cookie_t cookie , 08210 xcb_generic_error_t **e); 08211 08220 xcb_translate_coordinates_cookie_t 08221 xcb_translate_coordinates (xcb_connection_t *c, 08222 xcb_window_t src_window, 08223 xcb_window_t dst_window, 08224 int16_t src_x, 08225 int16_t src_y); 08226 08238 xcb_translate_coordinates_cookie_t 08239 xcb_translate_coordinates_unchecked (xcb_connection_t *c, 08240 xcb_window_t src_window, 08241 xcb_window_t dst_window, 08242 int16_t src_x, 08243 int16_t src_y); 08244 08259 xcb_translate_coordinates_reply_t * 08260 xcb_translate_coordinates_reply (xcb_connection_t *c, 08261 xcb_translate_coordinates_cookie_t cookie , 08262 xcb_generic_error_t **e); 08263 08294 xcb_void_cookie_t 08295 xcb_warp_pointer_checked (xcb_connection_t *c, 08296 xcb_window_t src_window, 08297 xcb_window_t dst_window, 08298 int16_t src_x, 08299 int16_t src_y, 08300 uint16_t src_width, 08301 uint16_t src_height, 08302 int16_t dst_x, 08303 int16_t dst_y); 08304 08332 xcb_void_cookie_t 08333 xcb_warp_pointer (xcb_connection_t *c, 08334 xcb_window_t src_window, 08335 xcb_window_t dst_window, 08336 int16_t src_x, 08337 int16_t src_y, 08338 uint16_t src_width, 08339 uint16_t src_height, 08340 int16_t dst_x, 08341 int16_t dst_y); 08342 08374 xcb_void_cookie_t 08375 xcb_set_input_focus_checked (xcb_connection_t *c, 08376 uint8_t revert_to, 08377 xcb_window_t focus, 08378 xcb_timestamp_t time); 08379 08408 xcb_void_cookie_t 08409 xcb_set_input_focus (xcb_connection_t *c, 08410 uint8_t revert_to, 08411 xcb_window_t focus, 08412 xcb_timestamp_t time); 08413 08422 xcb_get_input_focus_cookie_t 08423 xcb_get_input_focus (xcb_connection_t *c); 08424 08436 xcb_get_input_focus_cookie_t 08437 xcb_get_input_focus_unchecked (xcb_connection_t *c); 08438 08453 xcb_get_input_focus_reply_t * 08454 xcb_get_input_focus_reply (xcb_connection_t *c, 08455 xcb_get_input_focus_cookie_t cookie , 08456 xcb_generic_error_t **e); 08457 08466 xcb_query_keymap_cookie_t 08467 xcb_query_keymap (xcb_connection_t *c); 08468 08480 xcb_query_keymap_cookie_t 08481 xcb_query_keymap_unchecked (xcb_connection_t *c); 08482 08497 xcb_query_keymap_reply_t * 08498 xcb_query_keymap_reply (xcb_connection_t *c, 08499 xcb_query_keymap_cookie_t cookie , 08500 xcb_generic_error_t **e); 08501 08502 int 08503 xcb_open_font_sizeof (const void *_buffer); 08504 08523 xcb_void_cookie_t 08524 xcb_open_font_checked (xcb_connection_t *c, 08525 xcb_font_t fid, 08526 uint16_t name_len, 08527 const char *name); 08528 08544 xcb_void_cookie_t 08545 xcb_open_font (xcb_connection_t *c, 08546 xcb_font_t fid, 08547 uint16_t name_len, 08548 const char *name); 08549 08550 char * 08551 xcb_open_font_name (const xcb_open_font_request_t *R); 08552 08553 int 08554 xcb_open_font_name_length (const xcb_open_font_request_t *R); 08555 08556 xcb_generic_iterator_t 08557 xcb_open_font_name_end (const xcb_open_font_request_t *R); 08558 08570 xcb_void_cookie_t 08571 xcb_close_font_checked (xcb_connection_t *c, 08572 xcb_font_t font); 08573 08582 xcb_void_cookie_t 08583 xcb_close_font (xcb_connection_t *c, 08584 xcb_font_t font); 08585 08594 void 08595 xcb_fontprop_next (xcb_fontprop_iterator_t *i); 08596 08606 xcb_generic_iterator_t 08607 xcb_fontprop_end (xcb_fontprop_iterator_t i); 08608 08617 void 08618 xcb_charinfo_next (xcb_charinfo_iterator_t *i); 08619 08629 xcb_generic_iterator_t 08630 xcb_charinfo_end (xcb_charinfo_iterator_t i); 08631 08632 int 08633 xcb_query_font_sizeof (const void *_buffer); 08634 08645 xcb_query_font_cookie_t 08646 xcb_query_font (xcb_connection_t *c, 08647 xcb_fontable_t font); 08648 08662 xcb_query_font_cookie_t 08663 xcb_query_font_unchecked (xcb_connection_t *c, 08664 xcb_fontable_t font); 08665 08666 xcb_fontprop_t * 08667 xcb_query_font_properties (const xcb_query_font_reply_t *R); 08668 08669 int 08670 xcb_query_font_properties_length (const xcb_query_font_reply_t *R); 08671 08672 xcb_fontprop_iterator_t 08673 xcb_query_font_properties_iterator (const xcb_query_font_reply_t *R); 08674 08675 xcb_charinfo_t * 08676 xcb_query_font_char_infos (const xcb_query_font_reply_t *R); 08677 08678 int 08679 xcb_query_font_char_infos_length (const xcb_query_font_reply_t *R); 08680 08681 xcb_charinfo_iterator_t 08682 xcb_query_font_char_infos_iterator (const xcb_query_font_reply_t *R); 08683 08698 xcb_query_font_reply_t * 08699 xcb_query_font_reply (xcb_connection_t *c, 08700 xcb_query_font_cookie_t cookie , 08701 xcb_generic_error_t **e); 08702 08703 int 08704 xcb_query_text_extents_sizeof (const void *_buffer, 08705 uint32_t string_len); 08706 08739 xcb_query_text_extents_cookie_t 08740 xcb_query_text_extents (xcb_connection_t *c, 08741 xcb_fontable_t font, 08742 uint32_t string_len, 08743 const xcb_char2b_t *string); 08744 08780 xcb_query_text_extents_cookie_t 08781 xcb_query_text_extents_unchecked (xcb_connection_t *c, 08782 xcb_fontable_t font, 08783 uint32_t string_len, 08784 const xcb_char2b_t *string); 08785 08800 xcb_query_text_extents_reply_t * 08801 xcb_query_text_extents_reply (xcb_connection_t *c, 08802 xcb_query_text_extents_cookie_t cookie , 08803 xcb_generic_error_t **e); 08804 08805 int 08806 xcb_str_sizeof (const void *_buffer); 08807 08808 char * 08809 xcb_str_name (const xcb_str_t *R); 08810 08811 int 08812 xcb_str_name_length (const xcb_str_t *R); 08813 08814 xcb_generic_iterator_t 08815 xcb_str_name_end (const xcb_str_t *R); 08816 08825 void 08826 xcb_str_next (xcb_str_iterator_t *i); 08827 08837 xcb_generic_iterator_t 08838 xcb_str_end (xcb_str_iterator_t i); 08839 08840 int 08841 xcb_list_fonts_sizeof (const void *_buffer); 08842 08859 xcb_list_fonts_cookie_t 08860 xcb_list_fonts (xcb_connection_t *c, 08861 uint16_t max_names, 08862 uint16_t pattern_len, 08863 const char *pattern); 08864 08884 xcb_list_fonts_cookie_t 08885 xcb_list_fonts_unchecked (xcb_connection_t *c, 08886 uint16_t max_names, 08887 uint16_t pattern_len, 08888 const char *pattern); 08889 08890 int 08891 xcb_list_fonts_names_length (const xcb_list_fonts_reply_t *R); 08892 08893 xcb_str_iterator_t 08894 xcb_list_fonts_names_iterator (const xcb_list_fonts_reply_t *R); 08895 08910 xcb_list_fonts_reply_t * 08911 xcb_list_fonts_reply (xcb_connection_t *c, 08912 xcb_list_fonts_cookie_t cookie , 08913 xcb_generic_error_t **e); 08914 08915 int 08916 xcb_list_fonts_with_info_sizeof (const void *_buffer); 08917 08934 xcb_list_fonts_with_info_cookie_t 08935 xcb_list_fonts_with_info (xcb_connection_t *c, 08936 uint16_t max_names, 08937 uint16_t pattern_len, 08938 const char *pattern); 08939 08959 xcb_list_fonts_with_info_cookie_t 08960 xcb_list_fonts_with_info_unchecked (xcb_connection_t *c, 08961 uint16_t max_names, 08962 uint16_t pattern_len, 08963 const char *pattern); 08964 08965 xcb_fontprop_t * 08966 xcb_list_fonts_with_info_properties (const xcb_list_fonts_with_info_reply_t *R); 08967 08968 int 08969 xcb_list_fonts_with_info_properties_length (const xcb_list_fonts_with_info_reply_t *R); 08970 08971 xcb_fontprop_iterator_t 08972 xcb_list_fonts_with_info_properties_iterator (const xcb_list_fonts_with_info_reply_t *R); 08973 08974 char * 08975 xcb_list_fonts_with_info_name (const xcb_list_fonts_with_info_reply_t *R); 08976 08977 int 08978 xcb_list_fonts_with_info_name_length (const xcb_list_fonts_with_info_reply_t *R); 08979 08980 xcb_generic_iterator_t 08981 xcb_list_fonts_with_info_name_end (const xcb_list_fonts_with_info_reply_t *R); 08982 08997 xcb_list_fonts_with_info_reply_t * 08998 xcb_list_fonts_with_info_reply (xcb_connection_t *c, 08999 xcb_list_fonts_with_info_cookie_t cookie , 09000 xcb_generic_error_t **e); 09001 09002 int 09003 xcb_set_font_path_sizeof (const void *_buffer); 09004 09016 xcb_void_cookie_t 09017 xcb_set_font_path_checked (xcb_connection_t *c, 09018 uint16_t font_qty, 09019 const xcb_str_t *font); 09020 09029 xcb_void_cookie_t 09030 xcb_set_font_path (xcb_connection_t *c, 09031 uint16_t font_qty, 09032 const xcb_str_t *font); 09033 09034 int 09035 xcb_set_font_path_font_length (const xcb_set_font_path_request_t *R); 09036 09037 xcb_str_iterator_t 09038 xcb_set_font_path_font_iterator (const xcb_set_font_path_request_t *R); 09039 09040 int 09041 xcb_get_font_path_sizeof (const void *_buffer); 09042 09051 xcb_get_font_path_cookie_t 09052 xcb_get_font_path (xcb_connection_t *c); 09053 09065 xcb_get_font_path_cookie_t 09066 xcb_get_font_path_unchecked (xcb_connection_t *c); 09067 09068 int 09069 xcb_get_font_path_path_length (const xcb_get_font_path_reply_t *R); 09070 09071 xcb_str_iterator_t 09072 xcb_get_font_path_path_iterator (const xcb_get_font_path_reply_t *R); 09073 09088 xcb_get_font_path_reply_t * 09089 xcb_get_font_path_reply (xcb_connection_t *c, 09090 xcb_get_font_path_cookie_t cookie , 09091 xcb_generic_error_t **e); 09092 09112 xcb_void_cookie_t 09113 xcb_create_pixmap_checked (xcb_connection_t *c, 09114 uint8_t depth, 09115 xcb_pixmap_t pid, 09116 xcb_drawable_t drawable, 09117 uint16_t width, 09118 uint16_t height); 09119 09136 xcb_void_cookie_t 09137 xcb_create_pixmap (xcb_connection_t *c, 09138 uint8_t depth, 09139 xcb_pixmap_t pid, 09140 xcb_drawable_t drawable, 09141 uint16_t width, 09142 uint16_t height); 09143 09158 xcb_void_cookie_t 09159 xcb_free_pixmap_checked (xcb_connection_t *c, 09160 xcb_pixmap_t pixmap); 09161 09173 xcb_void_cookie_t 09174 xcb_free_pixmap (xcb_connection_t *c, 09175 xcb_pixmap_t pixmap); 09176 09177 int 09178 xcb_create_gc_value_list_serialize (void **_buffer, 09179 uint32_t value_mask, 09180 const xcb_create_gc_value_list_t *_aux); 09181 09182 int 09183 xcb_create_gc_value_list_unpack (const void *_buffer, 09184 uint32_t value_mask, 09185 xcb_create_gc_value_list_t *_aux); 09186 09187 int 09188 xcb_create_gc_value_list_sizeof (const void *_buffer, 09189 uint32_t value_mask); 09190 09191 int 09192 xcb_create_gc_sizeof (const void *_buffer); 09193 09210 xcb_void_cookie_t 09211 xcb_create_gc_checked (xcb_connection_t *c, 09212 xcb_gcontext_t cid, 09213 xcb_drawable_t drawable, 09214 uint32_t value_mask, 09215 const void *value_list); 09216 09230 xcb_void_cookie_t 09231 xcb_create_gc (xcb_connection_t *c, 09232 xcb_gcontext_t cid, 09233 xcb_drawable_t drawable, 09234 uint32_t value_mask, 09235 const void *value_list); 09236 09253 xcb_void_cookie_t 09254 xcb_create_gc_aux_checked (xcb_connection_t *c, 09255 xcb_gcontext_t cid, 09256 xcb_drawable_t drawable, 09257 uint32_t value_mask, 09258 const xcb_create_gc_value_list_t *value_list); 09259 09273 xcb_void_cookie_t 09274 xcb_create_gc_aux (xcb_connection_t *c, 09275 xcb_gcontext_t cid, 09276 xcb_drawable_t drawable, 09277 uint32_t value_mask, 09278 const xcb_create_gc_value_list_t *value_list); 09279 09280 void * 09281 xcb_create_gc_value_list (const xcb_create_gc_request_t *R); 09282 09283 int 09284 xcb_change_gc_value_list_serialize (void **_buffer, 09285 uint32_t value_mask, 09286 const xcb_change_gc_value_list_t *_aux); 09287 09288 int 09289 xcb_change_gc_value_list_unpack (const void *_buffer, 09290 uint32_t value_mask, 09291 xcb_change_gc_value_list_t *_aux); 09292 09293 int 09294 xcb_change_gc_value_list_sizeof (const void *_buffer, 09295 uint32_t value_mask); 09296 09297 int 09298 xcb_change_gc_sizeof (const void *_buffer); 09299 09318 xcb_void_cookie_t 09319 xcb_change_gc_checked (xcb_connection_t *c, 09320 xcb_gcontext_t gc, 09321 uint32_t value_mask, 09322 const void *value_list); 09323 09339 xcb_void_cookie_t 09340 xcb_change_gc (xcb_connection_t *c, 09341 xcb_gcontext_t gc, 09342 uint32_t value_mask, 09343 const void *value_list); 09344 09363 xcb_void_cookie_t 09364 xcb_change_gc_aux_checked (xcb_connection_t *c, 09365 xcb_gcontext_t gc, 09366 uint32_t value_mask, 09367 const xcb_change_gc_value_list_t *value_list); 09368 09384 xcb_void_cookie_t 09385 xcb_change_gc_aux (xcb_connection_t *c, 09386 xcb_gcontext_t gc, 09387 uint32_t value_mask, 09388 const xcb_change_gc_value_list_t *value_list); 09389 09390 void * 09391 xcb_change_gc_value_list (const xcb_change_gc_request_t *R); 09392 09404 xcb_void_cookie_t 09405 xcb_copy_gc_checked (xcb_connection_t *c, 09406 xcb_gcontext_t src_gc, 09407 xcb_gcontext_t dst_gc, 09408 uint32_t value_mask); 09409 09418 xcb_void_cookie_t 09419 xcb_copy_gc (xcb_connection_t *c, 09420 xcb_gcontext_t src_gc, 09421 xcb_gcontext_t dst_gc, 09422 uint32_t value_mask); 09423 09424 int 09425 xcb_set_dashes_sizeof (const void *_buffer); 09426 09438 xcb_void_cookie_t 09439 xcb_set_dashes_checked (xcb_connection_t *c, 09440 xcb_gcontext_t gc, 09441 uint16_t dash_offset, 09442 uint16_t dashes_len, 09443 const uint8_t *dashes); 09444 09453 xcb_void_cookie_t 09454 xcb_set_dashes (xcb_connection_t *c, 09455 xcb_gcontext_t gc, 09456 uint16_t dash_offset, 09457 uint16_t dashes_len, 09458 const uint8_t *dashes); 09459 09460 uint8_t * 09461 xcb_set_dashes_dashes (const xcb_set_dashes_request_t *R); 09462 09463 int 09464 xcb_set_dashes_dashes_length (const xcb_set_dashes_request_t *R); 09465 09466 xcb_generic_iterator_t 09467 xcb_set_dashes_dashes_end (const xcb_set_dashes_request_t *R); 09468 09469 int 09470 xcb_set_clip_rectangles_sizeof (const void *_buffer, 09471 uint32_t rectangles_len); 09472 09484 xcb_void_cookie_t 09485 xcb_set_clip_rectangles_checked (xcb_connection_t *c, 09486 uint8_t ordering, 09487 xcb_gcontext_t gc, 09488 int16_t clip_x_origin, 09489 int16_t clip_y_origin, 09490 uint32_t rectangles_len, 09491 const xcb_rectangle_t *rectangles); 09492 09501 xcb_void_cookie_t 09502 xcb_set_clip_rectangles (xcb_connection_t *c, 09503 uint8_t ordering, 09504 xcb_gcontext_t gc, 09505 int16_t clip_x_origin, 09506 int16_t clip_y_origin, 09507 uint32_t rectangles_len, 09508 const xcb_rectangle_t *rectangles); 09509 09510 xcb_rectangle_t * 09511 xcb_set_clip_rectangles_rectangles (const xcb_set_clip_rectangles_request_t *R); 09512 09513 int 09514 xcb_set_clip_rectangles_rectangles_length (const xcb_set_clip_rectangles_request_t *R); 09515 09516 xcb_rectangle_iterator_t 09517 xcb_set_clip_rectangles_rectangles_iterator (const xcb_set_clip_rectangles_request_t *R); 09518 09532 xcb_void_cookie_t 09533 xcb_free_gc_checked (xcb_connection_t *c, 09534 xcb_gcontext_t gc); 09535 09546 xcb_void_cookie_t 09547 xcb_free_gc (xcb_connection_t *c, 09548 xcb_gcontext_t gc); 09549 09561 xcb_void_cookie_t 09562 xcb_clear_area_checked (xcb_connection_t *c, 09563 uint8_t exposures, 09564 xcb_window_t window, 09565 int16_t x, 09566 int16_t y, 09567 uint16_t width, 09568 uint16_t height); 09569 09578 xcb_void_cookie_t 09579 xcb_clear_area (xcb_connection_t *c, 09580 uint8_t exposures, 09581 xcb_window_t window, 09582 int16_t x, 09583 int16_t y, 09584 uint16_t width, 09585 uint16_t height); 09586 09608 xcb_void_cookie_t 09609 xcb_copy_area_checked (xcb_connection_t *c, 09610 xcb_drawable_t src_drawable, 09611 xcb_drawable_t dst_drawable, 09612 xcb_gcontext_t gc, 09613 int16_t src_x, 09614 int16_t src_y, 09615 int16_t dst_x, 09616 int16_t dst_y, 09617 uint16_t width, 09618 uint16_t height); 09619 09638 xcb_void_cookie_t 09639 xcb_copy_area (xcb_connection_t *c, 09640 xcb_drawable_t src_drawable, 09641 xcb_drawable_t dst_drawable, 09642 xcb_gcontext_t gc, 09643 int16_t src_x, 09644 int16_t src_y, 09645 int16_t dst_x, 09646 int16_t dst_y, 09647 uint16_t width, 09648 uint16_t height); 09649 09661 xcb_void_cookie_t 09662 xcb_copy_plane_checked (xcb_connection_t *c, 09663 xcb_drawable_t src_drawable, 09664 xcb_drawable_t dst_drawable, 09665 xcb_gcontext_t gc, 09666 int16_t src_x, 09667 int16_t src_y, 09668 int16_t dst_x, 09669 int16_t dst_y, 09670 uint16_t width, 09671 uint16_t height, 09672 uint32_t bit_plane); 09673 09682 xcb_void_cookie_t 09683 xcb_copy_plane (xcb_connection_t *c, 09684 xcb_drawable_t src_drawable, 09685 xcb_drawable_t dst_drawable, 09686 xcb_gcontext_t gc, 09687 int16_t src_x, 09688 int16_t src_y, 09689 int16_t dst_x, 09690 int16_t dst_y, 09691 uint16_t width, 09692 uint16_t height, 09693 uint32_t bit_plane); 09694 09695 int 09696 xcb_poly_point_sizeof (const void *_buffer, 09697 uint32_t points_len); 09698 09710 xcb_void_cookie_t 09711 xcb_poly_point_checked (xcb_connection_t *c, 09712 uint8_t coordinate_mode, 09713 xcb_drawable_t drawable, 09714 xcb_gcontext_t gc, 09715 uint32_t points_len, 09716 const xcb_point_t *points); 09717 09726 xcb_void_cookie_t 09727 xcb_poly_point (xcb_connection_t *c, 09728 uint8_t coordinate_mode, 09729 xcb_drawable_t drawable, 09730 xcb_gcontext_t gc, 09731 uint32_t points_len, 09732 const xcb_point_t *points); 09733 09734 xcb_point_t * 09735 xcb_poly_point_points (const xcb_poly_point_request_t *R); 09736 09737 int 09738 xcb_poly_point_points_length (const xcb_poly_point_request_t *R); 09739 09740 xcb_point_iterator_t 09741 xcb_poly_point_points_iterator (const xcb_poly_point_request_t *R); 09742 09743 int 09744 xcb_poly_line_sizeof (const void *_buffer, 09745 uint32_t points_len); 09746 09772 xcb_void_cookie_t 09773 xcb_poly_line_checked (xcb_connection_t *c, 09774 uint8_t coordinate_mode, 09775 xcb_drawable_t drawable, 09776 xcb_gcontext_t gc, 09777 uint32_t points_len, 09778 const xcb_point_t *points); 09779 09802 xcb_void_cookie_t 09803 xcb_poly_line (xcb_connection_t *c, 09804 uint8_t coordinate_mode, 09805 xcb_drawable_t drawable, 09806 xcb_gcontext_t gc, 09807 uint32_t points_len, 09808 const xcb_point_t *points); 09809 09810 xcb_point_t * 09811 xcb_poly_line_points (const xcb_poly_line_request_t *R); 09812 09813 int 09814 xcb_poly_line_points_length (const xcb_poly_line_request_t *R); 09815 09816 xcb_point_iterator_t 09817 xcb_poly_line_points_iterator (const xcb_poly_line_request_t *R); 09818 09827 void 09828 xcb_segment_next (xcb_segment_iterator_t *i); 09829 09839 xcb_generic_iterator_t 09840 xcb_segment_end (xcb_segment_iterator_t i); 09841 09842 int 09843 xcb_poly_segment_sizeof (const void *_buffer, 09844 uint32_t segments_len); 09845 09872 xcb_void_cookie_t 09873 xcb_poly_segment_checked (xcb_connection_t *c, 09874 xcb_drawable_t drawable, 09875 xcb_gcontext_t gc, 09876 uint32_t segments_len, 09877 const xcb_segment_t *segments); 09878 09902 xcb_void_cookie_t 09903 xcb_poly_segment (xcb_connection_t *c, 09904 xcb_drawable_t drawable, 09905 xcb_gcontext_t gc, 09906 uint32_t segments_len, 09907 const xcb_segment_t *segments); 09908 09909 xcb_segment_t * 09910 xcb_poly_segment_segments (const xcb_poly_segment_request_t *R); 09911 09912 int 09913 xcb_poly_segment_segments_length (const xcb_poly_segment_request_t *R); 09914 09915 xcb_segment_iterator_t 09916 xcb_poly_segment_segments_iterator (const xcb_poly_segment_request_t *R); 09917 09918 int 09919 xcb_poly_rectangle_sizeof (const void *_buffer, 09920 uint32_t rectangles_len); 09921 09933 xcb_void_cookie_t 09934 xcb_poly_rectangle_checked (xcb_connection_t *c, 09935 xcb_drawable_t drawable, 09936 xcb_gcontext_t gc, 09937 uint32_t rectangles_len, 09938 const xcb_rectangle_t *rectangles); 09939 09948 xcb_void_cookie_t 09949 xcb_poly_rectangle (xcb_connection_t *c, 09950 xcb_drawable_t drawable, 09951 xcb_gcontext_t gc, 09952 uint32_t rectangles_len, 09953 const xcb_rectangle_t *rectangles); 09954 09955 xcb_rectangle_t * 09956 xcb_poly_rectangle_rectangles (const xcb_poly_rectangle_request_t *R); 09957 09958 int 09959 xcb_poly_rectangle_rectangles_length (const xcb_poly_rectangle_request_t *R); 09960 09961 xcb_rectangle_iterator_t 09962 xcb_poly_rectangle_rectangles_iterator (const xcb_poly_rectangle_request_t *R); 09963 09964 int 09965 xcb_poly_arc_sizeof (const void *_buffer, 09966 uint32_t arcs_len); 09967 09979 xcb_void_cookie_t 09980 xcb_poly_arc_checked (xcb_connection_t *c, 09981 xcb_drawable_t drawable, 09982 xcb_gcontext_t gc, 09983 uint32_t arcs_len, 09984 const xcb_arc_t *arcs); 09985 09994 xcb_void_cookie_t 09995 xcb_poly_arc (xcb_connection_t *c, 09996 xcb_drawable_t drawable, 09997 xcb_gcontext_t gc, 09998 uint32_t arcs_len, 09999 const xcb_arc_t *arcs); 10000 10001 xcb_arc_t * 10002 xcb_poly_arc_arcs (const xcb_poly_arc_request_t *R); 10003 10004 int 10005 xcb_poly_arc_arcs_length (const xcb_poly_arc_request_t *R); 10006 10007 xcb_arc_iterator_t 10008 xcb_poly_arc_arcs_iterator (const xcb_poly_arc_request_t *R); 10009 10010 int 10011 xcb_fill_poly_sizeof (const void *_buffer, 10012 uint32_t points_len); 10013 10025 xcb_void_cookie_t 10026 xcb_fill_poly_checked (xcb_connection_t *c, 10027 xcb_drawable_t drawable, 10028 xcb_gcontext_t gc, 10029 uint8_t shape, 10030 uint8_t coordinate_mode, 10031 uint32_t points_len, 10032 const xcb_point_t *points); 10033 10042 xcb_void_cookie_t 10043 xcb_fill_poly (xcb_connection_t *c, 10044 xcb_drawable_t drawable, 10045 xcb_gcontext_t gc, 10046 uint8_t shape, 10047 uint8_t coordinate_mode, 10048 uint32_t points_len, 10049 const xcb_point_t *points); 10050 10051 xcb_point_t * 10052 xcb_fill_poly_points (const xcb_fill_poly_request_t *R); 10053 10054 int 10055 xcb_fill_poly_points_length (const xcb_fill_poly_request_t *R); 10056 10057 xcb_point_iterator_t 10058 xcb_fill_poly_points_iterator (const xcb_fill_poly_request_t *R); 10059 10060 int 10061 xcb_poly_fill_rectangle_sizeof (const void *_buffer, 10062 uint32_t rectangles_len); 10063 10089 xcb_void_cookie_t 10090 xcb_poly_fill_rectangle_checked (xcb_connection_t *c, 10091 xcb_drawable_t drawable, 10092 xcb_gcontext_t gc, 10093 uint32_t rectangles_len, 10094 const xcb_rectangle_t *rectangles); 10095 10118 xcb_void_cookie_t 10119 xcb_poly_fill_rectangle (xcb_connection_t *c, 10120 xcb_drawable_t drawable, 10121 xcb_gcontext_t gc, 10122 uint32_t rectangles_len, 10123 const xcb_rectangle_t *rectangles); 10124 10125 xcb_rectangle_t * 10126 xcb_poly_fill_rectangle_rectangles (const xcb_poly_fill_rectangle_request_t *R); 10127 10128 int 10129 xcb_poly_fill_rectangle_rectangles_length (const xcb_poly_fill_rectangle_request_t *R); 10130 10131 xcb_rectangle_iterator_t 10132 xcb_poly_fill_rectangle_rectangles_iterator (const xcb_poly_fill_rectangle_request_t *R); 10133 10134 int 10135 xcb_poly_fill_arc_sizeof (const void *_buffer, 10136 uint32_t arcs_len); 10137 10149 xcb_void_cookie_t 10150 xcb_poly_fill_arc_checked (xcb_connection_t *c, 10151 xcb_drawable_t drawable, 10152 xcb_gcontext_t gc, 10153 uint32_t arcs_len, 10154 const xcb_arc_t *arcs); 10155 10164 xcb_void_cookie_t 10165 xcb_poly_fill_arc (xcb_connection_t *c, 10166 xcb_drawable_t drawable, 10167 xcb_gcontext_t gc, 10168 uint32_t arcs_len, 10169 const xcb_arc_t *arcs); 10170 10171 xcb_arc_t * 10172 xcb_poly_fill_arc_arcs (const xcb_poly_fill_arc_request_t *R); 10173 10174 int 10175 xcb_poly_fill_arc_arcs_length (const xcb_poly_fill_arc_request_t *R); 10176 10177 xcb_arc_iterator_t 10178 xcb_poly_fill_arc_arcs_iterator (const xcb_poly_fill_arc_request_t *R); 10179 10180 int 10181 xcb_put_image_sizeof (const void *_buffer, 10182 uint32_t data_len); 10183 10195 xcb_void_cookie_t 10196 xcb_put_image_checked (xcb_connection_t *c, 10197 uint8_t format, 10198 xcb_drawable_t drawable, 10199 xcb_gcontext_t gc, 10200 uint16_t width, 10201 uint16_t height, 10202 int16_t dst_x, 10203 int16_t dst_y, 10204 uint8_t left_pad, 10205 uint8_t depth, 10206 uint32_t data_len, 10207 const uint8_t *data); 10208 10217 xcb_void_cookie_t 10218 xcb_put_image (xcb_connection_t *c, 10219 uint8_t format, 10220 xcb_drawable_t drawable, 10221 xcb_gcontext_t gc, 10222 uint16_t width, 10223 uint16_t height, 10224 int16_t dst_x, 10225 int16_t dst_y, 10226 uint8_t left_pad, 10227 uint8_t depth, 10228 uint32_t data_len, 10229 const uint8_t *data); 10230 10231 uint8_t * 10232 xcb_put_image_data (const xcb_put_image_request_t *R); 10233 10234 int 10235 xcb_put_image_data_length (const xcb_put_image_request_t *R); 10236 10237 xcb_generic_iterator_t 10238 xcb_put_image_data_end (const xcb_put_image_request_t *R); 10239 10240 int 10241 xcb_get_image_sizeof (const void *_buffer); 10242 10251 xcb_get_image_cookie_t 10252 xcb_get_image (xcb_connection_t *c, 10253 uint8_t format, 10254 xcb_drawable_t drawable, 10255 int16_t x, 10256 int16_t y, 10257 uint16_t width, 10258 uint16_t height, 10259 uint32_t plane_mask); 10260 10272 xcb_get_image_cookie_t 10273 xcb_get_image_unchecked (xcb_connection_t *c, 10274 uint8_t format, 10275 xcb_drawable_t drawable, 10276 int16_t x, 10277 int16_t y, 10278 uint16_t width, 10279 uint16_t height, 10280 uint32_t plane_mask); 10281 10282 uint8_t * 10283 xcb_get_image_data (const xcb_get_image_reply_t *R); 10284 10285 int 10286 xcb_get_image_data_length (const xcb_get_image_reply_t *R); 10287 10288 xcb_generic_iterator_t 10289 xcb_get_image_data_end (const xcb_get_image_reply_t *R); 10290 10305 xcb_get_image_reply_t * 10306 xcb_get_image_reply (xcb_connection_t *c, 10307 xcb_get_image_cookie_t cookie , 10308 xcb_generic_error_t **e); 10309 10310 int 10311 xcb_poly_text_8_sizeof (const void *_buffer, 10312 uint32_t items_len); 10313 10325 xcb_void_cookie_t 10326 xcb_poly_text_8_checked (xcb_connection_t *c, 10327 xcb_drawable_t drawable, 10328 xcb_gcontext_t gc, 10329 int16_t x, 10330 int16_t y, 10331 uint32_t items_len, 10332 const uint8_t *items); 10333 10342 xcb_void_cookie_t 10343 xcb_poly_text_8 (xcb_connection_t *c, 10344 xcb_drawable_t drawable, 10345 xcb_gcontext_t gc, 10346 int16_t x, 10347 int16_t y, 10348 uint32_t items_len, 10349 const uint8_t *items); 10350 10351 uint8_t * 10352 xcb_poly_text_8_items (const xcb_poly_text_8_request_t *R); 10353 10354 int 10355 xcb_poly_text_8_items_length (const xcb_poly_text_8_request_t *R); 10356 10357 xcb_generic_iterator_t 10358 xcb_poly_text_8_items_end (const xcb_poly_text_8_request_t *R); 10359 10360 int 10361 xcb_poly_text_16_sizeof (const void *_buffer, 10362 uint32_t items_len); 10363 10375 xcb_void_cookie_t 10376 xcb_poly_text_16_checked (xcb_connection_t *c, 10377 xcb_drawable_t drawable, 10378 xcb_gcontext_t gc, 10379 int16_t x, 10380 int16_t y, 10381 uint32_t items_len, 10382 const uint8_t *items); 10383 10392 xcb_void_cookie_t 10393 xcb_poly_text_16 (xcb_connection_t *c, 10394 xcb_drawable_t drawable, 10395 xcb_gcontext_t gc, 10396 int16_t x, 10397 int16_t y, 10398 uint32_t items_len, 10399 const uint8_t *items); 10400 10401 uint8_t * 10402 xcb_poly_text_16_items (const xcb_poly_text_16_request_t *R); 10403 10404 int 10405 xcb_poly_text_16_items_length (const xcb_poly_text_16_request_t *R); 10406 10407 xcb_generic_iterator_t 10408 xcb_poly_text_16_items_end (const xcb_poly_text_16_request_t *R); 10409 10410 int 10411 xcb_image_text_8_sizeof (const void *_buffer); 10412 10443 xcb_void_cookie_t 10444 xcb_image_text_8_checked (xcb_connection_t *c, 10445 uint8_t string_len, 10446 xcb_drawable_t drawable, 10447 xcb_gcontext_t gc, 10448 int16_t x, 10449 int16_t y, 10450 const char *string); 10451 10479 xcb_void_cookie_t 10480 xcb_image_text_8 (xcb_connection_t *c, 10481 uint8_t string_len, 10482 xcb_drawable_t drawable, 10483 xcb_gcontext_t gc, 10484 int16_t x, 10485 int16_t y, 10486 const char *string); 10487 10488 char * 10489 xcb_image_text_8_string (const xcb_image_text_8_request_t *R); 10490 10491 int 10492 xcb_image_text_8_string_length (const xcb_image_text_8_request_t *R); 10493 10494 xcb_generic_iterator_t 10495 xcb_image_text_8_string_end (const xcb_image_text_8_request_t *R); 10496 10497 int 10498 xcb_image_text_16_sizeof (const void *_buffer); 10499 10531 xcb_void_cookie_t 10532 xcb_image_text_16_checked (xcb_connection_t *c, 10533 uint8_t string_len, 10534 xcb_drawable_t drawable, 10535 xcb_gcontext_t gc, 10536 int16_t x, 10537 int16_t y, 10538 const xcb_char2b_t *string); 10539 10568 xcb_void_cookie_t 10569 xcb_image_text_16 (xcb_connection_t *c, 10570 uint8_t string_len, 10571 xcb_drawable_t drawable, 10572 xcb_gcontext_t gc, 10573 int16_t x, 10574 int16_t y, 10575 const xcb_char2b_t *string); 10576 10577 xcb_char2b_t * 10578 xcb_image_text_16_string (const xcb_image_text_16_request_t *R); 10579 10580 int 10581 xcb_image_text_16_string_length (const xcb_image_text_16_request_t *R); 10582 10583 xcb_char2b_iterator_t 10584 xcb_image_text_16_string_iterator (const xcb_image_text_16_request_t *R); 10585 10597 xcb_void_cookie_t 10598 xcb_create_colormap_checked (xcb_connection_t *c, 10599 uint8_t alloc, 10600 xcb_colormap_t mid, 10601 xcb_window_t window, 10602 xcb_visualid_t visual); 10603 10612 xcb_void_cookie_t 10613 xcb_create_colormap (xcb_connection_t *c, 10614 uint8_t alloc, 10615 xcb_colormap_t mid, 10616 xcb_window_t window, 10617 xcb_visualid_t visual); 10618 10630 xcb_void_cookie_t 10631 xcb_free_colormap_checked (xcb_connection_t *c, 10632 xcb_colormap_t cmap); 10633 10642 xcb_void_cookie_t 10643 xcb_free_colormap (xcb_connection_t *c, 10644 xcb_colormap_t cmap); 10645 10657 xcb_void_cookie_t 10658 xcb_copy_colormap_and_free_checked (xcb_connection_t *c, 10659 xcb_colormap_t mid, 10660 xcb_colormap_t src_cmap); 10661 10670 xcb_void_cookie_t 10671 xcb_copy_colormap_and_free (xcb_connection_t *c, 10672 xcb_colormap_t mid, 10673 xcb_colormap_t src_cmap); 10674 10686 xcb_void_cookie_t 10687 xcb_install_colormap_checked (xcb_connection_t *c, 10688 xcb_colormap_t cmap); 10689 10698 xcb_void_cookie_t 10699 xcb_install_colormap (xcb_connection_t *c, 10700 xcb_colormap_t cmap); 10701 10713 xcb_void_cookie_t 10714 xcb_uninstall_colormap_checked (xcb_connection_t *c, 10715 xcb_colormap_t cmap); 10716 10725 xcb_void_cookie_t 10726 xcb_uninstall_colormap (xcb_connection_t *c, 10727 xcb_colormap_t cmap); 10728 10729 int 10730 xcb_list_installed_colormaps_sizeof (const void *_buffer); 10731 10740 xcb_list_installed_colormaps_cookie_t 10741 xcb_list_installed_colormaps (xcb_connection_t *c, 10742 xcb_window_t window); 10743 10755 xcb_list_installed_colormaps_cookie_t 10756 xcb_list_installed_colormaps_unchecked (xcb_connection_t *c, 10757 xcb_window_t window); 10758 10759 xcb_colormap_t * 10760 xcb_list_installed_colormaps_cmaps (const xcb_list_installed_colormaps_reply_t *R); 10761 10762 int 10763 xcb_list_installed_colormaps_cmaps_length (const xcb_list_installed_colormaps_reply_t *R); 10764 10765 xcb_generic_iterator_t 10766 xcb_list_installed_colormaps_cmaps_end (const xcb_list_installed_colormaps_reply_t *R); 10767 10782 xcb_list_installed_colormaps_reply_t * 10783 xcb_list_installed_colormaps_reply (xcb_connection_t *c, 10784 xcb_list_installed_colormaps_cookie_t cookie , 10785 xcb_generic_error_t **e); 10786 10804 xcb_alloc_color_cookie_t 10805 xcb_alloc_color (xcb_connection_t *c, 10806 xcb_colormap_t cmap, 10807 uint16_t red, 10808 uint16_t green, 10809 uint16_t blue); 10810 10831 xcb_alloc_color_cookie_t 10832 xcb_alloc_color_unchecked (xcb_connection_t *c, 10833 xcb_colormap_t cmap, 10834 uint16_t red, 10835 uint16_t green, 10836 uint16_t blue); 10837 10852 xcb_alloc_color_reply_t * 10853 xcb_alloc_color_reply (xcb_connection_t *c, 10854 xcb_alloc_color_cookie_t cookie , 10855 xcb_generic_error_t **e); 10856 10857 int 10858 xcb_alloc_named_color_sizeof (const void *_buffer); 10859 10868 xcb_alloc_named_color_cookie_t 10869 xcb_alloc_named_color (xcb_connection_t *c, 10870 xcb_colormap_t cmap, 10871 uint16_t name_len, 10872 const char *name); 10873 10885 xcb_alloc_named_color_cookie_t 10886 xcb_alloc_named_color_unchecked (xcb_connection_t *c, 10887 xcb_colormap_t cmap, 10888 uint16_t name_len, 10889 const char *name); 10890 10905 xcb_alloc_named_color_reply_t * 10906 xcb_alloc_named_color_reply (xcb_connection_t *c, 10907 xcb_alloc_named_color_cookie_t cookie , 10908 xcb_generic_error_t **e); 10909 10910 int 10911 xcb_alloc_color_cells_sizeof (const void *_buffer); 10912 10921 xcb_alloc_color_cells_cookie_t 10922 xcb_alloc_color_cells (xcb_connection_t *c, 10923 uint8_t contiguous, 10924 xcb_colormap_t cmap, 10925 uint16_t colors, 10926 uint16_t planes); 10927 10939 xcb_alloc_color_cells_cookie_t 10940 xcb_alloc_color_cells_unchecked (xcb_connection_t *c, 10941 uint8_t contiguous, 10942 xcb_colormap_t cmap, 10943 uint16_t colors, 10944 uint16_t planes); 10945 10946 uint32_t * 10947 xcb_alloc_color_cells_pixels (const xcb_alloc_color_cells_reply_t *R); 10948 10949 int 10950 xcb_alloc_color_cells_pixels_length (const xcb_alloc_color_cells_reply_t *R); 10951 10952 xcb_generic_iterator_t 10953 xcb_alloc_color_cells_pixels_end (const xcb_alloc_color_cells_reply_t *R); 10954 10955 uint32_t * 10956 xcb_alloc_color_cells_masks (const xcb_alloc_color_cells_reply_t *R); 10957 10958 int 10959 xcb_alloc_color_cells_masks_length (const xcb_alloc_color_cells_reply_t *R); 10960 10961 xcb_generic_iterator_t 10962 xcb_alloc_color_cells_masks_end (const xcb_alloc_color_cells_reply_t *R); 10963 10978 xcb_alloc_color_cells_reply_t * 10979 xcb_alloc_color_cells_reply (xcb_connection_t *c, 10980 xcb_alloc_color_cells_cookie_t cookie , 10981 xcb_generic_error_t **e); 10982 10983 int 10984 xcb_alloc_color_planes_sizeof (const void *_buffer); 10985 10994 xcb_alloc_color_planes_cookie_t 10995 xcb_alloc_color_planes (xcb_connection_t *c, 10996 uint8_t contiguous, 10997 xcb_colormap_t cmap, 10998 uint16_t colors, 10999 uint16_t reds, 11000 uint16_t greens, 11001 uint16_t blues); 11002 11014 xcb_alloc_color_planes_cookie_t 11015 xcb_alloc_color_planes_unchecked (xcb_connection_t *c, 11016 uint8_t contiguous, 11017 xcb_colormap_t cmap, 11018 uint16_t colors, 11019 uint16_t reds, 11020 uint16_t greens, 11021 uint16_t blues); 11022 11023 uint32_t * 11024 xcb_alloc_color_planes_pixels (const xcb_alloc_color_planes_reply_t *R); 11025 11026 int 11027 xcb_alloc_color_planes_pixels_length (const xcb_alloc_color_planes_reply_t *R); 11028 11029 xcb_generic_iterator_t 11030 xcb_alloc_color_planes_pixels_end (const xcb_alloc_color_planes_reply_t *R); 11031 11046 xcb_alloc_color_planes_reply_t * 11047 xcb_alloc_color_planes_reply (xcb_connection_t *c, 11048 xcb_alloc_color_planes_cookie_t cookie , 11049 xcb_generic_error_t **e); 11050 11051 int 11052 xcb_free_colors_sizeof (const void *_buffer, 11053 uint32_t pixels_len); 11054 11066 xcb_void_cookie_t 11067 xcb_free_colors_checked (xcb_connection_t *c, 11068 xcb_colormap_t cmap, 11069 uint32_t plane_mask, 11070 uint32_t pixels_len, 11071 const uint32_t *pixels); 11072 11081 xcb_void_cookie_t 11082 xcb_free_colors (xcb_connection_t *c, 11083 xcb_colormap_t cmap, 11084 uint32_t plane_mask, 11085 uint32_t pixels_len, 11086 const uint32_t *pixels); 11087 11088 uint32_t * 11089 xcb_free_colors_pixels (const xcb_free_colors_request_t *R); 11090 11091 int 11092 xcb_free_colors_pixels_length (const xcb_free_colors_request_t *R); 11093 11094 xcb_generic_iterator_t 11095 xcb_free_colors_pixels_end (const xcb_free_colors_request_t *R); 11096 11105 void 11106 xcb_coloritem_next (xcb_coloritem_iterator_t *i); 11107 11117 xcb_generic_iterator_t 11118 xcb_coloritem_end (xcb_coloritem_iterator_t i); 11119 11120 int 11121 xcb_store_colors_sizeof (const void *_buffer, 11122 uint32_t items_len); 11123 11135 xcb_void_cookie_t 11136 xcb_store_colors_checked (xcb_connection_t *c, 11137 xcb_colormap_t cmap, 11138 uint32_t items_len, 11139 const xcb_coloritem_t *items); 11140 11149 xcb_void_cookie_t 11150 xcb_store_colors (xcb_connection_t *c, 11151 xcb_colormap_t cmap, 11152 uint32_t items_len, 11153 const xcb_coloritem_t *items); 11154 11155 xcb_coloritem_t * 11156 xcb_store_colors_items (const xcb_store_colors_request_t *R); 11157 11158 int 11159 xcb_store_colors_items_length (const xcb_store_colors_request_t *R); 11160 11161 xcb_coloritem_iterator_t 11162 xcb_store_colors_items_iterator (const xcb_store_colors_request_t *R); 11163 11164 int 11165 xcb_store_named_color_sizeof (const void *_buffer); 11166 11178 xcb_void_cookie_t 11179 xcb_store_named_color_checked (xcb_connection_t *c, 11180 uint8_t flags, 11181 xcb_colormap_t cmap, 11182 uint32_t pixel, 11183 uint16_t name_len, 11184 const char *name); 11185 11194 xcb_void_cookie_t 11195 xcb_store_named_color (xcb_connection_t *c, 11196 uint8_t flags, 11197 xcb_colormap_t cmap, 11198 uint32_t pixel, 11199 uint16_t name_len, 11200 const char *name); 11201 11202 char * 11203 xcb_store_named_color_name (const xcb_store_named_color_request_t *R); 11204 11205 int 11206 xcb_store_named_color_name_length (const xcb_store_named_color_request_t *R); 11207 11208 xcb_generic_iterator_t 11209 xcb_store_named_color_name_end (const xcb_store_named_color_request_t *R); 11210 11219 void 11220 xcb_rgb_next (xcb_rgb_iterator_t *i); 11221 11231 xcb_generic_iterator_t 11232 xcb_rgb_end (xcb_rgb_iterator_t i); 11233 11234 int 11235 xcb_query_colors_sizeof (const void *_buffer, 11236 uint32_t pixels_len); 11237 11246 xcb_query_colors_cookie_t 11247 xcb_query_colors (xcb_connection_t *c, 11248 xcb_colormap_t cmap, 11249 uint32_t pixels_len, 11250 const uint32_t *pixels); 11251 11263 xcb_query_colors_cookie_t 11264 xcb_query_colors_unchecked (xcb_connection_t *c, 11265 xcb_colormap_t cmap, 11266 uint32_t pixels_len, 11267 const uint32_t *pixels); 11268 11269 xcb_rgb_t * 11270 xcb_query_colors_colors (const xcb_query_colors_reply_t *R); 11271 11272 int 11273 xcb_query_colors_colors_length (const xcb_query_colors_reply_t *R); 11274 11275 xcb_rgb_iterator_t 11276 xcb_query_colors_colors_iterator (const xcb_query_colors_reply_t *R); 11277 11292 xcb_query_colors_reply_t * 11293 xcb_query_colors_reply (xcb_connection_t *c, 11294 xcb_query_colors_cookie_t cookie , 11295 xcb_generic_error_t **e); 11296 11297 int 11298 xcb_lookup_color_sizeof (const void *_buffer); 11299 11308 xcb_lookup_color_cookie_t 11309 xcb_lookup_color (xcb_connection_t *c, 11310 xcb_colormap_t cmap, 11311 uint16_t name_len, 11312 const char *name); 11313 11325 xcb_lookup_color_cookie_t 11326 xcb_lookup_color_unchecked (xcb_connection_t *c, 11327 xcb_colormap_t cmap, 11328 uint16_t name_len, 11329 const char *name); 11330 11345 xcb_lookup_color_reply_t * 11346 xcb_lookup_color_reply (xcb_connection_t *c, 11347 xcb_lookup_color_cookie_t cookie , 11348 xcb_generic_error_t **e); 11349 11361 xcb_void_cookie_t 11362 xcb_create_cursor_checked (xcb_connection_t *c, 11363 xcb_cursor_t cid, 11364 xcb_pixmap_t source, 11365 xcb_pixmap_t mask, 11366 uint16_t fore_red, 11367 uint16_t fore_green, 11368 uint16_t fore_blue, 11369 uint16_t back_red, 11370 uint16_t back_green, 11371 uint16_t back_blue, 11372 uint16_t x, 11373 uint16_t y); 11374 11383 xcb_void_cookie_t 11384 xcb_create_cursor (xcb_connection_t *c, 11385 xcb_cursor_t cid, 11386 xcb_pixmap_t source, 11387 xcb_pixmap_t mask, 11388 uint16_t fore_red, 11389 uint16_t fore_green, 11390 uint16_t fore_blue, 11391 uint16_t back_red, 11392 uint16_t back_green, 11393 uint16_t back_blue, 11394 uint16_t x, 11395 uint16_t y); 11396 11430 xcb_void_cookie_t 11431 xcb_create_glyph_cursor_checked (xcb_connection_t *c, 11432 xcb_cursor_t cid, 11433 xcb_font_t source_font, 11434 xcb_font_t mask_font, 11435 uint16_t source_char, 11436 uint16_t mask_char, 11437 uint16_t fore_red, 11438 uint16_t fore_green, 11439 uint16_t fore_blue, 11440 uint16_t back_red, 11441 uint16_t back_green, 11442 uint16_t back_blue); 11443 11474 xcb_void_cookie_t 11475 xcb_create_glyph_cursor (xcb_connection_t *c, 11476 xcb_cursor_t cid, 11477 xcb_font_t source_font, 11478 xcb_font_t mask_font, 11479 uint16_t source_char, 11480 uint16_t mask_char, 11481 uint16_t fore_red, 11482 uint16_t fore_green, 11483 uint16_t fore_blue, 11484 uint16_t back_red, 11485 uint16_t back_green, 11486 uint16_t back_blue); 11487 11502 xcb_void_cookie_t 11503 xcb_free_cursor_checked (xcb_connection_t *c, 11504 xcb_cursor_t cursor); 11505 11517 xcb_void_cookie_t 11518 xcb_free_cursor (xcb_connection_t *c, 11519 xcb_cursor_t cursor); 11520 11532 xcb_void_cookie_t 11533 xcb_recolor_cursor_checked (xcb_connection_t *c, 11534 xcb_cursor_t cursor, 11535 uint16_t fore_red, 11536 uint16_t fore_green, 11537 uint16_t fore_blue, 11538 uint16_t back_red, 11539 uint16_t back_green, 11540 uint16_t back_blue); 11541 11550 xcb_void_cookie_t 11551 xcb_recolor_cursor (xcb_connection_t *c, 11552 xcb_cursor_t cursor, 11553 uint16_t fore_red, 11554 uint16_t fore_green, 11555 uint16_t fore_blue, 11556 uint16_t back_red, 11557 uint16_t back_green, 11558 uint16_t back_blue); 11559 11568 xcb_query_best_size_cookie_t 11569 xcb_query_best_size (xcb_connection_t *c, 11570 uint8_t _class, 11571 xcb_drawable_t drawable, 11572 uint16_t width, 11573 uint16_t height); 11574 11586 xcb_query_best_size_cookie_t 11587 xcb_query_best_size_unchecked (xcb_connection_t *c, 11588 uint8_t _class, 11589 xcb_drawable_t drawable, 11590 uint16_t width, 11591 uint16_t height); 11592 11607 xcb_query_best_size_reply_t * 11608 xcb_query_best_size_reply (xcb_connection_t *c, 11609 xcb_query_best_size_cookie_t cookie , 11610 xcb_generic_error_t **e); 11611 11612 int 11613 xcb_query_extension_sizeof (const void *_buffer); 11614 11635 xcb_query_extension_cookie_t 11636 xcb_query_extension (xcb_connection_t *c, 11637 uint16_t name_len, 11638 const char *name); 11639 11663 xcb_query_extension_cookie_t 11664 xcb_query_extension_unchecked (xcb_connection_t *c, 11665 uint16_t name_len, 11666 const char *name); 11667 11682 xcb_query_extension_reply_t * 11683 xcb_query_extension_reply (xcb_connection_t *c, 11684 xcb_query_extension_cookie_t cookie , 11685 xcb_generic_error_t **e); 11686 11687 int 11688 xcb_list_extensions_sizeof (const void *_buffer); 11689 11698 xcb_list_extensions_cookie_t 11699 xcb_list_extensions (xcb_connection_t *c); 11700 11712 xcb_list_extensions_cookie_t 11713 xcb_list_extensions_unchecked (xcb_connection_t *c); 11714 11715 int 11716 xcb_list_extensions_names_length (const xcb_list_extensions_reply_t *R); 11717 11718 xcb_str_iterator_t 11719 xcb_list_extensions_names_iterator (const xcb_list_extensions_reply_t *R); 11720 11735 xcb_list_extensions_reply_t * 11736 xcb_list_extensions_reply (xcb_connection_t *c, 11737 xcb_list_extensions_cookie_t cookie , 11738 xcb_generic_error_t **e); 11739 11740 int 11741 xcb_change_keyboard_mapping_sizeof (const void *_buffer); 11742 11754 xcb_void_cookie_t 11755 xcb_change_keyboard_mapping_checked (xcb_connection_t *c, 11756 uint8_t keycode_count, 11757 xcb_keycode_t first_keycode, 11758 uint8_t keysyms_per_keycode, 11759 const xcb_keysym_t *keysyms); 11760 11769 xcb_void_cookie_t 11770 xcb_change_keyboard_mapping (xcb_connection_t *c, 11771 uint8_t keycode_count, 11772 xcb_keycode_t first_keycode, 11773 uint8_t keysyms_per_keycode, 11774 const xcb_keysym_t *keysyms); 11775 11776 xcb_keysym_t * 11777 xcb_change_keyboard_mapping_keysyms (const xcb_change_keyboard_mapping_request_t *R); 11778 11779 int 11780 xcb_change_keyboard_mapping_keysyms_length (const xcb_change_keyboard_mapping_request_t *R); 11781 11782 xcb_generic_iterator_t 11783 xcb_change_keyboard_mapping_keysyms_end (const xcb_change_keyboard_mapping_request_t *R); 11784 11785 int 11786 xcb_get_keyboard_mapping_sizeof (const void *_buffer); 11787 11796 xcb_get_keyboard_mapping_cookie_t 11797 xcb_get_keyboard_mapping (xcb_connection_t *c, 11798 xcb_keycode_t first_keycode, 11799 uint8_t count); 11800 11812 xcb_get_keyboard_mapping_cookie_t 11813 xcb_get_keyboard_mapping_unchecked (xcb_connection_t *c, 11814 xcb_keycode_t first_keycode, 11815 uint8_t count); 11816 11817 xcb_keysym_t * 11818 xcb_get_keyboard_mapping_keysyms (const xcb_get_keyboard_mapping_reply_t *R); 11819 11820 int 11821 xcb_get_keyboard_mapping_keysyms_length (const xcb_get_keyboard_mapping_reply_t *R); 11822 11823 xcb_generic_iterator_t 11824 xcb_get_keyboard_mapping_keysyms_end (const xcb_get_keyboard_mapping_reply_t *R); 11825 11840 xcb_get_keyboard_mapping_reply_t * 11841 xcb_get_keyboard_mapping_reply (xcb_connection_t *c, 11842 xcb_get_keyboard_mapping_cookie_t cookie , 11843 xcb_generic_error_t **e); 11844 11845 int 11846 xcb_change_keyboard_control_value_list_serialize (void **_buffer, 11847 uint32_t value_mask, 11848 const xcb_change_keyboard_control_value_list_t *_aux); 11849 11850 int 11851 xcb_change_keyboard_control_value_list_unpack (const void *_buffer, 11852 uint32_t value_mask, 11853 xcb_change_keyboard_control_value_list_t *_aux); 11854 11855 int 11856 xcb_change_keyboard_control_value_list_sizeof (const void *_buffer, 11857 uint32_t value_mask); 11858 11859 int 11860 xcb_change_keyboard_control_sizeof (const void *_buffer); 11861 11873 xcb_void_cookie_t 11874 xcb_change_keyboard_control_checked (xcb_connection_t *c, 11875 uint32_t value_mask, 11876 const void *value_list); 11877 11886 xcb_void_cookie_t 11887 xcb_change_keyboard_control (xcb_connection_t *c, 11888 uint32_t value_mask, 11889 const void *value_list); 11890 11902 xcb_void_cookie_t 11903 xcb_change_keyboard_control_aux_checked (xcb_connection_t *c, 11904 uint32_t value_mask, 11905 const xcb_change_keyboard_control_value_list_t *value_list); 11906 11915 xcb_void_cookie_t 11916 xcb_change_keyboard_control_aux (xcb_connection_t *c, 11917 uint32_t value_mask, 11918 const xcb_change_keyboard_control_value_list_t *value_list); 11919 11920 void * 11921 xcb_change_keyboard_control_value_list (const xcb_change_keyboard_control_request_t *R); 11922 11931 xcb_get_keyboard_control_cookie_t 11932 xcb_get_keyboard_control (xcb_connection_t *c); 11933 11945 xcb_get_keyboard_control_cookie_t 11946 xcb_get_keyboard_control_unchecked (xcb_connection_t *c); 11947 11962 xcb_get_keyboard_control_reply_t * 11963 xcb_get_keyboard_control_reply (xcb_connection_t *c, 11964 xcb_get_keyboard_control_cookie_t cookie , 11965 xcb_generic_error_t **e); 11966 11978 xcb_void_cookie_t 11979 xcb_bell_checked (xcb_connection_t *c, 11980 int8_t percent); 11981 11990 xcb_void_cookie_t 11991 xcb_bell (xcb_connection_t *c, 11992 int8_t percent); 11993 12005 xcb_void_cookie_t 12006 xcb_change_pointer_control_checked (xcb_connection_t *c, 12007 int16_t acceleration_numerator, 12008 int16_t acceleration_denominator, 12009 int16_t threshold, 12010 uint8_t do_acceleration, 12011 uint8_t do_threshold); 12012 12021 xcb_void_cookie_t 12022 xcb_change_pointer_control (xcb_connection_t *c, 12023 int16_t acceleration_numerator, 12024 int16_t acceleration_denominator, 12025 int16_t threshold, 12026 uint8_t do_acceleration, 12027 uint8_t do_threshold); 12028 12037 xcb_get_pointer_control_cookie_t 12038 xcb_get_pointer_control (xcb_connection_t *c); 12039 12051 xcb_get_pointer_control_cookie_t 12052 xcb_get_pointer_control_unchecked (xcb_connection_t *c); 12053 12068 xcb_get_pointer_control_reply_t * 12069 xcb_get_pointer_control_reply (xcb_connection_t *c, 12070 xcb_get_pointer_control_cookie_t cookie , 12071 xcb_generic_error_t **e); 12072 12084 xcb_void_cookie_t 12085 xcb_set_screen_saver_checked (xcb_connection_t *c, 12086 int16_t timeout, 12087 int16_t interval, 12088 uint8_t prefer_blanking, 12089 uint8_t allow_exposures); 12090 12099 xcb_void_cookie_t 12100 xcb_set_screen_saver (xcb_connection_t *c, 12101 int16_t timeout, 12102 int16_t interval, 12103 uint8_t prefer_blanking, 12104 uint8_t allow_exposures); 12105 12114 xcb_get_screen_saver_cookie_t 12115 xcb_get_screen_saver (xcb_connection_t *c); 12116 12128 xcb_get_screen_saver_cookie_t 12129 xcb_get_screen_saver_unchecked (xcb_connection_t *c); 12130 12145 xcb_get_screen_saver_reply_t * 12146 xcb_get_screen_saver_reply (xcb_connection_t *c, 12147 xcb_get_screen_saver_cookie_t cookie , 12148 xcb_generic_error_t **e); 12149 12150 int 12151 xcb_change_hosts_sizeof (const void *_buffer); 12152 12164 xcb_void_cookie_t 12165 xcb_change_hosts_checked (xcb_connection_t *c, 12166 uint8_t mode, 12167 uint8_t family, 12168 uint16_t address_len, 12169 const uint8_t *address); 12170 12179 xcb_void_cookie_t 12180 xcb_change_hosts (xcb_connection_t *c, 12181 uint8_t mode, 12182 uint8_t family, 12183 uint16_t address_len, 12184 const uint8_t *address); 12185 12186 uint8_t * 12187 xcb_change_hosts_address (const xcb_change_hosts_request_t *R); 12188 12189 int 12190 xcb_change_hosts_address_length (const xcb_change_hosts_request_t *R); 12191 12192 xcb_generic_iterator_t 12193 xcb_change_hosts_address_end (const xcb_change_hosts_request_t *R); 12194 12195 int 12196 xcb_host_sizeof (const void *_buffer); 12197 12198 uint8_t * 12199 xcb_host_address (const xcb_host_t *R); 12200 12201 int 12202 xcb_host_address_length (const xcb_host_t *R); 12203 12204 xcb_generic_iterator_t 12205 xcb_host_address_end (const xcb_host_t *R); 12206 12215 void 12216 xcb_host_next (xcb_host_iterator_t *i); 12217 12227 xcb_generic_iterator_t 12228 xcb_host_end (xcb_host_iterator_t i); 12229 12230 int 12231 xcb_list_hosts_sizeof (const void *_buffer); 12232 12241 xcb_list_hosts_cookie_t 12242 xcb_list_hosts (xcb_connection_t *c); 12243 12255 xcb_list_hosts_cookie_t 12256 xcb_list_hosts_unchecked (xcb_connection_t *c); 12257 12258 int 12259 xcb_list_hosts_hosts_length (const xcb_list_hosts_reply_t *R); 12260 12261 xcb_host_iterator_t 12262 xcb_list_hosts_hosts_iterator (const xcb_list_hosts_reply_t *R); 12263 12278 xcb_list_hosts_reply_t * 12279 xcb_list_hosts_reply (xcb_connection_t *c, 12280 xcb_list_hosts_cookie_t cookie , 12281 xcb_generic_error_t **e); 12282 12294 xcb_void_cookie_t 12295 xcb_set_access_control_checked (xcb_connection_t *c, 12296 uint8_t mode); 12297 12306 xcb_void_cookie_t 12307 xcb_set_access_control (xcb_connection_t *c, 12308 uint8_t mode); 12309 12321 xcb_void_cookie_t 12322 xcb_set_close_down_mode_checked (xcb_connection_t *c, 12323 uint8_t mode); 12324 12333 xcb_void_cookie_t 12334 xcb_set_close_down_mode (xcb_connection_t *c, 12335 uint8_t mode); 12336 12354 xcb_void_cookie_t 12355 xcb_kill_client_checked (xcb_connection_t *c, 12356 uint32_t resource); 12357 12372 xcb_void_cookie_t 12373 xcb_kill_client (xcb_connection_t *c, 12374 uint32_t resource); 12375 12376 int 12377 xcb_rotate_properties_sizeof (const void *_buffer); 12378 12390 xcb_void_cookie_t 12391 xcb_rotate_properties_checked (xcb_connection_t *c, 12392 xcb_window_t window, 12393 uint16_t atoms_len, 12394 int16_t delta, 12395 const xcb_atom_t *atoms); 12396 12405 xcb_void_cookie_t 12406 xcb_rotate_properties (xcb_connection_t *c, 12407 xcb_window_t window, 12408 uint16_t atoms_len, 12409 int16_t delta, 12410 const xcb_atom_t *atoms); 12411 12412 xcb_atom_t * 12413 xcb_rotate_properties_atoms (const xcb_rotate_properties_request_t *R); 12414 12415 int 12416 xcb_rotate_properties_atoms_length (const xcb_rotate_properties_request_t *R); 12417 12418 xcb_generic_iterator_t 12419 xcb_rotate_properties_atoms_end (const xcb_rotate_properties_request_t *R); 12420 12432 xcb_void_cookie_t 12433 xcb_force_screen_saver_checked (xcb_connection_t *c, 12434 uint8_t mode); 12435 12444 xcb_void_cookie_t 12445 xcb_force_screen_saver (xcb_connection_t *c, 12446 uint8_t mode); 12447 12448 int 12449 xcb_set_pointer_mapping_sizeof (const void *_buffer); 12450 12459 xcb_set_pointer_mapping_cookie_t 12460 xcb_set_pointer_mapping (xcb_connection_t *c, 12461 uint8_t map_len, 12462 const uint8_t *map); 12463 12475 xcb_set_pointer_mapping_cookie_t 12476 xcb_set_pointer_mapping_unchecked (xcb_connection_t *c, 12477 uint8_t map_len, 12478 const uint8_t *map); 12479 12494 xcb_set_pointer_mapping_reply_t * 12495 xcb_set_pointer_mapping_reply (xcb_connection_t *c, 12496 xcb_set_pointer_mapping_cookie_t cookie , 12497 xcb_generic_error_t **e); 12498 12499 int 12500 xcb_get_pointer_mapping_sizeof (const void *_buffer); 12501 12510 xcb_get_pointer_mapping_cookie_t 12511 xcb_get_pointer_mapping (xcb_connection_t *c); 12512 12524 xcb_get_pointer_mapping_cookie_t 12525 xcb_get_pointer_mapping_unchecked (xcb_connection_t *c); 12526 12527 uint8_t * 12528 xcb_get_pointer_mapping_map (const xcb_get_pointer_mapping_reply_t *R); 12529 12530 int 12531 xcb_get_pointer_mapping_map_length (const xcb_get_pointer_mapping_reply_t *R); 12532 12533 xcb_generic_iterator_t 12534 xcb_get_pointer_mapping_map_end (const xcb_get_pointer_mapping_reply_t *R); 12535 12550 xcb_get_pointer_mapping_reply_t * 12551 xcb_get_pointer_mapping_reply (xcb_connection_t *c, 12552 xcb_get_pointer_mapping_cookie_t cookie , 12553 xcb_generic_error_t **e); 12554 12555 int 12556 xcb_set_modifier_mapping_sizeof (const void *_buffer); 12557 12566 xcb_set_modifier_mapping_cookie_t 12567 xcb_set_modifier_mapping (xcb_connection_t *c, 12568 uint8_t keycodes_per_modifier, 12569 const xcb_keycode_t *keycodes); 12570 12582 xcb_set_modifier_mapping_cookie_t 12583 xcb_set_modifier_mapping_unchecked (xcb_connection_t *c, 12584 uint8_t keycodes_per_modifier, 12585 const xcb_keycode_t *keycodes); 12586 12601 xcb_set_modifier_mapping_reply_t * 12602 xcb_set_modifier_mapping_reply (xcb_connection_t *c, 12603 xcb_set_modifier_mapping_cookie_t cookie , 12604 xcb_generic_error_t **e); 12605 12606 int 12607 xcb_get_modifier_mapping_sizeof (const void *_buffer); 12608 12617 xcb_get_modifier_mapping_cookie_t 12618 xcb_get_modifier_mapping (xcb_connection_t *c); 12619 12631 xcb_get_modifier_mapping_cookie_t 12632 xcb_get_modifier_mapping_unchecked (xcb_connection_t *c); 12633 12634 xcb_keycode_t * 12635 xcb_get_modifier_mapping_keycodes (const xcb_get_modifier_mapping_reply_t *R); 12636 12637 int 12638 xcb_get_modifier_mapping_keycodes_length (const xcb_get_modifier_mapping_reply_t *R); 12639 12640 xcb_generic_iterator_t 12641 xcb_get_modifier_mapping_keycodes_end (const xcb_get_modifier_mapping_reply_t *R); 12642 12657 xcb_get_modifier_mapping_reply_t * 12658 xcb_get_modifier_mapping_reply (xcb_connection_t *c, 12659 xcb_get_modifier_mapping_cookie_t cookie , 12660 xcb_generic_error_t **e); 12661 12673 xcb_void_cookie_t 12674 xcb_no_operation_checked (xcb_connection_t *c); 12675 12684 xcb_void_cookie_t 12685 xcb_no_operation (xcb_connection_t *c); 12686 12687 12688 #ifdef __cplusplus 12689 } 12690 #endif 12691 12692 #endif 12693