File indexing completed on 2025-01-18 10:14:48
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef __XPROTO_H
0013 #define __XPROTO_H
0014
0015 #include "xcb.h"
0016
0017 #ifdef __cplusplus
0018 extern "C" {
0019 #endif
0020
0021
0022
0023
0024 typedef struct xcb_char2b_t {
0025 uint8_t byte1;
0026 uint8_t byte2;
0027 } xcb_char2b_t;
0028
0029
0030
0031
0032 typedef struct xcb_char2b_iterator_t {
0033 xcb_char2b_t *data;
0034 int rem;
0035 int index;
0036 } xcb_char2b_iterator_t;
0037
0038 typedef uint32_t xcb_window_t;
0039
0040
0041
0042
0043 typedef struct xcb_window_iterator_t {
0044 xcb_window_t *data;
0045 int rem;
0046 int index;
0047 } xcb_window_iterator_t;
0048
0049 typedef uint32_t xcb_pixmap_t;
0050
0051
0052
0053
0054 typedef struct xcb_pixmap_iterator_t {
0055 xcb_pixmap_t *data;
0056 int rem;
0057 int index;
0058 } xcb_pixmap_iterator_t;
0059
0060 typedef uint32_t xcb_cursor_t;
0061
0062
0063
0064
0065 typedef struct xcb_cursor_iterator_t {
0066 xcb_cursor_t *data;
0067 int rem;
0068 int index;
0069 } xcb_cursor_iterator_t;
0070
0071 typedef uint32_t xcb_font_t;
0072
0073
0074
0075
0076 typedef struct xcb_font_iterator_t {
0077 xcb_font_t *data;
0078 int rem;
0079 int index;
0080 } xcb_font_iterator_t;
0081
0082 typedef uint32_t xcb_gcontext_t;
0083
0084
0085
0086
0087 typedef struct xcb_gcontext_iterator_t {
0088 xcb_gcontext_t *data;
0089 int rem;
0090 int index;
0091 } xcb_gcontext_iterator_t;
0092
0093 typedef uint32_t xcb_colormap_t;
0094
0095
0096
0097
0098 typedef struct xcb_colormap_iterator_t {
0099 xcb_colormap_t *data;
0100 int rem;
0101 int index;
0102 } xcb_colormap_iterator_t;
0103
0104 typedef uint32_t xcb_atom_t;
0105
0106
0107
0108
0109 typedef struct xcb_atom_iterator_t {
0110 xcb_atom_t *data;
0111 int rem;
0112 int index;
0113 } xcb_atom_iterator_t;
0114
0115 typedef uint32_t xcb_drawable_t;
0116
0117
0118
0119
0120 typedef struct xcb_drawable_iterator_t {
0121 xcb_drawable_t *data;
0122 int rem;
0123 int index;
0124 } xcb_drawable_iterator_t;
0125
0126 typedef uint32_t xcb_fontable_t;
0127
0128
0129
0130
0131 typedef struct xcb_fontable_iterator_t {
0132 xcb_fontable_t *data;
0133 int rem;
0134 int index;
0135 } xcb_fontable_iterator_t;
0136
0137 typedef uint32_t xcb_bool32_t;
0138
0139
0140
0141
0142 typedef struct xcb_bool32_iterator_t {
0143 xcb_bool32_t *data;
0144 int rem;
0145 int index;
0146 } xcb_bool32_iterator_t;
0147
0148 typedef uint32_t xcb_visualid_t;
0149
0150
0151
0152
0153 typedef struct xcb_visualid_iterator_t {
0154 xcb_visualid_t *data;
0155 int rem;
0156 int index;
0157 } xcb_visualid_iterator_t;
0158
0159 typedef uint32_t xcb_timestamp_t;
0160
0161
0162
0163
0164 typedef struct xcb_timestamp_iterator_t {
0165 xcb_timestamp_t *data;
0166 int rem;
0167 int index;
0168 } xcb_timestamp_iterator_t;
0169
0170 typedef uint32_t xcb_keysym_t;
0171
0172
0173
0174
0175 typedef struct xcb_keysym_iterator_t {
0176 xcb_keysym_t *data;
0177 int rem;
0178 int index;
0179 } xcb_keysym_iterator_t;
0180
0181 typedef uint8_t xcb_keycode_t;
0182
0183
0184
0185
0186 typedef struct xcb_keycode_iterator_t {
0187 xcb_keycode_t *data;
0188 int rem;
0189 int index;
0190 } xcb_keycode_iterator_t;
0191
0192 typedef uint32_t xcb_keycode32_t;
0193
0194
0195
0196
0197 typedef struct xcb_keycode32_iterator_t {
0198 xcb_keycode32_t *data;
0199 int rem;
0200 int index;
0201 } xcb_keycode32_iterator_t;
0202
0203 typedef uint8_t xcb_button_t;
0204
0205
0206
0207
0208 typedef struct xcb_button_iterator_t {
0209 xcb_button_t *data;
0210 int rem;
0211 int index;
0212 } xcb_button_iterator_t;
0213
0214
0215
0216
0217 typedef struct xcb_point_t {
0218 int16_t x;
0219 int16_t y;
0220 } xcb_point_t;
0221
0222
0223
0224
0225 typedef struct xcb_point_iterator_t {
0226 xcb_point_t *data;
0227 int rem;
0228 int index;
0229 } xcb_point_iterator_t;
0230
0231
0232
0233
0234 typedef struct xcb_rectangle_t {
0235 int16_t x;
0236 int16_t y;
0237 uint16_t width;
0238 uint16_t height;
0239 } xcb_rectangle_t;
0240
0241
0242
0243
0244 typedef struct xcb_rectangle_iterator_t {
0245 xcb_rectangle_t *data;
0246 int rem;
0247 int index;
0248 } xcb_rectangle_iterator_t;
0249
0250
0251
0252
0253 typedef struct xcb_arc_t {
0254 int16_t x;
0255 int16_t y;
0256 uint16_t width;
0257 uint16_t height;
0258 int16_t angle1;
0259 int16_t angle2;
0260 } xcb_arc_t;
0261
0262
0263
0264
0265 typedef struct xcb_arc_iterator_t {
0266 xcb_arc_t *data;
0267 int rem;
0268 int index;
0269 } xcb_arc_iterator_t;
0270
0271
0272
0273
0274 typedef struct xcb_format_t {
0275 uint8_t depth;
0276 uint8_t bits_per_pixel;
0277 uint8_t scanline_pad;
0278 uint8_t pad0[5];
0279 } xcb_format_t;
0280
0281
0282
0283
0284 typedef struct xcb_format_iterator_t {
0285 xcb_format_t *data;
0286 int rem;
0287 int index;
0288 } xcb_format_iterator_t;
0289
0290 typedef enum xcb_visual_class_t {
0291 XCB_VISUAL_CLASS_STATIC_GRAY = 0,
0292 XCB_VISUAL_CLASS_GRAY_SCALE = 1,
0293 XCB_VISUAL_CLASS_STATIC_COLOR = 2,
0294 XCB_VISUAL_CLASS_PSEUDO_COLOR = 3,
0295 XCB_VISUAL_CLASS_TRUE_COLOR = 4,
0296 XCB_VISUAL_CLASS_DIRECT_COLOR = 5
0297 } xcb_visual_class_t;
0298
0299
0300
0301
0302 typedef struct xcb_visualtype_t {
0303 xcb_visualid_t visual_id;
0304 uint8_t _class;
0305 uint8_t bits_per_rgb_value;
0306 uint16_t colormap_entries;
0307 uint32_t red_mask;
0308 uint32_t green_mask;
0309 uint32_t blue_mask;
0310 uint8_t pad0[4];
0311 } xcb_visualtype_t;
0312
0313
0314
0315
0316 typedef struct xcb_visualtype_iterator_t {
0317 xcb_visualtype_t *data;
0318 int rem;
0319 int index;
0320 } xcb_visualtype_iterator_t;
0321
0322
0323
0324
0325 typedef struct xcb_depth_t {
0326 uint8_t depth;
0327 uint8_t pad0;
0328 uint16_t visuals_len;
0329 uint8_t pad1[4];
0330 } xcb_depth_t;
0331
0332
0333
0334
0335 typedef struct xcb_depth_iterator_t {
0336 xcb_depth_t *data;
0337 int rem;
0338 int index;
0339 } xcb_depth_iterator_t;
0340
0341 typedef enum xcb_event_mask_t {
0342 XCB_EVENT_MASK_NO_EVENT = 0,
0343 XCB_EVENT_MASK_KEY_PRESS = 1,
0344 XCB_EVENT_MASK_KEY_RELEASE = 2,
0345 XCB_EVENT_MASK_BUTTON_PRESS = 4,
0346 XCB_EVENT_MASK_BUTTON_RELEASE = 8,
0347 XCB_EVENT_MASK_ENTER_WINDOW = 16,
0348 XCB_EVENT_MASK_LEAVE_WINDOW = 32,
0349 XCB_EVENT_MASK_POINTER_MOTION = 64,
0350 XCB_EVENT_MASK_POINTER_MOTION_HINT = 128,
0351 XCB_EVENT_MASK_BUTTON_1_MOTION = 256,
0352 XCB_EVENT_MASK_BUTTON_2_MOTION = 512,
0353 XCB_EVENT_MASK_BUTTON_3_MOTION = 1024,
0354 XCB_EVENT_MASK_BUTTON_4_MOTION = 2048,
0355 XCB_EVENT_MASK_BUTTON_5_MOTION = 4096,
0356 XCB_EVENT_MASK_BUTTON_MOTION = 8192,
0357 XCB_EVENT_MASK_KEYMAP_STATE = 16384,
0358 XCB_EVENT_MASK_EXPOSURE = 32768,
0359 XCB_EVENT_MASK_VISIBILITY_CHANGE = 65536,
0360 XCB_EVENT_MASK_STRUCTURE_NOTIFY = 131072,
0361 XCB_EVENT_MASK_RESIZE_REDIRECT = 262144,
0362 XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY = 524288,
0363 XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT = 1048576,
0364 XCB_EVENT_MASK_FOCUS_CHANGE = 2097152,
0365 XCB_EVENT_MASK_PROPERTY_CHANGE = 4194304,
0366 XCB_EVENT_MASK_COLOR_MAP_CHANGE = 8388608,
0367 XCB_EVENT_MASK_OWNER_GRAB_BUTTON = 16777216
0368 } xcb_event_mask_t;
0369
0370 typedef enum xcb_backing_store_t {
0371 XCB_BACKING_STORE_NOT_USEFUL = 0,
0372 XCB_BACKING_STORE_WHEN_MAPPED = 1,
0373 XCB_BACKING_STORE_ALWAYS = 2
0374 } xcb_backing_store_t;
0375
0376
0377
0378
0379 typedef struct xcb_screen_t {
0380 xcb_window_t root;
0381 xcb_colormap_t default_colormap;
0382 uint32_t white_pixel;
0383 uint32_t black_pixel;
0384 uint32_t current_input_masks;
0385 uint16_t width_in_pixels;
0386 uint16_t height_in_pixels;
0387 uint16_t width_in_millimeters;
0388 uint16_t height_in_millimeters;
0389 uint16_t min_installed_maps;
0390 uint16_t max_installed_maps;
0391 xcb_visualid_t root_visual;
0392 uint8_t backing_stores;
0393 uint8_t save_unders;
0394 uint8_t root_depth;
0395 uint8_t allowed_depths_len;
0396 } xcb_screen_t;
0397
0398
0399
0400
0401 typedef struct xcb_screen_iterator_t {
0402 xcb_screen_t *data;
0403 int rem;
0404 int index;
0405 } xcb_screen_iterator_t;
0406
0407
0408
0409
0410 typedef struct xcb_setup_request_t {
0411 uint8_t byte_order;
0412 uint8_t pad0;
0413 uint16_t protocol_major_version;
0414 uint16_t protocol_minor_version;
0415 uint16_t authorization_protocol_name_len;
0416 uint16_t authorization_protocol_data_len;
0417 uint8_t pad1[2];
0418 } xcb_setup_request_t;
0419
0420
0421
0422
0423 typedef struct xcb_setup_request_iterator_t {
0424 xcb_setup_request_t *data;
0425 int rem;
0426 int index;
0427 } xcb_setup_request_iterator_t;
0428
0429
0430
0431
0432 typedef struct xcb_setup_failed_t {
0433 uint8_t status;
0434 uint8_t reason_len;
0435 uint16_t protocol_major_version;
0436 uint16_t protocol_minor_version;
0437 uint16_t length;
0438 } xcb_setup_failed_t;
0439
0440
0441
0442
0443 typedef struct xcb_setup_failed_iterator_t {
0444 xcb_setup_failed_t *data;
0445 int rem;
0446 int index;
0447 } xcb_setup_failed_iterator_t;
0448
0449
0450
0451
0452 typedef struct xcb_setup_authenticate_t {
0453 uint8_t status;
0454 uint8_t pad0[5];
0455 uint16_t length;
0456 } xcb_setup_authenticate_t;
0457
0458
0459
0460
0461 typedef struct xcb_setup_authenticate_iterator_t {
0462 xcb_setup_authenticate_t *data;
0463 int rem;
0464 int index;
0465 } xcb_setup_authenticate_iterator_t;
0466
0467 typedef enum xcb_image_order_t {
0468 XCB_IMAGE_ORDER_LSB_FIRST = 0,
0469 XCB_IMAGE_ORDER_MSB_FIRST = 1
0470 } xcb_image_order_t;
0471
0472
0473
0474
0475 typedef struct xcb_setup_t {
0476 uint8_t status;
0477 uint8_t pad0;
0478 uint16_t protocol_major_version;
0479 uint16_t protocol_minor_version;
0480 uint16_t length;
0481 uint32_t release_number;
0482 uint32_t resource_id_base;
0483 uint32_t resource_id_mask;
0484 uint32_t motion_buffer_size;
0485 uint16_t vendor_len;
0486 uint16_t maximum_request_length;
0487 uint8_t roots_len;
0488 uint8_t pixmap_formats_len;
0489 uint8_t image_byte_order;
0490 uint8_t bitmap_format_bit_order;
0491 uint8_t bitmap_format_scanline_unit;
0492 uint8_t bitmap_format_scanline_pad;
0493 xcb_keycode_t min_keycode;
0494 xcb_keycode_t max_keycode;
0495 uint8_t pad1[4];
0496 } xcb_setup_t;
0497
0498
0499
0500
0501 typedef struct xcb_setup_iterator_t {
0502 xcb_setup_t *data;
0503 int rem;
0504 int index;
0505 } xcb_setup_iterator_t;
0506
0507 typedef enum xcb_mod_mask_t {
0508 XCB_MOD_MASK_SHIFT = 1,
0509 XCB_MOD_MASK_LOCK = 2,
0510 XCB_MOD_MASK_CONTROL = 4,
0511 XCB_MOD_MASK_1 = 8,
0512 XCB_MOD_MASK_2 = 16,
0513 XCB_MOD_MASK_3 = 32,
0514 XCB_MOD_MASK_4 = 64,
0515 XCB_MOD_MASK_5 = 128,
0516 XCB_MOD_MASK_ANY = 32768
0517 } xcb_mod_mask_t;
0518
0519 typedef enum xcb_key_but_mask_t {
0520 XCB_KEY_BUT_MASK_SHIFT = 1,
0521 XCB_KEY_BUT_MASK_LOCK = 2,
0522 XCB_KEY_BUT_MASK_CONTROL = 4,
0523 XCB_KEY_BUT_MASK_MOD_1 = 8,
0524 XCB_KEY_BUT_MASK_MOD_2 = 16,
0525 XCB_KEY_BUT_MASK_MOD_3 = 32,
0526 XCB_KEY_BUT_MASK_MOD_4 = 64,
0527 XCB_KEY_BUT_MASK_MOD_5 = 128,
0528 XCB_KEY_BUT_MASK_BUTTON_1 = 256,
0529 XCB_KEY_BUT_MASK_BUTTON_2 = 512,
0530 XCB_KEY_BUT_MASK_BUTTON_3 = 1024,
0531 XCB_KEY_BUT_MASK_BUTTON_4 = 2048,
0532 XCB_KEY_BUT_MASK_BUTTON_5 = 4096
0533 } xcb_key_but_mask_t;
0534
0535 typedef enum xcb_window_enum_t {
0536 XCB_WINDOW_NONE = 0
0537 } xcb_window_enum_t;
0538
0539
0540 #define XCB_KEY_PRESS 2
0541
0542
0543
0544
0545 typedef struct xcb_key_press_event_t {
0546 uint8_t response_type;
0547 xcb_keycode_t detail;
0548 uint16_t sequence;
0549 xcb_timestamp_t time;
0550 xcb_window_t root;
0551 xcb_window_t event;
0552 xcb_window_t child;
0553 int16_t root_x;
0554 int16_t root_y;
0555 int16_t event_x;
0556 int16_t event_y;
0557 uint16_t state;
0558 uint8_t same_screen;
0559 uint8_t pad0;
0560 } xcb_key_press_event_t;
0561
0562
0563 #define XCB_KEY_RELEASE 3
0564
0565 typedef xcb_key_press_event_t xcb_key_release_event_t;
0566
0567 typedef enum xcb_button_mask_t {
0568 XCB_BUTTON_MASK_1 = 256,
0569 XCB_BUTTON_MASK_2 = 512,
0570 XCB_BUTTON_MASK_3 = 1024,
0571 XCB_BUTTON_MASK_4 = 2048,
0572 XCB_BUTTON_MASK_5 = 4096,
0573 XCB_BUTTON_MASK_ANY = 32768
0574 } xcb_button_mask_t;
0575
0576
0577 #define XCB_BUTTON_PRESS 4
0578
0579
0580
0581
0582 typedef struct xcb_button_press_event_t {
0583 uint8_t response_type;
0584 xcb_button_t detail;
0585 uint16_t sequence;
0586 xcb_timestamp_t time;
0587 xcb_window_t root;
0588 xcb_window_t event;
0589 xcb_window_t child;
0590 int16_t root_x;
0591 int16_t root_y;
0592 int16_t event_x;
0593 int16_t event_y;
0594 uint16_t state;
0595 uint8_t same_screen;
0596 uint8_t pad0;
0597 } xcb_button_press_event_t;
0598
0599
0600 #define XCB_BUTTON_RELEASE 5
0601
0602 typedef xcb_button_press_event_t xcb_button_release_event_t;
0603
0604 typedef enum xcb_motion_t {
0605 XCB_MOTION_NORMAL = 0,
0606 XCB_MOTION_HINT = 1
0607 } xcb_motion_t;
0608
0609
0610 #define XCB_MOTION_NOTIFY 6
0611
0612
0613
0614
0615 typedef struct xcb_motion_notify_event_t {
0616 uint8_t response_type;
0617 uint8_t detail;
0618 uint16_t sequence;
0619 xcb_timestamp_t time;
0620 xcb_window_t root;
0621 xcb_window_t event;
0622 xcb_window_t child;
0623 int16_t root_x;
0624 int16_t root_y;
0625 int16_t event_x;
0626 int16_t event_y;
0627 uint16_t state;
0628 uint8_t same_screen;
0629 uint8_t pad0;
0630 } xcb_motion_notify_event_t;
0631
0632 typedef enum xcb_notify_detail_t {
0633 XCB_NOTIFY_DETAIL_ANCESTOR = 0,
0634 XCB_NOTIFY_DETAIL_VIRTUAL = 1,
0635 XCB_NOTIFY_DETAIL_INFERIOR = 2,
0636 XCB_NOTIFY_DETAIL_NONLINEAR = 3,
0637 XCB_NOTIFY_DETAIL_NONLINEAR_VIRTUAL = 4,
0638 XCB_NOTIFY_DETAIL_POINTER = 5,
0639 XCB_NOTIFY_DETAIL_POINTER_ROOT = 6,
0640 XCB_NOTIFY_DETAIL_NONE = 7
0641 } xcb_notify_detail_t;
0642
0643 typedef enum xcb_notify_mode_t {
0644 XCB_NOTIFY_MODE_NORMAL = 0,
0645 XCB_NOTIFY_MODE_GRAB = 1,
0646 XCB_NOTIFY_MODE_UNGRAB = 2,
0647 XCB_NOTIFY_MODE_WHILE_GRABBED = 3
0648 } xcb_notify_mode_t;
0649
0650
0651 #define XCB_ENTER_NOTIFY 7
0652
0653
0654
0655
0656 typedef struct xcb_enter_notify_event_t {
0657 uint8_t response_type;
0658 uint8_t detail;
0659 uint16_t sequence;
0660 xcb_timestamp_t time;
0661 xcb_window_t root;
0662 xcb_window_t event;
0663 xcb_window_t child;
0664 int16_t root_x;
0665 int16_t root_y;
0666 int16_t event_x;
0667 int16_t event_y;
0668 uint16_t state;
0669 uint8_t mode;
0670 uint8_t same_screen_focus;
0671 } xcb_enter_notify_event_t;
0672
0673
0674 #define XCB_LEAVE_NOTIFY 8
0675
0676 typedef xcb_enter_notify_event_t xcb_leave_notify_event_t;
0677
0678
0679 #define XCB_FOCUS_IN 9
0680
0681
0682
0683
0684 typedef struct xcb_focus_in_event_t {
0685 uint8_t response_type;
0686 uint8_t detail;
0687 uint16_t sequence;
0688 xcb_window_t event;
0689 uint8_t mode;
0690 uint8_t pad0[3];
0691 } xcb_focus_in_event_t;
0692
0693
0694 #define XCB_FOCUS_OUT 10
0695
0696 typedef xcb_focus_in_event_t xcb_focus_out_event_t;
0697
0698
0699 #define XCB_KEYMAP_NOTIFY 11
0700
0701
0702
0703
0704 typedef struct xcb_keymap_notify_event_t {
0705 uint8_t response_type;
0706 uint8_t keys[31];
0707 } xcb_keymap_notify_event_t;
0708
0709
0710 #define XCB_EXPOSE 12
0711
0712
0713
0714
0715 typedef struct xcb_expose_event_t {
0716 uint8_t response_type;
0717 uint8_t pad0;
0718 uint16_t sequence;
0719 xcb_window_t window;
0720 uint16_t x;
0721 uint16_t y;
0722 uint16_t width;
0723 uint16_t height;
0724 uint16_t count;
0725 uint8_t pad1[2];
0726 } xcb_expose_event_t;
0727
0728
0729 #define XCB_GRAPHICS_EXPOSURE 13
0730
0731
0732
0733
0734 typedef struct xcb_graphics_exposure_event_t {
0735 uint8_t response_type;
0736 uint8_t pad0;
0737 uint16_t sequence;
0738 xcb_drawable_t drawable;
0739 uint16_t x;
0740 uint16_t y;
0741 uint16_t width;
0742 uint16_t height;
0743 uint16_t minor_opcode;
0744 uint16_t count;
0745 uint8_t major_opcode;
0746 uint8_t pad1[3];
0747 } xcb_graphics_exposure_event_t;
0748
0749
0750 #define XCB_NO_EXPOSURE 14
0751
0752
0753
0754
0755 typedef struct xcb_no_exposure_event_t {
0756 uint8_t response_type;
0757 uint8_t pad0;
0758 uint16_t sequence;
0759 xcb_drawable_t drawable;
0760 uint16_t minor_opcode;
0761 uint8_t major_opcode;
0762 uint8_t pad1;
0763 } xcb_no_exposure_event_t;
0764
0765 typedef enum xcb_visibility_t {
0766 XCB_VISIBILITY_UNOBSCURED = 0,
0767 XCB_VISIBILITY_PARTIALLY_OBSCURED = 1,
0768 XCB_VISIBILITY_FULLY_OBSCURED = 2
0769 } xcb_visibility_t;
0770
0771
0772 #define XCB_VISIBILITY_NOTIFY 15
0773
0774
0775
0776
0777 typedef struct xcb_visibility_notify_event_t {
0778 uint8_t response_type;
0779 uint8_t pad0;
0780 uint16_t sequence;
0781 xcb_window_t window;
0782 uint8_t state;
0783 uint8_t pad1[3];
0784 } xcb_visibility_notify_event_t;
0785
0786
0787 #define XCB_CREATE_NOTIFY 16
0788
0789
0790
0791
0792 typedef struct xcb_create_notify_event_t {
0793 uint8_t response_type;
0794 uint8_t pad0;
0795 uint16_t sequence;
0796 xcb_window_t parent;
0797 xcb_window_t window;
0798 int16_t x;
0799 int16_t y;
0800 uint16_t width;
0801 uint16_t height;
0802 uint16_t border_width;
0803 uint8_t override_redirect;
0804 uint8_t pad1;
0805 } xcb_create_notify_event_t;
0806
0807
0808 #define XCB_DESTROY_NOTIFY 17
0809
0810
0811
0812
0813 typedef struct xcb_destroy_notify_event_t {
0814 uint8_t response_type;
0815 uint8_t pad0;
0816 uint16_t sequence;
0817 xcb_window_t event;
0818 xcb_window_t window;
0819 } xcb_destroy_notify_event_t;
0820
0821
0822 #define XCB_UNMAP_NOTIFY 18
0823
0824
0825
0826
0827 typedef struct xcb_unmap_notify_event_t {
0828 uint8_t response_type;
0829 uint8_t pad0;
0830 uint16_t sequence;
0831 xcb_window_t event;
0832 xcb_window_t window;
0833 uint8_t from_configure;
0834 uint8_t pad1[3];
0835 } xcb_unmap_notify_event_t;
0836
0837
0838 #define XCB_MAP_NOTIFY 19
0839
0840
0841
0842
0843 typedef struct xcb_map_notify_event_t {
0844 uint8_t response_type;
0845 uint8_t pad0;
0846 uint16_t sequence;
0847 xcb_window_t event;
0848 xcb_window_t window;
0849 uint8_t override_redirect;
0850 uint8_t pad1[3];
0851 } xcb_map_notify_event_t;
0852
0853
0854 #define XCB_MAP_REQUEST 20
0855
0856
0857
0858
0859 typedef struct xcb_map_request_event_t {
0860 uint8_t response_type;
0861 uint8_t pad0;
0862 uint16_t sequence;
0863 xcb_window_t parent;
0864 xcb_window_t window;
0865 } xcb_map_request_event_t;
0866
0867
0868 #define XCB_REPARENT_NOTIFY 21
0869
0870
0871
0872
0873 typedef struct xcb_reparent_notify_event_t {
0874 uint8_t response_type;
0875 uint8_t pad0;
0876 uint16_t sequence;
0877 xcb_window_t event;
0878 xcb_window_t window;
0879 xcb_window_t parent;
0880 int16_t x;
0881 int16_t y;
0882 uint8_t override_redirect;
0883 uint8_t pad1[3];
0884 } xcb_reparent_notify_event_t;
0885
0886
0887 #define XCB_CONFIGURE_NOTIFY 22
0888
0889
0890
0891
0892 typedef struct xcb_configure_notify_event_t {
0893 uint8_t response_type;
0894 uint8_t pad0;
0895 uint16_t sequence;
0896 xcb_window_t event;
0897 xcb_window_t window;
0898 xcb_window_t above_sibling;
0899 int16_t x;
0900 int16_t y;
0901 uint16_t width;
0902 uint16_t height;
0903 uint16_t border_width;
0904 uint8_t override_redirect;
0905 uint8_t pad1;
0906 } xcb_configure_notify_event_t;
0907
0908
0909 #define XCB_CONFIGURE_REQUEST 23
0910
0911
0912
0913
0914 typedef struct xcb_configure_request_event_t {
0915 uint8_t response_type;
0916 uint8_t stack_mode;
0917 uint16_t sequence;
0918 xcb_window_t parent;
0919 xcb_window_t window;
0920 xcb_window_t sibling;
0921 int16_t x;
0922 int16_t y;
0923 uint16_t width;
0924 uint16_t height;
0925 uint16_t border_width;
0926 uint16_t value_mask;
0927 } xcb_configure_request_event_t;
0928
0929
0930 #define XCB_GRAVITY_NOTIFY 24
0931
0932
0933
0934
0935 typedef struct xcb_gravity_notify_event_t {
0936 uint8_t response_type;
0937 uint8_t pad0;
0938 uint16_t sequence;
0939 xcb_window_t event;
0940 xcb_window_t window;
0941 int16_t x;
0942 int16_t y;
0943 } xcb_gravity_notify_event_t;
0944
0945
0946 #define XCB_RESIZE_REQUEST 25
0947
0948
0949
0950
0951 typedef struct xcb_resize_request_event_t {
0952 uint8_t response_type;
0953 uint8_t pad0;
0954 uint16_t sequence;
0955 xcb_window_t window;
0956 uint16_t width;
0957 uint16_t height;
0958 } xcb_resize_request_event_t;
0959
0960 typedef enum xcb_place_t {
0961 XCB_PLACE_ON_TOP = 0,
0962
0963
0964 XCB_PLACE_ON_BOTTOM = 1
0965
0966
0967 } xcb_place_t;
0968
0969
0970 #define XCB_CIRCULATE_NOTIFY 26
0971
0972
0973
0974
0975 typedef struct xcb_circulate_notify_event_t {
0976 uint8_t response_type;
0977 uint8_t pad0;
0978 uint16_t sequence;
0979 xcb_window_t event;
0980 xcb_window_t window;
0981 uint8_t pad1[4];
0982 uint8_t place;
0983 uint8_t pad2[3];
0984 } xcb_circulate_notify_event_t;
0985
0986
0987 #define XCB_CIRCULATE_REQUEST 27
0988
0989 typedef xcb_circulate_notify_event_t xcb_circulate_request_event_t;
0990
0991 typedef enum xcb_property_t {
0992 XCB_PROPERTY_NEW_VALUE = 0,
0993 XCB_PROPERTY_DELETE = 1
0994 } xcb_property_t;
0995
0996
0997 #define XCB_PROPERTY_NOTIFY 28
0998
0999
1000
1001
1002 typedef struct xcb_property_notify_event_t {
1003 uint8_t response_type;
1004 uint8_t pad0;
1005 uint16_t sequence;
1006 xcb_window_t window;
1007 xcb_atom_t atom;
1008 xcb_timestamp_t time;
1009 uint8_t state;
1010 uint8_t pad1[3];
1011 } xcb_property_notify_event_t;
1012
1013
1014 #define XCB_SELECTION_CLEAR 29
1015
1016
1017
1018
1019 typedef struct xcb_selection_clear_event_t {
1020 uint8_t response_type;
1021 uint8_t pad0;
1022 uint16_t sequence;
1023 xcb_timestamp_t time;
1024 xcb_window_t owner;
1025 xcb_atom_t selection;
1026 } xcb_selection_clear_event_t;
1027
1028 typedef enum xcb_time_t {
1029 XCB_TIME_CURRENT_TIME = 0
1030 } xcb_time_t;
1031
1032 typedef enum xcb_atom_enum_t {
1033 XCB_ATOM_NONE = 0,
1034 XCB_ATOM_ANY = 0,
1035 XCB_ATOM_PRIMARY = 1,
1036 XCB_ATOM_SECONDARY = 2,
1037 XCB_ATOM_ARC = 3,
1038 XCB_ATOM_ATOM = 4,
1039 XCB_ATOM_BITMAP = 5,
1040 XCB_ATOM_CARDINAL = 6,
1041 XCB_ATOM_COLORMAP = 7,
1042 XCB_ATOM_CURSOR = 8,
1043 XCB_ATOM_CUT_BUFFER0 = 9,
1044 XCB_ATOM_CUT_BUFFER1 = 10,
1045 XCB_ATOM_CUT_BUFFER2 = 11,
1046 XCB_ATOM_CUT_BUFFER3 = 12,
1047 XCB_ATOM_CUT_BUFFER4 = 13,
1048 XCB_ATOM_CUT_BUFFER5 = 14,
1049 XCB_ATOM_CUT_BUFFER6 = 15,
1050 XCB_ATOM_CUT_BUFFER7 = 16,
1051 XCB_ATOM_DRAWABLE = 17,
1052 XCB_ATOM_FONT = 18,
1053 XCB_ATOM_INTEGER = 19,
1054 XCB_ATOM_PIXMAP = 20,
1055 XCB_ATOM_POINT = 21,
1056 XCB_ATOM_RECTANGLE = 22,
1057 XCB_ATOM_RESOURCE_MANAGER = 23,
1058 XCB_ATOM_RGB_COLOR_MAP = 24,
1059 XCB_ATOM_RGB_BEST_MAP = 25,
1060 XCB_ATOM_RGB_BLUE_MAP = 26,
1061 XCB_ATOM_RGB_DEFAULT_MAP = 27,
1062 XCB_ATOM_RGB_GRAY_MAP = 28,
1063 XCB_ATOM_RGB_GREEN_MAP = 29,
1064 XCB_ATOM_RGB_RED_MAP = 30,
1065 XCB_ATOM_STRING = 31,
1066 XCB_ATOM_VISUALID = 32,
1067 XCB_ATOM_WINDOW = 33,
1068 XCB_ATOM_WM_COMMAND = 34,
1069 XCB_ATOM_WM_HINTS = 35,
1070 XCB_ATOM_WM_CLIENT_MACHINE = 36,
1071 XCB_ATOM_WM_ICON_NAME = 37,
1072 XCB_ATOM_WM_ICON_SIZE = 38,
1073 XCB_ATOM_WM_NAME = 39,
1074 XCB_ATOM_WM_NORMAL_HINTS = 40,
1075 XCB_ATOM_WM_SIZE_HINTS = 41,
1076 XCB_ATOM_WM_ZOOM_HINTS = 42,
1077 XCB_ATOM_MIN_SPACE = 43,
1078 XCB_ATOM_NORM_SPACE = 44,
1079 XCB_ATOM_MAX_SPACE = 45,
1080 XCB_ATOM_END_SPACE = 46,
1081 XCB_ATOM_SUPERSCRIPT_X = 47,
1082 XCB_ATOM_SUPERSCRIPT_Y = 48,
1083 XCB_ATOM_SUBSCRIPT_X = 49,
1084 XCB_ATOM_SUBSCRIPT_Y = 50,
1085 XCB_ATOM_UNDERLINE_POSITION = 51,
1086 XCB_ATOM_UNDERLINE_THICKNESS = 52,
1087 XCB_ATOM_STRIKEOUT_ASCENT = 53,
1088 XCB_ATOM_STRIKEOUT_DESCENT = 54,
1089 XCB_ATOM_ITALIC_ANGLE = 55,
1090 XCB_ATOM_X_HEIGHT = 56,
1091 XCB_ATOM_QUAD_WIDTH = 57,
1092 XCB_ATOM_WEIGHT = 58,
1093 XCB_ATOM_POINT_SIZE = 59,
1094 XCB_ATOM_RESOLUTION = 60,
1095 XCB_ATOM_COPYRIGHT = 61,
1096 XCB_ATOM_NOTICE = 62,
1097 XCB_ATOM_FONT_NAME = 63,
1098 XCB_ATOM_FAMILY_NAME = 64,
1099 XCB_ATOM_FULL_NAME = 65,
1100 XCB_ATOM_CAP_HEIGHT = 66,
1101 XCB_ATOM_WM_CLASS = 67,
1102 XCB_ATOM_WM_TRANSIENT_FOR = 68
1103 } xcb_atom_enum_t;
1104
1105
1106 #define XCB_SELECTION_REQUEST 30
1107
1108
1109
1110
1111 typedef struct xcb_selection_request_event_t {
1112 uint8_t response_type;
1113 uint8_t pad0;
1114 uint16_t sequence;
1115 xcb_timestamp_t time;
1116 xcb_window_t owner;
1117 xcb_window_t requestor;
1118 xcb_atom_t selection;
1119 xcb_atom_t target;
1120 xcb_atom_t property;
1121 } xcb_selection_request_event_t;
1122
1123
1124 #define XCB_SELECTION_NOTIFY 31
1125
1126
1127
1128
1129 typedef struct xcb_selection_notify_event_t {
1130 uint8_t response_type;
1131 uint8_t pad0;
1132 uint16_t sequence;
1133 xcb_timestamp_t time;
1134 xcb_window_t requestor;
1135 xcb_atom_t selection;
1136 xcb_atom_t target;
1137 xcb_atom_t property;
1138 } xcb_selection_notify_event_t;
1139
1140 typedef enum xcb_colormap_state_t {
1141 XCB_COLORMAP_STATE_UNINSTALLED = 0,
1142
1143
1144 XCB_COLORMAP_STATE_INSTALLED = 1
1145
1146
1147 } xcb_colormap_state_t;
1148
1149 typedef enum xcb_colormap_enum_t {
1150 XCB_COLORMAP_NONE = 0
1151 } xcb_colormap_enum_t;
1152
1153
1154 #define XCB_COLORMAP_NOTIFY 32
1155
1156
1157
1158
1159 typedef struct xcb_colormap_notify_event_t {
1160 uint8_t response_type;
1161 uint8_t pad0;
1162 uint16_t sequence;
1163 xcb_window_t window;
1164 xcb_colormap_t colormap;
1165 uint8_t _new;
1166 uint8_t state;
1167 uint8_t pad1[2];
1168 } xcb_colormap_notify_event_t;
1169
1170
1171
1172
1173 typedef union xcb_client_message_data_t {
1174 uint8_t data8[20];
1175 uint16_t data16[10];
1176 uint32_t data32[5];
1177 } xcb_client_message_data_t;
1178
1179
1180
1181
1182 typedef struct xcb_client_message_data_iterator_t {
1183 xcb_client_message_data_t *data;
1184 int rem;
1185 int index;
1186 } xcb_client_message_data_iterator_t;
1187
1188
1189 #define XCB_CLIENT_MESSAGE 33
1190
1191
1192
1193
1194 typedef struct xcb_client_message_event_t {
1195 uint8_t response_type;
1196 uint8_t format;
1197 uint16_t sequence;
1198 xcb_window_t window;
1199 xcb_atom_t type;
1200 xcb_client_message_data_t data;
1201 } xcb_client_message_event_t;
1202
1203 typedef enum xcb_mapping_t {
1204 XCB_MAPPING_MODIFIER = 0,
1205 XCB_MAPPING_KEYBOARD = 1,
1206 XCB_MAPPING_POINTER = 2
1207 } xcb_mapping_t;
1208
1209
1210 #define XCB_MAPPING_NOTIFY 34
1211
1212
1213
1214
1215 typedef struct xcb_mapping_notify_event_t {
1216 uint8_t response_type;
1217 uint8_t pad0;
1218 uint16_t sequence;
1219 uint8_t request;
1220 xcb_keycode_t first_keycode;
1221 uint8_t count;
1222 uint8_t pad1;
1223 } xcb_mapping_notify_event_t;
1224
1225
1226 #define XCB_GE_GENERIC 35
1227
1228
1229
1230
1231 typedef struct xcb_ge_generic_event_t {
1232 uint8_t response_type;
1233 uint8_t extension;
1234 uint16_t sequence;
1235 uint32_t length;
1236 uint16_t event_type;
1237 uint8_t pad0[22];
1238 uint32_t full_sequence;
1239 } xcb_ge_generic_event_t;
1240
1241
1242 #define XCB_REQUEST 1
1243
1244
1245
1246
1247 typedef struct xcb_request_error_t {
1248 uint8_t response_type;
1249 uint8_t error_code;
1250 uint16_t sequence;
1251 uint32_t bad_value;
1252 uint16_t minor_opcode;
1253 uint8_t major_opcode;
1254 uint8_t pad0;
1255 } xcb_request_error_t;
1256
1257
1258 #define XCB_VALUE 2
1259
1260
1261
1262
1263 typedef struct xcb_value_error_t {
1264 uint8_t response_type;
1265 uint8_t error_code;
1266 uint16_t sequence;
1267 uint32_t bad_value;
1268 uint16_t minor_opcode;
1269 uint8_t major_opcode;
1270 uint8_t pad0;
1271 } xcb_value_error_t;
1272
1273
1274 #define XCB_WINDOW 3
1275
1276 typedef xcb_value_error_t xcb_window_error_t;
1277
1278
1279 #define XCB_PIXMAP 4
1280
1281 typedef xcb_value_error_t xcb_pixmap_error_t;
1282
1283
1284 #define XCB_ATOM 5
1285
1286 typedef xcb_value_error_t xcb_atom_error_t;
1287
1288
1289 #define XCB_CURSOR 6
1290
1291 typedef xcb_value_error_t xcb_cursor_error_t;
1292
1293
1294 #define XCB_FONT 7
1295
1296 typedef xcb_value_error_t xcb_font_error_t;
1297
1298
1299 #define XCB_MATCH 8
1300
1301 typedef xcb_request_error_t xcb_match_error_t;
1302
1303
1304 #define XCB_DRAWABLE 9
1305
1306 typedef xcb_value_error_t xcb_drawable_error_t;
1307
1308
1309 #define XCB_ACCESS 10
1310
1311 typedef xcb_request_error_t xcb_access_error_t;
1312
1313
1314 #define XCB_ALLOC 11
1315
1316 typedef xcb_request_error_t xcb_alloc_error_t;
1317
1318
1319 #define XCB_COLORMAP 12
1320
1321 typedef xcb_value_error_t xcb_colormap_error_t;
1322
1323
1324 #define XCB_G_CONTEXT 13
1325
1326 typedef xcb_value_error_t xcb_g_context_error_t;
1327
1328
1329 #define XCB_ID_CHOICE 14
1330
1331 typedef xcb_value_error_t xcb_id_choice_error_t;
1332
1333
1334 #define XCB_NAME 15
1335
1336 typedef xcb_request_error_t xcb_name_error_t;
1337
1338
1339 #define XCB_LENGTH 16
1340
1341 typedef xcb_request_error_t xcb_length_error_t;
1342
1343
1344 #define XCB_IMPLEMENTATION 17
1345
1346 typedef xcb_request_error_t xcb_implementation_error_t;
1347
1348 typedef enum xcb_window_class_t {
1349 XCB_WINDOW_CLASS_COPY_FROM_PARENT = 0,
1350 XCB_WINDOW_CLASS_INPUT_OUTPUT = 1,
1351 XCB_WINDOW_CLASS_INPUT_ONLY = 2
1352 } xcb_window_class_t;
1353
1354 typedef enum xcb_cw_t {
1355 XCB_CW_BACK_PIXMAP = 1,
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369 XCB_CW_BACK_PIXEL = 2,
1370
1371
1372
1373
1374 XCB_CW_BORDER_PIXMAP = 4,
1375
1376
1377
1378
1379
1380
1381
1382
1383 XCB_CW_BORDER_PIXEL = 8,
1384
1385
1386
1387
1388 XCB_CW_BIT_GRAVITY = 16,
1389
1390
1391 XCB_CW_WIN_GRAVITY = 32,
1392
1393
1394
1395 XCB_CW_BACKING_STORE = 64,
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408 XCB_CW_BACKING_PLANES = 128,
1409
1410
1411
1412
1413 XCB_CW_BACKING_PIXEL = 256,
1414
1415
1416
1417
1418
1419
1420 XCB_CW_OVERRIDE_REDIRECT = 512,
1421
1422
1423
1424
1425 XCB_CW_SAVE_UNDER = 1024,
1426
1427
1428
1429 XCB_CW_EVENT_MASK = 2048,
1430
1431
1432
1433 XCB_CW_DONT_PROPAGATE = 4096,
1434
1435
1436
1437 XCB_CW_COLORMAP = 8192,
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448 XCB_CW_CURSOR = 16384
1449
1450
1451
1452
1453 } xcb_cw_t;
1454
1455 typedef enum xcb_back_pixmap_t {
1456 XCB_BACK_PIXMAP_NONE = 0,
1457 XCB_BACK_PIXMAP_PARENT_RELATIVE = 1
1458 } xcb_back_pixmap_t;
1459
1460 typedef enum xcb_gravity_t {
1461 XCB_GRAVITY_BIT_FORGET = 0,
1462 XCB_GRAVITY_WIN_UNMAP = 0,
1463 XCB_GRAVITY_NORTH_WEST = 1,
1464 XCB_GRAVITY_NORTH = 2,
1465 XCB_GRAVITY_NORTH_EAST = 3,
1466 XCB_GRAVITY_WEST = 4,
1467 XCB_GRAVITY_CENTER = 5,
1468 XCB_GRAVITY_EAST = 6,
1469 XCB_GRAVITY_SOUTH_WEST = 7,
1470 XCB_GRAVITY_SOUTH = 8,
1471 XCB_GRAVITY_SOUTH_EAST = 9,
1472 XCB_GRAVITY_STATIC = 10
1473 } xcb_gravity_t;
1474
1475
1476
1477
1478 typedef struct xcb_create_window_value_list_t {
1479 xcb_pixmap_t background_pixmap;
1480 uint32_t background_pixel;
1481 xcb_pixmap_t border_pixmap;
1482 uint32_t border_pixel;
1483 uint32_t bit_gravity;
1484 uint32_t win_gravity;
1485 uint32_t backing_store;
1486 uint32_t backing_planes;
1487 uint32_t backing_pixel;
1488 xcb_bool32_t override_redirect;
1489 xcb_bool32_t save_under;
1490 uint32_t event_mask;
1491 uint32_t do_not_propogate_mask;
1492 xcb_colormap_t colormap;
1493 xcb_cursor_t cursor;
1494 } xcb_create_window_value_list_t;
1495
1496
1497 #define XCB_CREATE_WINDOW 1
1498
1499
1500
1501
1502 typedef struct xcb_create_window_request_t {
1503 uint8_t major_opcode;
1504 uint8_t depth;
1505 uint16_t length;
1506 xcb_window_t wid;
1507 xcb_window_t parent;
1508 int16_t x;
1509 int16_t y;
1510 uint16_t width;
1511 uint16_t height;
1512 uint16_t border_width;
1513 uint16_t _class;
1514 xcb_visualid_t visual;
1515 uint32_t value_mask;
1516 } xcb_create_window_request_t;
1517
1518
1519
1520
1521 typedef struct xcb_change_window_attributes_value_list_t {
1522 xcb_pixmap_t background_pixmap;
1523 uint32_t background_pixel;
1524 xcb_pixmap_t border_pixmap;
1525 uint32_t border_pixel;
1526 uint32_t bit_gravity;
1527 uint32_t win_gravity;
1528 uint32_t backing_store;
1529 uint32_t backing_planes;
1530 uint32_t backing_pixel;
1531 xcb_bool32_t override_redirect;
1532 xcb_bool32_t save_under;
1533 uint32_t event_mask;
1534 uint32_t do_not_propogate_mask;
1535 xcb_colormap_t colormap;
1536 xcb_cursor_t cursor;
1537 } xcb_change_window_attributes_value_list_t;
1538
1539
1540 #define XCB_CHANGE_WINDOW_ATTRIBUTES 2
1541
1542
1543
1544
1545 typedef struct xcb_change_window_attributes_request_t {
1546 uint8_t major_opcode;
1547 uint8_t pad0;
1548 uint16_t length;
1549 xcb_window_t window;
1550 uint32_t value_mask;
1551 } xcb_change_window_attributes_request_t;
1552
1553 typedef enum xcb_map_state_t {
1554 XCB_MAP_STATE_UNMAPPED = 0,
1555 XCB_MAP_STATE_UNVIEWABLE = 1,
1556 XCB_MAP_STATE_VIEWABLE = 2
1557 } xcb_map_state_t;
1558
1559
1560
1561
1562 typedef struct xcb_get_window_attributes_cookie_t {
1563 unsigned int sequence;
1564 } xcb_get_window_attributes_cookie_t;
1565
1566
1567 #define XCB_GET_WINDOW_ATTRIBUTES 3
1568
1569
1570
1571
1572 typedef struct xcb_get_window_attributes_request_t {
1573 uint8_t major_opcode;
1574 uint8_t pad0;
1575 uint16_t length;
1576 xcb_window_t window;
1577 } xcb_get_window_attributes_request_t;
1578
1579
1580
1581
1582 typedef struct xcb_get_window_attributes_reply_t {
1583 uint8_t response_type;
1584 uint8_t backing_store;
1585 uint16_t sequence;
1586 uint32_t length;
1587 xcb_visualid_t visual;
1588 uint16_t _class;
1589 uint8_t bit_gravity;
1590 uint8_t win_gravity;
1591 uint32_t backing_planes;
1592 uint32_t backing_pixel;
1593 uint8_t save_under;
1594 uint8_t map_is_installed;
1595 uint8_t map_state;
1596 uint8_t override_redirect;
1597 xcb_colormap_t colormap;
1598 uint32_t all_event_masks;
1599 uint32_t your_event_mask;
1600 uint16_t do_not_propagate_mask;
1601 uint8_t pad0[2];
1602 } xcb_get_window_attributes_reply_t;
1603
1604
1605 #define XCB_DESTROY_WINDOW 4
1606
1607
1608
1609
1610 typedef struct xcb_destroy_window_request_t {
1611 uint8_t major_opcode;
1612 uint8_t pad0;
1613 uint16_t length;
1614 xcb_window_t window;
1615 } xcb_destroy_window_request_t;
1616
1617
1618 #define XCB_DESTROY_SUBWINDOWS 5
1619
1620
1621
1622
1623 typedef struct xcb_destroy_subwindows_request_t {
1624 uint8_t major_opcode;
1625 uint8_t pad0;
1626 uint16_t length;
1627 xcb_window_t window;
1628 } xcb_destroy_subwindows_request_t;
1629
1630 typedef enum xcb_set_mode_t {
1631 XCB_SET_MODE_INSERT = 0,
1632 XCB_SET_MODE_DELETE = 1
1633 } xcb_set_mode_t;
1634
1635
1636 #define XCB_CHANGE_SAVE_SET 6
1637
1638
1639
1640
1641 typedef struct xcb_change_save_set_request_t {
1642 uint8_t major_opcode;
1643 uint8_t mode;
1644 uint16_t length;
1645 xcb_window_t window;
1646 } xcb_change_save_set_request_t;
1647
1648
1649 #define XCB_REPARENT_WINDOW 7
1650
1651
1652
1653
1654 typedef struct xcb_reparent_window_request_t {
1655 uint8_t major_opcode;
1656 uint8_t pad0;
1657 uint16_t length;
1658 xcb_window_t window;
1659 xcb_window_t parent;
1660 int16_t x;
1661 int16_t y;
1662 } xcb_reparent_window_request_t;
1663
1664
1665 #define XCB_MAP_WINDOW 8
1666
1667
1668
1669
1670 typedef struct xcb_map_window_request_t {
1671 uint8_t major_opcode;
1672 uint8_t pad0;
1673 uint16_t length;
1674 xcb_window_t window;
1675 } xcb_map_window_request_t;
1676
1677
1678 #define XCB_MAP_SUBWINDOWS 9
1679
1680
1681
1682
1683 typedef struct xcb_map_subwindows_request_t {
1684 uint8_t major_opcode;
1685 uint8_t pad0;
1686 uint16_t length;
1687 xcb_window_t window;
1688 } xcb_map_subwindows_request_t;
1689
1690
1691 #define XCB_UNMAP_WINDOW 10
1692
1693
1694
1695
1696 typedef struct xcb_unmap_window_request_t {
1697 uint8_t major_opcode;
1698 uint8_t pad0;
1699 uint16_t length;
1700 xcb_window_t window;
1701 } xcb_unmap_window_request_t;
1702
1703
1704 #define XCB_UNMAP_SUBWINDOWS 11
1705
1706
1707
1708
1709 typedef struct xcb_unmap_subwindows_request_t {
1710 uint8_t major_opcode;
1711 uint8_t pad0;
1712 uint16_t length;
1713 xcb_window_t window;
1714 } xcb_unmap_subwindows_request_t;
1715
1716 typedef enum xcb_config_window_t {
1717 XCB_CONFIG_WINDOW_X = 1,
1718 XCB_CONFIG_WINDOW_Y = 2,
1719 XCB_CONFIG_WINDOW_WIDTH = 4,
1720 XCB_CONFIG_WINDOW_HEIGHT = 8,
1721 XCB_CONFIG_WINDOW_BORDER_WIDTH = 16,
1722 XCB_CONFIG_WINDOW_SIBLING = 32,
1723 XCB_CONFIG_WINDOW_STACK_MODE = 64
1724 } xcb_config_window_t;
1725
1726 typedef enum xcb_stack_mode_t {
1727 XCB_STACK_MODE_ABOVE = 0,
1728 XCB_STACK_MODE_BELOW = 1,
1729 XCB_STACK_MODE_TOP_IF = 2,
1730 XCB_STACK_MODE_BOTTOM_IF = 3,
1731 XCB_STACK_MODE_OPPOSITE = 4
1732 } xcb_stack_mode_t;
1733
1734
1735
1736
1737 typedef struct xcb_configure_window_value_list_t {
1738 int32_t x;
1739 int32_t y;
1740 uint32_t width;
1741 uint32_t height;
1742 uint32_t border_width;
1743 xcb_window_t sibling;
1744 uint32_t stack_mode;
1745 } xcb_configure_window_value_list_t;
1746
1747
1748 #define XCB_CONFIGURE_WINDOW 12
1749
1750
1751
1752
1753 typedef struct xcb_configure_window_request_t {
1754 uint8_t major_opcode;
1755 uint8_t pad0;
1756 uint16_t length;
1757 xcb_window_t window;
1758 uint16_t value_mask;
1759 uint8_t pad1[2];
1760 } xcb_configure_window_request_t;
1761
1762 typedef enum xcb_circulate_t {
1763 XCB_CIRCULATE_RAISE_LOWEST = 0,
1764 XCB_CIRCULATE_LOWER_HIGHEST = 1
1765 } xcb_circulate_t;
1766
1767
1768 #define XCB_CIRCULATE_WINDOW 13
1769
1770
1771
1772
1773 typedef struct xcb_circulate_window_request_t {
1774 uint8_t major_opcode;
1775 uint8_t direction;
1776 uint16_t length;
1777 xcb_window_t window;
1778 } xcb_circulate_window_request_t;
1779
1780
1781
1782
1783 typedef struct xcb_get_geometry_cookie_t {
1784 unsigned int sequence;
1785 } xcb_get_geometry_cookie_t;
1786
1787
1788 #define XCB_GET_GEOMETRY 14
1789
1790
1791
1792
1793 typedef struct xcb_get_geometry_request_t {
1794 uint8_t major_opcode;
1795 uint8_t pad0;
1796 uint16_t length;
1797 xcb_drawable_t drawable;
1798 } xcb_get_geometry_request_t;
1799
1800
1801
1802
1803 typedef struct xcb_get_geometry_reply_t {
1804 uint8_t response_type;
1805 uint8_t depth;
1806 uint16_t sequence;
1807 uint32_t length;
1808 xcb_window_t root;
1809 int16_t x;
1810 int16_t y;
1811 uint16_t width;
1812 uint16_t height;
1813 uint16_t border_width;
1814 uint8_t pad0[2];
1815 } xcb_get_geometry_reply_t;
1816
1817
1818
1819
1820 typedef struct xcb_query_tree_cookie_t {
1821 unsigned int sequence;
1822 } xcb_query_tree_cookie_t;
1823
1824
1825 #define XCB_QUERY_TREE 15
1826
1827
1828
1829
1830 typedef struct xcb_query_tree_request_t {
1831 uint8_t major_opcode;
1832 uint8_t pad0;
1833 uint16_t length;
1834 xcb_window_t window;
1835 } xcb_query_tree_request_t;
1836
1837
1838
1839
1840 typedef struct xcb_query_tree_reply_t {
1841 uint8_t response_type;
1842 uint8_t pad0;
1843 uint16_t sequence;
1844 uint32_t length;
1845 xcb_window_t root;
1846 xcb_window_t parent;
1847 uint16_t children_len;
1848 uint8_t pad1[14];
1849 } xcb_query_tree_reply_t;
1850
1851
1852
1853
1854 typedef struct xcb_intern_atom_cookie_t {
1855 unsigned int sequence;
1856 } xcb_intern_atom_cookie_t;
1857
1858
1859 #define XCB_INTERN_ATOM 16
1860
1861
1862
1863
1864 typedef struct xcb_intern_atom_request_t {
1865 uint8_t major_opcode;
1866 uint8_t only_if_exists;
1867 uint16_t length;
1868 uint16_t name_len;
1869 uint8_t pad0[2];
1870 } xcb_intern_atom_request_t;
1871
1872
1873
1874
1875 typedef struct xcb_intern_atom_reply_t {
1876 uint8_t response_type;
1877 uint8_t pad0;
1878 uint16_t sequence;
1879 uint32_t length;
1880 xcb_atom_t atom;
1881 } xcb_intern_atom_reply_t;
1882
1883
1884
1885
1886 typedef struct xcb_get_atom_name_cookie_t {
1887 unsigned int sequence;
1888 } xcb_get_atom_name_cookie_t;
1889
1890
1891 #define XCB_GET_ATOM_NAME 17
1892
1893
1894
1895
1896 typedef struct xcb_get_atom_name_request_t {
1897 uint8_t major_opcode;
1898 uint8_t pad0;
1899 uint16_t length;
1900 xcb_atom_t atom;
1901 } xcb_get_atom_name_request_t;
1902
1903
1904
1905
1906 typedef struct xcb_get_atom_name_reply_t {
1907 uint8_t response_type;
1908 uint8_t pad0;
1909 uint16_t sequence;
1910 uint32_t length;
1911 uint16_t name_len;
1912 uint8_t pad1[22];
1913 } xcb_get_atom_name_reply_t;
1914
1915 typedef enum xcb_prop_mode_t {
1916 XCB_PROP_MODE_REPLACE = 0,
1917
1918
1919 XCB_PROP_MODE_PREPEND = 1,
1920
1921
1922
1923
1924 XCB_PROP_MODE_APPEND = 2
1925
1926
1927
1928
1929 } xcb_prop_mode_t;
1930
1931
1932 #define XCB_CHANGE_PROPERTY 18
1933
1934
1935
1936
1937 typedef struct xcb_change_property_request_t {
1938 uint8_t major_opcode;
1939 uint8_t mode;
1940 uint16_t length;
1941 xcb_window_t window;
1942 xcb_atom_t property;
1943 xcb_atom_t type;
1944 uint8_t format;
1945 uint8_t pad0[3];
1946 uint32_t data_len;
1947 } xcb_change_property_request_t;
1948
1949
1950 #define XCB_DELETE_PROPERTY 19
1951
1952
1953
1954
1955 typedef struct xcb_delete_property_request_t {
1956 uint8_t major_opcode;
1957 uint8_t pad0;
1958 uint16_t length;
1959 xcb_window_t window;
1960 xcb_atom_t property;
1961 } xcb_delete_property_request_t;
1962
1963 typedef enum xcb_get_property_type_t {
1964 XCB_GET_PROPERTY_TYPE_ANY = 0
1965 } xcb_get_property_type_t;
1966
1967
1968
1969
1970 typedef struct xcb_get_property_cookie_t {
1971 unsigned int sequence;
1972 } xcb_get_property_cookie_t;
1973
1974
1975 #define XCB_GET_PROPERTY 20
1976
1977
1978
1979
1980 typedef struct xcb_get_property_request_t {
1981 uint8_t major_opcode;
1982 uint8_t _delete;
1983 uint16_t length;
1984 xcb_window_t window;
1985 xcb_atom_t property;
1986 xcb_atom_t type;
1987 uint32_t long_offset;
1988 uint32_t long_length;
1989 } xcb_get_property_request_t;
1990
1991
1992
1993
1994 typedef struct xcb_get_property_reply_t {
1995 uint8_t response_type;
1996 uint8_t format;
1997 uint16_t sequence;
1998 uint32_t length;
1999 xcb_atom_t type;
2000 uint32_t bytes_after;
2001 uint32_t value_len;
2002 uint8_t pad0[12];
2003 } xcb_get_property_reply_t;
2004
2005
2006
2007
2008 typedef struct xcb_list_properties_cookie_t {
2009 unsigned int sequence;
2010 } xcb_list_properties_cookie_t;
2011
2012
2013 #define XCB_LIST_PROPERTIES 21
2014
2015
2016
2017
2018 typedef struct xcb_list_properties_request_t {
2019 uint8_t major_opcode;
2020 uint8_t pad0;
2021 uint16_t length;
2022 xcb_window_t window;
2023 } xcb_list_properties_request_t;
2024
2025
2026
2027
2028 typedef struct xcb_list_properties_reply_t {
2029 uint8_t response_type;
2030 uint8_t pad0;
2031 uint16_t sequence;
2032 uint32_t length;
2033 uint16_t atoms_len;
2034 uint8_t pad1[22];
2035 } xcb_list_properties_reply_t;
2036
2037
2038 #define XCB_SET_SELECTION_OWNER 22
2039
2040
2041
2042
2043 typedef struct xcb_set_selection_owner_request_t {
2044 uint8_t major_opcode;
2045 uint8_t pad0;
2046 uint16_t length;
2047 xcb_window_t owner;
2048 xcb_atom_t selection;
2049 xcb_timestamp_t time;
2050 } xcb_set_selection_owner_request_t;
2051
2052
2053
2054
2055 typedef struct xcb_get_selection_owner_cookie_t {
2056 unsigned int sequence;
2057 } xcb_get_selection_owner_cookie_t;
2058
2059
2060 #define XCB_GET_SELECTION_OWNER 23
2061
2062
2063
2064
2065 typedef struct xcb_get_selection_owner_request_t {
2066 uint8_t major_opcode;
2067 uint8_t pad0;
2068 uint16_t length;
2069 xcb_atom_t selection;
2070 } xcb_get_selection_owner_request_t;
2071
2072
2073
2074
2075 typedef struct xcb_get_selection_owner_reply_t {
2076 uint8_t response_type;
2077 uint8_t pad0;
2078 uint16_t sequence;
2079 uint32_t length;
2080 xcb_window_t owner;
2081 } xcb_get_selection_owner_reply_t;
2082
2083
2084 #define XCB_CONVERT_SELECTION 24
2085
2086
2087
2088
2089 typedef struct xcb_convert_selection_request_t {
2090 uint8_t major_opcode;
2091 uint8_t pad0;
2092 uint16_t length;
2093 xcb_window_t requestor;
2094 xcb_atom_t selection;
2095 xcb_atom_t target;
2096 xcb_atom_t property;
2097 xcb_timestamp_t time;
2098 } xcb_convert_selection_request_t;
2099
2100 typedef enum xcb_send_event_dest_t {
2101 XCB_SEND_EVENT_DEST_POINTER_WINDOW = 0,
2102 XCB_SEND_EVENT_DEST_ITEM_FOCUS = 1
2103 } xcb_send_event_dest_t;
2104
2105
2106 #define XCB_SEND_EVENT 25
2107
2108
2109
2110
2111 typedef struct xcb_send_event_request_t {
2112 uint8_t major_opcode;
2113 uint8_t propagate;
2114 uint16_t length;
2115 xcb_window_t destination;
2116 uint32_t event_mask;
2117 char event[32];
2118 } xcb_send_event_request_t;
2119
2120 typedef enum xcb_grab_mode_t {
2121 XCB_GRAB_MODE_SYNC = 0,
2122
2123
2124
2125
2126 XCB_GRAB_MODE_ASYNC = 1
2127
2128
2129 } xcb_grab_mode_t;
2130
2131 typedef enum xcb_grab_status_t {
2132 XCB_GRAB_STATUS_SUCCESS = 0,
2133 XCB_GRAB_STATUS_ALREADY_GRABBED = 1,
2134 XCB_GRAB_STATUS_INVALID_TIME = 2,
2135 XCB_GRAB_STATUS_NOT_VIEWABLE = 3,
2136 XCB_GRAB_STATUS_FROZEN = 4
2137 } xcb_grab_status_t;
2138
2139 typedef enum xcb_cursor_enum_t {
2140 XCB_CURSOR_NONE = 0
2141 } xcb_cursor_enum_t;
2142
2143
2144
2145
2146 typedef struct xcb_grab_pointer_cookie_t {
2147 unsigned int sequence;
2148 } xcb_grab_pointer_cookie_t;
2149
2150
2151 #define XCB_GRAB_POINTER 26
2152
2153
2154
2155
2156 typedef struct xcb_grab_pointer_request_t {
2157 uint8_t major_opcode;
2158 uint8_t owner_events;
2159 uint16_t length;
2160 xcb_window_t grab_window;
2161 uint16_t event_mask;
2162 uint8_t pointer_mode;
2163 uint8_t keyboard_mode;
2164 xcb_window_t confine_to;
2165 xcb_cursor_t cursor;
2166 xcb_timestamp_t time;
2167 } xcb_grab_pointer_request_t;
2168
2169
2170
2171
2172 typedef struct xcb_grab_pointer_reply_t {
2173 uint8_t response_type;
2174 uint8_t status;
2175 uint16_t sequence;
2176 uint32_t length;
2177 } xcb_grab_pointer_reply_t;
2178
2179
2180 #define XCB_UNGRAB_POINTER 27
2181
2182
2183
2184
2185 typedef struct xcb_ungrab_pointer_request_t {
2186 uint8_t major_opcode;
2187 uint8_t pad0;
2188 uint16_t length;
2189 xcb_timestamp_t time;
2190 } xcb_ungrab_pointer_request_t;
2191
2192 typedef enum xcb_button_index_t {
2193 XCB_BUTTON_INDEX_ANY = 0,
2194
2195
2196 XCB_BUTTON_INDEX_1 = 1,
2197
2198
2199 XCB_BUTTON_INDEX_2 = 2,
2200
2201
2202 XCB_BUTTON_INDEX_3 = 3,
2203
2204
2205 XCB_BUTTON_INDEX_4 = 4,
2206
2207
2208 XCB_BUTTON_INDEX_5 = 5
2209
2210
2211 } xcb_button_index_t;
2212
2213
2214 #define XCB_GRAB_BUTTON 28
2215
2216
2217
2218
2219 typedef struct xcb_grab_button_request_t {
2220 uint8_t major_opcode;
2221 uint8_t owner_events;
2222 uint16_t length;
2223 xcb_window_t grab_window;
2224 uint16_t event_mask;
2225 uint8_t pointer_mode;
2226 uint8_t keyboard_mode;
2227 xcb_window_t confine_to;
2228 xcb_cursor_t cursor;
2229 uint8_t button;
2230 uint8_t pad0;
2231 uint16_t modifiers;
2232 } xcb_grab_button_request_t;
2233
2234
2235 #define XCB_UNGRAB_BUTTON 29
2236
2237
2238
2239
2240 typedef struct xcb_ungrab_button_request_t {
2241 uint8_t major_opcode;
2242 uint8_t button;
2243 uint16_t length;
2244 xcb_window_t grab_window;
2245 uint16_t modifiers;
2246 uint8_t pad0[2];
2247 } xcb_ungrab_button_request_t;
2248
2249
2250 #define XCB_CHANGE_ACTIVE_POINTER_GRAB 30
2251
2252
2253
2254
2255 typedef struct xcb_change_active_pointer_grab_request_t {
2256 uint8_t major_opcode;
2257 uint8_t pad0;
2258 uint16_t length;
2259 xcb_cursor_t cursor;
2260 xcb_timestamp_t time;
2261 uint16_t event_mask;
2262 uint8_t pad1[2];
2263 } xcb_change_active_pointer_grab_request_t;
2264
2265
2266
2267
2268 typedef struct xcb_grab_keyboard_cookie_t {
2269 unsigned int sequence;
2270 } xcb_grab_keyboard_cookie_t;
2271
2272
2273 #define XCB_GRAB_KEYBOARD 31
2274
2275
2276
2277
2278 typedef struct xcb_grab_keyboard_request_t {
2279 uint8_t major_opcode;
2280 uint8_t owner_events;
2281 uint16_t length;
2282 xcb_window_t grab_window;
2283 xcb_timestamp_t time;
2284 uint8_t pointer_mode;
2285 uint8_t keyboard_mode;
2286 uint8_t pad0[2];
2287 } xcb_grab_keyboard_request_t;
2288
2289
2290
2291
2292 typedef struct xcb_grab_keyboard_reply_t {
2293 uint8_t response_type;
2294 uint8_t status;
2295 uint16_t sequence;
2296 uint32_t length;
2297 } xcb_grab_keyboard_reply_t;
2298
2299
2300 #define XCB_UNGRAB_KEYBOARD 32
2301
2302
2303
2304
2305 typedef struct xcb_ungrab_keyboard_request_t {
2306 uint8_t major_opcode;
2307 uint8_t pad0;
2308 uint16_t length;
2309 xcb_timestamp_t time;
2310 } xcb_ungrab_keyboard_request_t;
2311
2312 typedef enum xcb_grab_t {
2313 XCB_GRAB_ANY = 0
2314 } xcb_grab_t;
2315
2316
2317 #define XCB_GRAB_KEY 33
2318
2319
2320
2321
2322 typedef struct xcb_grab_key_request_t {
2323 uint8_t major_opcode;
2324 uint8_t owner_events;
2325 uint16_t length;
2326 xcb_window_t grab_window;
2327 uint16_t modifiers;
2328 xcb_keycode_t key;
2329 uint8_t pointer_mode;
2330 uint8_t keyboard_mode;
2331 uint8_t pad0[3];
2332 } xcb_grab_key_request_t;
2333
2334
2335 #define XCB_UNGRAB_KEY 34
2336
2337
2338
2339
2340 typedef struct xcb_ungrab_key_request_t {
2341 uint8_t major_opcode;
2342 xcb_keycode_t key;
2343 uint16_t length;
2344 xcb_window_t grab_window;
2345 uint16_t modifiers;
2346 uint8_t pad0[2];
2347 } xcb_ungrab_key_request_t;
2348
2349 typedef enum xcb_allow_t {
2350 XCB_ALLOW_ASYNC_POINTER = 0,
2351
2352
2353
2354
2355
2356
2357
2358
2359 XCB_ALLOW_SYNC_POINTER = 1,
2360
2361
2362
2363
2364
2365
2366
2367
2368 XCB_ALLOW_REPLAY_POINTER = 2,
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378 XCB_ALLOW_ASYNC_KEYBOARD = 3,
2379
2380
2381
2382
2383
2384
2385 XCB_ALLOW_SYNC_KEYBOARD = 4,
2386
2387
2388
2389
2390
2391
2392
2393
2394 XCB_ALLOW_REPLAY_KEYBOARD = 5,
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404 XCB_ALLOW_ASYNC_BOTH = 6,
2405
2406
2407
2408
2409
2410 XCB_ALLOW_SYNC_BOTH = 7
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423 } xcb_allow_t;
2424
2425
2426 #define XCB_ALLOW_EVENTS 35
2427
2428
2429
2430
2431 typedef struct xcb_allow_events_request_t {
2432 uint8_t major_opcode;
2433 uint8_t mode;
2434 uint16_t length;
2435 xcb_timestamp_t time;
2436 } xcb_allow_events_request_t;
2437
2438
2439 #define XCB_GRAB_SERVER 36
2440
2441
2442
2443
2444 typedef struct xcb_grab_server_request_t {
2445 uint8_t major_opcode;
2446 uint8_t pad0;
2447 uint16_t length;
2448 } xcb_grab_server_request_t;
2449
2450
2451 #define XCB_UNGRAB_SERVER 37
2452
2453
2454
2455
2456 typedef struct xcb_ungrab_server_request_t {
2457 uint8_t major_opcode;
2458 uint8_t pad0;
2459 uint16_t length;
2460 } xcb_ungrab_server_request_t;
2461
2462
2463
2464
2465 typedef struct xcb_query_pointer_cookie_t {
2466 unsigned int sequence;
2467 } xcb_query_pointer_cookie_t;
2468
2469
2470 #define XCB_QUERY_POINTER 38
2471
2472
2473
2474
2475 typedef struct xcb_query_pointer_request_t {
2476 uint8_t major_opcode;
2477 uint8_t pad0;
2478 uint16_t length;
2479 xcb_window_t window;
2480 } xcb_query_pointer_request_t;
2481
2482
2483
2484
2485 typedef struct xcb_query_pointer_reply_t {
2486 uint8_t response_type;
2487 uint8_t same_screen;
2488 uint16_t sequence;
2489 uint32_t length;
2490 xcb_window_t root;
2491 xcb_window_t child;
2492 int16_t root_x;
2493 int16_t root_y;
2494 int16_t win_x;
2495 int16_t win_y;
2496 uint16_t mask;
2497 uint8_t pad0[2];
2498 } xcb_query_pointer_reply_t;
2499
2500
2501
2502
2503 typedef struct xcb_timecoord_t {
2504 xcb_timestamp_t time;
2505 int16_t x;
2506 int16_t y;
2507 } xcb_timecoord_t;
2508
2509
2510
2511
2512 typedef struct xcb_timecoord_iterator_t {
2513 xcb_timecoord_t *data;
2514 int rem;
2515 int index;
2516 } xcb_timecoord_iterator_t;
2517
2518
2519
2520
2521 typedef struct xcb_get_motion_events_cookie_t {
2522 unsigned int sequence;
2523 } xcb_get_motion_events_cookie_t;
2524
2525
2526 #define XCB_GET_MOTION_EVENTS 39
2527
2528
2529
2530
2531 typedef struct xcb_get_motion_events_request_t {
2532 uint8_t major_opcode;
2533 uint8_t pad0;
2534 uint16_t length;
2535 xcb_window_t window;
2536 xcb_timestamp_t start;
2537 xcb_timestamp_t stop;
2538 } xcb_get_motion_events_request_t;
2539
2540
2541
2542
2543 typedef struct xcb_get_motion_events_reply_t {
2544 uint8_t response_type;
2545 uint8_t pad0;
2546 uint16_t sequence;
2547 uint32_t length;
2548 uint32_t events_len;
2549 uint8_t pad1[20];
2550 } xcb_get_motion_events_reply_t;
2551
2552
2553
2554
2555 typedef struct xcb_translate_coordinates_cookie_t {
2556 unsigned int sequence;
2557 } xcb_translate_coordinates_cookie_t;
2558
2559
2560 #define XCB_TRANSLATE_COORDINATES 40
2561
2562
2563
2564
2565 typedef struct xcb_translate_coordinates_request_t {
2566 uint8_t major_opcode;
2567 uint8_t pad0;
2568 uint16_t length;
2569 xcb_window_t src_window;
2570 xcb_window_t dst_window;
2571 int16_t src_x;
2572 int16_t src_y;
2573 } xcb_translate_coordinates_request_t;
2574
2575
2576
2577
2578 typedef struct xcb_translate_coordinates_reply_t {
2579 uint8_t response_type;
2580 uint8_t same_screen;
2581 uint16_t sequence;
2582 uint32_t length;
2583 xcb_window_t child;
2584 int16_t dst_x;
2585 int16_t dst_y;
2586 } xcb_translate_coordinates_reply_t;
2587
2588
2589 #define XCB_WARP_POINTER 41
2590
2591
2592
2593
2594 typedef struct xcb_warp_pointer_request_t {
2595 uint8_t major_opcode;
2596 uint8_t pad0;
2597 uint16_t length;
2598 xcb_window_t src_window;
2599 xcb_window_t dst_window;
2600 int16_t src_x;
2601 int16_t src_y;
2602 uint16_t src_width;
2603 uint16_t src_height;
2604 int16_t dst_x;
2605 int16_t dst_y;
2606 } xcb_warp_pointer_request_t;
2607
2608 typedef enum xcb_input_focus_t {
2609 XCB_INPUT_FOCUS_NONE = 0,
2610
2611
2612 XCB_INPUT_FOCUS_POINTER_ROOT = 1,
2613
2614
2615
2616
2617 XCB_INPUT_FOCUS_PARENT = 2,
2618
2619
2620
2621 XCB_INPUT_FOCUS_FOLLOW_KEYBOARD = 3
2622
2623
2624 } xcb_input_focus_t;
2625
2626
2627 #define XCB_SET_INPUT_FOCUS 42
2628
2629
2630
2631
2632 typedef struct xcb_set_input_focus_request_t {
2633 uint8_t major_opcode;
2634 uint8_t revert_to;
2635 uint16_t length;
2636 xcb_window_t focus;
2637 xcb_timestamp_t time;
2638 } xcb_set_input_focus_request_t;
2639
2640
2641
2642
2643 typedef struct xcb_get_input_focus_cookie_t {
2644 unsigned int sequence;
2645 } xcb_get_input_focus_cookie_t;
2646
2647
2648 #define XCB_GET_INPUT_FOCUS 43
2649
2650
2651
2652
2653 typedef struct xcb_get_input_focus_request_t {
2654 uint8_t major_opcode;
2655 uint8_t pad0;
2656 uint16_t length;
2657 } xcb_get_input_focus_request_t;
2658
2659
2660
2661
2662 typedef struct xcb_get_input_focus_reply_t {
2663 uint8_t response_type;
2664 uint8_t revert_to;
2665 uint16_t sequence;
2666 uint32_t length;
2667 xcb_window_t focus;
2668 } xcb_get_input_focus_reply_t;
2669
2670
2671
2672
2673 typedef struct xcb_query_keymap_cookie_t {
2674 unsigned int sequence;
2675 } xcb_query_keymap_cookie_t;
2676
2677
2678 #define XCB_QUERY_KEYMAP 44
2679
2680
2681
2682
2683 typedef struct xcb_query_keymap_request_t {
2684 uint8_t major_opcode;
2685 uint8_t pad0;
2686 uint16_t length;
2687 } xcb_query_keymap_request_t;
2688
2689
2690
2691
2692 typedef struct xcb_query_keymap_reply_t {
2693 uint8_t response_type;
2694 uint8_t pad0;
2695 uint16_t sequence;
2696 uint32_t length;
2697 uint8_t keys[32];
2698 } xcb_query_keymap_reply_t;
2699
2700
2701 #define XCB_OPEN_FONT 45
2702
2703
2704
2705
2706 typedef struct xcb_open_font_request_t {
2707 uint8_t major_opcode;
2708 uint8_t pad0;
2709 uint16_t length;
2710 xcb_font_t fid;
2711 uint16_t name_len;
2712 uint8_t pad1[2];
2713 } xcb_open_font_request_t;
2714
2715
2716 #define XCB_CLOSE_FONT 46
2717
2718
2719
2720
2721 typedef struct xcb_close_font_request_t {
2722 uint8_t major_opcode;
2723 uint8_t pad0;
2724 uint16_t length;
2725 xcb_font_t font;
2726 } xcb_close_font_request_t;
2727
2728 typedef enum xcb_font_draw_t {
2729 XCB_FONT_DRAW_LEFT_TO_RIGHT = 0,
2730 XCB_FONT_DRAW_RIGHT_TO_LEFT = 1
2731 } xcb_font_draw_t;
2732
2733
2734
2735
2736 typedef struct xcb_fontprop_t {
2737 xcb_atom_t name;
2738 uint32_t value;
2739 } xcb_fontprop_t;
2740
2741
2742
2743
2744 typedef struct xcb_fontprop_iterator_t {
2745 xcb_fontprop_t *data;
2746 int rem;
2747 int index;
2748 } xcb_fontprop_iterator_t;
2749
2750
2751
2752
2753 typedef struct xcb_charinfo_t {
2754 int16_t left_side_bearing;
2755 int16_t right_side_bearing;
2756 int16_t character_width;
2757 int16_t ascent;
2758 int16_t descent;
2759 uint16_t attributes;
2760 } xcb_charinfo_t;
2761
2762
2763
2764
2765 typedef struct xcb_charinfo_iterator_t {
2766 xcb_charinfo_t *data;
2767 int rem;
2768 int index;
2769 } xcb_charinfo_iterator_t;
2770
2771
2772
2773
2774 typedef struct xcb_query_font_cookie_t {
2775 unsigned int sequence;
2776 } xcb_query_font_cookie_t;
2777
2778
2779 #define XCB_QUERY_FONT 47
2780
2781
2782
2783
2784 typedef struct xcb_query_font_request_t {
2785 uint8_t major_opcode;
2786 uint8_t pad0;
2787 uint16_t length;
2788 xcb_fontable_t font;
2789 } xcb_query_font_request_t;
2790
2791
2792
2793
2794 typedef struct xcb_query_font_reply_t {
2795 uint8_t response_type;
2796 uint8_t pad0;
2797 uint16_t sequence;
2798 uint32_t length;
2799 xcb_charinfo_t min_bounds;
2800 uint8_t pad1[4];
2801 xcb_charinfo_t max_bounds;
2802 uint8_t pad2[4];
2803 uint16_t min_char_or_byte2;
2804 uint16_t max_char_or_byte2;
2805 uint16_t default_char;
2806 uint16_t properties_len;
2807 uint8_t draw_direction;
2808 uint8_t min_byte1;
2809 uint8_t max_byte1;
2810 uint8_t all_chars_exist;
2811 int16_t font_ascent;
2812 int16_t font_descent;
2813 uint32_t char_infos_len;
2814 } xcb_query_font_reply_t;
2815
2816
2817
2818
2819 typedef struct xcb_query_text_extents_cookie_t {
2820 unsigned int sequence;
2821 } xcb_query_text_extents_cookie_t;
2822
2823
2824 #define XCB_QUERY_TEXT_EXTENTS 48
2825
2826
2827
2828
2829 typedef struct xcb_query_text_extents_request_t {
2830 uint8_t major_opcode;
2831 uint8_t odd_length;
2832 uint16_t length;
2833 xcb_fontable_t font;
2834 } xcb_query_text_extents_request_t;
2835
2836
2837
2838
2839 typedef struct xcb_query_text_extents_reply_t {
2840 uint8_t response_type;
2841 uint8_t draw_direction;
2842 uint16_t sequence;
2843 uint32_t length;
2844 int16_t font_ascent;
2845 int16_t font_descent;
2846 int16_t overall_ascent;
2847 int16_t overall_descent;
2848 int32_t overall_width;
2849 int32_t overall_left;
2850 int32_t overall_right;
2851 } xcb_query_text_extents_reply_t;
2852
2853
2854
2855
2856 typedef struct xcb_str_t {
2857 uint8_t name_len;
2858 } xcb_str_t;
2859
2860
2861
2862
2863 typedef struct xcb_str_iterator_t {
2864 xcb_str_t *data;
2865 int rem;
2866 int index;
2867 } xcb_str_iterator_t;
2868
2869
2870
2871
2872 typedef struct xcb_list_fonts_cookie_t {
2873 unsigned int sequence;
2874 } xcb_list_fonts_cookie_t;
2875
2876
2877 #define XCB_LIST_FONTS 49
2878
2879
2880
2881
2882 typedef struct xcb_list_fonts_request_t {
2883 uint8_t major_opcode;
2884 uint8_t pad0;
2885 uint16_t length;
2886 uint16_t max_names;
2887 uint16_t pattern_len;
2888 } xcb_list_fonts_request_t;
2889
2890
2891
2892
2893 typedef struct xcb_list_fonts_reply_t {
2894 uint8_t response_type;
2895 uint8_t pad0;
2896 uint16_t sequence;
2897 uint32_t length;
2898 uint16_t names_len;
2899 uint8_t pad1[22];
2900 } xcb_list_fonts_reply_t;
2901
2902
2903
2904
2905 typedef struct xcb_list_fonts_with_info_cookie_t {
2906 unsigned int sequence;
2907 } xcb_list_fonts_with_info_cookie_t;
2908
2909
2910 #define XCB_LIST_FONTS_WITH_INFO 50
2911
2912
2913
2914
2915 typedef struct xcb_list_fonts_with_info_request_t {
2916 uint8_t major_opcode;
2917 uint8_t pad0;
2918 uint16_t length;
2919 uint16_t max_names;
2920 uint16_t pattern_len;
2921 } xcb_list_fonts_with_info_request_t;
2922
2923
2924
2925
2926 typedef struct xcb_list_fonts_with_info_reply_t {
2927 uint8_t response_type;
2928 uint8_t name_len;
2929 uint16_t sequence;
2930 uint32_t length;
2931 xcb_charinfo_t min_bounds;
2932 uint8_t pad0[4];
2933 xcb_charinfo_t max_bounds;
2934 uint8_t pad1[4];
2935 uint16_t min_char_or_byte2;
2936 uint16_t max_char_or_byte2;
2937 uint16_t default_char;
2938 uint16_t properties_len;
2939 uint8_t draw_direction;
2940 uint8_t min_byte1;
2941 uint8_t max_byte1;
2942 uint8_t all_chars_exist;
2943 int16_t font_ascent;
2944 int16_t font_descent;
2945 uint32_t replies_hint;
2946 } xcb_list_fonts_with_info_reply_t;
2947
2948
2949 #define XCB_SET_FONT_PATH 51
2950
2951
2952
2953
2954 typedef struct xcb_set_font_path_request_t {
2955 uint8_t major_opcode;
2956 uint8_t pad0;
2957 uint16_t length;
2958 uint16_t font_qty;
2959 uint8_t pad1[2];
2960 } xcb_set_font_path_request_t;
2961
2962
2963
2964
2965 typedef struct xcb_get_font_path_cookie_t {
2966 unsigned int sequence;
2967 } xcb_get_font_path_cookie_t;
2968
2969
2970 #define XCB_GET_FONT_PATH 52
2971
2972
2973
2974
2975 typedef struct xcb_get_font_path_request_t {
2976 uint8_t major_opcode;
2977 uint8_t pad0;
2978 uint16_t length;
2979 } xcb_get_font_path_request_t;
2980
2981
2982
2983
2984 typedef struct xcb_get_font_path_reply_t {
2985 uint8_t response_type;
2986 uint8_t pad0;
2987 uint16_t sequence;
2988 uint32_t length;
2989 uint16_t path_len;
2990 uint8_t pad1[22];
2991 } xcb_get_font_path_reply_t;
2992
2993
2994 #define XCB_CREATE_PIXMAP 53
2995
2996
2997
2998
2999 typedef struct xcb_create_pixmap_request_t {
3000 uint8_t major_opcode;
3001 uint8_t depth;
3002 uint16_t length;
3003 xcb_pixmap_t pid;
3004 xcb_drawable_t drawable;
3005 uint16_t width;
3006 uint16_t height;
3007 } xcb_create_pixmap_request_t;
3008
3009
3010 #define XCB_FREE_PIXMAP 54
3011
3012
3013
3014
3015 typedef struct xcb_free_pixmap_request_t {
3016 uint8_t major_opcode;
3017 uint8_t pad0;
3018 uint16_t length;
3019 xcb_pixmap_t pixmap;
3020 } xcb_free_pixmap_request_t;
3021
3022 typedef enum xcb_gc_t {
3023 XCB_GC_FUNCTION = 1,
3024
3025
3026 XCB_GC_PLANE_MASK = 2,
3027
3028
3029
3030
3031
3032
3033
3034 XCB_GC_FOREGROUND = 4,
3035
3036
3037 XCB_GC_BACKGROUND = 8,
3038
3039
3040 XCB_GC_LINE_WIDTH = 16,
3041
3042
3043
3044 XCB_GC_LINE_STYLE = 32,
3045
3046
3047
3048
3049
3050
3051
3052
3053 XCB_GC_CAP_STYLE = 64,
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065 XCB_GC_JOIN_STYLE = 128,
3066
3067
3068
3069
3070
3071
3072
3073 XCB_GC_FILL_STYLE = 256,
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091 XCB_GC_FILL_RULE = 512,
3092
3093
3094 XCB_GC_TILE = 1024,
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108 XCB_GC_STIPPLE = 2048,
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122 XCB_GC_TILE_STIPPLE_ORIGIN_X = 4096,
3123
3124
3125 XCB_GC_TILE_STIPPLE_ORIGIN_Y = 8192,
3126
3127
3128 XCB_GC_FONT = 16384,
3129
3130
3131 XCB_GC_SUBWINDOW_MODE = 32768,
3132
3133
3134
3135
3136
3137
3138
3139
3140 XCB_GC_GRAPHICS_EXPOSURES = 65536,
3141
3142
3143
3144
3145 XCB_GC_CLIP_ORIGIN_X = 131072,
3146
3147
3148 XCB_GC_CLIP_ORIGIN_Y = 262144,
3149
3150
3151 XCB_GC_CLIP_MASK = 524288,
3152
3153
3154
3155
3156
3157
3158
3159
3160 XCB_GC_DASH_OFFSET = 1048576,
3161
3162
3163 XCB_GC_DASH_LIST = 2097152,
3164
3165
3166 XCB_GC_ARC_MODE = 4194304
3167
3168
3169 } xcb_gc_t;
3170
3171 typedef enum xcb_gx_t {
3172 XCB_GX_CLEAR = 0,
3173 XCB_GX_AND = 1,
3174 XCB_GX_AND_REVERSE = 2,
3175 XCB_GX_COPY = 3,
3176 XCB_GX_AND_INVERTED = 4,
3177 XCB_GX_NOOP = 5,
3178 XCB_GX_XOR = 6,
3179 XCB_GX_OR = 7,
3180 XCB_GX_NOR = 8,
3181 XCB_GX_EQUIV = 9,
3182 XCB_GX_INVERT = 10,
3183 XCB_GX_OR_REVERSE = 11,
3184 XCB_GX_COPY_INVERTED = 12,
3185 XCB_GX_OR_INVERTED = 13,
3186 XCB_GX_NAND = 14,
3187 XCB_GX_SET = 15
3188 } xcb_gx_t;
3189
3190 typedef enum xcb_line_style_t {
3191 XCB_LINE_STYLE_SOLID = 0,
3192 XCB_LINE_STYLE_ON_OFF_DASH = 1,
3193 XCB_LINE_STYLE_DOUBLE_DASH = 2
3194 } xcb_line_style_t;
3195
3196 typedef enum xcb_cap_style_t {
3197 XCB_CAP_STYLE_NOT_LAST = 0,
3198 XCB_CAP_STYLE_BUTT = 1,
3199 XCB_CAP_STYLE_ROUND = 2,
3200 XCB_CAP_STYLE_PROJECTING = 3
3201 } xcb_cap_style_t;
3202
3203 typedef enum xcb_join_style_t {
3204 XCB_JOIN_STYLE_MITER = 0,
3205 XCB_JOIN_STYLE_ROUND = 1,
3206 XCB_JOIN_STYLE_BEVEL = 2
3207 } xcb_join_style_t;
3208
3209 typedef enum xcb_fill_style_t {
3210 XCB_FILL_STYLE_SOLID = 0,
3211 XCB_FILL_STYLE_TILED = 1,
3212 XCB_FILL_STYLE_STIPPLED = 2,
3213 XCB_FILL_STYLE_OPAQUE_STIPPLED = 3
3214 } xcb_fill_style_t;
3215
3216 typedef enum xcb_fill_rule_t {
3217 XCB_FILL_RULE_EVEN_ODD = 0,
3218 XCB_FILL_RULE_WINDING = 1
3219 } xcb_fill_rule_t;
3220
3221 typedef enum xcb_subwindow_mode_t {
3222 XCB_SUBWINDOW_MODE_CLIP_BY_CHILDREN = 0,
3223 XCB_SUBWINDOW_MODE_INCLUDE_INFERIORS = 1
3224 } xcb_subwindow_mode_t;
3225
3226 typedef enum xcb_arc_mode_t {
3227 XCB_ARC_MODE_CHORD = 0,
3228 XCB_ARC_MODE_PIE_SLICE = 1
3229 } xcb_arc_mode_t;
3230
3231
3232
3233
3234 typedef struct xcb_create_gc_value_list_t {
3235 uint32_t function;
3236 uint32_t plane_mask;
3237 uint32_t foreground;
3238 uint32_t background;
3239 uint32_t line_width;
3240 uint32_t line_style;
3241 uint32_t cap_style;
3242 uint32_t join_style;
3243 uint32_t fill_style;
3244 uint32_t fill_rule;
3245 xcb_pixmap_t tile;
3246 xcb_pixmap_t stipple;
3247 int32_t tile_stipple_x_origin;
3248 int32_t tile_stipple_y_origin;
3249 xcb_font_t font;
3250 uint32_t subwindow_mode;
3251 xcb_bool32_t graphics_exposures;
3252 int32_t clip_x_origin;
3253 int32_t clip_y_origin;
3254 xcb_pixmap_t clip_mask;
3255 uint32_t dash_offset;
3256 uint32_t dashes;
3257 uint32_t arc_mode;
3258 } xcb_create_gc_value_list_t;
3259
3260
3261 #define XCB_CREATE_GC 55
3262
3263
3264
3265
3266 typedef struct xcb_create_gc_request_t {
3267 uint8_t major_opcode;
3268 uint8_t pad0;
3269 uint16_t length;
3270 xcb_gcontext_t cid;
3271 xcb_drawable_t drawable;
3272 uint32_t value_mask;
3273 } xcb_create_gc_request_t;
3274
3275
3276
3277
3278 typedef struct xcb_change_gc_value_list_t {
3279 uint32_t function;
3280 uint32_t plane_mask;
3281 uint32_t foreground;
3282 uint32_t background;
3283 uint32_t line_width;
3284 uint32_t line_style;
3285 uint32_t cap_style;
3286 uint32_t join_style;
3287 uint32_t fill_style;
3288 uint32_t fill_rule;
3289 xcb_pixmap_t tile;
3290 xcb_pixmap_t stipple;
3291 int32_t tile_stipple_x_origin;
3292 int32_t tile_stipple_y_origin;
3293 xcb_font_t font;
3294 uint32_t subwindow_mode;
3295 xcb_bool32_t graphics_exposures;
3296 int32_t clip_x_origin;
3297 int32_t clip_y_origin;
3298 xcb_pixmap_t clip_mask;
3299 uint32_t dash_offset;
3300 uint32_t dashes;
3301 uint32_t arc_mode;
3302 } xcb_change_gc_value_list_t;
3303
3304
3305 #define XCB_CHANGE_GC 56
3306
3307
3308
3309
3310 typedef struct xcb_change_gc_request_t {
3311 uint8_t major_opcode;
3312 uint8_t pad0;
3313 uint16_t length;
3314 xcb_gcontext_t gc;
3315 uint32_t value_mask;
3316 } xcb_change_gc_request_t;
3317
3318
3319 #define XCB_COPY_GC 57
3320
3321
3322
3323
3324 typedef struct xcb_copy_gc_request_t {
3325 uint8_t major_opcode;
3326 uint8_t pad0;
3327 uint16_t length;
3328 xcb_gcontext_t src_gc;
3329 xcb_gcontext_t dst_gc;
3330 uint32_t value_mask;
3331 } xcb_copy_gc_request_t;
3332
3333
3334 #define XCB_SET_DASHES 58
3335
3336
3337
3338
3339 typedef struct xcb_set_dashes_request_t {
3340 uint8_t major_opcode;
3341 uint8_t pad0;
3342 uint16_t length;
3343 xcb_gcontext_t gc;
3344 uint16_t dash_offset;
3345 uint16_t dashes_len;
3346 } xcb_set_dashes_request_t;
3347
3348 typedef enum xcb_clip_ordering_t {
3349 XCB_CLIP_ORDERING_UNSORTED = 0,
3350 XCB_CLIP_ORDERING_Y_SORTED = 1,
3351 XCB_CLIP_ORDERING_YX_SORTED = 2,
3352 XCB_CLIP_ORDERING_YX_BANDED = 3
3353 } xcb_clip_ordering_t;
3354
3355
3356 #define XCB_SET_CLIP_RECTANGLES 59
3357
3358
3359
3360
3361 typedef struct xcb_set_clip_rectangles_request_t {
3362 uint8_t major_opcode;
3363 uint8_t ordering;
3364 uint16_t length;
3365 xcb_gcontext_t gc;
3366 int16_t clip_x_origin;
3367 int16_t clip_y_origin;
3368 } xcb_set_clip_rectangles_request_t;
3369
3370
3371 #define XCB_FREE_GC 60
3372
3373
3374
3375
3376 typedef struct xcb_free_gc_request_t {
3377 uint8_t major_opcode;
3378 uint8_t pad0;
3379 uint16_t length;
3380 xcb_gcontext_t gc;
3381 } xcb_free_gc_request_t;
3382
3383
3384 #define XCB_CLEAR_AREA 61
3385
3386
3387
3388
3389 typedef struct xcb_clear_area_request_t {
3390 uint8_t major_opcode;
3391 uint8_t exposures;
3392 uint16_t length;
3393 xcb_window_t window;
3394 int16_t x;
3395 int16_t y;
3396 uint16_t width;
3397 uint16_t height;
3398 } xcb_clear_area_request_t;
3399
3400
3401 #define XCB_COPY_AREA 62
3402
3403
3404
3405
3406 typedef struct xcb_copy_area_request_t {
3407 uint8_t major_opcode;
3408 uint8_t pad0;
3409 uint16_t length;
3410 xcb_drawable_t src_drawable;
3411 xcb_drawable_t dst_drawable;
3412 xcb_gcontext_t gc;
3413 int16_t src_x;
3414 int16_t src_y;
3415 int16_t dst_x;
3416 int16_t dst_y;
3417 uint16_t width;
3418 uint16_t height;
3419 } xcb_copy_area_request_t;
3420
3421
3422 #define XCB_COPY_PLANE 63
3423
3424
3425
3426
3427 typedef struct xcb_copy_plane_request_t {
3428 uint8_t major_opcode;
3429 uint8_t pad0;
3430 uint16_t length;
3431 xcb_drawable_t src_drawable;
3432 xcb_drawable_t dst_drawable;
3433 xcb_gcontext_t gc;
3434 int16_t src_x;
3435 int16_t src_y;
3436 int16_t dst_x;
3437 int16_t dst_y;
3438 uint16_t width;
3439 uint16_t height;
3440 uint32_t bit_plane;
3441 } xcb_copy_plane_request_t;
3442
3443 typedef enum xcb_coord_mode_t {
3444 XCB_COORD_MODE_ORIGIN = 0,
3445
3446
3447 XCB_COORD_MODE_PREVIOUS = 1
3448
3449
3450 } xcb_coord_mode_t;
3451
3452
3453 #define XCB_POLY_POINT 64
3454
3455
3456
3457
3458 typedef struct xcb_poly_point_request_t {
3459 uint8_t major_opcode;
3460 uint8_t coordinate_mode;
3461 uint16_t length;
3462 xcb_drawable_t drawable;
3463 xcb_gcontext_t gc;
3464 } xcb_poly_point_request_t;
3465
3466
3467 #define XCB_POLY_LINE 65
3468
3469
3470
3471
3472 typedef struct xcb_poly_line_request_t {
3473 uint8_t major_opcode;
3474 uint8_t coordinate_mode;
3475 uint16_t length;
3476 xcb_drawable_t drawable;
3477 xcb_gcontext_t gc;
3478 } xcb_poly_line_request_t;
3479
3480
3481
3482
3483 typedef struct xcb_segment_t {
3484 int16_t x1;
3485 int16_t y1;
3486 int16_t x2;
3487 int16_t y2;
3488 } xcb_segment_t;
3489
3490
3491
3492
3493 typedef struct xcb_segment_iterator_t {
3494 xcb_segment_t *data;
3495 int rem;
3496 int index;
3497 } xcb_segment_iterator_t;
3498
3499
3500 #define XCB_POLY_SEGMENT 66
3501
3502
3503
3504
3505 typedef struct xcb_poly_segment_request_t {
3506 uint8_t major_opcode;
3507 uint8_t pad0;
3508 uint16_t length;
3509 xcb_drawable_t drawable;
3510 xcb_gcontext_t gc;
3511 } xcb_poly_segment_request_t;
3512
3513
3514 #define XCB_POLY_RECTANGLE 67
3515
3516
3517
3518
3519 typedef struct xcb_poly_rectangle_request_t {
3520 uint8_t major_opcode;
3521 uint8_t pad0;
3522 uint16_t length;
3523 xcb_drawable_t drawable;
3524 xcb_gcontext_t gc;
3525 } xcb_poly_rectangle_request_t;
3526
3527
3528 #define XCB_POLY_ARC 68
3529
3530
3531
3532
3533 typedef struct xcb_poly_arc_request_t {
3534 uint8_t major_opcode;
3535 uint8_t pad0;
3536 uint16_t length;
3537 xcb_drawable_t drawable;
3538 xcb_gcontext_t gc;
3539 } xcb_poly_arc_request_t;
3540
3541 typedef enum xcb_poly_shape_t {
3542 XCB_POLY_SHAPE_COMPLEX = 0,
3543 XCB_POLY_SHAPE_NONCONVEX = 1,
3544 XCB_POLY_SHAPE_CONVEX = 2
3545 } xcb_poly_shape_t;
3546
3547
3548 #define XCB_FILL_POLY 69
3549
3550
3551
3552
3553 typedef struct xcb_fill_poly_request_t {
3554 uint8_t major_opcode;
3555 uint8_t pad0;
3556 uint16_t length;
3557 xcb_drawable_t drawable;
3558 xcb_gcontext_t gc;
3559 uint8_t shape;
3560 uint8_t coordinate_mode;
3561 uint8_t pad1[2];
3562 } xcb_fill_poly_request_t;
3563
3564
3565 #define XCB_POLY_FILL_RECTANGLE 70
3566
3567
3568
3569
3570 typedef struct xcb_poly_fill_rectangle_request_t {
3571 uint8_t major_opcode;
3572 uint8_t pad0;
3573 uint16_t length;
3574 xcb_drawable_t drawable;
3575 xcb_gcontext_t gc;
3576 } xcb_poly_fill_rectangle_request_t;
3577
3578
3579 #define XCB_POLY_FILL_ARC 71
3580
3581
3582
3583
3584 typedef struct xcb_poly_fill_arc_request_t {
3585 uint8_t major_opcode;
3586 uint8_t pad0;
3587 uint16_t length;
3588 xcb_drawable_t drawable;
3589 xcb_gcontext_t gc;
3590 } xcb_poly_fill_arc_request_t;
3591
3592 typedef enum xcb_image_format_t {
3593 XCB_IMAGE_FORMAT_XY_BITMAP = 0,
3594 XCB_IMAGE_FORMAT_XY_PIXMAP = 1,
3595 XCB_IMAGE_FORMAT_Z_PIXMAP = 2
3596 } xcb_image_format_t;
3597
3598
3599 #define XCB_PUT_IMAGE 72
3600
3601
3602
3603
3604 typedef struct xcb_put_image_request_t {
3605 uint8_t major_opcode;
3606 uint8_t format;
3607 uint16_t length;
3608 xcb_drawable_t drawable;
3609 xcb_gcontext_t gc;
3610 uint16_t width;
3611 uint16_t height;
3612 int16_t dst_x;
3613 int16_t dst_y;
3614 uint8_t left_pad;
3615 uint8_t depth;
3616 uint8_t pad0[2];
3617 } xcb_put_image_request_t;
3618
3619
3620
3621
3622 typedef struct xcb_get_image_cookie_t {
3623 unsigned int sequence;
3624 } xcb_get_image_cookie_t;
3625
3626
3627 #define XCB_GET_IMAGE 73
3628
3629
3630
3631
3632 typedef struct xcb_get_image_request_t {
3633 uint8_t major_opcode;
3634 uint8_t format;
3635 uint16_t length;
3636 xcb_drawable_t drawable;
3637 int16_t x;
3638 int16_t y;
3639 uint16_t width;
3640 uint16_t height;
3641 uint32_t plane_mask;
3642 } xcb_get_image_request_t;
3643
3644
3645
3646
3647 typedef struct xcb_get_image_reply_t {
3648 uint8_t response_type;
3649 uint8_t depth;
3650 uint16_t sequence;
3651 uint32_t length;
3652 xcb_visualid_t visual;
3653 uint8_t pad0[20];
3654 } xcb_get_image_reply_t;
3655
3656
3657 #define XCB_POLY_TEXT_8 74
3658
3659
3660
3661
3662 typedef struct xcb_poly_text_8_request_t {
3663 uint8_t major_opcode;
3664 uint8_t pad0;
3665 uint16_t length;
3666 xcb_drawable_t drawable;
3667 xcb_gcontext_t gc;
3668 int16_t x;
3669 int16_t y;
3670 } xcb_poly_text_8_request_t;
3671
3672
3673 #define XCB_POLY_TEXT_16 75
3674
3675
3676
3677
3678 typedef struct xcb_poly_text_16_request_t {
3679 uint8_t major_opcode;
3680 uint8_t pad0;
3681 uint16_t length;
3682 xcb_drawable_t drawable;
3683 xcb_gcontext_t gc;
3684 int16_t x;
3685 int16_t y;
3686 } xcb_poly_text_16_request_t;
3687
3688
3689 #define XCB_IMAGE_TEXT_8 76
3690
3691
3692
3693
3694 typedef struct xcb_image_text_8_request_t {
3695 uint8_t major_opcode;
3696 uint8_t string_len;
3697 uint16_t length;
3698 xcb_drawable_t drawable;
3699 xcb_gcontext_t gc;
3700 int16_t x;
3701 int16_t y;
3702 } xcb_image_text_8_request_t;
3703
3704
3705 #define XCB_IMAGE_TEXT_16 77
3706
3707
3708
3709
3710 typedef struct xcb_image_text_16_request_t {
3711 uint8_t major_opcode;
3712 uint8_t string_len;
3713 uint16_t length;
3714 xcb_drawable_t drawable;
3715 xcb_gcontext_t gc;
3716 int16_t x;
3717 int16_t y;
3718 } xcb_image_text_16_request_t;
3719
3720 typedef enum xcb_colormap_alloc_t {
3721 XCB_COLORMAP_ALLOC_NONE = 0,
3722 XCB_COLORMAP_ALLOC_ALL = 1
3723 } xcb_colormap_alloc_t;
3724
3725
3726 #define XCB_CREATE_COLORMAP 78
3727
3728
3729
3730
3731 typedef struct xcb_create_colormap_request_t {
3732 uint8_t major_opcode;
3733 uint8_t alloc;
3734 uint16_t length;
3735 xcb_colormap_t mid;
3736 xcb_window_t window;
3737 xcb_visualid_t visual;
3738 } xcb_create_colormap_request_t;
3739
3740
3741 #define XCB_FREE_COLORMAP 79
3742
3743
3744
3745
3746 typedef struct xcb_free_colormap_request_t {
3747 uint8_t major_opcode;
3748 uint8_t pad0;
3749 uint16_t length;
3750 xcb_colormap_t cmap;
3751 } xcb_free_colormap_request_t;
3752
3753
3754 #define XCB_COPY_COLORMAP_AND_FREE 80
3755
3756
3757
3758
3759 typedef struct xcb_copy_colormap_and_free_request_t {
3760 uint8_t major_opcode;
3761 uint8_t pad0;
3762 uint16_t length;
3763 xcb_colormap_t mid;
3764 xcb_colormap_t src_cmap;
3765 } xcb_copy_colormap_and_free_request_t;
3766
3767
3768 #define XCB_INSTALL_COLORMAP 81
3769
3770
3771
3772
3773 typedef struct xcb_install_colormap_request_t {
3774 uint8_t major_opcode;
3775 uint8_t pad0;
3776 uint16_t length;
3777 xcb_colormap_t cmap;
3778 } xcb_install_colormap_request_t;
3779
3780
3781 #define XCB_UNINSTALL_COLORMAP 82
3782
3783
3784
3785
3786 typedef struct xcb_uninstall_colormap_request_t {
3787 uint8_t major_opcode;
3788 uint8_t pad0;
3789 uint16_t length;
3790 xcb_colormap_t cmap;
3791 } xcb_uninstall_colormap_request_t;
3792
3793
3794
3795
3796 typedef struct xcb_list_installed_colormaps_cookie_t {
3797 unsigned int sequence;
3798 } xcb_list_installed_colormaps_cookie_t;
3799
3800
3801 #define XCB_LIST_INSTALLED_COLORMAPS 83
3802
3803
3804
3805
3806 typedef struct xcb_list_installed_colormaps_request_t {
3807 uint8_t major_opcode;
3808 uint8_t pad0;
3809 uint16_t length;
3810 xcb_window_t window;
3811 } xcb_list_installed_colormaps_request_t;
3812
3813
3814
3815
3816 typedef struct xcb_list_installed_colormaps_reply_t {
3817 uint8_t response_type;
3818 uint8_t pad0;
3819 uint16_t sequence;
3820 uint32_t length;
3821 uint16_t cmaps_len;
3822 uint8_t pad1[22];
3823 } xcb_list_installed_colormaps_reply_t;
3824
3825
3826
3827
3828 typedef struct xcb_alloc_color_cookie_t {
3829 unsigned int sequence;
3830 } xcb_alloc_color_cookie_t;
3831
3832
3833 #define XCB_ALLOC_COLOR 84
3834
3835
3836
3837
3838 typedef struct xcb_alloc_color_request_t {
3839 uint8_t major_opcode;
3840 uint8_t pad0;
3841 uint16_t length;
3842 xcb_colormap_t cmap;
3843 uint16_t red;
3844 uint16_t green;
3845 uint16_t blue;
3846 uint8_t pad1[2];
3847 } xcb_alloc_color_request_t;
3848
3849
3850
3851
3852 typedef struct xcb_alloc_color_reply_t {
3853 uint8_t response_type;
3854 uint8_t pad0;
3855 uint16_t sequence;
3856 uint32_t length;
3857 uint16_t red;
3858 uint16_t green;
3859 uint16_t blue;
3860 uint8_t pad1[2];
3861 uint32_t pixel;
3862 } xcb_alloc_color_reply_t;
3863
3864
3865
3866
3867 typedef struct xcb_alloc_named_color_cookie_t {
3868 unsigned int sequence;
3869 } xcb_alloc_named_color_cookie_t;
3870
3871
3872 #define XCB_ALLOC_NAMED_COLOR 85
3873
3874
3875
3876
3877 typedef struct xcb_alloc_named_color_request_t {
3878 uint8_t major_opcode;
3879 uint8_t pad0;
3880 uint16_t length;
3881 xcb_colormap_t cmap;
3882 uint16_t name_len;
3883 uint8_t pad1[2];
3884 } xcb_alloc_named_color_request_t;
3885
3886
3887
3888
3889 typedef struct xcb_alloc_named_color_reply_t {
3890 uint8_t response_type;
3891 uint8_t pad0;
3892 uint16_t sequence;
3893 uint32_t length;
3894 uint32_t pixel;
3895 uint16_t exact_red;
3896 uint16_t exact_green;
3897 uint16_t exact_blue;
3898 uint16_t visual_red;
3899 uint16_t visual_green;
3900 uint16_t visual_blue;
3901 } xcb_alloc_named_color_reply_t;
3902
3903
3904
3905
3906 typedef struct xcb_alloc_color_cells_cookie_t {
3907 unsigned int sequence;
3908 } xcb_alloc_color_cells_cookie_t;
3909
3910
3911 #define XCB_ALLOC_COLOR_CELLS 86
3912
3913
3914
3915
3916 typedef struct xcb_alloc_color_cells_request_t {
3917 uint8_t major_opcode;
3918 uint8_t contiguous;
3919 uint16_t length;
3920 xcb_colormap_t cmap;
3921 uint16_t colors;
3922 uint16_t planes;
3923 } xcb_alloc_color_cells_request_t;
3924
3925
3926
3927
3928 typedef struct xcb_alloc_color_cells_reply_t {
3929 uint8_t response_type;
3930 uint8_t pad0;
3931 uint16_t sequence;
3932 uint32_t length;
3933 uint16_t pixels_len;
3934 uint16_t masks_len;
3935 uint8_t pad1[20];
3936 } xcb_alloc_color_cells_reply_t;
3937
3938
3939
3940
3941 typedef struct xcb_alloc_color_planes_cookie_t {
3942 unsigned int sequence;
3943 } xcb_alloc_color_planes_cookie_t;
3944
3945
3946 #define XCB_ALLOC_COLOR_PLANES 87
3947
3948
3949
3950
3951 typedef struct xcb_alloc_color_planes_request_t {
3952 uint8_t major_opcode;
3953 uint8_t contiguous;
3954 uint16_t length;
3955 xcb_colormap_t cmap;
3956 uint16_t colors;
3957 uint16_t reds;
3958 uint16_t greens;
3959 uint16_t blues;
3960 } xcb_alloc_color_planes_request_t;
3961
3962
3963
3964
3965 typedef struct xcb_alloc_color_planes_reply_t {
3966 uint8_t response_type;
3967 uint8_t pad0;
3968 uint16_t sequence;
3969 uint32_t length;
3970 uint16_t pixels_len;
3971 uint8_t pad1[2];
3972 uint32_t red_mask;
3973 uint32_t green_mask;
3974 uint32_t blue_mask;
3975 uint8_t pad2[8];
3976 } xcb_alloc_color_planes_reply_t;
3977
3978
3979 #define XCB_FREE_COLORS 88
3980
3981
3982
3983
3984 typedef struct xcb_free_colors_request_t {
3985 uint8_t major_opcode;
3986 uint8_t pad0;
3987 uint16_t length;
3988 xcb_colormap_t cmap;
3989 uint32_t plane_mask;
3990 } xcb_free_colors_request_t;
3991
3992 typedef enum xcb_color_flag_t {
3993 XCB_COLOR_FLAG_RED = 1,
3994 XCB_COLOR_FLAG_GREEN = 2,
3995 XCB_COLOR_FLAG_BLUE = 4
3996 } xcb_color_flag_t;
3997
3998
3999
4000
4001 typedef struct xcb_coloritem_t {
4002 uint32_t pixel;
4003 uint16_t red;
4004 uint16_t green;
4005 uint16_t blue;
4006 uint8_t flags;
4007 uint8_t pad0;
4008 } xcb_coloritem_t;
4009
4010
4011
4012
4013 typedef struct xcb_coloritem_iterator_t {
4014 xcb_coloritem_t *data;
4015 int rem;
4016 int index;
4017 } xcb_coloritem_iterator_t;
4018
4019
4020 #define XCB_STORE_COLORS 89
4021
4022
4023
4024
4025 typedef struct xcb_store_colors_request_t {
4026 uint8_t major_opcode;
4027 uint8_t pad0;
4028 uint16_t length;
4029 xcb_colormap_t cmap;
4030 } xcb_store_colors_request_t;
4031
4032
4033 #define XCB_STORE_NAMED_COLOR 90
4034
4035
4036
4037
4038 typedef struct xcb_store_named_color_request_t {
4039 uint8_t major_opcode;
4040 uint8_t flags;
4041 uint16_t length;
4042 xcb_colormap_t cmap;
4043 uint32_t pixel;
4044 uint16_t name_len;
4045 uint8_t pad0[2];
4046 } xcb_store_named_color_request_t;
4047
4048
4049
4050
4051 typedef struct xcb_rgb_t {
4052 uint16_t red;
4053 uint16_t green;
4054 uint16_t blue;
4055 uint8_t pad0[2];
4056 } xcb_rgb_t;
4057
4058
4059
4060
4061 typedef struct xcb_rgb_iterator_t {
4062 xcb_rgb_t *data;
4063 int rem;
4064 int index;
4065 } xcb_rgb_iterator_t;
4066
4067
4068
4069
4070 typedef struct xcb_query_colors_cookie_t {
4071 unsigned int sequence;
4072 } xcb_query_colors_cookie_t;
4073
4074
4075 #define XCB_QUERY_COLORS 91
4076
4077
4078
4079
4080 typedef struct xcb_query_colors_request_t {
4081 uint8_t major_opcode;
4082 uint8_t pad0;
4083 uint16_t length;
4084 xcb_colormap_t cmap;
4085 } xcb_query_colors_request_t;
4086
4087
4088
4089
4090 typedef struct xcb_query_colors_reply_t {
4091 uint8_t response_type;
4092 uint8_t pad0;
4093 uint16_t sequence;
4094 uint32_t length;
4095 uint16_t colors_len;
4096 uint8_t pad1[22];
4097 } xcb_query_colors_reply_t;
4098
4099
4100
4101
4102 typedef struct xcb_lookup_color_cookie_t {
4103 unsigned int sequence;
4104 } xcb_lookup_color_cookie_t;
4105
4106
4107 #define XCB_LOOKUP_COLOR 92
4108
4109
4110
4111
4112 typedef struct xcb_lookup_color_request_t {
4113 uint8_t major_opcode;
4114 uint8_t pad0;
4115 uint16_t length;
4116 xcb_colormap_t cmap;
4117 uint16_t name_len;
4118 uint8_t pad1[2];
4119 } xcb_lookup_color_request_t;
4120
4121
4122
4123
4124 typedef struct xcb_lookup_color_reply_t {
4125 uint8_t response_type;
4126 uint8_t pad0;
4127 uint16_t sequence;
4128 uint32_t length;
4129 uint16_t exact_red;
4130 uint16_t exact_green;
4131 uint16_t exact_blue;
4132 uint16_t visual_red;
4133 uint16_t visual_green;
4134 uint16_t visual_blue;
4135 } xcb_lookup_color_reply_t;
4136
4137 typedef enum xcb_pixmap_enum_t {
4138 XCB_PIXMAP_NONE = 0
4139 } xcb_pixmap_enum_t;
4140
4141
4142 #define XCB_CREATE_CURSOR 93
4143
4144
4145
4146
4147 typedef struct xcb_create_cursor_request_t {
4148 uint8_t major_opcode;
4149 uint8_t pad0;
4150 uint16_t length;
4151 xcb_cursor_t cid;
4152 xcb_pixmap_t source;
4153 xcb_pixmap_t mask;
4154 uint16_t fore_red;
4155 uint16_t fore_green;
4156 uint16_t fore_blue;
4157 uint16_t back_red;
4158 uint16_t back_green;
4159 uint16_t back_blue;
4160 uint16_t x;
4161 uint16_t y;
4162 } xcb_create_cursor_request_t;
4163
4164 typedef enum xcb_font_enum_t {
4165 XCB_FONT_NONE = 0
4166 } xcb_font_enum_t;
4167
4168
4169 #define XCB_CREATE_GLYPH_CURSOR 94
4170
4171
4172
4173
4174 typedef struct xcb_create_glyph_cursor_request_t {
4175 uint8_t major_opcode;
4176 uint8_t pad0;
4177 uint16_t length;
4178 xcb_cursor_t cid;
4179 xcb_font_t source_font;
4180 xcb_font_t mask_font;
4181 uint16_t source_char;
4182 uint16_t mask_char;
4183 uint16_t fore_red;
4184 uint16_t fore_green;
4185 uint16_t fore_blue;
4186 uint16_t back_red;
4187 uint16_t back_green;
4188 uint16_t back_blue;
4189 } xcb_create_glyph_cursor_request_t;
4190
4191
4192 #define XCB_FREE_CURSOR 95
4193
4194
4195
4196
4197 typedef struct xcb_free_cursor_request_t {
4198 uint8_t major_opcode;
4199 uint8_t pad0;
4200 uint16_t length;
4201 xcb_cursor_t cursor;
4202 } xcb_free_cursor_request_t;
4203
4204
4205 #define XCB_RECOLOR_CURSOR 96
4206
4207
4208
4209
4210 typedef struct xcb_recolor_cursor_request_t {
4211 uint8_t major_opcode;
4212 uint8_t pad0;
4213 uint16_t length;
4214 xcb_cursor_t cursor;
4215 uint16_t fore_red;
4216 uint16_t fore_green;
4217 uint16_t fore_blue;
4218 uint16_t back_red;
4219 uint16_t back_green;
4220 uint16_t back_blue;
4221 } xcb_recolor_cursor_request_t;
4222
4223 typedef enum xcb_query_shape_of_t {
4224 XCB_QUERY_SHAPE_OF_LARGEST_CURSOR = 0,
4225 XCB_QUERY_SHAPE_OF_FASTEST_TILE = 1,
4226 XCB_QUERY_SHAPE_OF_FASTEST_STIPPLE = 2
4227 } xcb_query_shape_of_t;
4228
4229
4230
4231
4232 typedef struct xcb_query_best_size_cookie_t {
4233 unsigned int sequence;
4234 } xcb_query_best_size_cookie_t;
4235
4236
4237 #define XCB_QUERY_BEST_SIZE 97
4238
4239
4240
4241
4242 typedef struct xcb_query_best_size_request_t {
4243 uint8_t major_opcode;
4244 uint8_t _class;
4245 uint16_t length;
4246 xcb_drawable_t drawable;
4247 uint16_t width;
4248 uint16_t height;
4249 } xcb_query_best_size_request_t;
4250
4251
4252
4253
4254 typedef struct xcb_query_best_size_reply_t {
4255 uint8_t response_type;
4256 uint8_t pad0;
4257 uint16_t sequence;
4258 uint32_t length;
4259 uint16_t width;
4260 uint16_t height;
4261 } xcb_query_best_size_reply_t;
4262
4263
4264
4265
4266 typedef struct xcb_query_extension_cookie_t {
4267 unsigned int sequence;
4268 } xcb_query_extension_cookie_t;
4269
4270
4271 #define XCB_QUERY_EXTENSION 98
4272
4273
4274
4275
4276 typedef struct xcb_query_extension_request_t {
4277 uint8_t major_opcode;
4278 uint8_t pad0;
4279 uint16_t length;
4280 uint16_t name_len;
4281 uint8_t pad1[2];
4282 } xcb_query_extension_request_t;
4283
4284
4285
4286
4287 typedef struct xcb_query_extension_reply_t {
4288 uint8_t response_type;
4289 uint8_t pad0;
4290 uint16_t sequence;
4291 uint32_t length;
4292 uint8_t present;
4293 uint8_t major_opcode;
4294 uint8_t first_event;
4295 uint8_t first_error;
4296 } xcb_query_extension_reply_t;
4297
4298
4299
4300
4301 typedef struct xcb_list_extensions_cookie_t {
4302 unsigned int sequence;
4303 } xcb_list_extensions_cookie_t;
4304
4305
4306 #define XCB_LIST_EXTENSIONS 99
4307
4308
4309
4310
4311 typedef struct xcb_list_extensions_request_t {
4312 uint8_t major_opcode;
4313 uint8_t pad0;
4314 uint16_t length;
4315 } xcb_list_extensions_request_t;
4316
4317
4318
4319
4320 typedef struct xcb_list_extensions_reply_t {
4321 uint8_t response_type;
4322 uint8_t names_len;
4323 uint16_t sequence;
4324 uint32_t length;
4325 uint8_t pad0[24];
4326 } xcb_list_extensions_reply_t;
4327
4328
4329 #define XCB_CHANGE_KEYBOARD_MAPPING 100
4330
4331
4332
4333
4334 typedef struct xcb_change_keyboard_mapping_request_t {
4335 uint8_t major_opcode;
4336 uint8_t keycode_count;
4337 uint16_t length;
4338 xcb_keycode_t first_keycode;
4339 uint8_t keysyms_per_keycode;
4340 uint8_t pad0[2];
4341 } xcb_change_keyboard_mapping_request_t;
4342
4343
4344
4345
4346 typedef struct xcb_get_keyboard_mapping_cookie_t {
4347 unsigned int sequence;
4348 } xcb_get_keyboard_mapping_cookie_t;
4349
4350
4351 #define XCB_GET_KEYBOARD_MAPPING 101
4352
4353
4354
4355
4356 typedef struct xcb_get_keyboard_mapping_request_t {
4357 uint8_t major_opcode;
4358 uint8_t pad0;
4359 uint16_t length;
4360 xcb_keycode_t first_keycode;
4361 uint8_t count;
4362 } xcb_get_keyboard_mapping_request_t;
4363
4364
4365
4366
4367 typedef struct xcb_get_keyboard_mapping_reply_t {
4368 uint8_t response_type;
4369 uint8_t keysyms_per_keycode;
4370 uint16_t sequence;
4371 uint32_t length;
4372 uint8_t pad0[24];
4373 } xcb_get_keyboard_mapping_reply_t;
4374
4375 typedef enum xcb_kb_t {
4376 XCB_KB_KEY_CLICK_PERCENT = 1,
4377 XCB_KB_BELL_PERCENT = 2,
4378 XCB_KB_BELL_PITCH = 4,
4379 XCB_KB_BELL_DURATION = 8,
4380 XCB_KB_LED = 16,
4381 XCB_KB_LED_MODE = 32,
4382 XCB_KB_KEY = 64,
4383 XCB_KB_AUTO_REPEAT_MODE = 128
4384 } xcb_kb_t;
4385
4386 typedef enum xcb_led_mode_t {
4387 XCB_LED_MODE_OFF = 0,
4388 XCB_LED_MODE_ON = 1
4389 } xcb_led_mode_t;
4390
4391 typedef enum xcb_auto_repeat_mode_t {
4392 XCB_AUTO_REPEAT_MODE_OFF = 0,
4393 XCB_AUTO_REPEAT_MODE_ON = 1,
4394 XCB_AUTO_REPEAT_MODE_DEFAULT = 2
4395 } xcb_auto_repeat_mode_t;
4396
4397
4398
4399
4400 typedef struct xcb_change_keyboard_control_value_list_t {
4401 int32_t key_click_percent;
4402 int32_t bell_percent;
4403 int32_t bell_pitch;
4404 int32_t bell_duration;
4405 uint32_t led;
4406 uint32_t led_mode;
4407 xcb_keycode32_t key;
4408 uint32_t auto_repeat_mode;
4409 } xcb_change_keyboard_control_value_list_t;
4410
4411
4412 #define XCB_CHANGE_KEYBOARD_CONTROL 102
4413
4414
4415
4416
4417 typedef struct xcb_change_keyboard_control_request_t {
4418 uint8_t major_opcode;
4419 uint8_t pad0;
4420 uint16_t length;
4421 uint32_t value_mask;
4422 } xcb_change_keyboard_control_request_t;
4423
4424
4425
4426
4427 typedef struct xcb_get_keyboard_control_cookie_t {
4428 unsigned int sequence;
4429 } xcb_get_keyboard_control_cookie_t;
4430
4431
4432 #define XCB_GET_KEYBOARD_CONTROL 103
4433
4434
4435
4436
4437 typedef struct xcb_get_keyboard_control_request_t {
4438 uint8_t major_opcode;
4439 uint8_t pad0;
4440 uint16_t length;
4441 } xcb_get_keyboard_control_request_t;
4442
4443
4444
4445
4446 typedef struct xcb_get_keyboard_control_reply_t {
4447 uint8_t response_type;
4448 uint8_t global_auto_repeat;
4449 uint16_t sequence;
4450 uint32_t length;
4451 uint32_t led_mask;
4452 uint8_t key_click_percent;
4453 uint8_t bell_percent;
4454 uint16_t bell_pitch;
4455 uint16_t bell_duration;
4456 uint8_t pad0[2];
4457 uint8_t auto_repeats[32];
4458 } xcb_get_keyboard_control_reply_t;
4459
4460
4461 #define XCB_BELL 104
4462
4463
4464
4465
4466 typedef struct xcb_bell_request_t {
4467 uint8_t major_opcode;
4468 int8_t percent;
4469 uint16_t length;
4470 } xcb_bell_request_t;
4471
4472
4473 #define XCB_CHANGE_POINTER_CONTROL 105
4474
4475
4476
4477
4478 typedef struct xcb_change_pointer_control_request_t {
4479 uint8_t major_opcode;
4480 uint8_t pad0;
4481 uint16_t length;
4482 int16_t acceleration_numerator;
4483 int16_t acceleration_denominator;
4484 int16_t threshold;
4485 uint8_t do_acceleration;
4486 uint8_t do_threshold;
4487 } xcb_change_pointer_control_request_t;
4488
4489
4490
4491
4492 typedef struct xcb_get_pointer_control_cookie_t {
4493 unsigned int sequence;
4494 } xcb_get_pointer_control_cookie_t;
4495
4496
4497 #define XCB_GET_POINTER_CONTROL 106
4498
4499
4500
4501
4502 typedef struct xcb_get_pointer_control_request_t {
4503 uint8_t major_opcode;
4504 uint8_t pad0;
4505 uint16_t length;
4506 } xcb_get_pointer_control_request_t;
4507
4508
4509
4510
4511 typedef struct xcb_get_pointer_control_reply_t {
4512 uint8_t response_type;
4513 uint8_t pad0;
4514 uint16_t sequence;
4515 uint32_t length;
4516 uint16_t acceleration_numerator;
4517 uint16_t acceleration_denominator;
4518 uint16_t threshold;
4519 uint8_t pad1[18];
4520 } xcb_get_pointer_control_reply_t;
4521
4522 typedef enum xcb_blanking_t {
4523 XCB_BLANKING_NOT_PREFERRED = 0,
4524 XCB_BLANKING_PREFERRED = 1,
4525 XCB_BLANKING_DEFAULT = 2
4526 } xcb_blanking_t;
4527
4528 typedef enum xcb_exposures_t {
4529 XCB_EXPOSURES_NOT_ALLOWED = 0,
4530 XCB_EXPOSURES_ALLOWED = 1,
4531 XCB_EXPOSURES_DEFAULT = 2
4532 } xcb_exposures_t;
4533
4534
4535 #define XCB_SET_SCREEN_SAVER 107
4536
4537
4538
4539
4540 typedef struct xcb_set_screen_saver_request_t {
4541 uint8_t major_opcode;
4542 uint8_t pad0;
4543 uint16_t length;
4544 int16_t timeout;
4545 int16_t interval;
4546 uint8_t prefer_blanking;
4547 uint8_t allow_exposures;
4548 } xcb_set_screen_saver_request_t;
4549
4550
4551
4552
4553 typedef struct xcb_get_screen_saver_cookie_t {
4554 unsigned int sequence;
4555 } xcb_get_screen_saver_cookie_t;
4556
4557
4558 #define XCB_GET_SCREEN_SAVER 108
4559
4560
4561
4562
4563 typedef struct xcb_get_screen_saver_request_t {
4564 uint8_t major_opcode;
4565 uint8_t pad0;
4566 uint16_t length;
4567 } xcb_get_screen_saver_request_t;
4568
4569
4570
4571
4572 typedef struct xcb_get_screen_saver_reply_t {
4573 uint8_t response_type;
4574 uint8_t pad0;
4575 uint16_t sequence;
4576 uint32_t length;
4577 uint16_t timeout;
4578 uint16_t interval;
4579 uint8_t prefer_blanking;
4580 uint8_t allow_exposures;
4581 uint8_t pad1[18];
4582 } xcb_get_screen_saver_reply_t;
4583
4584 typedef enum xcb_host_mode_t {
4585 XCB_HOST_MODE_INSERT = 0,
4586 XCB_HOST_MODE_DELETE = 1
4587 } xcb_host_mode_t;
4588
4589 typedef enum xcb_family_t {
4590 XCB_FAMILY_INTERNET = 0,
4591 XCB_FAMILY_DECNET = 1,
4592 XCB_FAMILY_CHAOS = 2,
4593 XCB_FAMILY_SERVER_INTERPRETED = 5,
4594 XCB_FAMILY_INTERNET_6 = 6
4595 } xcb_family_t;
4596
4597
4598 #define XCB_CHANGE_HOSTS 109
4599
4600
4601
4602
4603 typedef struct xcb_change_hosts_request_t {
4604 uint8_t major_opcode;
4605 uint8_t mode;
4606 uint16_t length;
4607 uint8_t family;
4608 uint8_t pad0;
4609 uint16_t address_len;
4610 } xcb_change_hosts_request_t;
4611
4612
4613
4614
4615 typedef struct xcb_host_t {
4616 uint8_t family;
4617 uint8_t pad0;
4618 uint16_t address_len;
4619 } xcb_host_t;
4620
4621
4622
4623
4624 typedef struct xcb_host_iterator_t {
4625 xcb_host_t *data;
4626 int rem;
4627 int index;
4628 } xcb_host_iterator_t;
4629
4630
4631
4632
4633 typedef struct xcb_list_hosts_cookie_t {
4634 unsigned int sequence;
4635 } xcb_list_hosts_cookie_t;
4636
4637
4638 #define XCB_LIST_HOSTS 110
4639
4640
4641
4642
4643 typedef struct xcb_list_hosts_request_t {
4644 uint8_t major_opcode;
4645 uint8_t pad0;
4646 uint16_t length;
4647 } xcb_list_hosts_request_t;
4648
4649
4650
4651
4652 typedef struct xcb_list_hosts_reply_t {
4653 uint8_t response_type;
4654 uint8_t mode;
4655 uint16_t sequence;
4656 uint32_t length;
4657 uint16_t hosts_len;
4658 uint8_t pad0[22];
4659 } xcb_list_hosts_reply_t;
4660
4661 typedef enum xcb_access_control_t {
4662 XCB_ACCESS_CONTROL_DISABLE = 0,
4663 XCB_ACCESS_CONTROL_ENABLE = 1
4664 } xcb_access_control_t;
4665
4666
4667 #define XCB_SET_ACCESS_CONTROL 111
4668
4669
4670
4671
4672 typedef struct xcb_set_access_control_request_t {
4673 uint8_t major_opcode;
4674 uint8_t mode;
4675 uint16_t length;
4676 } xcb_set_access_control_request_t;
4677
4678 typedef enum xcb_close_down_t {
4679 XCB_CLOSE_DOWN_DESTROY_ALL = 0,
4680 XCB_CLOSE_DOWN_RETAIN_PERMANENT = 1,
4681 XCB_CLOSE_DOWN_RETAIN_TEMPORARY = 2
4682 } xcb_close_down_t;
4683
4684
4685 #define XCB_SET_CLOSE_DOWN_MODE 112
4686
4687
4688
4689
4690 typedef struct xcb_set_close_down_mode_request_t {
4691 uint8_t major_opcode;
4692 uint8_t mode;
4693 uint16_t length;
4694 } xcb_set_close_down_mode_request_t;
4695
4696 typedef enum xcb_kill_t {
4697 XCB_KILL_ALL_TEMPORARY = 0
4698 } xcb_kill_t;
4699
4700
4701 #define XCB_KILL_CLIENT 113
4702
4703
4704
4705
4706 typedef struct xcb_kill_client_request_t {
4707 uint8_t major_opcode;
4708 uint8_t pad0;
4709 uint16_t length;
4710 uint32_t resource;
4711 } xcb_kill_client_request_t;
4712
4713
4714 #define XCB_ROTATE_PROPERTIES 114
4715
4716
4717
4718
4719 typedef struct xcb_rotate_properties_request_t {
4720 uint8_t major_opcode;
4721 uint8_t pad0;
4722 uint16_t length;
4723 xcb_window_t window;
4724 uint16_t atoms_len;
4725 int16_t delta;
4726 } xcb_rotate_properties_request_t;
4727
4728 typedef enum xcb_screen_saver_t {
4729 XCB_SCREEN_SAVER_RESET = 0,
4730 XCB_SCREEN_SAVER_ACTIVE = 1
4731 } xcb_screen_saver_t;
4732
4733
4734 #define XCB_FORCE_SCREEN_SAVER 115
4735
4736
4737
4738
4739 typedef struct xcb_force_screen_saver_request_t {
4740 uint8_t major_opcode;
4741 uint8_t mode;
4742 uint16_t length;
4743 } xcb_force_screen_saver_request_t;
4744
4745 typedef enum xcb_mapping_status_t {
4746 XCB_MAPPING_STATUS_SUCCESS = 0,
4747 XCB_MAPPING_STATUS_BUSY = 1,
4748 XCB_MAPPING_STATUS_FAILURE = 2
4749 } xcb_mapping_status_t;
4750
4751
4752
4753
4754 typedef struct xcb_set_pointer_mapping_cookie_t {
4755 unsigned int sequence;
4756 } xcb_set_pointer_mapping_cookie_t;
4757
4758
4759 #define XCB_SET_POINTER_MAPPING 116
4760
4761
4762
4763
4764 typedef struct xcb_set_pointer_mapping_request_t {
4765 uint8_t major_opcode;
4766 uint8_t map_len;
4767 uint16_t length;
4768 } xcb_set_pointer_mapping_request_t;
4769
4770
4771
4772
4773 typedef struct xcb_set_pointer_mapping_reply_t {
4774 uint8_t response_type;
4775 uint8_t status;
4776 uint16_t sequence;
4777 uint32_t length;
4778 } xcb_set_pointer_mapping_reply_t;
4779
4780
4781
4782
4783 typedef struct xcb_get_pointer_mapping_cookie_t {
4784 unsigned int sequence;
4785 } xcb_get_pointer_mapping_cookie_t;
4786
4787
4788 #define XCB_GET_POINTER_MAPPING 117
4789
4790
4791
4792
4793 typedef struct xcb_get_pointer_mapping_request_t {
4794 uint8_t major_opcode;
4795 uint8_t pad0;
4796 uint16_t length;
4797 } xcb_get_pointer_mapping_request_t;
4798
4799
4800
4801
4802 typedef struct xcb_get_pointer_mapping_reply_t {
4803 uint8_t response_type;
4804 uint8_t map_len;
4805 uint16_t sequence;
4806 uint32_t length;
4807 uint8_t pad0[24];
4808 } xcb_get_pointer_mapping_reply_t;
4809
4810 typedef enum xcb_map_index_t {
4811 XCB_MAP_INDEX_SHIFT = 0,
4812 XCB_MAP_INDEX_LOCK = 1,
4813 XCB_MAP_INDEX_CONTROL = 2,
4814 XCB_MAP_INDEX_1 = 3,
4815 XCB_MAP_INDEX_2 = 4,
4816 XCB_MAP_INDEX_3 = 5,
4817 XCB_MAP_INDEX_4 = 6,
4818 XCB_MAP_INDEX_5 = 7
4819 } xcb_map_index_t;
4820
4821
4822
4823
4824 typedef struct xcb_set_modifier_mapping_cookie_t {
4825 unsigned int sequence;
4826 } xcb_set_modifier_mapping_cookie_t;
4827
4828
4829 #define XCB_SET_MODIFIER_MAPPING 118
4830
4831
4832
4833
4834 typedef struct xcb_set_modifier_mapping_request_t {
4835 uint8_t major_opcode;
4836 uint8_t keycodes_per_modifier;
4837 uint16_t length;
4838 } xcb_set_modifier_mapping_request_t;
4839
4840
4841
4842
4843 typedef struct xcb_set_modifier_mapping_reply_t {
4844 uint8_t response_type;
4845 uint8_t status;
4846 uint16_t sequence;
4847 uint32_t length;
4848 } xcb_set_modifier_mapping_reply_t;
4849
4850
4851
4852
4853 typedef struct xcb_get_modifier_mapping_cookie_t {
4854 unsigned int sequence;
4855 } xcb_get_modifier_mapping_cookie_t;
4856
4857
4858 #define XCB_GET_MODIFIER_MAPPING 119
4859
4860
4861
4862
4863 typedef struct xcb_get_modifier_mapping_request_t {
4864 uint8_t major_opcode;
4865 uint8_t pad0;
4866 uint16_t length;
4867 } xcb_get_modifier_mapping_request_t;
4868
4869
4870
4871
4872 typedef struct xcb_get_modifier_mapping_reply_t {
4873 uint8_t response_type;
4874 uint8_t keycodes_per_modifier;
4875 uint16_t sequence;
4876 uint32_t length;
4877 uint8_t pad0[24];
4878 } xcb_get_modifier_mapping_reply_t;
4879
4880
4881 #define XCB_NO_OPERATION 127
4882
4883
4884
4885
4886 typedef struct xcb_no_operation_request_t {
4887 uint8_t major_opcode;
4888 uint8_t pad0;
4889 uint16_t length;
4890 } xcb_no_operation_request_t;
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900 void
4901 xcb_char2b_next (xcb_char2b_iterator_t *i);
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912 xcb_generic_iterator_t
4913 xcb_char2b_end (xcb_char2b_iterator_t i);
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923 void
4924 xcb_window_next (xcb_window_iterator_t *i);
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935 xcb_generic_iterator_t
4936 xcb_window_end (xcb_window_iterator_t i);
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946 void
4947 xcb_pixmap_next (xcb_pixmap_iterator_t *i);
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958 xcb_generic_iterator_t
4959 xcb_pixmap_end (xcb_pixmap_iterator_t i);
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969 void
4970 xcb_cursor_next (xcb_cursor_iterator_t *i);
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981 xcb_generic_iterator_t
4982 xcb_cursor_end (xcb_cursor_iterator_t i);
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992 void
4993 xcb_font_next (xcb_font_iterator_t *i);
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004 xcb_generic_iterator_t
5005 xcb_font_end (xcb_font_iterator_t i);
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015 void
5016 xcb_gcontext_next (xcb_gcontext_iterator_t *i);
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027 xcb_generic_iterator_t
5028 xcb_gcontext_end (xcb_gcontext_iterator_t i);
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038 void
5039 xcb_colormap_next (xcb_colormap_iterator_t *i);
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050 xcb_generic_iterator_t
5051 xcb_colormap_end (xcb_colormap_iterator_t i);
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061 void
5062 xcb_atom_next (xcb_atom_iterator_t *i);
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073 xcb_generic_iterator_t
5074 xcb_atom_end (xcb_atom_iterator_t i);
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084 void
5085 xcb_drawable_next (xcb_drawable_iterator_t *i);
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096 xcb_generic_iterator_t
5097 xcb_drawable_end (xcb_drawable_iterator_t i);
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107 void
5108 xcb_fontable_next (xcb_fontable_iterator_t *i);
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119 xcb_generic_iterator_t
5120 xcb_fontable_end (xcb_fontable_iterator_t i);
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130 void
5131 xcb_bool32_next (xcb_bool32_iterator_t *i);
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142 xcb_generic_iterator_t
5143 xcb_bool32_end (xcb_bool32_iterator_t i);
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153 void
5154 xcb_visualid_next (xcb_visualid_iterator_t *i);
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165 xcb_generic_iterator_t
5166 xcb_visualid_end (xcb_visualid_iterator_t i);
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176 void
5177 xcb_timestamp_next (xcb_timestamp_iterator_t *i);
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188 xcb_generic_iterator_t
5189 xcb_timestamp_end (xcb_timestamp_iterator_t i);
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199 void
5200 xcb_keysym_next (xcb_keysym_iterator_t *i);
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211 xcb_generic_iterator_t
5212 xcb_keysym_end (xcb_keysym_iterator_t i);
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222 void
5223 xcb_keycode_next (xcb_keycode_iterator_t *i);
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234 xcb_generic_iterator_t
5235 xcb_keycode_end (xcb_keycode_iterator_t i);
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245 void
5246 xcb_keycode32_next (xcb_keycode32_iterator_t *i);
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257 xcb_generic_iterator_t
5258 xcb_keycode32_end (xcb_keycode32_iterator_t i);
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268 void
5269 xcb_button_next (xcb_button_iterator_t *i);
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280 xcb_generic_iterator_t
5281 xcb_button_end (xcb_button_iterator_t i);
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291 void
5292 xcb_point_next (xcb_point_iterator_t *i);
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303 xcb_generic_iterator_t
5304 xcb_point_end (xcb_point_iterator_t i);
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314 void
5315 xcb_rectangle_next (xcb_rectangle_iterator_t *i);
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326 xcb_generic_iterator_t
5327 xcb_rectangle_end (xcb_rectangle_iterator_t i);
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337 void
5338 xcb_arc_next (xcb_arc_iterator_t *i);
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349 xcb_generic_iterator_t
5350 xcb_arc_end (xcb_arc_iterator_t i);
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360 void
5361 xcb_format_next (xcb_format_iterator_t *i);
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372 xcb_generic_iterator_t
5373 xcb_format_end (xcb_format_iterator_t i);
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383 void
5384 xcb_visualtype_next (xcb_visualtype_iterator_t *i);
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395 xcb_generic_iterator_t
5396 xcb_visualtype_end (xcb_visualtype_iterator_t i);
5397
5398 int
5399 xcb_depth_sizeof (const void *_buffer);
5400
5401 xcb_visualtype_t *
5402 xcb_depth_visuals (const xcb_depth_t *R);
5403
5404 int
5405 xcb_depth_visuals_length (const xcb_depth_t *R);
5406
5407 xcb_visualtype_iterator_t
5408 xcb_depth_visuals_iterator (const xcb_depth_t *R);
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418 void
5419 xcb_depth_next (xcb_depth_iterator_t *i);
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430 xcb_generic_iterator_t
5431 xcb_depth_end (xcb_depth_iterator_t i);
5432
5433 int
5434 xcb_screen_sizeof (const void *_buffer);
5435
5436 int
5437 xcb_screen_allowed_depths_length (const xcb_screen_t *R);
5438
5439 xcb_depth_iterator_t
5440 xcb_screen_allowed_depths_iterator (const xcb_screen_t *R);
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450 void
5451 xcb_screen_next (xcb_screen_iterator_t *i);
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462 xcb_generic_iterator_t
5463 xcb_screen_end (xcb_screen_iterator_t i);
5464
5465 int
5466 xcb_setup_request_sizeof (const void *_buffer);
5467
5468 char *
5469 xcb_setup_request_authorization_protocol_name (const xcb_setup_request_t *R);
5470
5471 int
5472 xcb_setup_request_authorization_protocol_name_length (const xcb_setup_request_t *R);
5473
5474 xcb_generic_iterator_t
5475 xcb_setup_request_authorization_protocol_name_end (const xcb_setup_request_t *R);
5476
5477 char *
5478 xcb_setup_request_authorization_protocol_data (const xcb_setup_request_t *R);
5479
5480 int
5481 xcb_setup_request_authorization_protocol_data_length (const xcb_setup_request_t *R);
5482
5483 xcb_generic_iterator_t
5484 xcb_setup_request_authorization_protocol_data_end (const xcb_setup_request_t *R);
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494 void
5495 xcb_setup_request_next (xcb_setup_request_iterator_t *i);
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506 xcb_generic_iterator_t
5507 xcb_setup_request_end (xcb_setup_request_iterator_t i);
5508
5509 int
5510 xcb_setup_failed_sizeof (const void *_buffer);
5511
5512 char *
5513 xcb_setup_failed_reason (const xcb_setup_failed_t *R);
5514
5515 int
5516 xcb_setup_failed_reason_length (const xcb_setup_failed_t *R);
5517
5518 xcb_generic_iterator_t
5519 xcb_setup_failed_reason_end (const xcb_setup_failed_t *R);
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529 void
5530 xcb_setup_failed_next (xcb_setup_failed_iterator_t *i);
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541 xcb_generic_iterator_t
5542 xcb_setup_failed_end (xcb_setup_failed_iterator_t i);
5543
5544 int
5545 xcb_setup_authenticate_sizeof (const void *_buffer);
5546
5547 char *
5548 xcb_setup_authenticate_reason (const xcb_setup_authenticate_t *R);
5549
5550 int
5551 xcb_setup_authenticate_reason_length (const xcb_setup_authenticate_t *R);
5552
5553 xcb_generic_iterator_t
5554 xcb_setup_authenticate_reason_end (const xcb_setup_authenticate_t *R);
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564 void
5565 xcb_setup_authenticate_next (xcb_setup_authenticate_iterator_t *i);
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576 xcb_generic_iterator_t
5577 xcb_setup_authenticate_end (xcb_setup_authenticate_iterator_t i);
5578
5579 int
5580 xcb_setup_sizeof (const void *_buffer);
5581
5582 char *
5583 xcb_setup_vendor (const xcb_setup_t *R);
5584
5585 int
5586 xcb_setup_vendor_length (const xcb_setup_t *R);
5587
5588 xcb_generic_iterator_t
5589 xcb_setup_vendor_end (const xcb_setup_t *R);
5590
5591 xcb_format_t *
5592 xcb_setup_pixmap_formats (const xcb_setup_t *R);
5593
5594 int
5595 xcb_setup_pixmap_formats_length (const xcb_setup_t *R);
5596
5597 xcb_format_iterator_t
5598 xcb_setup_pixmap_formats_iterator (const xcb_setup_t *R);
5599
5600 int
5601 xcb_setup_roots_length (const xcb_setup_t *R);
5602
5603 xcb_screen_iterator_t
5604 xcb_setup_roots_iterator (const xcb_setup_t *R);
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614 void
5615 xcb_setup_next (xcb_setup_iterator_t *i);
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626 xcb_generic_iterator_t
5627 xcb_setup_end (xcb_setup_iterator_t i);
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637 void
5638 xcb_client_message_data_next (xcb_client_message_data_iterator_t *i);
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649 xcb_generic_iterator_t
5650 xcb_client_message_data_end (xcb_client_message_data_iterator_t i);
5651
5652 int
5653 xcb_create_window_value_list_serialize (void **_buffer,
5654 uint32_t value_mask,
5655 const xcb_create_window_value_list_t *_aux);
5656
5657 int
5658 xcb_create_window_value_list_unpack (const void *_buffer,
5659 uint32_t value_mask,
5660 xcb_create_window_value_list_t *_aux);
5661
5662 int
5663 xcb_create_window_value_list_sizeof (const void *_buffer,
5664 uint32_t value_mask);
5665
5666 int
5667 xcb_create_window_sizeof (const void *_buffer);
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715 xcb_void_cookie_t
5716 xcb_create_window_checked (xcb_connection_t *c,
5717 uint8_t depth,
5718 xcb_window_t wid,
5719 xcb_window_t parent,
5720 int16_t x,
5721 int16_t y,
5722 uint16_t width,
5723 uint16_t height,
5724 uint16_t border_width,
5725 uint16_t _class,
5726 xcb_visualid_t visual,
5727 uint32_t value_mask,
5728 const void *value_list);
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773 xcb_void_cookie_t
5774 xcb_create_window (xcb_connection_t *c,
5775 uint8_t depth,
5776 xcb_window_t wid,
5777 xcb_window_t parent,
5778 int16_t x,
5779 int16_t y,
5780 uint16_t width,
5781 uint16_t height,
5782 uint16_t border_width,
5783 uint16_t _class,
5784 xcb_visualid_t visual,
5785 uint32_t value_mask,
5786 const void *value_list);
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834 xcb_void_cookie_t
5835 xcb_create_window_aux_checked (xcb_connection_t *c,
5836 uint8_t depth,
5837 xcb_window_t wid,
5838 xcb_window_t parent,
5839 int16_t x,
5840 int16_t y,
5841 uint16_t width,
5842 uint16_t height,
5843 uint16_t border_width,
5844 uint16_t _class,
5845 xcb_visualid_t visual,
5846 uint32_t value_mask,
5847 const xcb_create_window_value_list_t *value_list);
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892 xcb_void_cookie_t
5893 xcb_create_window_aux (xcb_connection_t *c,
5894 uint8_t depth,
5895 xcb_window_t wid,
5896 xcb_window_t parent,
5897 int16_t x,
5898 int16_t y,
5899 uint16_t width,
5900 uint16_t height,
5901 uint16_t border_width,
5902 uint16_t _class,
5903 xcb_visualid_t visual,
5904 uint32_t value_mask,
5905 const xcb_create_window_value_list_t *value_list);
5906
5907 void *
5908 xcb_create_window_value_list (const xcb_create_window_request_t *R);
5909
5910 int
5911 xcb_change_window_attributes_value_list_serialize (void **_buffer,
5912 uint32_t value_mask,
5913 const xcb_change_window_attributes_value_list_t *_aux);
5914
5915 int
5916 xcb_change_window_attributes_value_list_unpack (const void *_buffer,
5917 uint32_t value_mask,
5918 xcb_change_window_attributes_value_list_t *_aux);
5919
5920 int
5921 xcb_change_window_attributes_value_list_sizeof (const void *_buffer,
5922 uint32_t value_mask);
5923
5924 int
5925 xcb_change_window_attributes_sizeof (const void *_buffer);
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945 xcb_void_cookie_t
5946 xcb_change_window_attributes_checked (xcb_connection_t *c,
5947 xcb_window_t window,
5948 uint32_t value_mask,
5949 const void *value_list);
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966 xcb_void_cookie_t
5967 xcb_change_window_attributes (xcb_connection_t *c,
5968 xcb_window_t window,
5969 uint32_t value_mask,
5970 const void *value_list);
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990 xcb_void_cookie_t
5991 xcb_change_window_attributes_aux_checked (xcb_connection_t *c,
5992 xcb_window_t window,
5993 uint32_t value_mask,
5994 const xcb_change_window_attributes_value_list_t *value_list);
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011 xcb_void_cookie_t
6012 xcb_change_window_attributes_aux (xcb_connection_t *c,
6013 xcb_window_t window,
6014 uint32_t value_mask,
6015 const xcb_change_window_attributes_value_list_t *value_list);
6016
6017 void *
6018 xcb_change_window_attributes_value_list (const xcb_change_window_attributes_request_t *R);
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030 xcb_get_window_attributes_cookie_t
6031 xcb_get_window_attributes (xcb_connection_t *c,
6032 xcb_window_t window);
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047 xcb_get_window_attributes_cookie_t
6048 xcb_get_window_attributes_unchecked (xcb_connection_t *c,
6049 xcb_window_t window);
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065 xcb_get_window_attributes_reply_t *
6066 xcb_get_window_attributes_reply (xcb_connection_t *c,
6067 xcb_get_window_attributes_cookie_t cookie ,
6068 xcb_generic_error_t **e);
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088 xcb_void_cookie_t
6089 xcb_destroy_window_checked (xcb_connection_t *c,
6090 xcb_window_t window);
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107 xcb_void_cookie_t
6108 xcb_destroy_window (xcb_connection_t *c,
6109 xcb_window_t window);
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122 xcb_void_cookie_t
6123 xcb_destroy_subwindows_checked (xcb_connection_t *c,
6124 xcb_window_t window);
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134 xcb_void_cookie_t
6135 xcb_destroy_subwindows (xcb_connection_t *c,
6136 xcb_window_t window);
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156 xcb_void_cookie_t
6157 xcb_change_save_set_checked (xcb_connection_t *c,
6158 uint8_t mode,
6159 xcb_window_t window);
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176 xcb_void_cookie_t
6177 xcb_change_save_set (xcb_connection_t *c,
6178 uint8_t mode,
6179 xcb_window_t window);
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202 xcb_void_cookie_t
6203 xcb_reparent_window_checked (xcb_connection_t *c,
6204 xcb_window_t window,
6205 xcb_window_t parent,
6206 int16_t x,
6207 int16_t y);
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227 xcb_void_cookie_t
6228 xcb_reparent_window (xcb_connection_t *c,
6229 xcb_window_t window,
6230 xcb_window_t parent,
6231 int16_t x,
6232 int16_t y);
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265 xcb_void_cookie_t
6266 xcb_map_window_checked (xcb_connection_t *c,
6267 xcb_window_t window);
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297 xcb_void_cookie_t
6298 xcb_map_window (xcb_connection_t *c,
6299 xcb_window_t window);
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312 xcb_void_cookie_t
6313 xcb_map_subwindows_checked (xcb_connection_t *c,
6314 xcb_window_t window);
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324 xcb_void_cookie_t
6325 xcb_map_subwindows (xcb_connection_t *c,
6326 xcb_window_t window);
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345 xcb_void_cookie_t
6346 xcb_unmap_window_checked (xcb_connection_t *c,
6347 xcb_window_t window);
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363 xcb_void_cookie_t
6364 xcb_unmap_window (xcb_connection_t *c,
6365 xcb_window_t window);
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378 xcb_void_cookie_t
6379 xcb_unmap_subwindows_checked (xcb_connection_t *c,
6380 xcb_window_t window);
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390 xcb_void_cookie_t
6391 xcb_unmap_subwindows (xcb_connection_t *c,
6392 xcb_window_t window);
6393
6394 int
6395 xcb_configure_window_value_list_serialize (void **_buffer,
6396 uint16_t value_mask,
6397 const xcb_configure_window_value_list_t *_aux);
6398
6399 int
6400 xcb_configure_window_value_list_unpack (const void *_buffer,
6401 uint16_t value_mask,
6402 xcb_configure_window_value_list_t *_aux);
6403
6404 int
6405 xcb_configure_window_value_list_sizeof (const void *_buffer,
6406 uint16_t value_mask);
6407
6408 int
6409 xcb_configure_window_sizeof (const void *_buffer);
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427 xcb_void_cookie_t
6428 xcb_configure_window_checked (xcb_connection_t *c,
6429 xcb_window_t window,
6430 uint16_t value_mask,
6431 const void *value_list);
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446 xcb_void_cookie_t
6447 xcb_configure_window (xcb_connection_t *c,
6448 xcb_window_t window,
6449 uint16_t value_mask,
6450 const void *value_list);
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468 xcb_void_cookie_t
6469 xcb_configure_window_aux_checked (xcb_connection_t *c,
6470 xcb_window_t window,
6471 uint16_t value_mask,
6472 const xcb_configure_window_value_list_t *value_list);
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487 xcb_void_cookie_t
6488 xcb_configure_window_aux (xcb_connection_t *c,
6489 xcb_window_t window,
6490 uint16_t value_mask,
6491 const xcb_configure_window_value_list_t *value_list);
6492
6493 void *
6494 xcb_configure_window_value_list (const xcb_configure_window_request_t *R);
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515 xcb_void_cookie_t
6516 xcb_circulate_window_checked (xcb_connection_t *c,
6517 uint8_t direction,
6518 xcb_window_t window);
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536 xcb_void_cookie_t
6537 xcb_circulate_window (xcb_connection_t *c,
6538 uint8_t direction,
6539 xcb_window_t window);
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551 xcb_get_geometry_cookie_t
6552 xcb_get_geometry (xcb_connection_t *c,
6553 xcb_drawable_t drawable);
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568 xcb_get_geometry_cookie_t
6569 xcb_get_geometry_unchecked (xcb_connection_t *c,
6570 xcb_drawable_t drawable);
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586 xcb_get_geometry_reply_t *
6587 xcb_get_geometry_reply (xcb_connection_t *c,
6588 xcb_get_geometry_cookie_t cookie ,
6589 xcb_generic_error_t **e);
6590
6591 int
6592 xcb_query_tree_sizeof (const void *_buffer);
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605 xcb_query_tree_cookie_t
6606 xcb_query_tree (xcb_connection_t *c,
6607 xcb_window_t window);
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623 xcb_query_tree_cookie_t
6624 xcb_query_tree_unchecked (xcb_connection_t *c,
6625 xcb_window_t window);
6626
6627 xcb_window_t *
6628 xcb_query_tree_children (const xcb_query_tree_reply_t *R);
6629
6630 int
6631 xcb_query_tree_children_length (const xcb_query_tree_reply_t *R);
6632
6633 xcb_generic_iterator_t
6634 xcb_query_tree_children_end (const xcb_query_tree_reply_t *R);
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650 xcb_query_tree_reply_t *
6651 xcb_query_tree_reply (xcb_connection_t *c,
6652 xcb_query_tree_cookie_t cookie ,
6653 xcb_generic_error_t **e);
6654
6655 int
6656 xcb_intern_atom_sizeof (const void *_buffer);
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676 xcb_intern_atom_cookie_t
6677 xcb_intern_atom (xcb_connection_t *c,
6678 uint8_t only_if_exists,
6679 uint16_t name_len,
6680 const char *name);
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703 xcb_intern_atom_cookie_t
6704 xcb_intern_atom_unchecked (xcb_connection_t *c,
6705 uint8_t only_if_exists,
6706 uint16_t name_len,
6707 const char *name);
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723 xcb_intern_atom_reply_t *
6724 xcb_intern_atom_reply (xcb_connection_t *c,
6725 xcb_intern_atom_cookie_t cookie ,
6726 xcb_generic_error_t **e);
6727
6728 int
6729 xcb_get_atom_name_sizeof (const void *_buffer);
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739 xcb_get_atom_name_cookie_t
6740 xcb_get_atom_name (xcb_connection_t *c,
6741 xcb_atom_t atom);
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754 xcb_get_atom_name_cookie_t
6755 xcb_get_atom_name_unchecked (xcb_connection_t *c,
6756 xcb_atom_t atom);
6757
6758 char *
6759 xcb_get_atom_name_name (const xcb_get_atom_name_reply_t *R);
6760
6761 int
6762 xcb_get_atom_name_name_length (const xcb_get_atom_name_reply_t *R);
6763
6764 xcb_generic_iterator_t
6765 xcb_get_atom_name_name_end (const xcb_get_atom_name_reply_t *R);
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781 xcb_get_atom_name_reply_t *
6782 xcb_get_atom_name_reply (xcb_connection_t *c,
6783 xcb_get_atom_name_cookie_t cookie ,
6784 xcb_generic_error_t **e);
6785
6786 int
6787 xcb_change_property_sizeof (const void *_buffer);
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814 xcb_void_cookie_t
6815 xcb_change_property_checked (xcb_connection_t *c,
6816 uint8_t mode,
6817 xcb_window_t window,
6818 xcb_atom_t property,
6819 xcb_atom_t type,
6820 uint8_t format,
6821 uint32_t data_len,
6822 const void *data);
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846 xcb_void_cookie_t
6847 xcb_change_property (xcb_connection_t *c,
6848 uint8_t mode,
6849 xcb_window_t window,
6850 xcb_atom_t property,
6851 xcb_atom_t type,
6852 uint8_t format,
6853 uint32_t data_len,
6854 const void *data);
6855
6856 void *
6857 xcb_change_property_data (const xcb_change_property_request_t *R);
6858
6859 int
6860 xcb_change_property_data_length (const xcb_change_property_request_t *R);
6861
6862 xcb_generic_iterator_t
6863 xcb_change_property_data_end (const xcb_change_property_request_t *R);
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876 xcb_void_cookie_t
6877 xcb_delete_property_checked (xcb_connection_t *c,
6878 xcb_window_t window,
6879 xcb_atom_t property);
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889 xcb_void_cookie_t
6890 xcb_delete_property (xcb_connection_t *c,
6891 xcb_window_t window,
6892 xcb_atom_t property);
6893
6894 int
6895 xcb_get_property_sizeof (const void *_buffer);
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924 xcb_get_property_cookie_t
6925 xcb_get_property (xcb_connection_t *c,
6926 uint8_t _delete,
6927 xcb_window_t window,
6928 xcb_atom_t property,
6929 xcb_atom_t type,
6930 uint32_t long_offset,
6931 uint32_t long_length);
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963 xcb_get_property_cookie_t
6964 xcb_get_property_unchecked (xcb_connection_t *c,
6965 uint8_t _delete,
6966 xcb_window_t window,
6967 xcb_atom_t property,
6968 xcb_atom_t type,
6969 uint32_t long_offset,
6970 uint32_t long_length);
6971
6972 void *
6973 xcb_get_property_value (const xcb_get_property_reply_t *R);
6974
6975 int
6976 xcb_get_property_value_length (const xcb_get_property_reply_t *R);
6977
6978 xcb_generic_iterator_t
6979 xcb_get_property_value_end (const xcb_get_property_reply_t *R);
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995 xcb_get_property_reply_t *
6996 xcb_get_property_reply (xcb_connection_t *c,
6997 xcb_get_property_cookie_t cookie ,
6998 xcb_generic_error_t **e);
6999
7000 int
7001 xcb_list_properties_sizeof (const void *_buffer);
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011 xcb_list_properties_cookie_t
7012 xcb_list_properties (xcb_connection_t *c,
7013 xcb_window_t window);
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026 xcb_list_properties_cookie_t
7027 xcb_list_properties_unchecked (xcb_connection_t *c,
7028 xcb_window_t window);
7029
7030 xcb_atom_t *
7031 xcb_list_properties_atoms (const xcb_list_properties_reply_t *R);
7032
7033 int
7034 xcb_list_properties_atoms_length (const xcb_list_properties_reply_t *R);
7035
7036 xcb_generic_iterator_t
7037 xcb_list_properties_atoms_end (const xcb_list_properties_reply_t *R);
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053 xcb_list_properties_reply_t *
7054 xcb_list_properties_reply (xcb_connection_t *c,
7055 xcb_list_properties_cookie_t cookie ,
7056 xcb_generic_error_t **e);
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085 xcb_void_cookie_t
7086 xcb_set_selection_owner_checked (xcb_connection_t *c,
7087 xcb_window_t owner,
7088 xcb_atom_t selection,
7089 xcb_timestamp_t time);
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115 xcb_void_cookie_t
7116 xcb_set_selection_owner (xcb_connection_t *c,
7117 xcb_window_t owner,
7118 xcb_atom_t selection,
7119 xcb_timestamp_t time);
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133 xcb_get_selection_owner_cookie_t
7134 xcb_get_selection_owner (xcb_connection_t *c,
7135 xcb_atom_t selection);
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152 xcb_get_selection_owner_cookie_t
7153 xcb_get_selection_owner_unchecked (xcb_connection_t *c,
7154 xcb_atom_t selection);
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170 xcb_get_selection_owner_reply_t *
7171 xcb_get_selection_owner_reply (xcb_connection_t *c,
7172 xcb_get_selection_owner_cookie_t cookie ,
7173 xcb_generic_error_t **e);
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186 xcb_void_cookie_t
7187 xcb_convert_selection_checked (xcb_connection_t *c,
7188 xcb_window_t requestor,
7189 xcb_atom_t selection,
7190 xcb_atom_t target,
7191 xcb_atom_t property,
7192 xcb_timestamp_t time);
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202 xcb_void_cookie_t
7203 xcb_convert_selection (xcb_connection_t *c,
7204 xcb_window_t requestor,
7205 xcb_atom_t selection,
7206 xcb_atom_t target,
7207 xcb_atom_t property,
7208 xcb_timestamp_t time);
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247 xcb_void_cookie_t
7248 xcb_send_event_checked (xcb_connection_t *c,
7249 uint8_t propagate,
7250 xcb_window_t destination,
7251 uint32_t event_mask,
7252 const char *event);
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288 xcb_void_cookie_t
7289 xcb_send_event (xcb_connection_t *c,
7290 uint8_t propagate,
7291 xcb_window_t destination,
7292 uint32_t event_mask,
7293 const char *event);
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331 xcb_grab_pointer_cookie_t
7332 xcb_grab_pointer (xcb_connection_t *c,
7333 uint8_t owner_events,
7334 xcb_window_t grab_window,
7335 uint16_t event_mask,
7336 uint8_t pointer_mode,
7337 uint8_t keyboard_mode,
7338 xcb_window_t confine_to,
7339 xcb_cursor_t cursor,
7340 xcb_timestamp_t time);
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381 xcb_grab_pointer_cookie_t
7382 xcb_grab_pointer_unchecked (xcb_connection_t *c,
7383 uint8_t owner_events,
7384 xcb_window_t grab_window,
7385 uint16_t event_mask,
7386 uint8_t pointer_mode,
7387 uint8_t keyboard_mode,
7388 xcb_window_t confine_to,
7389 xcb_cursor_t cursor,
7390 xcb_timestamp_t time);
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406 xcb_grab_pointer_reply_t *
7407 xcb_grab_pointer_reply (xcb_connection_t *c,
7408 xcb_grab_pointer_cookie_t cookie ,
7409 xcb_generic_error_t **e);
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431 xcb_void_cookie_t
7432 xcb_ungrab_pointer_checked (xcb_connection_t *c,
7433 xcb_timestamp_t time);
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452 xcb_void_cookie_t
7453 xcb_ungrab_pointer (xcb_connection_t *c,
7454 xcb_timestamp_t time);
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524 xcb_void_cookie_t
7525 xcb_grab_button_checked (xcb_connection_t *c,
7526 uint8_t owner_events,
7527 xcb_window_t grab_window,
7528 uint16_t event_mask,
7529 uint8_t pointer_mode,
7530 uint8_t keyboard_mode,
7531 xcb_window_t confine_to,
7532 xcb_cursor_t cursor,
7533 uint8_t button,
7534 uint16_t modifiers);
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601 xcb_void_cookie_t
7602 xcb_grab_button (xcb_connection_t *c,
7603 uint8_t owner_events,
7604 xcb_window_t grab_window,
7605 uint16_t event_mask,
7606 uint8_t pointer_mode,
7607 uint8_t keyboard_mode,
7608 xcb_window_t confine_to,
7609 xcb_cursor_t cursor,
7610 uint8_t button,
7611 uint16_t modifiers);
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624 xcb_void_cookie_t
7625 xcb_ungrab_button_checked (xcb_connection_t *c,
7626 uint8_t button,
7627 xcb_window_t grab_window,
7628 uint16_t modifiers);
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638 xcb_void_cookie_t
7639 xcb_ungrab_button (xcb_connection_t *c,
7640 uint8_t button,
7641 xcb_window_t grab_window,
7642 uint16_t modifiers);
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655 xcb_void_cookie_t
7656 xcb_change_active_pointer_grab_checked (xcb_connection_t *c,
7657 xcb_cursor_t cursor,
7658 xcb_timestamp_t time,
7659 uint16_t event_mask);
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669 xcb_void_cookie_t
7670 xcb_change_active_pointer_grab (xcb_connection_t *c,
7671 xcb_cursor_t cursor,
7672 xcb_timestamp_t time,
7673 uint16_t event_mask);
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704 xcb_grab_keyboard_cookie_t
7705 xcb_grab_keyboard (xcb_connection_t *c,
7706 uint8_t owner_events,
7707 xcb_window_t grab_window,
7708 xcb_timestamp_t time,
7709 uint8_t pointer_mode,
7710 uint8_t keyboard_mode);
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744 xcb_grab_keyboard_cookie_t
7745 xcb_grab_keyboard_unchecked (xcb_connection_t *c,
7746 uint8_t owner_events,
7747 xcb_window_t grab_window,
7748 xcb_timestamp_t time,
7749 uint8_t pointer_mode,
7750 uint8_t keyboard_mode);
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766 xcb_grab_keyboard_reply_t *
7767 xcb_grab_keyboard_reply (xcb_connection_t *c,
7768 xcb_grab_keyboard_cookie_t cookie ,
7769 xcb_generic_error_t **e);
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782 xcb_void_cookie_t
7783 xcb_ungrab_keyboard_checked (xcb_connection_t *c,
7784 xcb_timestamp_t time);
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794 xcb_void_cookie_t
7795 xcb_ungrab_keyboard (xcb_connection_t *c,
7796 xcb_timestamp_t time);
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853 xcb_void_cookie_t
7854 xcb_grab_key_checked (xcb_connection_t *c,
7855 uint8_t owner_events,
7856 xcb_window_t grab_window,
7857 uint16_t modifiers,
7858 xcb_keycode_t key,
7859 uint8_t pointer_mode,
7860 uint8_t keyboard_mode);
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914 xcb_void_cookie_t
7915 xcb_grab_key (xcb_connection_t *c,
7916 uint8_t owner_events,
7917 xcb_window_t grab_window,
7918 uint16_t modifiers,
7919 xcb_keycode_t key,
7920 uint8_t pointer_mode,
7921 uint8_t keyboard_mode);
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944 xcb_void_cookie_t
7945 xcb_ungrab_key_checked (xcb_connection_t *c,
7946 xcb_keycode_t key,
7947 xcb_window_t grab_window,
7948 uint16_t modifiers);
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968 xcb_void_cookie_t
7969 xcb_ungrab_key (xcb_connection_t *c,
7970 xcb_keycode_t key,
7971 xcb_window_t grab_window,
7972 uint16_t modifiers);
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995 xcb_void_cookie_t
7996 xcb_allow_events_checked (xcb_connection_t *c,
7997 uint8_t mode,
7998 xcb_timestamp_t time);
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018 xcb_void_cookie_t
8019 xcb_allow_events (xcb_connection_t *c,
8020 uint8_t mode,
8021 xcb_timestamp_t time);
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034 xcb_void_cookie_t
8035 xcb_grab_server_checked (xcb_connection_t *c);
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045 xcb_void_cookie_t
8046 xcb_grab_server (xcb_connection_t *c);
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059 xcb_void_cookie_t
8060 xcb_ungrab_server_checked (xcb_connection_t *c);
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070 xcb_void_cookie_t
8071 xcb_ungrab_server (xcb_connection_t *c);
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085 xcb_query_pointer_cookie_t
8086 xcb_query_pointer (xcb_connection_t *c,
8087 xcb_window_t window);
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104 xcb_query_pointer_cookie_t
8105 xcb_query_pointer_unchecked (xcb_connection_t *c,
8106 xcb_window_t window);
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122 xcb_query_pointer_reply_t *
8123 xcb_query_pointer_reply (xcb_connection_t *c,
8124 xcb_query_pointer_cookie_t cookie ,
8125 xcb_generic_error_t **e);
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135 void
8136 xcb_timecoord_next (xcb_timecoord_iterator_t *i);
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147 xcb_generic_iterator_t
8148 xcb_timecoord_end (xcb_timecoord_iterator_t i);
8149
8150 int
8151 xcb_get_motion_events_sizeof (const void *_buffer);
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161 xcb_get_motion_events_cookie_t
8162 xcb_get_motion_events (xcb_connection_t *c,
8163 xcb_window_t window,
8164 xcb_timestamp_t start,
8165 xcb_timestamp_t stop);
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178 xcb_get_motion_events_cookie_t
8179 xcb_get_motion_events_unchecked (xcb_connection_t *c,
8180 xcb_window_t window,
8181 xcb_timestamp_t start,
8182 xcb_timestamp_t stop);
8183
8184 xcb_timecoord_t *
8185 xcb_get_motion_events_events (const xcb_get_motion_events_reply_t *R);
8186
8187 int
8188 xcb_get_motion_events_events_length (const xcb_get_motion_events_reply_t *R);
8189
8190 xcb_timecoord_iterator_t
8191 xcb_get_motion_events_events_iterator (const xcb_get_motion_events_reply_t *R);
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207 xcb_get_motion_events_reply_t *
8208 xcb_get_motion_events_reply (xcb_connection_t *c,
8209 xcb_get_motion_events_cookie_t cookie ,
8210 xcb_generic_error_t **e);
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220 xcb_translate_coordinates_cookie_t
8221 xcb_translate_coordinates (xcb_connection_t *c,
8222 xcb_window_t src_window,
8223 xcb_window_t dst_window,
8224 int16_t src_x,
8225 int16_t src_y);
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238 xcb_translate_coordinates_cookie_t
8239 xcb_translate_coordinates_unchecked (xcb_connection_t *c,
8240 xcb_window_t src_window,
8241 xcb_window_t dst_window,
8242 int16_t src_x,
8243 int16_t src_y);
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259 xcb_translate_coordinates_reply_t *
8260 xcb_translate_coordinates_reply (xcb_connection_t *c,
8261 xcb_translate_coordinates_cookie_t cookie ,
8262 xcb_generic_error_t **e);
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294 xcb_void_cookie_t
8295 xcb_warp_pointer_checked (xcb_connection_t *c,
8296 xcb_window_t src_window,
8297 xcb_window_t dst_window,
8298 int16_t src_x,
8299 int16_t src_y,
8300 uint16_t src_width,
8301 uint16_t src_height,
8302 int16_t dst_x,
8303 int16_t dst_y);
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332 xcb_void_cookie_t
8333 xcb_warp_pointer (xcb_connection_t *c,
8334 xcb_window_t src_window,
8335 xcb_window_t dst_window,
8336 int16_t src_x,
8337 int16_t src_y,
8338 uint16_t src_width,
8339 uint16_t src_height,
8340 int16_t dst_x,
8341 int16_t dst_y);
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374 xcb_void_cookie_t
8375 xcb_set_input_focus_checked (xcb_connection_t *c,
8376 uint8_t revert_to,
8377 xcb_window_t focus,
8378 xcb_timestamp_t time);
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408 xcb_void_cookie_t
8409 xcb_set_input_focus (xcb_connection_t *c,
8410 uint8_t revert_to,
8411 xcb_window_t focus,
8412 xcb_timestamp_t time);
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422 xcb_get_input_focus_cookie_t
8423 xcb_get_input_focus (xcb_connection_t *c);
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436 xcb_get_input_focus_cookie_t
8437 xcb_get_input_focus_unchecked (xcb_connection_t *c);
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453 xcb_get_input_focus_reply_t *
8454 xcb_get_input_focus_reply (xcb_connection_t *c,
8455 xcb_get_input_focus_cookie_t cookie ,
8456 xcb_generic_error_t **e);
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466 xcb_query_keymap_cookie_t
8467 xcb_query_keymap (xcb_connection_t *c);
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480 xcb_query_keymap_cookie_t
8481 xcb_query_keymap_unchecked (xcb_connection_t *c);
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497 xcb_query_keymap_reply_t *
8498 xcb_query_keymap_reply (xcb_connection_t *c,
8499 xcb_query_keymap_cookie_t cookie ,
8500 xcb_generic_error_t **e);
8501
8502 int
8503 xcb_open_font_sizeof (const void *_buffer);
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523 xcb_void_cookie_t
8524 xcb_open_font_checked (xcb_connection_t *c,
8525 xcb_font_t fid,
8526 uint16_t name_len,
8527 const char *name);
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544 xcb_void_cookie_t
8545 xcb_open_font (xcb_connection_t *c,
8546 xcb_font_t fid,
8547 uint16_t name_len,
8548 const char *name);
8549
8550 char *
8551 xcb_open_font_name (const xcb_open_font_request_t *R);
8552
8553 int
8554 xcb_open_font_name_length (const xcb_open_font_request_t *R);
8555
8556 xcb_generic_iterator_t
8557 xcb_open_font_name_end (const xcb_open_font_request_t *R);
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570 xcb_void_cookie_t
8571 xcb_close_font_checked (xcb_connection_t *c,
8572 xcb_font_t font);
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582 xcb_void_cookie_t
8583 xcb_close_font (xcb_connection_t *c,
8584 xcb_font_t font);
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594 void
8595 xcb_fontprop_next (xcb_fontprop_iterator_t *i);
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606 xcb_generic_iterator_t
8607 xcb_fontprop_end (xcb_fontprop_iterator_t i);
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617 void
8618 xcb_charinfo_next (xcb_charinfo_iterator_t *i);
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629 xcb_generic_iterator_t
8630 xcb_charinfo_end (xcb_charinfo_iterator_t i);
8631
8632 int
8633 xcb_query_font_sizeof (const void *_buffer);
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645 xcb_query_font_cookie_t
8646 xcb_query_font (xcb_connection_t *c,
8647 xcb_fontable_t font);
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662 xcb_query_font_cookie_t
8663 xcb_query_font_unchecked (xcb_connection_t *c,
8664 xcb_fontable_t font);
8665
8666 xcb_fontprop_t *
8667 xcb_query_font_properties (const xcb_query_font_reply_t *R);
8668
8669 int
8670 xcb_query_font_properties_length (const xcb_query_font_reply_t *R);
8671
8672 xcb_fontprop_iterator_t
8673 xcb_query_font_properties_iterator (const xcb_query_font_reply_t *R);
8674
8675 xcb_charinfo_t *
8676 xcb_query_font_char_infos (const xcb_query_font_reply_t *R);
8677
8678 int
8679 xcb_query_font_char_infos_length (const xcb_query_font_reply_t *R);
8680
8681 xcb_charinfo_iterator_t
8682 xcb_query_font_char_infos_iterator (const xcb_query_font_reply_t *R);
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698 xcb_query_font_reply_t *
8699 xcb_query_font_reply (xcb_connection_t *c,
8700 xcb_query_font_cookie_t cookie ,
8701 xcb_generic_error_t **e);
8702
8703 int
8704 xcb_query_text_extents_sizeof (const void *_buffer,
8705 uint32_t string_len);
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739 xcb_query_text_extents_cookie_t
8740 xcb_query_text_extents (xcb_connection_t *c,
8741 xcb_fontable_t font,
8742 uint32_t string_len,
8743 const xcb_char2b_t *string);
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780 xcb_query_text_extents_cookie_t
8781 xcb_query_text_extents_unchecked (xcb_connection_t *c,
8782 xcb_fontable_t font,
8783 uint32_t string_len,
8784 const xcb_char2b_t *string);
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800 xcb_query_text_extents_reply_t *
8801 xcb_query_text_extents_reply (xcb_connection_t *c,
8802 xcb_query_text_extents_cookie_t cookie ,
8803 xcb_generic_error_t **e);
8804
8805 int
8806 xcb_str_sizeof (const void *_buffer);
8807
8808 char *
8809 xcb_str_name (const xcb_str_t *R);
8810
8811 int
8812 xcb_str_name_length (const xcb_str_t *R);
8813
8814 xcb_generic_iterator_t
8815 xcb_str_name_end (const xcb_str_t *R);
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825 void
8826 xcb_str_next (xcb_str_iterator_t *i);
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837 xcb_generic_iterator_t
8838 xcb_str_end (xcb_str_iterator_t i);
8839
8840 int
8841 xcb_list_fonts_sizeof (const void *_buffer);
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859 xcb_list_fonts_cookie_t
8860 xcb_list_fonts (xcb_connection_t *c,
8861 uint16_t max_names,
8862 uint16_t pattern_len,
8863 const char *pattern);
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884 xcb_list_fonts_cookie_t
8885 xcb_list_fonts_unchecked (xcb_connection_t *c,
8886 uint16_t max_names,
8887 uint16_t pattern_len,
8888 const char *pattern);
8889
8890 int
8891 xcb_list_fonts_names_length (const xcb_list_fonts_reply_t *R);
8892
8893 xcb_str_iterator_t
8894 xcb_list_fonts_names_iterator (const xcb_list_fonts_reply_t *R);
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910 xcb_list_fonts_reply_t *
8911 xcb_list_fonts_reply (xcb_connection_t *c,
8912 xcb_list_fonts_cookie_t cookie ,
8913 xcb_generic_error_t **e);
8914
8915 int
8916 xcb_list_fonts_with_info_sizeof (const void *_buffer);
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934 xcb_list_fonts_with_info_cookie_t
8935 xcb_list_fonts_with_info (xcb_connection_t *c,
8936 uint16_t max_names,
8937 uint16_t pattern_len,
8938 const char *pattern);
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959 xcb_list_fonts_with_info_cookie_t
8960 xcb_list_fonts_with_info_unchecked (xcb_connection_t *c,
8961 uint16_t max_names,
8962 uint16_t pattern_len,
8963 const char *pattern);
8964
8965 xcb_fontprop_t *
8966 xcb_list_fonts_with_info_properties (const xcb_list_fonts_with_info_reply_t *R);
8967
8968 int
8969 xcb_list_fonts_with_info_properties_length (const xcb_list_fonts_with_info_reply_t *R);
8970
8971 xcb_fontprop_iterator_t
8972 xcb_list_fonts_with_info_properties_iterator (const xcb_list_fonts_with_info_reply_t *R);
8973
8974 char *
8975 xcb_list_fonts_with_info_name (const xcb_list_fonts_with_info_reply_t *R);
8976
8977 int
8978 xcb_list_fonts_with_info_name_length (const xcb_list_fonts_with_info_reply_t *R);
8979
8980 xcb_generic_iterator_t
8981 xcb_list_fonts_with_info_name_end (const xcb_list_fonts_with_info_reply_t *R);
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997 xcb_list_fonts_with_info_reply_t *
8998 xcb_list_fonts_with_info_reply (xcb_connection_t *c,
8999 xcb_list_fonts_with_info_cookie_t cookie ,
9000 xcb_generic_error_t **e);
9001
9002 int
9003 xcb_set_font_path_sizeof (const void *_buffer);
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016 xcb_void_cookie_t
9017 xcb_set_font_path_checked (xcb_connection_t *c,
9018 uint16_t font_qty,
9019 const xcb_str_t *font);
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029 xcb_void_cookie_t
9030 xcb_set_font_path (xcb_connection_t *c,
9031 uint16_t font_qty,
9032 const xcb_str_t *font);
9033
9034 int
9035 xcb_set_font_path_font_length (const xcb_set_font_path_request_t *R);
9036
9037 xcb_str_iterator_t
9038 xcb_set_font_path_font_iterator (const xcb_set_font_path_request_t *R);
9039
9040 int
9041 xcb_get_font_path_sizeof (const void *_buffer);
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051 xcb_get_font_path_cookie_t
9052 xcb_get_font_path (xcb_connection_t *c);
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065 xcb_get_font_path_cookie_t
9066 xcb_get_font_path_unchecked (xcb_connection_t *c);
9067
9068 int
9069 xcb_get_font_path_path_length (const xcb_get_font_path_reply_t *R);
9070
9071 xcb_str_iterator_t
9072 xcb_get_font_path_path_iterator (const xcb_get_font_path_reply_t *R);
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088 xcb_get_font_path_reply_t *
9089 xcb_get_font_path_reply (xcb_connection_t *c,
9090 xcb_get_font_path_cookie_t cookie ,
9091 xcb_generic_error_t **e);
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112 xcb_void_cookie_t
9113 xcb_create_pixmap_checked (xcb_connection_t *c,
9114 uint8_t depth,
9115 xcb_pixmap_t pid,
9116 xcb_drawable_t drawable,
9117 uint16_t width,
9118 uint16_t height);
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136 xcb_void_cookie_t
9137 xcb_create_pixmap (xcb_connection_t *c,
9138 uint8_t depth,
9139 xcb_pixmap_t pid,
9140 xcb_drawable_t drawable,
9141 uint16_t width,
9142 uint16_t height);
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158 xcb_void_cookie_t
9159 xcb_free_pixmap_checked (xcb_connection_t *c,
9160 xcb_pixmap_t pixmap);
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173 xcb_void_cookie_t
9174 xcb_free_pixmap (xcb_connection_t *c,
9175 xcb_pixmap_t pixmap);
9176
9177 int
9178 xcb_create_gc_value_list_serialize (void **_buffer,
9179 uint32_t value_mask,
9180 const xcb_create_gc_value_list_t *_aux);
9181
9182 int
9183 xcb_create_gc_value_list_unpack (const void *_buffer,
9184 uint32_t value_mask,
9185 xcb_create_gc_value_list_t *_aux);
9186
9187 int
9188 xcb_create_gc_value_list_sizeof (const void *_buffer,
9189 uint32_t value_mask);
9190
9191 int
9192 xcb_create_gc_sizeof (const void *_buffer);
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210 xcb_void_cookie_t
9211 xcb_create_gc_checked (xcb_connection_t *c,
9212 xcb_gcontext_t cid,
9213 xcb_drawable_t drawable,
9214 uint32_t value_mask,
9215 const void *value_list);
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230 xcb_void_cookie_t
9231 xcb_create_gc (xcb_connection_t *c,
9232 xcb_gcontext_t cid,
9233 xcb_drawable_t drawable,
9234 uint32_t value_mask,
9235 const void *value_list);
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253 xcb_void_cookie_t
9254 xcb_create_gc_aux_checked (xcb_connection_t *c,
9255 xcb_gcontext_t cid,
9256 xcb_drawable_t drawable,
9257 uint32_t value_mask,
9258 const xcb_create_gc_value_list_t *value_list);
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273 xcb_void_cookie_t
9274 xcb_create_gc_aux (xcb_connection_t *c,
9275 xcb_gcontext_t cid,
9276 xcb_drawable_t drawable,
9277 uint32_t value_mask,
9278 const xcb_create_gc_value_list_t *value_list);
9279
9280 void *
9281 xcb_create_gc_value_list (const xcb_create_gc_request_t *R);
9282
9283 int
9284 xcb_change_gc_value_list_serialize (void **_buffer,
9285 uint32_t value_mask,
9286 const xcb_change_gc_value_list_t *_aux);
9287
9288 int
9289 xcb_change_gc_value_list_unpack (const void *_buffer,
9290 uint32_t value_mask,
9291 xcb_change_gc_value_list_t *_aux);
9292
9293 int
9294 xcb_change_gc_value_list_sizeof (const void *_buffer,
9295 uint32_t value_mask);
9296
9297 int
9298 xcb_change_gc_sizeof (const void *_buffer);
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318 xcb_void_cookie_t
9319 xcb_change_gc_checked (xcb_connection_t *c,
9320 xcb_gcontext_t gc,
9321 uint32_t value_mask,
9322 const void *value_list);
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339 xcb_void_cookie_t
9340 xcb_change_gc (xcb_connection_t *c,
9341 xcb_gcontext_t gc,
9342 uint32_t value_mask,
9343 const void *value_list);
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363 xcb_void_cookie_t
9364 xcb_change_gc_aux_checked (xcb_connection_t *c,
9365 xcb_gcontext_t gc,
9366 uint32_t value_mask,
9367 const xcb_change_gc_value_list_t *value_list);
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384 xcb_void_cookie_t
9385 xcb_change_gc_aux (xcb_connection_t *c,
9386 xcb_gcontext_t gc,
9387 uint32_t value_mask,
9388 const xcb_change_gc_value_list_t *value_list);
9389
9390 void *
9391 xcb_change_gc_value_list (const xcb_change_gc_request_t *R);
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404 xcb_void_cookie_t
9405 xcb_copy_gc_checked (xcb_connection_t *c,
9406 xcb_gcontext_t src_gc,
9407 xcb_gcontext_t dst_gc,
9408 uint32_t value_mask);
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418 xcb_void_cookie_t
9419 xcb_copy_gc (xcb_connection_t *c,
9420 xcb_gcontext_t src_gc,
9421 xcb_gcontext_t dst_gc,
9422 uint32_t value_mask);
9423
9424 int
9425 xcb_set_dashes_sizeof (const void *_buffer);
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438 xcb_void_cookie_t
9439 xcb_set_dashes_checked (xcb_connection_t *c,
9440 xcb_gcontext_t gc,
9441 uint16_t dash_offset,
9442 uint16_t dashes_len,
9443 const uint8_t *dashes);
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453 xcb_void_cookie_t
9454 xcb_set_dashes (xcb_connection_t *c,
9455 xcb_gcontext_t gc,
9456 uint16_t dash_offset,
9457 uint16_t dashes_len,
9458 const uint8_t *dashes);
9459
9460 uint8_t *
9461 xcb_set_dashes_dashes (const xcb_set_dashes_request_t *R);
9462
9463 int
9464 xcb_set_dashes_dashes_length (const xcb_set_dashes_request_t *R);
9465
9466 xcb_generic_iterator_t
9467 xcb_set_dashes_dashes_end (const xcb_set_dashes_request_t *R);
9468
9469 int
9470 xcb_set_clip_rectangles_sizeof (const void *_buffer,
9471 uint32_t rectangles_len);
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484 xcb_void_cookie_t
9485 xcb_set_clip_rectangles_checked (xcb_connection_t *c,
9486 uint8_t ordering,
9487 xcb_gcontext_t gc,
9488 int16_t clip_x_origin,
9489 int16_t clip_y_origin,
9490 uint32_t rectangles_len,
9491 const xcb_rectangle_t *rectangles);
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501 xcb_void_cookie_t
9502 xcb_set_clip_rectangles (xcb_connection_t *c,
9503 uint8_t ordering,
9504 xcb_gcontext_t gc,
9505 int16_t clip_x_origin,
9506 int16_t clip_y_origin,
9507 uint32_t rectangles_len,
9508 const xcb_rectangle_t *rectangles);
9509
9510 xcb_rectangle_t *
9511 xcb_set_clip_rectangles_rectangles (const xcb_set_clip_rectangles_request_t *R);
9512
9513 int
9514 xcb_set_clip_rectangles_rectangles_length (const xcb_set_clip_rectangles_request_t *R);
9515
9516 xcb_rectangle_iterator_t
9517 xcb_set_clip_rectangles_rectangles_iterator (const xcb_set_clip_rectangles_request_t *R);
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532 xcb_void_cookie_t
9533 xcb_free_gc_checked (xcb_connection_t *c,
9534 xcb_gcontext_t gc);
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546 xcb_void_cookie_t
9547 xcb_free_gc (xcb_connection_t *c,
9548 xcb_gcontext_t gc);
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561 xcb_void_cookie_t
9562 xcb_clear_area_checked (xcb_connection_t *c,
9563 uint8_t exposures,
9564 xcb_window_t window,
9565 int16_t x,
9566 int16_t y,
9567 uint16_t width,
9568 uint16_t height);
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578 xcb_void_cookie_t
9579 xcb_clear_area (xcb_connection_t *c,
9580 uint8_t exposures,
9581 xcb_window_t window,
9582 int16_t x,
9583 int16_t y,
9584 uint16_t width,
9585 uint16_t height);
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608 xcb_void_cookie_t
9609 xcb_copy_area_checked (xcb_connection_t *c,
9610 xcb_drawable_t src_drawable,
9611 xcb_drawable_t dst_drawable,
9612 xcb_gcontext_t gc,
9613 int16_t src_x,
9614 int16_t src_y,
9615 int16_t dst_x,
9616 int16_t dst_y,
9617 uint16_t width,
9618 uint16_t height);
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638 xcb_void_cookie_t
9639 xcb_copy_area (xcb_connection_t *c,
9640 xcb_drawable_t src_drawable,
9641 xcb_drawable_t dst_drawable,
9642 xcb_gcontext_t gc,
9643 int16_t src_x,
9644 int16_t src_y,
9645 int16_t dst_x,
9646 int16_t dst_y,
9647 uint16_t width,
9648 uint16_t height);
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661 xcb_void_cookie_t
9662 xcb_copy_plane_checked (xcb_connection_t *c,
9663 xcb_drawable_t src_drawable,
9664 xcb_drawable_t dst_drawable,
9665 xcb_gcontext_t gc,
9666 int16_t src_x,
9667 int16_t src_y,
9668 int16_t dst_x,
9669 int16_t dst_y,
9670 uint16_t width,
9671 uint16_t height,
9672 uint32_t bit_plane);
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682 xcb_void_cookie_t
9683 xcb_copy_plane (xcb_connection_t *c,
9684 xcb_drawable_t src_drawable,
9685 xcb_drawable_t dst_drawable,
9686 xcb_gcontext_t gc,
9687 int16_t src_x,
9688 int16_t src_y,
9689 int16_t dst_x,
9690 int16_t dst_y,
9691 uint16_t width,
9692 uint16_t height,
9693 uint32_t bit_plane);
9694
9695 int
9696 xcb_poly_point_sizeof (const void *_buffer,
9697 uint32_t points_len);
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710 xcb_void_cookie_t
9711 xcb_poly_point_checked (xcb_connection_t *c,
9712 uint8_t coordinate_mode,
9713 xcb_drawable_t drawable,
9714 xcb_gcontext_t gc,
9715 uint32_t points_len,
9716 const xcb_point_t *points);
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726 xcb_void_cookie_t
9727 xcb_poly_point (xcb_connection_t *c,
9728 uint8_t coordinate_mode,
9729 xcb_drawable_t drawable,
9730 xcb_gcontext_t gc,
9731 uint32_t points_len,
9732 const xcb_point_t *points);
9733
9734 xcb_point_t *
9735 xcb_poly_point_points (const xcb_poly_point_request_t *R);
9736
9737 int
9738 xcb_poly_point_points_length (const xcb_poly_point_request_t *R);
9739
9740 xcb_point_iterator_t
9741 xcb_poly_point_points_iterator (const xcb_poly_point_request_t *R);
9742
9743 int
9744 xcb_poly_line_sizeof (const void *_buffer,
9745 uint32_t points_len);
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772 xcb_void_cookie_t
9773 xcb_poly_line_checked (xcb_connection_t *c,
9774 uint8_t coordinate_mode,
9775 xcb_drawable_t drawable,
9776 xcb_gcontext_t gc,
9777 uint32_t points_len,
9778 const xcb_point_t *points);
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802 xcb_void_cookie_t
9803 xcb_poly_line (xcb_connection_t *c,
9804 uint8_t coordinate_mode,
9805 xcb_drawable_t drawable,
9806 xcb_gcontext_t gc,
9807 uint32_t points_len,
9808 const xcb_point_t *points);
9809
9810 xcb_point_t *
9811 xcb_poly_line_points (const xcb_poly_line_request_t *R);
9812
9813 int
9814 xcb_poly_line_points_length (const xcb_poly_line_request_t *R);
9815
9816 xcb_point_iterator_t
9817 xcb_poly_line_points_iterator (const xcb_poly_line_request_t *R);
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827 void
9828 xcb_segment_next (xcb_segment_iterator_t *i);
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839 xcb_generic_iterator_t
9840 xcb_segment_end (xcb_segment_iterator_t i);
9841
9842 int
9843 xcb_poly_segment_sizeof (const void *_buffer,
9844 uint32_t segments_len);
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872 xcb_void_cookie_t
9873 xcb_poly_segment_checked (xcb_connection_t *c,
9874 xcb_drawable_t drawable,
9875 xcb_gcontext_t gc,
9876 uint32_t segments_len,
9877 const xcb_segment_t *segments);
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902 xcb_void_cookie_t
9903 xcb_poly_segment (xcb_connection_t *c,
9904 xcb_drawable_t drawable,
9905 xcb_gcontext_t gc,
9906 uint32_t segments_len,
9907 const xcb_segment_t *segments);
9908
9909 xcb_segment_t *
9910 xcb_poly_segment_segments (const xcb_poly_segment_request_t *R);
9911
9912 int
9913 xcb_poly_segment_segments_length (const xcb_poly_segment_request_t *R);
9914
9915 xcb_segment_iterator_t
9916 xcb_poly_segment_segments_iterator (const xcb_poly_segment_request_t *R);
9917
9918 int
9919 xcb_poly_rectangle_sizeof (const void *_buffer,
9920 uint32_t rectangles_len);
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933 xcb_void_cookie_t
9934 xcb_poly_rectangle_checked (xcb_connection_t *c,
9935 xcb_drawable_t drawable,
9936 xcb_gcontext_t gc,
9937 uint32_t rectangles_len,
9938 const xcb_rectangle_t *rectangles);
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948 xcb_void_cookie_t
9949 xcb_poly_rectangle (xcb_connection_t *c,
9950 xcb_drawable_t drawable,
9951 xcb_gcontext_t gc,
9952 uint32_t rectangles_len,
9953 const xcb_rectangle_t *rectangles);
9954
9955 xcb_rectangle_t *
9956 xcb_poly_rectangle_rectangles (const xcb_poly_rectangle_request_t *R);
9957
9958 int
9959 xcb_poly_rectangle_rectangles_length (const xcb_poly_rectangle_request_t *R);
9960
9961 xcb_rectangle_iterator_t
9962 xcb_poly_rectangle_rectangles_iterator (const xcb_poly_rectangle_request_t *R);
9963
9964 int
9965 xcb_poly_arc_sizeof (const void *_buffer,
9966 uint32_t arcs_len);
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979 xcb_void_cookie_t
9980 xcb_poly_arc_checked (xcb_connection_t *c,
9981 xcb_drawable_t drawable,
9982 xcb_gcontext_t gc,
9983 uint32_t arcs_len,
9984 const xcb_arc_t *arcs);
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994 xcb_void_cookie_t
9995 xcb_poly_arc (xcb_connection_t *c,
9996 xcb_drawable_t drawable,
9997 xcb_gcontext_t gc,
9998 uint32_t arcs_len,
9999 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
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
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
10034
10035
10036
10037
10038
10039
10040
10041
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
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
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
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
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
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
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
10156
10157
10158
10159
10160
10161
10162
10163
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
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
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
10209
10210
10211
10212
10213
10214
10215
10216
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
10243
10244
10245
10246
10247
10248
10249
10250
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
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
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
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
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
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
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
10334
10335
10336
10337
10338
10339
10340
10341
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
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
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
10384
10385
10386
10387
10388
10389
10390
10391
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
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
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
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
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
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
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
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
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
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
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
10604
10605
10606
10607
10608
10609
10610
10611
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
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630 xcb_void_cookie_t
10631 xcb_free_colormap_checked (xcb_connection_t *c,
10632 xcb_colormap_t cmap);
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642 xcb_void_cookie_t
10643 xcb_free_colormap (xcb_connection_t *c,
10644 xcb_colormap_t cmap);
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
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
10662
10663
10664
10665
10666
10667
10668
10669
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
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686 xcb_void_cookie_t
10687 xcb_install_colormap_checked (xcb_connection_t *c,
10688 xcb_colormap_t cmap);
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698 xcb_void_cookie_t
10699 xcb_install_colormap (xcb_connection_t *c,
10700 xcb_colormap_t cmap);
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713 xcb_void_cookie_t
10714 xcb_uninstall_colormap_checked (xcb_connection_t *c,
10715 xcb_colormap_t cmap);
10716
10717
10718
10719
10720
10721
10722
10723
10724
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
10732
10733
10734
10735
10736
10737
10738
10739
10740 xcb_list_installed_colormaps_cookie_t
10741 xcb_list_installed_colormaps (xcb_connection_t *c,
10742 xcb_window_t window);
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
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
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
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
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
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
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
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
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
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
10860
10861
10862
10863
10864
10865
10866
10867
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
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
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
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
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
10913
10914
10915
10916
10917
10918
10919
10920
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
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
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
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
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
10986
10987
10988
10989
10990
10991
10992
10993
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
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
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
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
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
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
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
11073
11074
11075
11076
11077
11078
11079
11080
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
11097
11098
11099
11100
11101
11102
11103
11104
11105 void
11106 xcb_coloritem_next (xcb_coloritem_iterator_t *i);
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
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
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
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
11141
11142
11143
11144
11145
11146
11147
11148
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
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
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
11186
11187
11188
11189
11190
11191
11192
11193
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
11211
11212
11213
11214
11215
11216
11217
11218
11219 void
11220 xcb_rgb_next (xcb_rgb_iterator_t *i);
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
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
11238
11239
11240
11241
11242
11243
11244
11245
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
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
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
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
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
11300
11301
11302
11303
11304
11305
11306
11307
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
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
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
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
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
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
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
11375
11376
11377
11378
11379
11380
11381
11382
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
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
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
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
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
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502 xcb_void_cookie_t
11503 xcb_free_cursor_checked (xcb_connection_t *c,
11504 xcb_cursor_t cursor);
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517 xcb_void_cookie_t
11518 xcb_free_cursor (xcb_connection_t *c,
11519 xcb_cursor_t cursor);
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
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
11542
11543
11544
11545
11546
11547
11548
11549
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
11560
11561
11562
11563
11564
11565
11566
11567
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
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
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
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
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
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635 xcb_query_extension_cookie_t
11636 xcb_query_extension (xcb_connection_t *c,
11637 uint16_t name_len,
11638 const char *name);
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
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
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
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
11690
11691
11692
11693
11694
11695
11696
11697
11698 xcb_list_extensions_cookie_t
11699 xcb_list_extensions (xcb_connection_t *c);
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
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
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
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
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
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
11761
11762
11763
11764
11765
11766
11767
11768
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
11788
11789
11790
11791
11792
11793
11794
11795
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
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
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
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
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
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
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
11878
11879
11880
11881
11882
11883
11884
11885
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
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
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
11907
11908
11909
11910
11911
11912
11913
11914
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
11923
11924
11925
11926
11927
11928
11929
11930
11931 xcb_get_keyboard_control_cookie_t
11932 xcb_get_keyboard_control (xcb_connection_t *c);
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945 xcb_get_keyboard_control_cookie_t
11946 xcb_get_keyboard_control_unchecked (xcb_connection_t *c);
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
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
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978 xcb_void_cookie_t
11979 xcb_bell_checked (xcb_connection_t *c,
11980 int8_t percent);
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990 xcb_void_cookie_t
11991 xcb_bell (xcb_connection_t *c,
11992 int8_t percent);
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
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
12013
12014
12015
12016
12017
12018
12019
12020
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
12029
12030
12031
12032
12033
12034
12035
12036
12037 xcb_get_pointer_control_cookie_t
12038 xcb_get_pointer_control (xcb_connection_t *c);
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051 xcb_get_pointer_control_cookie_t
12052 xcb_get_pointer_control_unchecked (xcb_connection_t *c);
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
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
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
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
12091
12092
12093
12094
12095
12096
12097
12098
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
12106
12107
12108
12109
12110
12111
12112
12113
12114 xcb_get_screen_saver_cookie_t
12115 xcb_get_screen_saver (xcb_connection_t *c);
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128 xcb_get_screen_saver_cookie_t
12129 xcb_get_screen_saver_unchecked (xcb_connection_t *c);
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
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
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
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
12171
12172
12173
12174
12175
12176
12177
12178
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
12207
12208
12209
12210
12211
12212
12213
12214
12215 void
12216 xcb_host_next (xcb_host_iterator_t *i);
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
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
12233
12234
12235
12236
12237
12238
12239
12240
12241 xcb_list_hosts_cookie_t
12242 xcb_list_hosts (xcb_connection_t *c);
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
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
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
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
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294 xcb_void_cookie_t
12295 xcb_set_access_control_checked (xcb_connection_t *c,
12296 uint8_t mode);
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306 xcb_void_cookie_t
12307 xcb_set_access_control (xcb_connection_t *c,
12308 uint8_t mode);
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321 xcb_void_cookie_t
12322 xcb_set_close_down_mode_checked (xcb_connection_t *c,
12323 uint8_t mode);
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333 xcb_void_cookie_t
12334 xcb_set_close_down_mode (xcb_connection_t *c,
12335 uint8_t mode);
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354 xcb_void_cookie_t
12355 xcb_kill_client_checked (xcb_connection_t *c,
12356 uint32_t resource);
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
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
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
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
12397
12398
12399
12400
12401
12402
12403
12404
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
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432 xcb_void_cookie_t
12433 xcb_force_screen_saver_checked (xcb_connection_t *c,
12434 uint8_t mode);
12435
12436
12437
12438
12439
12440
12441
12442
12443
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
12451
12452
12453
12454
12455
12456
12457
12458
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
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
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
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
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
12502
12503
12504
12505
12506
12507
12508
12509
12510 xcb_get_pointer_mapping_cookie_t
12511 xcb_get_pointer_mapping (xcb_connection_t *c);
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
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
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
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
12558
12559
12560
12561
12562
12563
12564
12565
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
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
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
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
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
12609
12610
12611
12612
12613
12614
12615
12616
12617 xcb_get_modifier_mapping_cookie_t
12618 xcb_get_modifier_mapping (xcb_connection_t *c);
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
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
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
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
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673 xcb_void_cookie_t
12674 xcb_no_operation_checked (xcb_connection_t *c);
12675
12676
12677
12678
12679
12680
12681
12682
12683
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
12694
12695
12696