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
00745
00746
00747
00748
00749
00750
00751
00752
00753
00754
00755
00756 xcb_xfixes_query_version_reply_t *
00757 xcb_xfixes_query_version_reply (xcb_connection_t *c ,
00758 xcb_xfixes_query_version_cookie_t cookie ,
00759 xcb_generic_error_t **e );
00760
00773
00774
00775
00776
00777
00778
00779
00780
00781
00782
00783
00784
00785
00786 xcb_void_cookie_t
00787 xcb_xfixes_change_save_set_checked (xcb_connection_t *c ,
00788 uint8_t mode ,
00789 uint8_t target ,
00790 uint8_t map ,
00791 xcb_window_t window );
00792
00802
00803
00804
00805
00806
00807
00808
00809
00810
00811
00812
00813
00814
00815 xcb_void_cookie_t
00816 xcb_xfixes_change_save_set (xcb_connection_t *c ,
00817 uint8_t mode ,
00818 uint8_t target ,
00819 uint8_t map ,
00820 xcb_window_t window );
00821
00834
00835
00836
00837
00838
00839
00840
00841
00842
00843
00844
00845
00846 xcb_void_cookie_t
00847 xcb_xfixes_select_selection_input_checked (xcb_connection_t *c ,
00848 xcb_window_t window ,
00849 xcb_atom_t selection ,
00850 uint32_t event_mask );
00851
00861
00862
00863
00864
00865
00866
00867
00868
00869
00870
00871
00872
00873 xcb_void_cookie_t
00874 xcb_xfixes_select_selection_input (xcb_connection_t *c ,
00875 xcb_window_t window ,
00876 xcb_atom_t selection ,
00877 uint32_t event_mask );
00878
00891
00892
00893
00894
00895
00896
00897
00898
00899
00900
00901
00902 xcb_void_cookie_t
00903 xcb_xfixes_select_cursor_input_checked (xcb_connection_t *c ,
00904 xcb_window_t window ,
00905 uint32_t event_mask );
00906
00916
00917
00918
00919
00920
00921
00922
00923
00924
00925
00926
00927 xcb_void_cookie_t
00928 xcb_xfixes_select_cursor_input (xcb_connection_t *c ,
00929 xcb_window_t window ,
00930 uint32_t event_mask );
00931
00941
00942
00943
00944
00945
00946
00947
00948
00949
00950 xcb_xfixes_get_cursor_image_cookie_t
00951 xcb_xfixes_get_cursor_image (xcb_connection_t *c );
00952
00965
00966
00967
00968
00969
00970
00971
00972
00973
00974 xcb_xfixes_get_cursor_image_cookie_t
00975 xcb_xfixes_get_cursor_image_unchecked (xcb_connection_t *c );
00976
00977
00978
00979
00980
00981
00982
00983
00984
00985
00986
00987 uint32_t *
00988 xcb_xfixes_get_cursor_image_cursor_image (const xcb_xfixes_get_cursor_image_reply_t *R );
00989
00990
00991
00992
00993
00994
00995
00996
00997
00998
00999
01000 int
01001 xcb_xfixes_get_cursor_image_cursor_image_length (const xcb_xfixes_get_cursor_image_reply_t *R );
01002
01003
01004
01005
01006
01007
01008
01009
01010
01011
01012
01013 xcb_generic_iterator_t
01014 xcb_xfixes_get_cursor_image_cursor_image_end (const xcb_xfixes_get_cursor_image_reply_t *R );
01015
01031
01032
01033
01034
01035
01036
01037
01038
01039
01040
01041
01042 xcb_xfixes_get_cursor_image_reply_t *
01043 xcb_xfixes_get_cursor_image_reply (xcb_connection_t *c ,
01044 xcb_xfixes_get_cursor_image_cookie_t cookie ,
01045 xcb_generic_error_t **e );
01046
01056
01057
01058
01059
01060
01061
01062
01063
01064
01065 void
01066 xcb_xfixes_region_next (xcb_xfixes_region_iterator_t *i );
01067
01078
01079
01080
01081
01082
01083
01084
01085
01086
01087 xcb_generic_iterator_t
01088 xcb_xfixes_region_end (xcb_xfixes_region_iterator_t i );
01089
01102
01103
01104
01105
01106
01107
01108
01109
01110
01111
01112
01113
01114 xcb_void_cookie_t
01115 xcb_xfixes_create_region_checked (xcb_connection_t *c ,
01116 xcb_xfixes_region_t region ,
01117 uint32_t rectangles_len ,
01118 const xcb_rectangle_t *rectangles );
01119
01129
01130
01131
01132
01133
01134
01135
01136
01137
01138
01139
01140
01141 xcb_void_cookie_t
01142 xcb_xfixes_create_region (xcb_connection_t *c ,
01143 xcb_xfixes_region_t region ,
01144 uint32_t rectangles_len ,
01145 const xcb_rectangle_t *rectangles );
01146
01159
01160
01161
01162
01163
01164
01165
01166
01167
01168
01169
01170 xcb_void_cookie_t
01171 xcb_xfixes_create_region_from_bitmap_checked (xcb_connection_t *c ,
01172 xcb_xfixes_region_t region ,
01173 xcb_pixmap_t bitmap );
01174
01184
01185
01186
01187
01188
01189
01190
01191
01192
01193
01194
01195 xcb_void_cookie_t
01196 xcb_xfixes_create_region_from_bitmap (xcb_connection_t *c ,
01197 xcb_xfixes_region_t region ,
01198 xcb_pixmap_t bitmap );
01199
01212
01213
01214
01215
01216
01217
01218
01219
01220
01221
01222
01223
01224 xcb_void_cookie_t
01225 xcb_xfixes_create_region_from_window_checked (xcb_connection_t *c ,
01226 xcb_xfixes_region_t region ,
01227 xcb_window_t window ,
01228 xcb_shape_kind_t kind );
01229
01239
01240
01241
01242
01243
01244
01245
01246
01247
01248
01249
01250
01251 xcb_void_cookie_t
01252 xcb_xfixes_create_region_from_window (xcb_connection_t *c ,
01253 xcb_xfixes_region_t region ,
01254 xcb_window_t window ,
01255 xcb_shape_kind_t kind );
01256
01269
01270
01271
01272
01273
01274
01275
01276
01277
01278
01279
01280 xcb_void_cookie_t
01281 xcb_xfixes_create_region_from_gc_checked (xcb_connection_t *c ,
01282 xcb_xfixes_region_t region ,
01283 xcb_gcontext_t gc );
01284
01294
01295
01296
01297
01298
01299
01300
01301
01302
01303
01304
01305 xcb_void_cookie_t
01306 xcb_xfixes_create_region_from_gc (xcb_connection_t *c ,
01307 xcb_xfixes_region_t region ,
01308 xcb_gcontext_t gc );
01309
01322
01323
01324
01325
01326
01327
01328
01329
01330
01331
01332
01333 xcb_void_cookie_t
01334 xcb_xfixes_create_region_from_picture_checked (xcb_connection_t *c ,
01335 xcb_xfixes_region_t region ,
01336 xcb_render_picture_t picture );
01337
01347
01348
01349
01350
01351
01352
01353
01354
01355
01356
01357
01358 xcb_void_cookie_t
01359 xcb_xfixes_create_region_from_picture (xcb_connection_t *c ,
01360 xcb_xfixes_region_t region ,
01361 xcb_render_picture_t picture );
01362
01375
01376
01377
01378
01379
01380
01381
01382
01383
01384
01385 xcb_void_cookie_t
01386 xcb_xfixes_destroy_region_checked (xcb_connection_t *c ,
01387 xcb_xfixes_region_t region );
01388
01398
01399
01400
01401
01402
01403
01404
01405
01406
01407
01408 xcb_void_cookie_t
01409 xcb_xfixes_destroy_region (xcb_connection_t *c ,
01410 xcb_xfixes_region_t region );
01411
01424
01425
01426
01427
01428
01429
01430
01431
01432
01433
01434
01435
01436 xcb_void_cookie_t
01437 xcb_xfixes_set_region_checked (xcb_connection_t *c ,
01438 xcb_xfixes_region_t region ,
01439 uint32_t rectangles_len ,
01440 const xcb_rectangle_t *rectangles );
01441
01451
01452
01453
01454
01455
01456
01457
01458
01459
01460
01461
01462
01463 xcb_void_cookie_t
01464 xcb_xfixes_set_region (xcb_connection_t *c ,
01465 xcb_xfixes_region_t region ,
01466 uint32_t rectangles_len ,
01467 const xcb_rectangle_t *rectangles );
01468
01481
01482
01483
01484
01485
01486
01487
01488
01489
01490
01491
01492 xcb_void_cookie_t
01493 xcb_xfixes_copy_region_checked (xcb_connection_t *c ,
01494 xcb_xfixes_region_t source ,
01495 xcb_xfixes_region_t destination );
01496
01506
01507
01508
01509
01510
01511
01512
01513
01514
01515
01516
01517 xcb_void_cookie_t
01518 xcb_xfixes_copy_region (xcb_connection_t *c ,
01519 xcb_xfixes_region_t source ,
01520 xcb_xfixes_region_t destination );
01521
01534
01535
01536
01537
01538
01539
01540
01541
01542
01543
01544
01545
01546 xcb_void_cookie_t
01547 xcb_xfixes_union_region_checked (xcb_connection_t *c ,
01548 xcb_xfixes_region_t source1 ,
01549 xcb_xfixes_region_t source2 ,
01550 xcb_xfixes_region_t destination );
01551
01561
01562
01563
01564
01565
01566
01567
01568
01569
01570
01571
01572
01573 xcb_void_cookie_t
01574 xcb_xfixes_union_region (xcb_connection_t *c ,
01575 xcb_xfixes_region_t source1 ,
01576 xcb_xfixes_region_t source2 ,
01577 xcb_xfixes_region_t destination );
01578
01591
01592
01593
01594
01595
01596
01597
01598
01599
01600
01601
01602
01603 xcb_void_cookie_t
01604 xcb_xfixes_intersect_region_checked (xcb_connection_t *c ,
01605 xcb_xfixes_region_t source1 ,
01606 xcb_xfixes_region_t source2 ,
01607 xcb_xfixes_region_t destination );
01608
01618
01619
01620
01621
01622
01623
01624
01625
01626
01627
01628
01629
01630 xcb_void_cookie_t
01631 xcb_xfixes_intersect_region (xcb_connection_t *c ,
01632 xcb_xfixes_region_t source1 ,
01633 xcb_xfixes_region_t source2 ,
01634 xcb_xfixes_region_t destination );
01635
01648
01649
01650
01651
01652
01653
01654
01655
01656
01657
01658
01659
01660 xcb_void_cookie_t
01661 xcb_xfixes_subtract_region_checked (xcb_connection_t *c ,
01662 xcb_xfixes_region_t source1 ,
01663 xcb_xfixes_region_t source2 ,
01664 xcb_xfixes_region_t destination );
01665
01675
01676
01677
01678
01679
01680
01681
01682
01683
01684
01685
01686
01687 xcb_void_cookie_t
01688 xcb_xfixes_subtract_region (xcb_connection_t *c ,
01689 xcb_xfixes_region_t source1 ,
01690 xcb_xfixes_region_t source2 ,
01691 xcb_xfixes_region_t destination );
01692
01705
01706
01707
01708
01709
01710
01711
01712
01713
01714
01715
01716
01717 xcb_void_cookie_t
01718 xcb_xfixes_invert_region_checked (xcb_connection_t *c ,
01719 xcb_xfixes_region_t source ,
01720 xcb_rectangle_t bounds ,
01721 xcb_xfixes_region_t destination );
01722
01732
01733
01734
01735
01736
01737
01738
01739
01740
01741
01742
01743
01744 xcb_void_cookie_t
01745 xcb_xfixes_invert_region (xcb_connection_t *c ,
01746 xcb_xfixes_region_t source ,
01747 xcb_rectangle_t bounds ,
01748 xcb_xfixes_region_t destination );
01749
01762
01763
01764
01765
01766
01767
01768
01769
01770
01771
01772
01773
01774 xcb_void_cookie_t
01775 xcb_xfixes_translate_region_checked (xcb_connection_t *c ,
01776 xcb_xfixes_region_t region ,
01777 int16_t dx ,
01778 int16_t dy );
01779
01789
01790
01791
01792
01793
01794
01795
01796
01797
01798
01799
01800
01801 xcb_void_cookie_t
01802 xcb_xfixes_translate_region (xcb_connection_t *c ,
01803 xcb_xfixes_region_t region ,
01804 int16_t dx ,
01805 int16_t dy );
01806
01819
01820
01821
01822
01823
01824
01825
01826
01827
01828
01829
01830 xcb_void_cookie_t
01831 xcb_xfixes_region_extents_checked (xcb_connection_t *c ,
01832 xcb_xfixes_region_t source ,
01833 xcb_xfixes_region_t destination );
01834
01844
01845
01846
01847
01848
01849
01850
01851
01852
01853
01854
01855 xcb_void_cookie_t
01856 xcb_xfixes_region_extents (xcb_connection_t *c ,
01857 xcb_xfixes_region_t source ,
01858 xcb_xfixes_region_t destination );
01859
01869
01870
01871
01872
01873
01874
01875
01876
01877
01878
01879 xcb_xfixes_fetch_region_cookie_t
01880 xcb_xfixes_fetch_region (xcb_connection_t *c ,
01881 xcb_xfixes_region_t region );
01882
01895
01896
01897
01898
01899
01900
01901
01902
01903
01904
01905 xcb_xfixes_fetch_region_cookie_t
01906 xcb_xfixes_fetch_region_unchecked (xcb_connection_t *c ,
01907 xcb_xfixes_region_t region );
01908
01909
01910
01911
01912
01913
01914
01915
01916
01917
01918
01919 xcb_rectangle_t *
01920 xcb_xfixes_fetch_region_rectangles (const xcb_xfixes_fetch_region_reply_t *R );
01921
01922
01923
01924
01925
01926
01927
01928
01929
01930
01931
01932 int
01933 xcb_xfixes_fetch_region_rectangles_length (const xcb_xfixes_fetch_region_reply_t *R );
01934
01935
01936
01937
01938
01939
01940
01941
01942
01943
01944
01945 xcb_rectangle_iterator_t
01946 xcb_xfixes_fetch_region_rectangles_iterator (const xcb_xfixes_fetch_region_reply_t *R );
01947
01963
01964
01965
01966
01967
01968
01969
01970
01971
01972
01973
01974 xcb_xfixes_fetch_region_reply_t *
01975 xcb_xfixes_fetch_region_reply (xcb_connection_t *c ,
01976 xcb_xfixes_fetch_region_cookie_t cookie ,
01977 xcb_generic_error_t **e );
01978
01991
01992
01993
01994
01995
01996
01997
01998
01999
02000
02001
02002
02003
02004 xcb_void_cookie_t
02005 xcb_xfixes_set_gc_clip_region_checked (xcb_connection_t *c ,
02006 xcb_gcontext_t gc ,
02007 xcb_xfixes_region_t region ,
02008 int16_t x_origin ,
02009 int16_t y_origin );
02010
02020
02021
02022
02023
02024
02025
02026
02027
02028
02029
02030
02031
02032
02033 xcb_void_cookie_t
02034 xcb_xfixes_set_gc_clip_region (xcb_connection_t *c ,
02035 xcb_gcontext_t gc ,
02036 xcb_xfixes_region_t region ,
02037 int16_t x_origin ,
02038 int16_t y_origin );
02039
02052
02053
02054
02055
02056
02057
02058
02059
02060
02061
02062
02063
02064
02065
02066 xcb_void_cookie_t
02067 xcb_xfixes_set_window_shape_region_checked (xcb_connection_t *c ,
02068 xcb_window_t dest ,
02069 xcb_shape_kind_t dest_kind ,
02070 int16_t x_offset ,
02071 int16_t y_offset ,
02072 xcb_xfixes_region_t region );
02073
02083
02084
02085
02086
02087
02088
02089
02090
02091
02092
02093
02094
02095
02096
02097 xcb_void_cookie_t
02098 xcb_xfixes_set_window_shape_region (xcb_connection_t *c ,
02099 xcb_window_t dest ,
02100 xcb_shape_kind_t dest_kind ,
02101 int16_t x_offset ,
02102 int16_t y_offset ,
02103 xcb_xfixes_region_t region );
02104
02117
02118
02119
02120
02121
02122
02123
02124
02125
02126
02127
02128
02129
02130 xcb_void_cookie_t
02131 xcb_xfixes_set_picture_clip_region_checked (xcb_connection_t *c ,
02132 xcb_render_picture_t picture ,
02133 xcb_xfixes_region_t region ,
02134 int16_t x_origin ,
02135 int16_t y_origin );
02136
02146
02147
02148
02149
02150
02151
02152
02153
02154
02155
02156
02157
02158
02159 xcb_void_cookie_t
02160 xcb_xfixes_set_picture_clip_region (xcb_connection_t *c ,
02161 xcb_render_picture_t picture ,
02162 xcb_xfixes_region_t region ,
02163 int16_t x_origin ,
02164 int16_t y_origin );
02165
02178
02179
02180
02181
02182
02183
02184
02185
02186
02187
02188
02189
02190 xcb_void_cookie_t
02191 xcb_xfixes_set_cursor_name_checked (xcb_connection_t *c ,
02192 xcb_cursor_t cursor ,
02193 uint16_t nbytes ,
02194 const uint8_t *name );
02195
02205
02206
02207
02208
02209
02210
02211
02212
02213
02214
02215
02216
02217 xcb_void_cookie_t
02218 xcb_xfixes_set_cursor_name (xcb_connection_t *c ,
02219 xcb_cursor_t cursor ,
02220 uint16_t nbytes ,
02221 const uint8_t *name );
02222
02232
02233
02234
02235
02236
02237
02238
02239
02240
02241
02242 xcb_xfixes_get_cursor_name_cookie_t
02243 xcb_xfixes_get_cursor_name (xcb_connection_t *c ,
02244 xcb_cursor_t cursor );
02245
02258
02259
02260
02261
02262
02263
02264
02265
02266
02267
02268 xcb_xfixes_get_cursor_name_cookie_t
02269 xcb_xfixes_get_cursor_name_unchecked (xcb_connection_t *c ,
02270 xcb_cursor_t cursor );
02271
02272
02273
02274
02275
02276
02277
02278
02279
02280
02281
02282 uint8_t *
02283 xcb_xfixes_get_cursor_name_name (const xcb_xfixes_get_cursor_name_reply_t *R );
02284
02285
02286
02287
02288
02289
02290
02291
02292
02293
02294
02295 int
02296 xcb_xfixes_get_cursor_name_name_length (const xcb_xfixes_get_cursor_name_reply_t *R );
02297
02298
02299
02300
02301
02302
02303
02304
02305
02306
02307
02308 xcb_generic_iterator_t
02309 xcb_xfixes_get_cursor_name_name_end (const xcb_xfixes_get_cursor_name_reply_t *R );
02310
02326
02327
02328
02329
02330
02331
02332
02333
02334
02335
02336
02337 xcb_xfixes_get_cursor_name_reply_t *
02338 xcb_xfixes_get_cursor_name_reply (xcb_connection_t *c ,
02339 xcb_xfixes_get_cursor_name_cookie_t cookie ,
02340 xcb_generic_error_t **e );
02341
02351
02352
02353
02354
02355
02356
02357
02358
02359
02360 xcb_xfixes_get_cursor_image_and_name_cookie_t
02361 xcb_xfixes_get_cursor_image_and_name (xcb_connection_t *c );
02362
02375
02376
02377
02378
02379
02380
02381
02382
02383
02384 xcb_xfixes_get_cursor_image_and_name_cookie_t
02385 xcb_xfixes_get_cursor_image_and_name_unchecked (xcb_connection_t *c );
02386
02387
02388
02389
02390
02391
02392
02393
02394
02395
02396
02397 uint8_t *
02398 xcb_xfixes_get_cursor_image_and_name_name (const xcb_xfixes_get_cursor_image_and_name_reply_t *R );
02399
02400
02401
02402
02403
02404
02405
02406
02407
02408
02409
02410 int
02411 xcb_xfixes_get_cursor_image_and_name_name_length (const xcb_xfixes_get_cursor_image_and_name_reply_t *R );
02412
02413
02414
02415
02416
02417
02418
02419
02420
02421
02422
02423 xcb_generic_iterator_t
02424 xcb_xfixes_get_cursor_image_and_name_name_end (const xcb_xfixes_get_cursor_image_and_name_reply_t *R );
02425
02426
02427
02428
02429
02430
02431
02432
02433
02434
02435
02436 uint32_t *
02437 xcb_xfixes_get_cursor_image_and_name_cursor_image (const xcb_xfixes_get_cursor_image_and_name_reply_t *R );
02438
02439
02440
02441
02442
02443
02444
02445
02446
02447
02448
02449 int
02450 xcb_xfixes_get_cursor_image_and_name_cursor_image_length (const xcb_xfixes_get_cursor_image_and_name_reply_t *R );
02451
02452
02453
02454
02455
02456
02457
02458
02459
02460
02461
02462 xcb_generic_iterator_t
02463 xcb_xfixes_get_cursor_image_and_name_cursor_image_end (const xcb_xfixes_get_cursor_image_and_name_reply_t *R );
02464
02480
02481
02482
02483
02484
02485
02486
02487
02488
02489
02490
02491 xcb_xfixes_get_cursor_image_and_name_reply_t *
02492 xcb_xfixes_get_cursor_image_and_name_reply (xcb_connection_t *c ,
02493 xcb_xfixes_get_cursor_image_and_name_cookie_t cookie ,
02494 xcb_generic_error_t **e );
02495
02508
02509
02510
02511
02512
02513
02514
02515
02516
02517
02518
02519 xcb_void_cookie_t
02520 xcb_xfixes_change_cursor_checked (xcb_connection_t *c ,
02521 xcb_cursor_t source ,
02522 xcb_cursor_t destination );
02523
02533
02534
02535
02536
02537
02538
02539
02540
02541
02542
02543
02544 xcb_void_cookie_t
02545 xcb_xfixes_change_cursor (xcb_connection_t *c ,
02546 xcb_cursor_t source ,
02547 xcb_cursor_t destination );
02548
02561
02562
02563
02564
02565
02566
02567
02568
02569
02570
02571
02572
02573 xcb_void_cookie_t
02574 xcb_xfixes_change_cursor_by_name_checked (xcb_connection_t *c ,
02575 xcb_cursor_t src ,
02576 uint16_t nbytes ,
02577 const uint8_t *name );
02578
02588
02589
02590
02591
02592
02593
02594
02595
02596
02597
02598
02599
02600 xcb_void_cookie_t
02601 xcb_xfixes_change_cursor_by_name (xcb_connection_t *c ,
02602 xcb_cursor_t src ,
02603 uint16_t nbytes ,
02604 const uint8_t *name );
02605
02618
02619
02620
02621
02622
02623
02624
02625
02626
02627
02628
02629
02630
02631
02632
02633 xcb_void_cookie_t
02634 xcb_xfixes_expand_region_checked (xcb_connection_t *c ,
02635 xcb_xfixes_region_t source ,
02636 xcb_xfixes_region_t destination ,
02637 uint16_t left ,
02638 uint16_t right ,
02639 uint16_t top ,
02640 uint16_t bottom );
02641
02651
02652
02653
02654
02655
02656
02657
02658
02659
02660
02661
02662
02663
02664
02665
02666 xcb_void_cookie_t
02667 xcb_xfixes_expand_region (xcb_connection_t *c ,
02668 xcb_xfixes_region_t source ,
02669 xcb_xfixes_region_t destination ,
02670 uint16_t left ,
02671 uint16_t right ,
02672 uint16_t top ,
02673 uint16_t bottom );
02674
02687
02688
02689
02690
02691
02692
02693
02694
02695
02696
02697 xcb_void_cookie_t
02698 xcb_xfixes_hide_cursor_checked (xcb_connection_t *c ,
02699 xcb_window_t window );
02700
02710
02711
02712
02713
02714
02715
02716
02717
02718
02719
02720 xcb_void_cookie_t
02721 xcb_xfixes_hide_cursor (xcb_connection_t *c ,
02722 xcb_window_t window );
02723
02736
02737
02738
02739
02740
02741
02742
02743
02744
02745
02746 xcb_void_cookie_t
02747 xcb_xfixes_show_cursor_checked (xcb_connection_t *c ,
02748 xcb_window_t window );
02749
02759
02760
02761
02762
02763
02764
02765
02766
02767
02768
02769 xcb_void_cookie_t
02770 xcb_xfixes_show_cursor (xcb_connection_t *c ,
02771 xcb_window_t window );
02772
02773
02774 #endif
02775