00001
00002
00003
00004
00005
00012 #ifndef __XFIXES_H
00013 #define __XFIXES_H
00014
00015 #include "xcb.h"
00016 #include "xproto.h"
00017 #include "render.h"
00018 #include "shape.h"
00019
00020 #define XCB_XFIXES_MAJOR_VERSION 4
00021 #define XCB_XFIXES_MINOR_VERSION 0
00022
00023 extern xcb_extension_t xcb_xfixes_id;
00024
00028 typedef struct xcb_xfixes_query_version_cookie_t {
00029 unsigned int sequence;
00030 } xcb_xfixes_query_version_cookie_t;
00031
00033 #define XCB_XFIXES_QUERY_VERSION 0
00034
00038 typedef struct xcb_xfixes_query_version_request_t {
00039 uint8_t major_opcode;
00040 uint8_t minor_opcode;
00041 uint16_t length;
00042 uint32_t client_major_version;
00043 uint32_t client_minor_version;
00044 } xcb_xfixes_query_version_request_t;
00045
00049 typedef struct xcb_xfixes_query_version_reply_t {
00050 uint8_t response_type;
00051 uint8_t pad0;
00052 uint16_t sequence;
00053 uint32_t length;
00054 uint32_t major_version;
00055 uint32_t minor_version;
00056 uint8_t pad1[16];
00057 } xcb_xfixes_query_version_reply_t;
00058
00059 typedef enum xcb_xfixes_save_set_mode_t {
00060 XCB_XFIXES_SAVE_SET_MODE_INSERT,
00061 XCB_XFIXES_SAVE_SET_MODE_DELETE
00062 } xcb_xfixes_save_set_mode_t;
00063
00064 typedef enum xcb_xfixes_save_set_target_t {
00065 XCB_XFIXES_SAVE_SET_TARGET_NEAREST,
00066 XCB_XFIXES_SAVE_SET_TARGET_ROOT
00067 } xcb_xfixes_save_set_target_t;
00068
00069 typedef enum xcb_xfixes_save_set_mapping_t {
00070 XCB_XFIXES_SAVE_SET_MAPPING_MAP,
00071 XCB_XFIXES_SAVE_SET_MAPPING_UNMAP
00072 } xcb_xfixes_save_set_mapping_t;
00073
00075 #define XCB_XFIXES_CHANGE_SAVE_SET 1
00076
00080 typedef struct xcb_xfixes_change_save_set_request_t {
00081 uint8_t major_opcode;
00082 uint8_t minor_opcode;
00083 uint16_t length;
00084 uint8_t mode;
00085 uint8_t target;
00086 uint8_t map;
00087 uint8_t pad0;
00088 xcb_window_t window;
00089 } xcb_xfixes_change_save_set_request_t;
00090
00091 typedef enum xcb_xfixes_selection_event_t {
00092 XCB_XFIXES_SELECTION_EVENT_SET_SELECTION_OWNER,
00093 XCB_XFIXES_SELECTION_EVENT_SELECTION_WINDOW_DESTROY,
00094 XCB_XFIXES_SELECTION_EVENT_SELECTION_CLIENT_CLOSE
00095 } xcb_xfixes_selection_event_t;
00096
00097 typedef enum xcb_xfixes_selection_event_mask_t {
00098 XCB_XFIXES_SELECTION_EVENT_MASK_SET_SELECTION_OWNER = (1 << 0),
00099 XCB_XFIXES_SELECTION_EVENT_MASK_SELECTION_WINDOW_DESTROY = (1 << 1),
00100 XCB_XFIXES_SELECTION_EVENT_MASK_SELECTION_CLIENT_CLOSE = (1 << 2)
00101 } xcb_xfixes_selection_event_mask_t;
00102
00104 #define XCB_XFIXES_SELECTION_NOTIFY 0
00105
00109 typedef struct xcb_xfixes_selection_notify_event_t {
00110 uint8_t response_type;
00111 uint8_t subtype;
00112 uint16_t sequence;
00113 xcb_window_t window;
00114 xcb_window_t owner;
00115 xcb_atom_t selection;
00116 xcb_timestamp_t timestamp;
00117 xcb_timestamp_t selection_timestamp;
00118 uint8_t pad0[8];
00119 } xcb_xfixes_selection_notify_event_t;
00120
00122 #define XCB_XFIXES_SELECT_SELECTION_INPUT 2
00123
00127 typedef struct xcb_xfixes_select_selection_input_request_t {
00128 uint8_t major_opcode;
00129 uint8_t minor_opcode;
00130 uint16_t length;
00131 xcb_window_t window;
00132 xcb_atom_t selection;
00133 uint32_t event_mask;
00134 } xcb_xfixes_select_selection_input_request_t;
00135
00136 typedef enum xcb_xfixes_cursor_notify_t {
00137 XCB_XFIXES_CURSOR_NOTIFY_DISPLAY_CURSOR
00138 } xcb_xfixes_cursor_notify_t;
00139
00140 typedef enum xcb_xfixes_cursor_notify_mask_t {
00141 XCB_XFIXES_CURSOR_NOTIFY_MASK_DISPLAY_CURSOR = (1 << 0)
00142 } xcb_xfixes_cursor_notify_mask_t;
00143
00145 #define XCB_XFIXES_CURSOR_NOTIFY 1
00146
00150 typedef struct xcb_xfixes_cursor_notify_event_t {
00151 uint8_t response_type;
00152 uint8_t subtype;
00153 uint16_t sequence;
00154 xcb_window_t window;
00155 uint32_t cursor_serial;
00156 xcb_timestamp_t timestamp;
00157 xcb_atom_t name;
00158 uint8_t pad0[12];
00159 } xcb_xfixes_cursor_notify_event_t;
00160
00162 #define XCB_XFIXES_SELECT_CURSOR_INPUT 3
00163
00167 typedef struct xcb_xfixes_select_cursor_input_request_t {
00168 uint8_t major_opcode;
00169 uint8_t minor_opcode;
00170 uint16_t length;
00171 xcb_window_t window;
00172 uint32_t event_mask;
00173 } xcb_xfixes_select_cursor_input_request_t;
00174
00178 typedef struct xcb_xfixes_get_cursor_image_cookie_t {
00179 unsigned int sequence;
00180 } xcb_xfixes_get_cursor_image_cookie_t;
00181
00183 #define XCB_XFIXES_GET_CURSOR_IMAGE 4
00184
00188 typedef struct xcb_xfixes_get_cursor_image_request_t {
00189 uint8_t major_opcode;
00190 uint8_t minor_opcode;
00191 uint16_t length;
00192 } xcb_xfixes_get_cursor_image_request_t;
00193
00197 typedef struct xcb_xfixes_get_cursor_image_reply_t {
00198 uint8_t response_type;
00199 uint8_t pad0;
00200 uint16_t sequence;
00201 uint32_t length;
00202 int16_t x;
00203 int16_t y;
00204 uint16_t width;
00205 uint16_t height;
00206 uint16_t xhot;
00207 uint16_t yhot;
00208 uint32_t cursor_serial;
00209 uint8_t pad1[8];
00210 } xcb_xfixes_get_cursor_image_reply_t;
00211
00212 typedef uint32_t xcb_xfixes_region_t;
00213
00217 typedef struct xcb_xfixes_region_iterator_t {
00218 xcb_xfixes_region_t *data;
00219 int rem;
00220 int index;
00221 } xcb_xfixes_region_iterator_t;
00222
00224 #define XCB_XFIXES_BAD_REGION 0
00225
00229 typedef struct xcb_xfixes_bad_region_error_t {
00230 uint8_t response_type;
00231 uint8_t error_code;
00232 uint16_t sequence;
00233 } xcb_xfixes_bad_region_error_t;
00234
00236 #define XCB_XFIXES_CREATE_REGION 5
00237
00241 typedef struct xcb_xfixes_create_region_request_t {
00242 uint8_t major_opcode;
00243 uint8_t minor_opcode;
00244 uint16_t length;
00245 xcb_xfixes_region_t region;
00246 } xcb_xfixes_create_region_request_t;
00247
00249 #define XCB_XFIXES_CREATE_REGION_FROM_BITMAP 6
00250
00254 typedef struct xcb_xfixes_create_region_from_bitmap_request_t {
00255 uint8_t major_opcode;
00256 uint8_t minor_opcode;
00257 uint16_t length;
00258 xcb_xfixes_region_t region;
00259 xcb_pixmap_t bitmap;
00260 } xcb_xfixes_create_region_from_bitmap_request_t;
00261
00263 #define XCB_XFIXES_CREATE_REGION_FROM_WINDOW 7
00264
00268 typedef struct xcb_xfixes_create_region_from_window_request_t {
00269 uint8_t major_opcode;
00270 uint8_t minor_opcode;
00271 uint16_t length;
00272 xcb_xfixes_region_t region;
00273 xcb_window_t window;
00274 xcb_shape_kind_t kind;
00275 uint8_t pad0[3];
00276 } xcb_xfixes_create_region_from_window_request_t;
00277
00279 #define XCB_XFIXES_CREATE_REGION_FROM_GC 8
00280
00284 typedef struct xcb_xfixes_create_region_from_gc_request_t {
00285 uint8_t major_opcode;
00286 uint8_t minor_opcode;
00287 uint16_t length;
00288 xcb_xfixes_region_t region;
00289 xcb_gcontext_t gc;
00290 } xcb_xfixes_create_region_from_gc_request_t;
00291
00293 #define XCB_XFIXES_CREATE_REGION_FROM_PICTURE 9
00294
00298 typedef struct xcb_xfixes_create_region_from_picture_request_t {
00299 uint8_t major_opcode;
00300 uint8_t minor_opcode;
00301 uint16_t length;
00302 xcb_xfixes_region_t region;
00303 xcb_render_picture_t picture;
00304 } xcb_xfixes_create_region_from_picture_request_t;
00305
00307 #define XCB_XFIXES_DESTROY_REGION 10
00308
00312 typedef struct xcb_xfixes_destroy_region_request_t {
00313 uint8_t major_opcode;
00314 uint8_t minor_opcode;
00315 uint16_t length;
00316 xcb_xfixes_region_t region;
00317 } xcb_xfixes_destroy_region_request_t;
00318
00320 #define XCB_XFIXES_SET_REGION 11
00321
00325 typedef struct xcb_xfixes_set_region_request_t {
00326 uint8_t major_opcode;
00327 uint8_t minor_opcode;
00328 uint16_t length;
00329 xcb_xfixes_region_t region;
00330 } xcb_xfixes_set_region_request_t;
00331
00333 #define XCB_XFIXES_COPY_REGION 12
00334
00338 typedef struct xcb_xfixes_copy_region_request_t {
00339 uint8_t major_opcode;
00340 uint8_t minor_opcode;
00341 uint16_t length;
00342 xcb_xfixes_region_t source;
00343 xcb_xfixes_region_t destination;
00344 } xcb_xfixes_copy_region_request_t;
00345
00347 #define XCB_XFIXES_UNION_REGION 13
00348
00352 typedef struct xcb_xfixes_union_region_request_t {
00353 uint8_t major_opcode;
00354 uint8_t minor_opcode;
00355 uint16_t length;
00356 xcb_xfixes_region_t source1;
00357 xcb_xfixes_region_t source2;
00358 xcb_xfixes_region_t destination;
00359 } xcb_xfixes_union_region_request_t;
00360
00362 #define XCB_XFIXES_INTERSECT_REGION 14
00363
00367 typedef struct xcb_xfixes_intersect_region_request_t {
00368 uint8_t major_opcode;
00369 uint8_t minor_opcode;
00370 uint16_t length;
00371 xcb_xfixes_region_t source1;
00372 xcb_xfixes_region_t source2;
00373 xcb_xfixes_region_t destination;
00374 } xcb_xfixes_intersect_region_request_t;
00375
00377 #define XCB_XFIXES_SUBTRACT_REGION 15
00378
00382 typedef struct xcb_xfixes_subtract_region_request_t {
00383 uint8_t major_opcode;
00384 uint8_t minor_opcode;
00385 uint16_t length;
00386 xcb_xfixes_region_t source1;
00387 xcb_xfixes_region_t source2;
00388 xcb_xfixes_region_t destination;
00389 } xcb_xfixes_subtract_region_request_t;
00390
00392 #define XCB_XFIXES_INVERT_REGION 16
00393
00397 typedef struct xcb_xfixes_invert_region_request_t {
00398 uint8_t major_opcode;
00399 uint8_t minor_opcode;
00400 uint16_t length;
00401 xcb_xfixes_region_t source;
00402 xcb_rectangle_t bounds;
00403 xcb_xfixes_region_t destination;
00404 } xcb_xfixes_invert_region_request_t;
00405
00407 #define XCB_XFIXES_TRANSLATE_REGION 17
00408
00412 typedef struct xcb_xfixes_translate_region_request_t {
00413 uint8_t major_opcode;
00414 uint8_t minor_opcode;
00415 uint16_t length;
00416 xcb_xfixes_region_t region;
00417 int16_t dx;
00418 int16_t dy;
00419 } xcb_xfixes_translate_region_request_t;
00420
00422 #define XCB_XFIXES_REGION_EXTENTS 18
00423
00427 typedef struct xcb_xfixes_region_extents_request_t {
00428 uint8_t major_opcode;
00429 uint8_t minor_opcode;
00430 uint16_t length;
00431 xcb_xfixes_region_t source;
00432 xcb_xfixes_region_t destination;
00433 } xcb_xfixes_region_extents_request_t;
00434
00438 typedef struct xcb_xfixes_fetch_region_cookie_t {
00439 unsigned int sequence;
00440 } xcb_xfixes_fetch_region_cookie_t;
00441
00443 #define XCB_XFIXES_FETCH_REGION 19
00444
00448 typedef struct xcb_xfixes_fetch_region_request_t {
00449 uint8_t major_opcode;
00450 uint8_t minor_opcode;
00451 uint16_t length;
00452 xcb_xfixes_region_t region;
00453 } xcb_xfixes_fetch_region_request_t;
00454
00458 typedef struct xcb_xfixes_fetch_region_reply_t {
00459 uint8_t response_type;
00460 uint8_t pad0;
00461 uint16_t sequence;
00462 uint32_t length;
00463 xcb_rectangle_t extents;
00464 uint8_t pad1[16];
00465 } xcb_xfixes_fetch_region_reply_t;
00466
00468 #define XCB_XFIXES_SET_GC_CLIP_REGION 20
00469
00473 typedef struct xcb_xfixes_set_gc_clip_region_request_t {
00474 uint8_t major_opcode;
00475 uint8_t minor_opcode;
00476 uint16_t length;
00477 xcb_gcontext_t gc;
00478 xcb_xfixes_region_t region;
00479 int16_t x_origin;
00480 int16_t y_origin;
00481 } xcb_xfixes_set_gc_clip_region_request_t;
00482
00484 #define XCB_XFIXES_SET_WINDOW_SHAPE_REGION 21
00485
00489 typedef struct xcb_xfixes_set_window_shape_region_request_t {
00490 uint8_t major_opcode;
00491 uint8_t minor_opcode;
00492 uint16_t length;
00493 xcb_window_t dest;
00494 xcb_shape_kind_t dest_kind;
00495 uint8_t pad0[3];
00496 int16_t x_offset;
00497 int16_t y_offset;
00498 xcb_xfixes_region_t region;
00499 } xcb_xfixes_set_window_shape_region_request_t;
00500
00502 #define XCB_XFIXES_SET_PICTURE_CLIP_REGION 22
00503
00507 typedef struct xcb_xfixes_set_picture_clip_region_request_t {
00508 uint8_t major_opcode;
00509 uint8_t minor_opcode;
00510 uint16_t length;
00511 xcb_render_picture_t picture;
00512 xcb_xfixes_region_t region;
00513 int16_t x_origin;
00514 int16_t y_origin;
00515 } xcb_xfixes_set_picture_clip_region_request_t;
00516
00518 #define XCB_XFIXES_SET_CURSOR_NAME 23
00519
00523 typedef struct xcb_xfixes_set_cursor_name_request_t {
00524 uint8_t major_opcode;
00525 uint8_t minor_opcode;
00526 uint16_t length;
00527 xcb_cursor_t cursor;
00528 uint16_t nbytes;
00529 uint8_t pad0[2];
00530 } xcb_xfixes_set_cursor_name_request_t;
00531
00535 typedef struct xcb_xfixes_get_cursor_name_cookie_t {
00536 unsigned int sequence;
00537 } xcb_xfixes_get_cursor_name_cookie_t;
00538
00540 #define XCB_XFIXES_GET_CURSOR_NAME 24
00541
00545 typedef struct xcb_xfixes_get_cursor_name_request_t {
00546 uint8_t major_opcode;
00547 uint8_t minor_opcode;
00548 uint16_t length;
00549 xcb_cursor_t cursor;
00550 } xcb_xfixes_get_cursor_name_request_t;
00551
00555 typedef struct xcb_xfixes_get_cursor_name_reply_t {
00556 uint8_t response_type;
00557 uint8_t pad0;
00558 uint16_t sequence;
00559 uint32_t length;
00560 xcb_atom_t atom;
00561 uint16_t nbytes;
00562 uint8_t pad1[18];
00563 } xcb_xfixes_get_cursor_name_reply_t;
00564
00568 typedef struct xcb_xfixes_get_cursor_image_and_name_cookie_t {
00569 unsigned int sequence;
00570 } xcb_xfixes_get_cursor_image_and_name_cookie_t;
00571
00573 #define XCB_XFIXES_GET_CURSOR_IMAGE_AND_NAME 25
00574
00578 typedef struct xcb_xfixes_get_cursor_image_and_name_request_t {
00579 uint8_t major_opcode;
00580 uint8_t minor_opcode;
00581 uint16_t length;
00582 } xcb_xfixes_get_cursor_image_and_name_request_t;
00583
00587 typedef struct xcb_xfixes_get_cursor_image_and_name_reply_t {
00588 uint8_t response_type;
00589 uint8_t pad0;
00590 uint16_t sequence;
00591 uint32_t length;
00592 int16_t x;
00593 int16_t y;
00594 uint16_t width;
00595 uint16_t height;
00596 uint16_t xhot;
00597 uint16_t yhot;
00598 uint32_t cursor_serial;
00599 xcb_atom_t cursor_atom;
00600 uint16_t nbytes;
00601 uint8_t pad1[2];
00602 } xcb_xfixes_get_cursor_image_and_name_reply_t;
00603
00605 #define XCB_XFIXES_CHANGE_CURSOR 26
00606
00610 typedef struct xcb_xfixes_change_cursor_request_t {
00611 uint8_t major_opcode;
00612 uint8_t minor_opcode;
00613 uint16_t length;
00614 xcb_cursor_t source;
00615 xcb_cursor_t destination;
00616 } xcb_xfixes_change_cursor_request_t;
00617
00619 #define XCB_XFIXES_CHANGE_CURSOR_BY_NAME 27
00620
00624 typedef struct xcb_xfixes_change_cursor_by_name_request_t {
00625 uint8_t major_opcode;
00626 uint8_t minor_opcode;
00627 uint16_t length;
00628 xcb_cursor_t src;
00629 uint16_t nbytes;
00630 uint8_t pad0[2];
00631 } xcb_xfixes_change_cursor_by_name_request_t;
00632
00634 #define XCB_XFIXES_EXPAND_REGION 28
00635
00639 typedef struct xcb_xfixes_expand_region_request_t {
00640 uint8_t major_opcode;
00641 uint8_t minor_opcode;
00642 uint16_t length;
00643 xcb_xfixes_region_t source;
00644 xcb_xfixes_region_t destination;
00645 uint16_t left;
00646 uint16_t right;
00647 uint16_t top;
00648 uint16_t bottom;
00649 } xcb_xfixes_expand_region_request_t;
00650
00652 #define XCB_XFIXES_HIDE_CURSOR 29
00653
00657 typedef struct xcb_xfixes_hide_cursor_request_t {
00658 uint8_t major_opcode;
00659 uint8_t minor_opcode;
00660 uint16_t length;
00661 xcb_window_t window;
00662 } xcb_xfixes_hide_cursor_request_t;
00663
00665 #define XCB_XFIXES_SHOW_CURSOR 30
00666
00670 typedef struct xcb_xfixes_show_cursor_request_t {
00671 uint8_t major_opcode;
00672 uint8_t minor_opcode;
00673 uint16_t length;
00674 xcb_window_t window;
00675 } xcb_xfixes_show_cursor_request_t;
00676
00677
00678
00679
00680
00681
00682
00683
00684
00685
00686
00687
00688
00689 xcb_xfixes_query_version_cookie_t
00690 xcb_xfixes_query_version (xcb_connection_t *c ,
00691 uint32_t client_major_version ,
00692 uint32_t client_minor_version );
00693
00694
00695
00696
00697
00698
00699
00700
00701
00702
00703
00704
00705
00706 xcb_xfixes_query_version_cookie_t
00707 xcb_xfixes_query_version_unchecked (xcb_connection_t *c ,
00708 uint32_t client_major_version ,
00709 uint32_t client_minor_version );
00710
00711
00712
00713
00714
00715
00716
00717
00718
00719
00720
00721
00722
00723 xcb_xfixes_query_version_reply_t *
00724 xcb_xfixes_query_version_reply (xcb_connection_t *c ,
00725 xcb_xfixes_query_version_cookie_t cookie ,
00726 xcb_generic_error_t **e );
00727
00728
00729
00730
00731
00732
00733
00734
00735
00736
00737
00738
00739
00740
00741
00742 xcb_void_cookie_t
00743 xcb_xfixes_change_save_set_checked (xcb_connection_t *c ,
00744 uint8_t mode ,
00745 uint8_t target ,
00746 uint8_t map ,
00747 xcb_window_t window );
00748
00749
00750
00751
00752
00753
00754
00755
00756
00757
00758
00759
00760
00761
00762
00763 xcb_void_cookie_t
00764 xcb_xfixes_change_save_set (xcb_connection_t *c ,
00765 uint8_t mode ,
00766 uint8_t target ,
00767 uint8_t map ,
00768 xcb_window_t window );
00769
00770
00771
00772
00773
00774
00775
00776
00777
00778
00779
00780
00781
00782
00783 xcb_void_cookie_t
00784 xcb_xfixes_select_selection_input_checked (xcb_connection_t *c ,
00785 xcb_window_t window ,
00786 xcb_atom_t selection ,
00787 uint32_t event_mask );
00788
00789
00790
00791
00792
00793
00794
00795
00796
00797
00798
00799
00800
00801
00802 xcb_void_cookie_t
00803 xcb_xfixes_select_selection_input (xcb_connection_t *c ,
00804 xcb_window_t window ,
00805 xcb_atom_t selection ,
00806 uint32_t event_mask );
00807
00808
00809
00810
00811
00812
00813
00814
00815
00816
00817
00818
00819
00820 xcb_void_cookie_t
00821 xcb_xfixes_select_cursor_input_checked (xcb_connection_t *c ,
00822 xcb_window_t window ,
00823 uint32_t event_mask );
00824
00825
00826
00827
00828
00829
00830
00831
00832
00833
00834
00835
00836
00837 xcb_void_cookie_t
00838 xcb_xfixes_select_cursor_input (xcb_connection_t *c ,
00839 xcb_window_t window ,
00840 uint32_t event_mask );
00841
00842
00843
00844
00845
00846
00847
00848
00849
00850
00851
00852 xcb_xfixes_get_cursor_image_cookie_t
00853 xcb_xfixes_get_cursor_image (xcb_connection_t *c );
00854
00855
00856
00857
00858
00859
00860
00861
00862
00863
00864
00865 xcb_xfixes_get_cursor_image_cookie_t
00866 xcb_xfixes_get_cursor_image_unchecked (xcb_connection_t *c );
00867
00868
00869
00870
00871
00872
00873
00874
00875
00876
00877
00878 uint32_t *
00879 xcb_xfixes_get_cursor_image_cursor_image (const xcb_xfixes_get_cursor_image_reply_t *R );
00880
00881
00882
00883
00884
00885
00886
00887
00888
00889
00890
00891 int
00892 xcb_xfixes_get_cursor_image_cursor_image_length (const xcb_xfixes_get_cursor_image_reply_t *R );
00893
00894
00895
00896
00897
00898
00899
00900
00901
00902
00903
00904 xcb_generic_iterator_t
00905 xcb_xfixes_get_cursor_image_cursor_image_end (const xcb_xfixes_get_cursor_image_reply_t *R );
00906
00907
00908
00909
00910
00911
00912
00913
00914
00915
00916
00917
00918
00919 xcb_xfixes_get_cursor_image_reply_t *
00920 xcb_xfixes_get_cursor_image_reply (xcb_connection_t *c ,
00921 xcb_xfixes_get_cursor_image_cookie_t cookie ,
00922 xcb_generic_error_t **e );
00923
00924
00925
00926
00927
00928
00929
00930
00931
00932
00933
00934 void
00935 xcb_xfixes_region_next (xcb_xfixes_region_iterator_t *i );
00936
00937
00938
00939
00940
00941
00942
00943
00944
00945
00946
00947 xcb_generic_iterator_t
00948 xcb_xfixes_region_end (xcb_xfixes_region_iterator_t i );
00949
00950
00951
00952
00953
00954
00955
00956
00957
00958
00959
00960
00961
00962
00963 xcb_void_cookie_t
00964 xcb_xfixes_create_region_checked (xcb_connection_t *c ,
00965 xcb_xfixes_region_t region ,
00966 uint32_t rectangles_len ,
00967 const xcb_rectangle_t *rectangles );
00968
00969
00970
00971
00972
00973
00974
00975
00976
00977
00978
00979
00980
00981
00982 xcb_void_cookie_t
00983 xcb_xfixes_create_region (xcb_connection_t *c ,
00984 xcb_xfixes_region_t region ,
00985 uint32_t rectangles_len ,
00986 const xcb_rectangle_t *rectangles );
00987
00988
00989
00990
00991
00992
00993
00994
00995
00996
00997
00998
00999
01000 xcb_void_cookie_t
01001 xcb_xfixes_create_region_from_bitmap_checked (xcb_connection_t *c ,
01002 xcb_xfixes_region_t region ,
01003 xcb_pixmap_t bitmap );
01004
01005
01006
01007
01008
01009
01010
01011
01012
01013
01014
01015
01016
01017 xcb_void_cookie_t
01018 xcb_xfixes_create_region_from_bitmap (xcb_connection_t *c ,
01019 xcb_xfixes_region_t region ,
01020 xcb_pixmap_t bitmap );
01021
01022
01023
01024
01025
01026
01027
01028
01029
01030
01031
01032
01033
01034
01035 xcb_void_cookie_t
01036 xcb_xfixes_create_region_from_window_checked (xcb_connection_t *c ,
01037 xcb_xfixes_region_t region ,
01038 xcb_window_t window ,
01039 xcb_shape_kind_t kind );
01040
01041
01042
01043
01044
01045
01046
01047
01048
01049
01050
01051
01052
01053
01054 xcb_void_cookie_t
01055 xcb_xfixes_create_region_from_window (xcb_connection_t *c ,
01056 xcb_xfixes_region_t region ,
01057 xcb_window_t window ,
01058 xcb_shape_kind_t kind );
01059
01060
01061
01062
01063
01064
01065
01066
01067
01068
01069
01070
01071
01072 xcb_void_cookie_t
01073 xcb_xfixes_create_region_from_gc_checked (xcb_connection_t *c ,
01074 xcb_xfixes_region_t region ,
01075 xcb_gcontext_t gc );
01076
01077
01078
01079
01080
01081
01082
01083
01084
01085
01086
01087
01088
01089 xcb_void_cookie_t
01090 xcb_xfixes_create_region_from_gc (xcb_connection_t *c ,
01091 xcb_xfixes_region_t region ,
01092 xcb_gcontext_t gc );
01093
01094
01095
01096
01097
01098
01099
01100
01101
01102
01103
01104
01105
01106 xcb_void_cookie_t
01107 xcb_xfixes_create_region_from_picture_checked (xcb_connection_t *c ,
01108 xcb_xfixes_region_t region ,
01109 xcb_render_picture_t picture );
01110
01111
01112
01113
01114
01115
01116
01117
01118
01119
01120
01121
01122
01123 xcb_void_cookie_t
01124 xcb_xfixes_create_region_from_picture (xcb_connection_t *c ,
01125 xcb_xfixes_region_t region ,
01126 xcb_render_picture_t picture );
01127
01128
01129
01130
01131
01132
01133
01134
01135
01136
01137
01138
01139 xcb_void_cookie_t
01140 xcb_xfixes_destroy_region_checked (xcb_connection_t *c ,
01141 xcb_xfixes_region_t region );
01142
01143
01144
01145
01146
01147
01148
01149
01150
01151
01152
01153
01154 xcb_void_cookie_t
01155 xcb_xfixes_destroy_region (xcb_connection_t *c ,
01156 xcb_xfixes_region_t region );
01157
01158
01159
01160
01161
01162
01163
01164
01165
01166
01167
01168
01169
01170
01171 xcb_void_cookie_t
01172 xcb_xfixes_set_region_checked (xcb_connection_t *c ,
01173 xcb_xfixes_region_t region ,
01174 uint32_t rectangles_len ,
01175 const xcb_rectangle_t *rectangles );
01176
01177
01178
01179
01180
01181
01182
01183
01184
01185
01186
01187
01188
01189
01190 xcb_void_cookie_t
01191 xcb_xfixes_set_region (xcb_connection_t *c ,
01192 xcb_xfixes_region_t region ,
01193 uint32_t rectangles_len ,
01194 const xcb_rectangle_t *rectangles );
01195
01196
01197
01198
01199
01200
01201
01202
01203
01204
01205
01206
01207
01208 xcb_void_cookie_t
01209 xcb_xfixes_copy_region_checked (xcb_connection_t *c ,
01210 xcb_xfixes_region_t source ,
01211 xcb_xfixes_region_t destination );
01212
01213
01214
01215
01216
01217
01218
01219
01220
01221
01222
01223
01224
01225 xcb_void_cookie_t
01226 xcb_xfixes_copy_region (xcb_connection_t *c ,
01227 xcb_xfixes_region_t source ,
01228 xcb_xfixes_region_t destination );
01229
01230
01231
01232
01233
01234
01235
01236
01237
01238
01239
01240
01241
01242
01243 xcb_void_cookie_t
01244 xcb_xfixes_union_region_checked (xcb_connection_t *c ,
01245 xcb_xfixes_region_t source1 ,
01246 xcb_xfixes_region_t source2 ,
01247 xcb_xfixes_region_t destination );
01248
01249
01250
01251
01252
01253
01254
01255
01256
01257
01258
01259
01260
01261
01262 xcb_void_cookie_t
01263 xcb_xfixes_union_region (xcb_connection_t *c ,
01264 xcb_xfixes_region_t source1 ,
01265 xcb_xfixes_region_t source2 ,
01266 xcb_xfixes_region_t destination );
01267
01268
01269
01270
01271
01272
01273
01274
01275
01276
01277
01278
01279
01280
01281 xcb_void_cookie_t
01282 xcb_xfixes_intersect_region_checked (xcb_connection_t *c ,
01283 xcb_xfixes_region_t source1 ,
01284 xcb_xfixes_region_t source2 ,
01285 xcb_xfixes_region_t destination );
01286
01287
01288
01289
01290
01291
01292
01293
01294
01295
01296
01297
01298
01299
01300 xcb_void_cookie_t
01301 xcb_xfixes_intersect_region (xcb_connection_t *c ,
01302 xcb_xfixes_region_t source1 ,
01303 xcb_xfixes_region_t source2 ,
01304 xcb_xfixes_region_t destination );
01305
01306
01307
01308
01309
01310
01311
01312
01313
01314
01315
01316
01317
01318
01319 xcb_void_cookie_t
01320 xcb_xfixes_subtract_region_checked (xcb_connection_t *c ,
01321 xcb_xfixes_region_t source1 ,
01322 xcb_xfixes_region_t source2 ,
01323 xcb_xfixes_region_t destination );
01324
01325
01326
01327
01328
01329
01330
01331
01332
01333
01334
01335
01336
01337
01338 xcb_void_cookie_t
01339 xcb_xfixes_subtract_region (xcb_connection_t *c ,
01340 xcb_xfixes_region_t source1 ,
01341 xcb_xfixes_region_t source2 ,
01342 xcb_xfixes_region_t destination );
01343
01344
01345
01346
01347
01348
01349
01350
01351
01352
01353
01354
01355
01356
01357 xcb_void_cookie_t
01358 xcb_xfixes_invert_region_checked (xcb_connection_t *c ,
01359 xcb_xfixes_region_t source ,
01360 xcb_rectangle_t bounds ,
01361 xcb_xfixes_region_t destination );
01362
01363
01364
01365
01366
01367
01368
01369
01370
01371
01372
01373
01374
01375
01376 xcb_void_cookie_t
01377 xcb_xfixes_invert_region (xcb_connection_t *c ,
01378 xcb_xfixes_region_t source ,
01379 xcb_rectangle_t bounds ,
01380 xcb_xfixes_region_t destination );
01381
01382
01383
01384
01385
01386
01387
01388
01389
01390
01391
01392
01393
01394
01395 xcb_void_cookie_t
01396 xcb_xfixes_translate_region_checked (xcb_connection_t *c ,
01397 xcb_xfixes_region_t region ,
01398 int16_t dx ,
01399 int16_t dy );
01400
01401
01402
01403
01404
01405
01406
01407
01408
01409
01410
01411
01412
01413
01414 xcb_void_cookie_t
01415 xcb_xfixes_translate_region (xcb_connection_t *c ,
01416 xcb_xfixes_region_t region ,
01417 int16_t dx ,
01418 int16_t dy );
01419
01420
01421
01422
01423
01424
01425
01426
01427
01428
01429
01430
01431
01432 xcb_void_cookie_t
01433 xcb_xfixes_region_extents_checked (xcb_connection_t *c ,
01434 xcb_xfixes_region_t source ,
01435 xcb_xfixes_region_t destination );
01436
01437
01438
01439
01440
01441
01442
01443
01444
01445
01446
01447
01448
01449 xcb_void_cookie_t
01450 xcb_xfixes_region_extents (xcb_connection_t *c ,
01451 xcb_xfixes_region_t source ,
01452 xcb_xfixes_region_t destination );
01453
01454
01455
01456
01457
01458
01459
01460
01461
01462
01463
01464
01465 xcb_xfixes_fetch_region_cookie_t
01466 xcb_xfixes_fetch_region (xcb_connection_t *c ,
01467 xcb_xfixes_region_t region );
01468
01469
01470
01471
01472
01473
01474
01475
01476
01477
01478
01479
01480 xcb_xfixes_fetch_region_cookie_t
01481 xcb_xfixes_fetch_region_unchecked (xcb_connection_t *c ,
01482 xcb_xfixes_region_t region );
01483
01484
01485
01486
01487
01488
01489
01490
01491
01492
01493
01494 xcb_rectangle_t *
01495 xcb_xfixes_fetch_region_rectangles (const xcb_xfixes_fetch_region_reply_t *R );
01496
01497
01498
01499
01500
01501
01502
01503
01504
01505
01506
01507 int
01508 xcb_xfixes_fetch_region_rectangles_length (const xcb_xfixes_fetch_region_reply_t *R );
01509
01510
01511
01512
01513
01514
01515
01516
01517
01518
01519
01520 xcb_rectangle_iterator_t
01521 xcb_xfixes_fetch_region_rectangles_iterator (const xcb_xfixes_fetch_region_reply_t *R );
01522
01523
01524
01525
01526
01527
01528
01529
01530
01531
01532
01533
01534
01535 xcb_xfixes_fetch_region_reply_t *
01536 xcb_xfixes_fetch_region_reply (xcb_connection_t *c ,
01537 xcb_xfixes_fetch_region_cookie_t cookie ,
01538 xcb_generic_error_t **e );
01539
01540
01541
01542
01543
01544
01545
01546
01547
01548
01549
01550
01551
01552
01553
01554 xcb_void_cookie_t
01555 xcb_xfixes_set_gc_clip_region_checked (xcb_connection_t *c ,
01556 xcb_gcontext_t gc ,
01557 xcb_xfixes_region_t region ,
01558 int16_t x_origin ,
01559 int16_t y_origin );
01560
01561
01562
01563
01564
01565
01566
01567
01568
01569
01570
01571
01572
01573
01574
01575 xcb_void_cookie_t
01576 xcb_xfixes_set_gc_clip_region (xcb_connection_t *c ,
01577 xcb_gcontext_t gc ,
01578 xcb_xfixes_region_t region ,
01579 int16_t x_origin ,
01580 int16_t y_origin );
01581
01582
01583
01584
01585
01586
01587
01588
01589
01590
01591
01592
01593
01594
01595
01596
01597 xcb_void_cookie_t
01598 xcb_xfixes_set_window_shape_region_checked (xcb_connection_t *c ,
01599 xcb_window_t dest ,
01600 xcb_shape_kind_t dest_kind ,
01601 int16_t x_offset ,
01602 int16_t y_offset ,
01603 xcb_xfixes_region_t region );
01604
01605
01606
01607
01608
01609
01610
01611
01612
01613
01614
01615
01616
01617
01618
01619
01620 xcb_void_cookie_t
01621 xcb_xfixes_set_window_shape_region (xcb_connection_t *c ,
01622 xcb_window_t dest ,
01623 xcb_shape_kind_t dest_kind ,
01624 int16_t x_offset ,
01625 int16_t y_offset ,
01626 xcb_xfixes_region_t region );
01627
01628
01629
01630
01631
01632
01633
01634
01635
01636
01637
01638
01639
01640
01641
01642 xcb_void_cookie_t
01643 xcb_xfixes_set_picture_clip_region_checked (xcb_connection_t *c ,
01644 xcb_render_picture_t picture ,
01645 xcb_xfixes_region_t region ,
01646 int16_t x_origin ,
01647 int16_t y_origin );
01648
01649
01650
01651
01652
01653
01654
01655
01656
01657
01658
01659
01660
01661
01662
01663 xcb_void_cookie_t
01664 xcb_xfixes_set_picture_clip_region (xcb_connection_t *c ,
01665 xcb_render_picture_t picture ,
01666 xcb_xfixes_region_t region ,
01667 int16_t x_origin ,
01668 int16_t y_origin );
01669
01670
01671
01672
01673
01674
01675
01676
01677
01678
01679
01680
01681
01682
01683 xcb_void_cookie_t
01684 xcb_xfixes_set_cursor_name_checked (xcb_connection_t *c ,
01685 xcb_cursor_t cursor ,
01686 uint16_t nbytes ,
01687 const uint8_t *name );
01688
01689
01690
01691
01692
01693
01694
01695
01696
01697
01698
01699
01700
01701
01702 xcb_void_cookie_t
01703 xcb_xfixes_set_cursor_name (xcb_connection_t *c ,
01704 xcb_cursor_t cursor ,
01705 uint16_t nbytes ,
01706 const uint8_t *name );
01707
01708
01709
01710
01711
01712
01713
01714
01715
01716
01717
01718
01719 xcb_xfixes_get_cursor_name_cookie_t
01720 xcb_xfixes_get_cursor_name (xcb_connection_t *c ,
01721 xcb_cursor_t cursor );
01722
01723
01724
01725
01726
01727
01728
01729
01730
01731
01732
01733
01734 xcb_xfixes_get_cursor_name_cookie_t
01735 xcb_xfixes_get_cursor_name_unchecked (xcb_connection_t *c ,
01736 xcb_cursor_t cursor );
01737
01738
01739
01740
01741
01742
01743
01744
01745
01746
01747
01748 uint8_t *
01749 xcb_xfixes_get_cursor_name_name (const xcb_xfixes_get_cursor_name_reply_t *R );
01750
01751
01752
01753
01754
01755
01756
01757
01758
01759
01760
01761 int
01762 xcb_xfixes_get_cursor_name_name_length (const xcb_xfixes_get_cursor_name_reply_t *R );
01763
01764
01765
01766
01767
01768
01769
01770
01771
01772
01773
01774 xcb_generic_iterator_t
01775 xcb_xfixes_get_cursor_name_name_end (const xcb_xfixes_get_cursor_name_reply_t *R );
01776
01777
01778
01779
01780
01781
01782
01783
01784
01785
01786
01787
01788
01789 xcb_xfixes_get_cursor_name_reply_t *
01790 xcb_xfixes_get_cursor_name_reply (xcb_connection_t *c ,
01791 xcb_xfixes_get_cursor_name_cookie_t cookie ,
01792 xcb_generic_error_t **e );
01793
01794
01795
01796
01797
01798
01799
01800
01801
01802
01803
01804 xcb_xfixes_get_cursor_image_and_name_cookie_t
01805 xcb_xfixes_get_cursor_image_and_name (xcb_connection_t *c );
01806
01807
01808
01809
01810
01811
01812
01813
01814
01815
01816
01817 xcb_xfixes_get_cursor_image_and_name_cookie_t
01818 xcb_xfixes_get_cursor_image_and_name_unchecked (xcb_connection_t *c );
01819
01820
01821
01822
01823
01824
01825
01826
01827
01828
01829
01830 uint8_t *
01831 xcb_xfixes_get_cursor_image_and_name_name (const xcb_xfixes_get_cursor_image_and_name_reply_t *R );
01832
01833
01834
01835
01836
01837
01838
01839
01840
01841
01842
01843 int
01844 xcb_xfixes_get_cursor_image_and_name_name_length (const xcb_xfixes_get_cursor_image_and_name_reply_t *R );
01845
01846
01847
01848
01849
01850
01851
01852
01853
01854
01855
01856 xcb_generic_iterator_t
01857 xcb_xfixes_get_cursor_image_and_name_name_end (const xcb_xfixes_get_cursor_image_and_name_reply_t *R );
01858
01859
01860
01861
01862
01863
01864
01865
01866
01867
01868
01869 uint32_t *
01870 xcb_xfixes_get_cursor_image_and_name_cursor_image (const xcb_xfixes_get_cursor_image_and_name_reply_t *R );
01871
01872
01873
01874
01875
01876
01877
01878
01879
01880
01881
01882 int
01883 xcb_xfixes_get_cursor_image_and_name_cursor_image_length (const xcb_xfixes_get_cursor_image_and_name_reply_t *R );
01884
01885
01886
01887
01888
01889
01890
01891
01892
01893
01894
01895 xcb_generic_iterator_t
01896 xcb_xfixes_get_cursor_image_and_name_cursor_image_end (const xcb_xfixes_get_cursor_image_and_name_reply_t *R );
01897
01898
01899
01900
01901
01902
01903
01904
01905
01906
01907
01908
01909
01910 xcb_xfixes_get_cursor_image_and_name_reply_t *
01911 xcb_xfixes_get_cursor_image_and_name_reply (xcb_connection_t *c ,
01912 xcb_xfixes_get_cursor_image_and_name_cookie_t cookie ,
01913 xcb_generic_error_t **e );
01914
01915
01916
01917
01918
01919
01920
01921
01922
01923
01924
01925
01926
01927 xcb_void_cookie_t
01928 xcb_xfixes_change_cursor_checked (xcb_connection_t *c ,
01929 xcb_cursor_t source ,
01930 xcb_cursor_t destination );
01931
01932
01933
01934
01935
01936
01937
01938
01939
01940
01941
01942
01943
01944 xcb_void_cookie_t
01945 xcb_xfixes_change_cursor (xcb_connection_t *c ,
01946 xcb_cursor_t source ,
01947 xcb_cursor_t destination );
01948
01949
01950
01951
01952
01953
01954
01955
01956
01957
01958
01959
01960
01961
01962 xcb_void_cookie_t
01963 xcb_xfixes_change_cursor_by_name_checked (xcb_connection_t *c ,
01964 xcb_cursor_t src ,
01965 uint16_t nbytes ,
01966 const uint8_t *name );
01967
01968
01969
01970
01971
01972
01973
01974
01975
01976
01977
01978
01979
01980
01981 xcb_void_cookie_t
01982 xcb_xfixes_change_cursor_by_name (xcb_connection_t *c ,
01983 xcb_cursor_t src ,
01984 uint16_t nbytes ,
01985 const uint8_t *name );
01986
01987
01988
01989
01990
01991
01992
01993
01994
01995
01996
01997
01998
01999
02000
02001
02002
02003 xcb_void_cookie_t
02004 xcb_xfixes_expand_region_checked (xcb_connection_t *c ,
02005 xcb_xfixes_region_t source ,
02006 xcb_xfixes_region_t destination ,
02007 uint16_t left ,
02008 uint16_t right ,
02009 uint16_t top ,
02010 uint16_t bottom );
02011
02012
02013
02014
02015
02016
02017
02018
02019
02020
02021
02022
02023
02024
02025
02026
02027
02028 xcb_void_cookie_t
02029 xcb_xfixes_expand_region (xcb_connection_t *c ,
02030 xcb_xfixes_region_t source ,
02031 xcb_xfixes_region_t destination ,
02032 uint16_t left ,
02033 uint16_t right ,
02034 uint16_t top ,
02035 uint16_t bottom );
02036
02037
02038
02039
02040
02041
02042
02043
02044
02045
02046
02047
02048 xcb_void_cookie_t
02049 xcb_xfixes_hide_cursor_checked (xcb_connection_t *c ,
02050 xcb_window_t window );
02051
02052
02053
02054
02055
02056
02057
02058
02059
02060
02061
02062
02063 xcb_void_cookie_t
02064 xcb_xfixes_hide_cursor (xcb_connection_t *c ,
02065 xcb_window_t window );
02066
02067
02068
02069
02070
02071
02072
02073
02074
02075
02076
02077
02078 xcb_void_cookie_t
02079 xcb_xfixes_show_cursor_checked (xcb_connection_t *c ,
02080 xcb_window_t window );
02081
02082
02083
02084
02085
02086
02087
02088
02089
02090
02091
02092
02093 xcb_void_cookie_t
02094 xcb_xfixes_show_cursor (xcb_connection_t *c ,
02095 xcb_window_t window );
02096
02097
02098 #endif
02099