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
00686
00687
00688
00689
00690
00691
00692
00693
00694
00695
00696
00697 xcb_xfixes_query_version_cookie_t
00698 xcb_xfixes_query_version (xcb_connection_t *c ,
00699 uint32_t client_major_version ,
00700 uint32_t client_minor_version );
00701
00714
00715
00716
00717
00718
00719
00720
00721
00722
00723
00724
00725 xcb_xfixes_query_version_cookie_t
00726 xcb_xfixes_query_version_unchecked (xcb_connection_t *c ,
00727 uint32_t client_major_version ,
00728 uint32_t client_minor_version );
00729
00743
00744
00745
00746
00747
00748
00749
00750
00751
00752
00753
00754 xcb_xfixes_query_version_reply_t *
00755 xcb_xfixes_query_version_reply (xcb_connection_t *c ,
00756 xcb_xfixes_query_version_cookie_t cookie ,
00757 xcb_generic_error_t **e );
00758
00771
00772
00773
00774
00775
00776
00777
00778
00779
00780
00781
00782
00783
00784 xcb_void_cookie_t
00785 xcb_xfixes_change_save_set_checked (xcb_connection_t *c ,
00786 uint8_t mode ,
00787 uint8_t target ,
00788 uint8_t map ,
00789 xcb_window_t window );
00790
00800
00801
00802
00803
00804
00805
00806
00807
00808
00809
00810
00811
00812
00813 xcb_void_cookie_t
00814 xcb_xfixes_change_save_set (xcb_connection_t *c ,
00815 uint8_t mode ,
00816 uint8_t target ,
00817 uint8_t map ,
00818 xcb_window_t window );
00819
00832
00833
00834
00835
00836
00837
00838
00839
00840
00841
00842
00843
00844 xcb_void_cookie_t
00845 xcb_xfixes_select_selection_input_checked (xcb_connection_t *c ,
00846 xcb_window_t window ,
00847 xcb_atom_t selection ,
00848 uint32_t event_mask );
00849
00859
00860
00861
00862
00863
00864
00865
00866
00867
00868
00869
00870
00871 xcb_void_cookie_t
00872 xcb_xfixes_select_selection_input (xcb_connection_t *c ,
00873 xcb_window_t window ,
00874 xcb_atom_t selection ,
00875 uint32_t event_mask );
00876
00889
00890
00891
00892
00893
00894
00895
00896
00897
00898
00899
00900 xcb_void_cookie_t
00901 xcb_xfixes_select_cursor_input_checked (xcb_connection_t *c ,
00902 xcb_window_t window ,
00903 uint32_t event_mask );
00904
00914
00915
00916
00917
00918
00919
00920
00921
00922
00923
00924
00925 xcb_void_cookie_t
00926 xcb_xfixes_select_cursor_input (xcb_connection_t *c ,
00927 xcb_window_t window ,
00928 uint32_t event_mask );
00929
00939
00940
00941
00942
00943
00944
00945
00946
00947
00948 xcb_xfixes_get_cursor_image_cookie_t
00949 xcb_xfixes_get_cursor_image (xcb_connection_t *c );
00950
00963
00964
00965
00966
00967
00968
00969
00970
00971
00972 xcb_xfixes_get_cursor_image_cookie_t
00973 xcb_xfixes_get_cursor_image_unchecked (xcb_connection_t *c );
00974
00975
00976
00977
00978
00979
00980
00981
00982
00983
00984
00985 uint32_t *
00986 xcb_xfixes_get_cursor_image_cursor_image (const xcb_xfixes_get_cursor_image_reply_t *R );
00987
00988
00989
00990
00991
00992
00993
00994
00995
00996
00997
00998 int
00999 xcb_xfixes_get_cursor_image_cursor_image_length (const xcb_xfixes_get_cursor_image_reply_t *R );
01000
01001
01002
01003
01004
01005
01006
01007
01008
01009
01010
01011 xcb_generic_iterator_t
01012 xcb_xfixes_get_cursor_image_cursor_image_end (const xcb_xfixes_get_cursor_image_reply_t *R );
01013
01027
01028
01029
01030
01031
01032
01033
01034
01035
01036
01037
01038 xcb_xfixes_get_cursor_image_reply_t *
01039 xcb_xfixes_get_cursor_image_reply (xcb_connection_t *c ,
01040 xcb_xfixes_get_cursor_image_cookie_t cookie ,
01041 xcb_generic_error_t **e );
01042
01052
01053
01054
01055
01056
01057
01058
01059
01060
01061 void
01062 xcb_xfixes_region_next (xcb_xfixes_region_iterator_t *i );
01063
01074
01075
01076
01077
01078
01079
01080
01081
01082
01083 xcb_generic_iterator_t
01084 xcb_xfixes_region_end (xcb_xfixes_region_iterator_t i );
01085
01098
01099
01100
01101
01102
01103
01104
01105
01106
01107
01108
01109
01110 xcb_void_cookie_t
01111 xcb_xfixes_create_region_checked (xcb_connection_t *c ,
01112 xcb_xfixes_region_t region ,
01113 uint32_t rectangles_len ,
01114 const xcb_rectangle_t *rectangles );
01115
01125
01126
01127
01128
01129
01130
01131
01132
01133
01134
01135
01136
01137 xcb_void_cookie_t
01138 xcb_xfixes_create_region (xcb_connection_t *c ,
01139 xcb_xfixes_region_t region ,
01140 uint32_t rectangles_len ,
01141 const xcb_rectangle_t *rectangles );
01142
01155
01156
01157
01158
01159
01160
01161
01162
01163
01164
01165
01166 xcb_void_cookie_t
01167 xcb_xfixes_create_region_from_bitmap_checked (xcb_connection_t *c ,
01168 xcb_xfixes_region_t region ,
01169 xcb_pixmap_t bitmap );
01170
01180
01181
01182
01183
01184
01185
01186
01187
01188
01189
01190
01191 xcb_void_cookie_t
01192 xcb_xfixes_create_region_from_bitmap (xcb_connection_t *c ,
01193 xcb_xfixes_region_t region ,
01194 xcb_pixmap_t bitmap );
01195
01208
01209
01210
01211
01212
01213
01214
01215
01216
01217
01218
01219
01220 xcb_void_cookie_t
01221 xcb_xfixes_create_region_from_window_checked (xcb_connection_t *c ,
01222 xcb_xfixes_region_t region ,
01223 xcb_window_t window ,
01224 xcb_shape_kind_t kind );
01225
01235
01236
01237
01238
01239
01240
01241
01242
01243
01244
01245
01246
01247 xcb_void_cookie_t
01248 xcb_xfixes_create_region_from_window (xcb_connection_t *c ,
01249 xcb_xfixes_region_t region ,
01250 xcb_window_t window ,
01251 xcb_shape_kind_t kind );
01252
01265
01266
01267
01268
01269
01270
01271
01272
01273
01274
01275
01276 xcb_void_cookie_t
01277 xcb_xfixes_create_region_from_gc_checked (xcb_connection_t *c ,
01278 xcb_xfixes_region_t region ,
01279 xcb_gcontext_t gc );
01280
01290
01291
01292
01293
01294
01295
01296
01297
01298
01299
01300
01301 xcb_void_cookie_t
01302 xcb_xfixes_create_region_from_gc (xcb_connection_t *c ,
01303 xcb_xfixes_region_t region ,
01304 xcb_gcontext_t gc );
01305
01318
01319
01320
01321
01322
01323
01324
01325
01326
01327
01328
01329 xcb_void_cookie_t
01330 xcb_xfixes_create_region_from_picture_checked (xcb_connection_t *c ,
01331 xcb_xfixes_region_t region ,
01332 xcb_render_picture_t picture );
01333
01343
01344
01345
01346
01347
01348
01349
01350
01351
01352
01353
01354 xcb_void_cookie_t
01355 xcb_xfixes_create_region_from_picture (xcb_connection_t *c ,
01356 xcb_xfixes_region_t region ,
01357 xcb_render_picture_t picture );
01358
01371
01372
01373
01374
01375
01376
01377
01378
01379
01380
01381 xcb_void_cookie_t
01382 xcb_xfixes_destroy_region_checked (xcb_connection_t *c ,
01383 xcb_xfixes_region_t region );
01384
01394
01395
01396
01397
01398
01399
01400
01401
01402
01403
01404 xcb_void_cookie_t
01405 xcb_xfixes_destroy_region (xcb_connection_t *c ,
01406 xcb_xfixes_region_t region );
01407
01420
01421
01422
01423
01424
01425
01426
01427
01428
01429
01430
01431
01432 xcb_void_cookie_t
01433 xcb_xfixes_set_region_checked (xcb_connection_t *c ,
01434 xcb_xfixes_region_t region ,
01435 uint32_t rectangles_len ,
01436 const xcb_rectangle_t *rectangles );
01437
01447
01448
01449
01450
01451
01452
01453
01454
01455
01456
01457
01458
01459 xcb_void_cookie_t
01460 xcb_xfixes_set_region (xcb_connection_t *c ,
01461 xcb_xfixes_region_t region ,
01462 uint32_t rectangles_len ,
01463 const xcb_rectangle_t *rectangles );
01464
01477
01478
01479
01480
01481
01482
01483
01484
01485
01486
01487
01488 xcb_void_cookie_t
01489 xcb_xfixes_copy_region_checked (xcb_connection_t *c ,
01490 xcb_xfixes_region_t source ,
01491 xcb_xfixes_region_t destination );
01492
01502
01503
01504
01505
01506
01507
01508
01509
01510
01511
01512
01513 xcb_void_cookie_t
01514 xcb_xfixes_copy_region (xcb_connection_t *c ,
01515 xcb_xfixes_region_t source ,
01516 xcb_xfixes_region_t destination );
01517
01530
01531
01532
01533
01534
01535
01536
01537
01538
01539
01540
01541
01542 xcb_void_cookie_t
01543 xcb_xfixes_union_region_checked (xcb_connection_t *c ,
01544 xcb_xfixes_region_t source1 ,
01545 xcb_xfixes_region_t source2 ,
01546 xcb_xfixes_region_t destination );
01547
01557
01558
01559
01560
01561
01562
01563
01564
01565
01566
01567
01568
01569 xcb_void_cookie_t
01570 xcb_xfixes_union_region (xcb_connection_t *c ,
01571 xcb_xfixes_region_t source1 ,
01572 xcb_xfixes_region_t source2 ,
01573 xcb_xfixes_region_t destination );
01574
01587
01588
01589
01590
01591
01592
01593
01594
01595
01596
01597
01598
01599 xcb_void_cookie_t
01600 xcb_xfixes_intersect_region_checked (xcb_connection_t *c ,
01601 xcb_xfixes_region_t source1 ,
01602 xcb_xfixes_region_t source2 ,
01603 xcb_xfixes_region_t destination );
01604
01614
01615
01616
01617
01618
01619
01620
01621
01622
01623
01624
01625
01626 xcb_void_cookie_t
01627 xcb_xfixes_intersect_region (xcb_connection_t *c ,
01628 xcb_xfixes_region_t source1 ,
01629 xcb_xfixes_region_t source2 ,
01630 xcb_xfixes_region_t destination );
01631
01644
01645
01646
01647
01648
01649
01650
01651
01652
01653
01654
01655
01656 xcb_void_cookie_t
01657 xcb_xfixes_subtract_region_checked (xcb_connection_t *c ,
01658 xcb_xfixes_region_t source1 ,
01659 xcb_xfixes_region_t source2 ,
01660 xcb_xfixes_region_t destination );
01661
01671
01672
01673
01674
01675
01676
01677
01678
01679
01680
01681
01682
01683 xcb_void_cookie_t
01684 xcb_xfixes_subtract_region (xcb_connection_t *c ,
01685 xcb_xfixes_region_t source1 ,
01686 xcb_xfixes_region_t source2 ,
01687 xcb_xfixes_region_t destination );
01688
01701
01702
01703
01704
01705
01706
01707
01708
01709
01710
01711
01712
01713 xcb_void_cookie_t
01714 xcb_xfixes_invert_region_checked (xcb_connection_t *c ,
01715 xcb_xfixes_region_t source ,
01716 xcb_rectangle_t bounds ,
01717 xcb_xfixes_region_t destination );
01718
01728
01729
01730
01731
01732
01733
01734
01735
01736
01737
01738
01739
01740 xcb_void_cookie_t
01741 xcb_xfixes_invert_region (xcb_connection_t *c ,
01742 xcb_xfixes_region_t source ,
01743 xcb_rectangle_t bounds ,
01744 xcb_xfixes_region_t destination );
01745
01758
01759
01760
01761
01762
01763
01764
01765
01766
01767
01768
01769
01770 xcb_void_cookie_t
01771 xcb_xfixes_translate_region_checked (xcb_connection_t *c ,
01772 xcb_xfixes_region_t region ,
01773 int16_t dx ,
01774 int16_t dy );
01775
01785
01786
01787
01788
01789
01790
01791
01792
01793
01794
01795
01796
01797 xcb_void_cookie_t
01798 xcb_xfixes_translate_region (xcb_connection_t *c ,
01799 xcb_xfixes_region_t region ,
01800 int16_t dx ,
01801 int16_t dy );
01802
01815
01816
01817
01818
01819
01820
01821
01822
01823
01824
01825
01826 xcb_void_cookie_t
01827 xcb_xfixes_region_extents_checked (xcb_connection_t *c ,
01828 xcb_xfixes_region_t source ,
01829 xcb_xfixes_region_t destination );
01830
01840
01841
01842
01843
01844
01845
01846
01847
01848
01849
01850
01851 xcb_void_cookie_t
01852 xcb_xfixes_region_extents (xcb_connection_t *c ,
01853 xcb_xfixes_region_t source ,
01854 xcb_xfixes_region_t destination );
01855
01865
01866
01867
01868
01869
01870
01871
01872
01873
01874
01875 xcb_xfixes_fetch_region_cookie_t
01876 xcb_xfixes_fetch_region (xcb_connection_t *c ,
01877 xcb_xfixes_region_t region );
01878
01891
01892
01893
01894
01895
01896
01897
01898
01899
01900
01901 xcb_xfixes_fetch_region_cookie_t
01902 xcb_xfixes_fetch_region_unchecked (xcb_connection_t *c ,
01903 xcb_xfixes_region_t region );
01904
01905
01906
01907
01908
01909
01910
01911
01912
01913
01914
01915 xcb_rectangle_t *
01916 xcb_xfixes_fetch_region_rectangles (const xcb_xfixes_fetch_region_reply_t *R );
01917
01918
01919
01920
01921
01922
01923
01924
01925
01926
01927
01928 int
01929 xcb_xfixes_fetch_region_rectangles_length (const xcb_xfixes_fetch_region_reply_t *R );
01930
01931
01932
01933
01934
01935
01936
01937
01938
01939
01940
01941 xcb_rectangle_iterator_t
01942 xcb_xfixes_fetch_region_rectangles_iterator (const xcb_xfixes_fetch_region_reply_t *R );
01943
01957
01958
01959
01960
01961
01962
01963
01964
01965
01966
01967
01968 xcb_xfixes_fetch_region_reply_t *
01969 xcb_xfixes_fetch_region_reply (xcb_connection_t *c ,
01970 xcb_xfixes_fetch_region_cookie_t cookie ,
01971 xcb_generic_error_t **e );
01972
01985
01986
01987
01988
01989
01990
01991
01992
01993
01994
01995
01996
01997
01998 xcb_void_cookie_t
01999 xcb_xfixes_set_gc_clip_region_checked (xcb_connection_t *c ,
02000 xcb_gcontext_t gc ,
02001 xcb_xfixes_region_t region ,
02002 int16_t x_origin ,
02003 int16_t y_origin );
02004
02014
02015
02016
02017
02018
02019
02020
02021
02022
02023
02024
02025
02026
02027 xcb_void_cookie_t
02028 xcb_xfixes_set_gc_clip_region (xcb_connection_t *c ,
02029 xcb_gcontext_t gc ,
02030 xcb_xfixes_region_t region ,
02031 int16_t x_origin ,
02032 int16_t y_origin );
02033
02046
02047
02048
02049
02050
02051
02052
02053
02054
02055
02056
02057
02058
02059
02060 xcb_void_cookie_t
02061 xcb_xfixes_set_window_shape_region_checked (xcb_connection_t *c ,
02062 xcb_window_t dest ,
02063 xcb_shape_kind_t dest_kind ,
02064 int16_t x_offset ,
02065 int16_t y_offset ,
02066 xcb_xfixes_region_t region );
02067
02077
02078
02079
02080
02081
02082
02083
02084
02085
02086
02087
02088
02089
02090
02091 xcb_void_cookie_t
02092 xcb_xfixes_set_window_shape_region (xcb_connection_t *c ,
02093 xcb_window_t dest ,
02094 xcb_shape_kind_t dest_kind ,
02095 int16_t x_offset ,
02096 int16_t y_offset ,
02097 xcb_xfixes_region_t region );
02098
02111
02112
02113
02114
02115
02116
02117
02118
02119
02120
02121
02122
02123
02124 xcb_void_cookie_t
02125 xcb_xfixes_set_picture_clip_region_checked (xcb_connection_t *c ,
02126 xcb_render_picture_t picture ,
02127 xcb_xfixes_region_t region ,
02128 int16_t x_origin ,
02129 int16_t y_origin );
02130
02140
02141
02142
02143
02144
02145
02146
02147
02148
02149
02150
02151
02152
02153 xcb_void_cookie_t
02154 xcb_xfixes_set_picture_clip_region (xcb_connection_t *c ,
02155 xcb_render_picture_t picture ,
02156 xcb_xfixes_region_t region ,
02157 int16_t x_origin ,
02158 int16_t y_origin );
02159
02172
02173
02174
02175
02176
02177
02178
02179
02180
02181
02182
02183
02184 xcb_void_cookie_t
02185 xcb_xfixes_set_cursor_name_checked (xcb_connection_t *c ,
02186 xcb_cursor_t cursor ,
02187 uint16_t nbytes ,
02188 const uint8_t *name );
02189
02199
02200
02201
02202
02203
02204
02205
02206
02207
02208
02209
02210
02211 xcb_void_cookie_t
02212 xcb_xfixes_set_cursor_name (xcb_connection_t *c ,
02213 xcb_cursor_t cursor ,
02214 uint16_t nbytes ,
02215 const uint8_t *name );
02216
02226
02227
02228
02229
02230
02231
02232
02233
02234
02235
02236 xcb_xfixes_get_cursor_name_cookie_t
02237 xcb_xfixes_get_cursor_name (xcb_connection_t *c ,
02238 xcb_cursor_t cursor );
02239
02252
02253
02254
02255
02256
02257
02258
02259
02260
02261
02262 xcb_xfixes_get_cursor_name_cookie_t
02263 xcb_xfixes_get_cursor_name_unchecked (xcb_connection_t *c ,
02264 xcb_cursor_t cursor );
02265
02266
02267
02268
02269
02270
02271
02272
02273
02274
02275
02276 uint8_t *
02277 xcb_xfixes_get_cursor_name_name (const xcb_xfixes_get_cursor_name_reply_t *R );
02278
02279
02280
02281
02282
02283
02284
02285
02286
02287
02288
02289 int
02290 xcb_xfixes_get_cursor_name_name_length (const xcb_xfixes_get_cursor_name_reply_t *R );
02291
02292
02293
02294
02295
02296
02297
02298
02299
02300
02301
02302 xcb_generic_iterator_t
02303 xcb_xfixes_get_cursor_name_name_end (const xcb_xfixes_get_cursor_name_reply_t *R );
02304
02318
02319
02320
02321
02322
02323
02324
02325
02326
02327
02328
02329 xcb_xfixes_get_cursor_name_reply_t *
02330 xcb_xfixes_get_cursor_name_reply (xcb_connection_t *c ,
02331 xcb_xfixes_get_cursor_name_cookie_t cookie ,
02332 xcb_generic_error_t **e );
02333
02343
02344
02345
02346
02347
02348
02349
02350
02351
02352 xcb_xfixes_get_cursor_image_and_name_cookie_t
02353 xcb_xfixes_get_cursor_image_and_name (xcb_connection_t *c );
02354
02367
02368
02369
02370
02371
02372
02373
02374
02375
02376 xcb_xfixes_get_cursor_image_and_name_cookie_t
02377 xcb_xfixes_get_cursor_image_and_name_unchecked (xcb_connection_t *c );
02378
02379
02380
02381
02382
02383
02384
02385
02386
02387
02388
02389 uint8_t *
02390 xcb_xfixes_get_cursor_image_and_name_name (const xcb_xfixes_get_cursor_image_and_name_reply_t *R );
02391
02392
02393
02394
02395
02396
02397
02398
02399
02400
02401
02402 int
02403 xcb_xfixes_get_cursor_image_and_name_name_length (const xcb_xfixes_get_cursor_image_and_name_reply_t *R );
02404
02405
02406
02407
02408
02409
02410
02411
02412
02413
02414
02415 xcb_generic_iterator_t
02416 xcb_xfixes_get_cursor_image_and_name_name_end (const xcb_xfixes_get_cursor_image_and_name_reply_t *R );
02417
02418
02419
02420
02421
02422
02423
02424
02425
02426
02427
02428 uint32_t *
02429 xcb_xfixes_get_cursor_image_and_name_cursor_image (const xcb_xfixes_get_cursor_image_and_name_reply_t *R );
02430
02431
02432
02433
02434
02435
02436
02437
02438
02439
02440
02441 int
02442 xcb_xfixes_get_cursor_image_and_name_cursor_image_length (const xcb_xfixes_get_cursor_image_and_name_reply_t *R );
02443
02444
02445
02446
02447
02448
02449
02450
02451
02452
02453
02454 xcb_generic_iterator_t
02455 xcb_xfixes_get_cursor_image_and_name_cursor_image_end (const xcb_xfixes_get_cursor_image_and_name_reply_t *R );
02456
02470
02471
02472
02473
02474
02475
02476
02477
02478
02479
02480
02481 xcb_xfixes_get_cursor_image_and_name_reply_t *
02482 xcb_xfixes_get_cursor_image_and_name_reply (xcb_connection_t *c ,
02483 xcb_xfixes_get_cursor_image_and_name_cookie_t cookie ,
02484 xcb_generic_error_t **e );
02485
02498
02499
02500
02501
02502
02503
02504
02505
02506
02507
02508
02509 xcb_void_cookie_t
02510 xcb_xfixes_change_cursor_checked (xcb_connection_t *c ,
02511 xcb_cursor_t source ,
02512 xcb_cursor_t destination );
02513
02523
02524
02525
02526
02527
02528
02529
02530
02531
02532
02533
02534 xcb_void_cookie_t
02535 xcb_xfixes_change_cursor (xcb_connection_t *c ,
02536 xcb_cursor_t source ,
02537 xcb_cursor_t destination );
02538
02551
02552
02553
02554
02555
02556
02557
02558
02559
02560
02561
02562
02563 xcb_void_cookie_t
02564 xcb_xfixes_change_cursor_by_name_checked (xcb_connection_t *c ,
02565 xcb_cursor_t src ,
02566 uint16_t nbytes ,
02567 const uint8_t *name );
02568
02578
02579
02580
02581
02582
02583
02584
02585
02586
02587
02588
02589
02590 xcb_void_cookie_t
02591 xcb_xfixes_change_cursor_by_name (xcb_connection_t *c ,
02592 xcb_cursor_t src ,
02593 uint16_t nbytes ,
02594 const uint8_t *name );
02595
02608
02609
02610
02611
02612
02613
02614
02615
02616
02617
02618
02619
02620
02621
02622
02623 xcb_void_cookie_t
02624 xcb_xfixes_expand_region_checked (xcb_connection_t *c ,
02625 xcb_xfixes_region_t source ,
02626 xcb_xfixes_region_t destination ,
02627 uint16_t left ,
02628 uint16_t right ,
02629 uint16_t top ,
02630 uint16_t bottom );
02631
02641
02642
02643
02644
02645
02646
02647
02648
02649
02650
02651
02652
02653
02654
02655
02656 xcb_void_cookie_t
02657 xcb_xfixes_expand_region (xcb_connection_t *c ,
02658 xcb_xfixes_region_t source ,
02659 xcb_xfixes_region_t destination ,
02660 uint16_t left ,
02661 uint16_t right ,
02662 uint16_t top ,
02663 uint16_t bottom );
02664
02677
02678
02679
02680
02681
02682
02683
02684
02685
02686
02687 xcb_void_cookie_t
02688 xcb_xfixes_hide_cursor_checked (xcb_connection_t *c ,
02689 xcb_window_t window );
02690
02700
02701
02702
02703
02704
02705
02706
02707
02708
02709
02710 xcb_void_cookie_t
02711 xcb_xfixes_hide_cursor (xcb_connection_t *c ,
02712 xcb_window_t window );
02713
02726
02727
02728
02729
02730
02731
02732
02733
02734
02735
02736 xcb_void_cookie_t
02737 xcb_xfixes_show_cursor_checked (xcb_connection_t *c ,
02738 xcb_window_t window );
02739
02749
02750
02751
02752
02753
02754
02755
02756
02757
02758
02759 xcb_void_cookie_t
02760 xcb_xfixes_show_cursor (xcb_connection_t *c ,
02761 xcb_window_t window );
02762
02763
02764 #endif
02765