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 #ifdef __cplusplus
00021 extern "C" {
00022 #endif
00023
00024 #define XCB_XFIXES_MAJOR_VERSION 4
00025 #define XCB_XFIXES_MINOR_VERSION 0
00026
00027 extern xcb_extension_t xcb_xfixes_id;
00028
00032 typedef struct xcb_xfixes_query_version_cookie_t {
00033 unsigned int sequence;
00034 } xcb_xfixes_query_version_cookie_t;
00035
00037 #define XCB_XFIXES_QUERY_VERSION 0
00038
00042 typedef struct xcb_xfixes_query_version_request_t {
00043 uint8_t major_opcode;
00044 uint8_t minor_opcode;
00045 uint16_t length;
00046 uint32_t client_major_version;
00047 uint32_t client_minor_version;
00048 } xcb_xfixes_query_version_request_t;
00049
00053 typedef struct xcb_xfixes_query_version_reply_t {
00054 uint8_t response_type;
00055 uint8_t pad0;
00056 uint16_t sequence;
00057 uint32_t length;
00058 uint32_t major_version;
00059 uint32_t minor_version;
00060 uint8_t pad1[16];
00061 } xcb_xfixes_query_version_reply_t;
00062
00063 typedef enum xcb_xfixes_save_set_mode_t {
00064 XCB_XFIXES_SAVE_SET_MODE_INSERT,
00065 XCB_XFIXES_SAVE_SET_MODE_DELETE
00066 } xcb_xfixes_save_set_mode_t;
00067
00068 typedef enum xcb_xfixes_save_set_target_t {
00069 XCB_XFIXES_SAVE_SET_TARGET_NEAREST,
00070 XCB_XFIXES_SAVE_SET_TARGET_ROOT
00071 } xcb_xfixes_save_set_target_t;
00072
00073 typedef enum xcb_xfixes_save_set_mapping_t {
00074 XCB_XFIXES_SAVE_SET_MAPPING_MAP,
00075 XCB_XFIXES_SAVE_SET_MAPPING_UNMAP
00076 } xcb_xfixes_save_set_mapping_t;
00077
00079 #define XCB_XFIXES_CHANGE_SAVE_SET 1
00080
00084 typedef struct xcb_xfixes_change_save_set_request_t {
00085 uint8_t major_opcode;
00086 uint8_t minor_opcode;
00087 uint16_t length;
00088 uint8_t mode;
00089 uint8_t target;
00090 uint8_t map;
00091 uint8_t pad0;
00092 xcb_window_t window;
00093 } xcb_xfixes_change_save_set_request_t;
00094
00095 typedef enum xcb_xfixes_selection_event_t {
00096 XCB_XFIXES_SELECTION_EVENT_SET_SELECTION_OWNER,
00097 XCB_XFIXES_SELECTION_EVENT_SELECTION_WINDOW_DESTROY,
00098 XCB_XFIXES_SELECTION_EVENT_SELECTION_CLIENT_CLOSE
00099 } xcb_xfixes_selection_event_t;
00100
00101 typedef enum xcb_xfixes_selection_event_mask_t {
00102 XCB_XFIXES_SELECTION_EVENT_MASK_SET_SELECTION_OWNER = 1,
00103 XCB_XFIXES_SELECTION_EVENT_MASK_SELECTION_WINDOW_DESTROY = 2,
00104 XCB_XFIXES_SELECTION_EVENT_MASK_SELECTION_CLIENT_CLOSE = 4
00105 } xcb_xfixes_selection_event_mask_t;
00106
00108 #define XCB_XFIXES_SELECTION_NOTIFY 0
00109
00113 typedef struct xcb_xfixes_selection_notify_event_t {
00114 uint8_t response_type;
00115 uint8_t subtype;
00116 uint16_t sequence;
00117 xcb_window_t window;
00118 xcb_window_t owner;
00119 xcb_atom_t selection;
00120 xcb_timestamp_t timestamp;
00121 xcb_timestamp_t selection_timestamp;
00122 uint8_t pad0[8];
00123 } xcb_xfixes_selection_notify_event_t;
00124
00126 #define XCB_XFIXES_SELECT_SELECTION_INPUT 2
00127
00131 typedef struct xcb_xfixes_select_selection_input_request_t {
00132 uint8_t major_opcode;
00133 uint8_t minor_opcode;
00134 uint16_t length;
00135 xcb_window_t window;
00136 xcb_atom_t selection;
00137 uint32_t event_mask;
00138 } xcb_xfixes_select_selection_input_request_t;
00139
00140 typedef enum xcb_xfixes_cursor_notify_t {
00141 XCB_XFIXES_CURSOR_NOTIFY_DISPLAY_CURSOR
00142 } xcb_xfixes_cursor_notify_t;
00143
00144 typedef enum xcb_xfixes_cursor_notify_mask_t {
00145 XCB_XFIXES_CURSOR_NOTIFY_MASK_DISPLAY_CURSOR = 1
00146 } xcb_xfixes_cursor_notify_mask_t;
00147
00149 #define XCB_XFIXES_CURSOR_NOTIFY 1
00150
00154 typedef struct xcb_xfixes_cursor_notify_event_t {
00155 uint8_t response_type;
00156 uint8_t subtype;
00157 uint16_t sequence;
00158 xcb_window_t window;
00159 uint32_t cursor_serial;
00160 xcb_timestamp_t timestamp;
00161 xcb_atom_t name;
00162 uint8_t pad0[12];
00163 } xcb_xfixes_cursor_notify_event_t;
00164
00166 #define XCB_XFIXES_SELECT_CURSOR_INPUT 3
00167
00171 typedef struct xcb_xfixes_select_cursor_input_request_t {
00172 uint8_t major_opcode;
00173 uint8_t minor_opcode;
00174 uint16_t length;
00175 xcb_window_t window;
00176 uint32_t event_mask;
00177 } xcb_xfixes_select_cursor_input_request_t;
00178
00182 typedef struct xcb_xfixes_get_cursor_image_cookie_t {
00183 unsigned int sequence;
00184 } xcb_xfixes_get_cursor_image_cookie_t;
00185
00187 #define XCB_XFIXES_GET_CURSOR_IMAGE 4
00188
00192 typedef struct xcb_xfixes_get_cursor_image_request_t {
00193 uint8_t major_opcode;
00194 uint8_t minor_opcode;
00195 uint16_t length;
00196 } xcb_xfixes_get_cursor_image_request_t;
00197
00201 typedef struct xcb_xfixes_get_cursor_image_reply_t {
00202 uint8_t response_type;
00203 uint8_t pad0;
00204 uint16_t sequence;
00205 uint32_t length;
00206 int16_t x;
00207 int16_t y;
00208 uint16_t width;
00209 uint16_t height;
00210 uint16_t xhot;
00211 uint16_t yhot;
00212 uint32_t cursor_serial;
00213 uint8_t pad1[8];
00214 } xcb_xfixes_get_cursor_image_reply_t;
00215
00216 typedef uint32_t xcb_xfixes_region_t;
00217
00221 typedef struct xcb_xfixes_region_iterator_t {
00222 xcb_xfixes_region_t *data;
00223 int rem;
00224 int index;
00225 } xcb_xfixes_region_iterator_t;
00226
00228 #define XCB_XFIXES_BAD_REGION 0
00229
00233 typedef struct xcb_xfixes_bad_region_error_t {
00234 uint8_t response_type;
00235 uint8_t error_code;
00236 uint16_t sequence;
00237 } xcb_xfixes_bad_region_error_t;
00238
00240 #define XCB_XFIXES_CREATE_REGION 5
00241
00245 typedef struct xcb_xfixes_create_region_request_t {
00246 uint8_t major_opcode;
00247 uint8_t minor_opcode;
00248 uint16_t length;
00249 xcb_xfixes_region_t region;
00250 } xcb_xfixes_create_region_request_t;
00251
00253 #define XCB_XFIXES_CREATE_REGION_FROM_BITMAP 6
00254
00258 typedef struct xcb_xfixes_create_region_from_bitmap_request_t {
00259 uint8_t major_opcode;
00260 uint8_t minor_opcode;
00261 uint16_t length;
00262 xcb_xfixes_region_t region;
00263 xcb_pixmap_t bitmap;
00264 } xcb_xfixes_create_region_from_bitmap_request_t;
00265
00267 #define XCB_XFIXES_CREATE_REGION_FROM_WINDOW 7
00268
00272 typedef struct xcb_xfixes_create_region_from_window_request_t {
00273 uint8_t major_opcode;
00274 uint8_t minor_opcode;
00275 uint16_t length;
00276 xcb_xfixes_region_t region;
00277 xcb_window_t window;
00278 xcb_shape_kind_t kind;
00279 uint8_t pad0[3];
00280 } xcb_xfixes_create_region_from_window_request_t;
00281
00283 #define XCB_XFIXES_CREATE_REGION_FROM_GC 8
00284
00288 typedef struct xcb_xfixes_create_region_from_gc_request_t {
00289 uint8_t major_opcode;
00290 uint8_t minor_opcode;
00291 uint16_t length;
00292 xcb_xfixes_region_t region;
00293 xcb_gcontext_t gc;
00294 } xcb_xfixes_create_region_from_gc_request_t;
00295
00297 #define XCB_XFIXES_CREATE_REGION_FROM_PICTURE 9
00298
00302 typedef struct xcb_xfixes_create_region_from_picture_request_t {
00303 uint8_t major_opcode;
00304 uint8_t minor_opcode;
00305 uint16_t length;
00306 xcb_xfixes_region_t region;
00307 xcb_render_picture_t picture;
00308 } xcb_xfixes_create_region_from_picture_request_t;
00309
00311 #define XCB_XFIXES_DESTROY_REGION 10
00312
00316 typedef struct xcb_xfixes_destroy_region_request_t {
00317 uint8_t major_opcode;
00318 uint8_t minor_opcode;
00319 uint16_t length;
00320 xcb_xfixes_region_t region;
00321 } xcb_xfixes_destroy_region_request_t;
00322
00324 #define XCB_XFIXES_SET_REGION 11
00325
00329 typedef struct xcb_xfixes_set_region_request_t {
00330 uint8_t major_opcode;
00331 uint8_t minor_opcode;
00332 uint16_t length;
00333 xcb_xfixes_region_t region;
00334 } xcb_xfixes_set_region_request_t;
00335
00337 #define XCB_XFIXES_COPY_REGION 12
00338
00342 typedef struct xcb_xfixes_copy_region_request_t {
00343 uint8_t major_opcode;
00344 uint8_t minor_opcode;
00345 uint16_t length;
00346 xcb_xfixes_region_t source;
00347 xcb_xfixes_region_t destination;
00348 } xcb_xfixes_copy_region_request_t;
00349
00351 #define XCB_XFIXES_UNION_REGION 13
00352
00356 typedef struct xcb_xfixes_union_region_request_t {
00357 uint8_t major_opcode;
00358 uint8_t minor_opcode;
00359 uint16_t length;
00360 xcb_xfixes_region_t source1;
00361 xcb_xfixes_region_t source2;
00362 xcb_xfixes_region_t destination;
00363 } xcb_xfixes_union_region_request_t;
00364
00366 #define XCB_XFIXES_INTERSECT_REGION 14
00367
00371 typedef struct xcb_xfixes_intersect_region_request_t {
00372 uint8_t major_opcode;
00373 uint8_t minor_opcode;
00374 uint16_t length;
00375 xcb_xfixes_region_t source1;
00376 xcb_xfixes_region_t source2;
00377 xcb_xfixes_region_t destination;
00378 } xcb_xfixes_intersect_region_request_t;
00379
00381 #define XCB_XFIXES_SUBTRACT_REGION 15
00382
00386 typedef struct xcb_xfixes_subtract_region_request_t {
00387 uint8_t major_opcode;
00388 uint8_t minor_opcode;
00389 uint16_t length;
00390 xcb_xfixes_region_t source1;
00391 xcb_xfixes_region_t source2;
00392 xcb_xfixes_region_t destination;
00393 } xcb_xfixes_subtract_region_request_t;
00394
00396 #define XCB_XFIXES_INVERT_REGION 16
00397
00401 typedef struct xcb_xfixes_invert_region_request_t {
00402 uint8_t major_opcode;
00403 uint8_t minor_opcode;
00404 uint16_t length;
00405 xcb_xfixes_region_t source;
00406 xcb_rectangle_t bounds;
00407 xcb_xfixes_region_t destination;
00408 } xcb_xfixes_invert_region_request_t;
00409
00411 #define XCB_XFIXES_TRANSLATE_REGION 17
00412
00416 typedef struct xcb_xfixes_translate_region_request_t {
00417 uint8_t major_opcode;
00418 uint8_t minor_opcode;
00419 uint16_t length;
00420 xcb_xfixes_region_t region;
00421 int16_t dx;
00422 int16_t dy;
00423 } xcb_xfixes_translate_region_request_t;
00424
00426 #define XCB_XFIXES_REGION_EXTENTS 18
00427
00431 typedef struct xcb_xfixes_region_extents_request_t {
00432 uint8_t major_opcode;
00433 uint8_t minor_opcode;
00434 uint16_t length;
00435 xcb_xfixes_region_t source;
00436 xcb_xfixes_region_t destination;
00437 } xcb_xfixes_region_extents_request_t;
00438
00442 typedef struct xcb_xfixes_fetch_region_cookie_t {
00443 unsigned int sequence;
00444 } xcb_xfixes_fetch_region_cookie_t;
00445
00447 #define XCB_XFIXES_FETCH_REGION 19
00448
00452 typedef struct xcb_xfixes_fetch_region_request_t {
00453 uint8_t major_opcode;
00454 uint8_t minor_opcode;
00455 uint16_t length;
00456 xcb_xfixes_region_t region;
00457 } xcb_xfixes_fetch_region_request_t;
00458
00462 typedef struct xcb_xfixes_fetch_region_reply_t {
00463 uint8_t response_type;
00464 uint8_t pad0;
00465 uint16_t sequence;
00466 uint32_t length;
00467 xcb_rectangle_t extents;
00468 uint8_t pad1[16];
00469 } xcb_xfixes_fetch_region_reply_t;
00470
00472 #define XCB_XFIXES_SET_GC_CLIP_REGION 20
00473
00477 typedef struct xcb_xfixes_set_gc_clip_region_request_t {
00478 uint8_t major_opcode;
00479 uint8_t minor_opcode;
00480 uint16_t length;
00481 xcb_gcontext_t gc;
00482 xcb_xfixes_region_t region;
00483 int16_t x_origin;
00484 int16_t y_origin;
00485 } xcb_xfixes_set_gc_clip_region_request_t;
00486
00488 #define XCB_XFIXES_SET_WINDOW_SHAPE_REGION 21
00489
00493 typedef struct xcb_xfixes_set_window_shape_region_request_t {
00494 uint8_t major_opcode;
00495 uint8_t minor_opcode;
00496 uint16_t length;
00497 xcb_window_t dest;
00498 xcb_shape_kind_t dest_kind;
00499 uint8_t pad0[3];
00500 int16_t x_offset;
00501 int16_t y_offset;
00502 xcb_xfixes_region_t region;
00503 } xcb_xfixes_set_window_shape_region_request_t;
00504
00506 #define XCB_XFIXES_SET_PICTURE_CLIP_REGION 22
00507
00511 typedef struct xcb_xfixes_set_picture_clip_region_request_t {
00512 uint8_t major_opcode;
00513 uint8_t minor_opcode;
00514 uint16_t length;
00515 xcb_render_picture_t picture;
00516 xcb_xfixes_region_t region;
00517 int16_t x_origin;
00518 int16_t y_origin;
00519 } xcb_xfixes_set_picture_clip_region_request_t;
00520
00522 #define XCB_XFIXES_SET_CURSOR_NAME 23
00523
00527 typedef struct xcb_xfixes_set_cursor_name_request_t {
00528 uint8_t major_opcode;
00529 uint8_t minor_opcode;
00530 uint16_t length;
00531 xcb_cursor_t cursor;
00532 uint16_t nbytes;
00533 uint8_t pad0[2];
00534 } xcb_xfixes_set_cursor_name_request_t;
00535
00539 typedef struct xcb_xfixes_get_cursor_name_cookie_t {
00540 unsigned int sequence;
00541 } xcb_xfixes_get_cursor_name_cookie_t;
00542
00544 #define XCB_XFIXES_GET_CURSOR_NAME 24
00545
00549 typedef struct xcb_xfixes_get_cursor_name_request_t {
00550 uint8_t major_opcode;
00551 uint8_t minor_opcode;
00552 uint16_t length;
00553 xcb_cursor_t cursor;
00554 } xcb_xfixes_get_cursor_name_request_t;
00555
00559 typedef struct xcb_xfixes_get_cursor_name_reply_t {
00560 uint8_t response_type;
00561 uint8_t pad0;
00562 uint16_t sequence;
00563 uint32_t length;
00564 xcb_atom_t atom;
00565 uint16_t nbytes;
00566 uint8_t pad1[18];
00567 } xcb_xfixes_get_cursor_name_reply_t;
00568
00572 typedef struct xcb_xfixes_get_cursor_image_and_name_cookie_t {
00573 unsigned int sequence;
00574 } xcb_xfixes_get_cursor_image_and_name_cookie_t;
00575
00577 #define XCB_XFIXES_GET_CURSOR_IMAGE_AND_NAME 25
00578
00582 typedef struct xcb_xfixes_get_cursor_image_and_name_request_t {
00583 uint8_t major_opcode;
00584 uint8_t minor_opcode;
00585 uint16_t length;
00586 } xcb_xfixes_get_cursor_image_and_name_request_t;
00587
00591 typedef struct xcb_xfixes_get_cursor_image_and_name_reply_t {
00592 uint8_t response_type;
00593 uint8_t pad0;
00594 uint16_t sequence;
00595 uint32_t length;
00596 int16_t x;
00597 int16_t y;
00598 uint16_t width;
00599 uint16_t height;
00600 uint16_t xhot;
00601 uint16_t yhot;
00602 uint32_t cursor_serial;
00603 xcb_atom_t cursor_atom;
00604 uint16_t nbytes;
00605 uint8_t pad1[2];
00606 } xcb_xfixes_get_cursor_image_and_name_reply_t;
00607
00609 #define XCB_XFIXES_CHANGE_CURSOR 26
00610
00614 typedef struct xcb_xfixes_change_cursor_request_t {
00615 uint8_t major_opcode;
00616 uint8_t minor_opcode;
00617 uint16_t length;
00618 xcb_cursor_t source;
00619 xcb_cursor_t destination;
00620 } xcb_xfixes_change_cursor_request_t;
00621
00623 #define XCB_XFIXES_CHANGE_CURSOR_BY_NAME 27
00624
00628 typedef struct xcb_xfixes_change_cursor_by_name_request_t {
00629 uint8_t major_opcode;
00630 uint8_t minor_opcode;
00631 uint16_t length;
00632 xcb_cursor_t src;
00633 uint16_t nbytes;
00634 uint8_t pad0[2];
00635 } xcb_xfixes_change_cursor_by_name_request_t;
00636
00638 #define XCB_XFIXES_EXPAND_REGION 28
00639
00643 typedef struct xcb_xfixes_expand_region_request_t {
00644 uint8_t major_opcode;
00645 uint8_t minor_opcode;
00646 uint16_t length;
00647 xcb_xfixes_region_t source;
00648 xcb_xfixes_region_t destination;
00649 uint16_t left;
00650 uint16_t right;
00651 uint16_t top;
00652 uint16_t bottom;
00653 } xcb_xfixes_expand_region_request_t;
00654
00656 #define XCB_XFIXES_HIDE_CURSOR 29
00657
00661 typedef struct xcb_xfixes_hide_cursor_request_t {
00662 uint8_t major_opcode;
00663 uint8_t minor_opcode;
00664 uint16_t length;
00665 xcb_window_t window;
00666 } xcb_xfixes_hide_cursor_request_t;
00667
00669 #define XCB_XFIXES_SHOW_CURSOR 30
00670
00674 typedef struct xcb_xfixes_show_cursor_request_t {
00675 uint8_t major_opcode;
00676 uint8_t minor_opcode;
00677 uint16_t length;
00678 xcb_window_t window;
00679 } xcb_xfixes_show_cursor_request_t;
00680
00690
00691
00692
00693
00694
00695
00696
00697
00698
00699
00700
00701 xcb_xfixes_query_version_cookie_t
00702 xcb_xfixes_query_version (xcb_connection_t *c ,
00703 uint32_t client_major_version ,
00704 uint32_t client_minor_version );
00705
00718
00719
00720
00721
00722
00723
00724
00725
00726
00727
00728
00729 xcb_xfixes_query_version_cookie_t
00730 xcb_xfixes_query_version_unchecked (xcb_connection_t *c ,
00731 uint32_t client_major_version ,
00732 uint32_t client_minor_version );
00733
00749
00750
00751
00752
00753
00754
00755
00756
00757
00758
00759
00760 xcb_xfixes_query_version_reply_t *
00761 xcb_xfixes_query_version_reply (xcb_connection_t *c ,
00762 xcb_xfixes_query_version_cookie_t cookie ,
00763 xcb_generic_error_t **e );
00764
00777
00778
00779
00780
00781
00782
00783
00784
00785
00786
00787
00788
00789
00790 xcb_void_cookie_t
00791 xcb_xfixes_change_save_set_checked (xcb_connection_t *c ,
00792 uint8_t mode ,
00793 uint8_t target ,
00794 uint8_t map ,
00795 xcb_window_t window );
00796
00806
00807
00808
00809
00810
00811
00812
00813
00814
00815
00816
00817
00818
00819 xcb_void_cookie_t
00820 xcb_xfixes_change_save_set (xcb_connection_t *c ,
00821 uint8_t mode ,
00822 uint8_t target ,
00823 uint8_t map ,
00824 xcb_window_t window );
00825
00838
00839
00840
00841
00842
00843
00844
00845
00846
00847
00848
00849
00850 xcb_void_cookie_t
00851 xcb_xfixes_select_selection_input_checked (xcb_connection_t *c ,
00852 xcb_window_t window ,
00853 xcb_atom_t selection ,
00854 uint32_t event_mask );
00855
00865
00866
00867
00868
00869
00870
00871
00872
00873
00874
00875
00876
00877 xcb_void_cookie_t
00878 xcb_xfixes_select_selection_input (xcb_connection_t *c ,
00879 xcb_window_t window ,
00880 xcb_atom_t selection ,
00881 uint32_t event_mask );
00882
00895
00896
00897
00898
00899
00900
00901
00902
00903
00904
00905
00906 xcb_void_cookie_t
00907 xcb_xfixes_select_cursor_input_checked (xcb_connection_t *c ,
00908 xcb_window_t window ,
00909 uint32_t event_mask );
00910
00920
00921
00922
00923
00924
00925
00926
00927
00928
00929
00930
00931 xcb_void_cookie_t
00932 xcb_xfixes_select_cursor_input (xcb_connection_t *c ,
00933 xcb_window_t window ,
00934 uint32_t event_mask );
00935
00945
00946
00947
00948
00949
00950
00951
00952
00953
00954 xcb_xfixes_get_cursor_image_cookie_t
00955 xcb_xfixes_get_cursor_image (xcb_connection_t *c );
00956
00969
00970
00971
00972
00973
00974
00975
00976
00977
00978 xcb_xfixes_get_cursor_image_cookie_t
00979 xcb_xfixes_get_cursor_image_unchecked (xcb_connection_t *c );
00980
00981
00982
00983
00984
00985
00986
00987
00988
00989
00990
00991 uint32_t *
00992 xcb_xfixes_get_cursor_image_cursor_image (const xcb_xfixes_get_cursor_image_reply_t *R );
00993
00994
00995
00996
00997
00998
00999
01000
01001
01002
01003
01004 int
01005 xcb_xfixes_get_cursor_image_cursor_image_length (const xcb_xfixes_get_cursor_image_reply_t *R );
01006
01007
01008
01009
01010
01011
01012
01013
01014
01015
01016
01017 xcb_generic_iterator_t
01018 xcb_xfixes_get_cursor_image_cursor_image_end (const xcb_xfixes_get_cursor_image_reply_t *R );
01019
01035
01036
01037
01038
01039
01040
01041
01042
01043
01044
01045
01046 xcb_xfixes_get_cursor_image_reply_t *
01047 xcb_xfixes_get_cursor_image_reply (xcb_connection_t *c ,
01048 xcb_xfixes_get_cursor_image_cookie_t cookie ,
01049 xcb_generic_error_t **e );
01050
01060
01061
01062
01063
01064
01065
01066
01067
01068
01069 void
01070 xcb_xfixes_region_next (xcb_xfixes_region_iterator_t *i );
01071
01082
01083
01084
01085
01086
01087
01088
01089
01090
01091 xcb_generic_iterator_t
01092 xcb_xfixes_region_end (xcb_xfixes_region_iterator_t i );
01093
01106
01107
01108
01109
01110
01111
01112
01113
01114
01115
01116
01117
01118 xcb_void_cookie_t
01119 xcb_xfixes_create_region_checked (xcb_connection_t *c ,
01120 xcb_xfixes_region_t region ,
01121 uint32_t rectangles_len ,
01122 const xcb_rectangle_t *rectangles );
01123
01133
01134
01135
01136
01137
01138
01139
01140
01141
01142
01143
01144
01145 xcb_void_cookie_t
01146 xcb_xfixes_create_region (xcb_connection_t *c ,
01147 xcb_xfixes_region_t region ,
01148 uint32_t rectangles_len ,
01149 const xcb_rectangle_t *rectangles );
01150
01163
01164
01165
01166
01167
01168
01169
01170
01171
01172
01173
01174 xcb_void_cookie_t
01175 xcb_xfixes_create_region_from_bitmap_checked (xcb_connection_t *c ,
01176 xcb_xfixes_region_t region ,
01177 xcb_pixmap_t bitmap );
01178
01188
01189
01190
01191
01192
01193
01194
01195
01196
01197
01198
01199 xcb_void_cookie_t
01200 xcb_xfixes_create_region_from_bitmap (xcb_connection_t *c ,
01201 xcb_xfixes_region_t region ,
01202 xcb_pixmap_t bitmap );
01203
01216
01217
01218
01219
01220
01221
01222
01223
01224
01225
01226
01227
01228 xcb_void_cookie_t
01229 xcb_xfixes_create_region_from_window_checked (xcb_connection_t *c ,
01230 xcb_xfixes_region_t region ,
01231 xcb_window_t window ,
01232 xcb_shape_kind_t kind );
01233
01243
01244
01245
01246
01247
01248
01249
01250
01251
01252
01253
01254
01255 xcb_void_cookie_t
01256 xcb_xfixes_create_region_from_window (xcb_connection_t *c ,
01257 xcb_xfixes_region_t region ,
01258 xcb_window_t window ,
01259 xcb_shape_kind_t kind );
01260
01273
01274
01275
01276
01277
01278
01279
01280
01281
01282
01283
01284 xcb_void_cookie_t
01285 xcb_xfixes_create_region_from_gc_checked (xcb_connection_t *c ,
01286 xcb_xfixes_region_t region ,
01287 xcb_gcontext_t gc );
01288
01298
01299
01300
01301
01302
01303
01304
01305
01306
01307
01308
01309 xcb_void_cookie_t
01310 xcb_xfixes_create_region_from_gc (xcb_connection_t *c ,
01311 xcb_xfixes_region_t region ,
01312 xcb_gcontext_t gc );
01313
01326
01327
01328
01329
01330
01331
01332
01333
01334
01335
01336
01337 xcb_void_cookie_t
01338 xcb_xfixes_create_region_from_picture_checked (xcb_connection_t *c ,
01339 xcb_xfixes_region_t region ,
01340 xcb_render_picture_t picture );
01341
01351
01352
01353
01354
01355
01356
01357
01358
01359
01360
01361
01362 xcb_void_cookie_t
01363 xcb_xfixes_create_region_from_picture (xcb_connection_t *c ,
01364 xcb_xfixes_region_t region ,
01365 xcb_render_picture_t picture );
01366
01379
01380
01381
01382
01383
01384
01385
01386
01387
01388
01389 xcb_void_cookie_t
01390 xcb_xfixes_destroy_region_checked (xcb_connection_t *c ,
01391 xcb_xfixes_region_t region );
01392
01402
01403
01404
01405
01406
01407
01408
01409
01410
01411
01412 xcb_void_cookie_t
01413 xcb_xfixes_destroy_region (xcb_connection_t *c ,
01414 xcb_xfixes_region_t region );
01415
01428
01429
01430
01431
01432
01433
01434
01435
01436
01437
01438
01439
01440 xcb_void_cookie_t
01441 xcb_xfixes_set_region_checked (xcb_connection_t *c ,
01442 xcb_xfixes_region_t region ,
01443 uint32_t rectangles_len ,
01444 const xcb_rectangle_t *rectangles );
01445
01455
01456
01457
01458
01459
01460
01461
01462
01463
01464
01465
01466
01467 xcb_void_cookie_t
01468 xcb_xfixes_set_region (xcb_connection_t *c ,
01469 xcb_xfixes_region_t region ,
01470 uint32_t rectangles_len ,
01471 const xcb_rectangle_t *rectangles );
01472
01485
01486
01487
01488
01489
01490
01491
01492
01493
01494
01495
01496 xcb_void_cookie_t
01497 xcb_xfixes_copy_region_checked (xcb_connection_t *c ,
01498 xcb_xfixes_region_t source ,
01499 xcb_xfixes_region_t destination );
01500
01510
01511
01512
01513
01514
01515
01516
01517
01518
01519
01520
01521 xcb_void_cookie_t
01522 xcb_xfixes_copy_region (xcb_connection_t *c ,
01523 xcb_xfixes_region_t source ,
01524 xcb_xfixes_region_t destination );
01525
01538
01539
01540
01541
01542
01543
01544
01545
01546
01547
01548
01549
01550 xcb_void_cookie_t
01551 xcb_xfixes_union_region_checked (xcb_connection_t *c ,
01552 xcb_xfixes_region_t source1 ,
01553 xcb_xfixes_region_t source2 ,
01554 xcb_xfixes_region_t destination );
01555
01565
01566
01567
01568
01569
01570
01571
01572
01573
01574
01575
01576
01577 xcb_void_cookie_t
01578 xcb_xfixes_union_region (xcb_connection_t *c ,
01579 xcb_xfixes_region_t source1 ,
01580 xcb_xfixes_region_t source2 ,
01581 xcb_xfixes_region_t destination );
01582
01595
01596
01597
01598
01599
01600
01601
01602
01603
01604
01605
01606
01607 xcb_void_cookie_t
01608 xcb_xfixes_intersect_region_checked (xcb_connection_t *c ,
01609 xcb_xfixes_region_t source1 ,
01610 xcb_xfixes_region_t source2 ,
01611 xcb_xfixes_region_t destination );
01612
01622
01623
01624
01625
01626
01627
01628
01629
01630
01631
01632
01633
01634 xcb_void_cookie_t
01635 xcb_xfixes_intersect_region (xcb_connection_t *c ,
01636 xcb_xfixes_region_t source1 ,
01637 xcb_xfixes_region_t source2 ,
01638 xcb_xfixes_region_t destination );
01639
01652
01653
01654
01655
01656
01657
01658
01659
01660
01661
01662
01663
01664 xcb_void_cookie_t
01665 xcb_xfixes_subtract_region_checked (xcb_connection_t *c ,
01666 xcb_xfixes_region_t source1 ,
01667 xcb_xfixes_region_t source2 ,
01668 xcb_xfixes_region_t destination );
01669
01679
01680
01681
01682
01683
01684
01685
01686
01687
01688
01689
01690
01691 xcb_void_cookie_t
01692 xcb_xfixes_subtract_region (xcb_connection_t *c ,
01693 xcb_xfixes_region_t source1 ,
01694 xcb_xfixes_region_t source2 ,
01695 xcb_xfixes_region_t destination );
01696
01709
01710
01711
01712
01713
01714
01715
01716
01717
01718
01719
01720
01721 xcb_void_cookie_t
01722 xcb_xfixes_invert_region_checked (xcb_connection_t *c ,
01723 xcb_xfixes_region_t source ,
01724 xcb_rectangle_t bounds ,
01725 xcb_xfixes_region_t destination );
01726
01736
01737
01738
01739
01740
01741
01742
01743
01744
01745
01746
01747
01748 xcb_void_cookie_t
01749 xcb_xfixes_invert_region (xcb_connection_t *c ,
01750 xcb_xfixes_region_t source ,
01751 xcb_rectangle_t bounds ,
01752 xcb_xfixes_region_t destination );
01753
01766
01767
01768
01769
01770
01771
01772
01773
01774
01775
01776
01777
01778 xcb_void_cookie_t
01779 xcb_xfixes_translate_region_checked (xcb_connection_t *c ,
01780 xcb_xfixes_region_t region ,
01781 int16_t dx ,
01782 int16_t dy );
01783
01793
01794
01795
01796
01797
01798
01799
01800
01801
01802
01803
01804
01805 xcb_void_cookie_t
01806 xcb_xfixes_translate_region (xcb_connection_t *c ,
01807 xcb_xfixes_region_t region ,
01808 int16_t dx ,
01809 int16_t dy );
01810
01823
01824
01825
01826
01827
01828
01829
01830
01831
01832
01833
01834 xcb_void_cookie_t
01835 xcb_xfixes_region_extents_checked (xcb_connection_t *c ,
01836 xcb_xfixes_region_t source ,
01837 xcb_xfixes_region_t destination );
01838
01848
01849
01850
01851
01852
01853
01854
01855
01856
01857
01858
01859 xcb_void_cookie_t
01860 xcb_xfixes_region_extents (xcb_connection_t *c ,
01861 xcb_xfixes_region_t source ,
01862 xcb_xfixes_region_t destination );
01863
01873
01874
01875
01876
01877
01878
01879
01880
01881
01882
01883 xcb_xfixes_fetch_region_cookie_t
01884 xcb_xfixes_fetch_region (xcb_connection_t *c ,
01885 xcb_xfixes_region_t region );
01886
01899
01900
01901
01902
01903
01904
01905
01906
01907
01908
01909 xcb_xfixes_fetch_region_cookie_t
01910 xcb_xfixes_fetch_region_unchecked (xcb_connection_t *c ,
01911 xcb_xfixes_region_t region );
01912
01913
01914
01915
01916
01917
01918
01919
01920
01921
01922
01923 xcb_rectangle_t *
01924 xcb_xfixes_fetch_region_rectangles (const xcb_xfixes_fetch_region_reply_t *R );
01925
01926
01927
01928
01929
01930
01931
01932
01933
01934
01935
01936 int
01937 xcb_xfixes_fetch_region_rectangles_length (const xcb_xfixes_fetch_region_reply_t *R );
01938
01939
01940
01941
01942
01943
01944
01945
01946
01947
01948
01949 xcb_rectangle_iterator_t
01950 xcb_xfixes_fetch_region_rectangles_iterator (const xcb_xfixes_fetch_region_reply_t *R );
01951
01967
01968
01969
01970
01971
01972
01973
01974
01975
01976
01977
01978 xcb_xfixes_fetch_region_reply_t *
01979 xcb_xfixes_fetch_region_reply (xcb_connection_t *c ,
01980 xcb_xfixes_fetch_region_cookie_t cookie ,
01981 xcb_generic_error_t **e );
01982
01995
01996
01997
01998
01999
02000
02001
02002
02003
02004
02005
02006
02007
02008 xcb_void_cookie_t
02009 xcb_xfixes_set_gc_clip_region_checked (xcb_connection_t *c ,
02010 xcb_gcontext_t gc ,
02011 xcb_xfixes_region_t region ,
02012 int16_t x_origin ,
02013 int16_t y_origin );
02014
02024
02025
02026
02027
02028
02029
02030
02031
02032
02033
02034
02035
02036
02037 xcb_void_cookie_t
02038 xcb_xfixes_set_gc_clip_region (xcb_connection_t *c ,
02039 xcb_gcontext_t gc ,
02040 xcb_xfixes_region_t region ,
02041 int16_t x_origin ,
02042 int16_t y_origin );
02043
02056
02057
02058
02059
02060
02061
02062
02063
02064
02065
02066
02067
02068
02069
02070 xcb_void_cookie_t
02071 xcb_xfixes_set_window_shape_region_checked (xcb_connection_t *c ,
02072 xcb_window_t dest ,
02073 xcb_shape_kind_t dest_kind ,
02074 int16_t x_offset ,
02075 int16_t y_offset ,
02076 xcb_xfixes_region_t region );
02077
02087
02088
02089
02090
02091
02092
02093
02094
02095
02096
02097
02098
02099
02100
02101 xcb_void_cookie_t
02102 xcb_xfixes_set_window_shape_region (xcb_connection_t *c ,
02103 xcb_window_t dest ,
02104 xcb_shape_kind_t dest_kind ,
02105 int16_t x_offset ,
02106 int16_t y_offset ,
02107 xcb_xfixes_region_t region );
02108
02121
02122
02123
02124
02125
02126
02127
02128
02129
02130
02131
02132
02133
02134 xcb_void_cookie_t
02135 xcb_xfixes_set_picture_clip_region_checked (xcb_connection_t *c ,
02136 xcb_render_picture_t picture ,
02137 xcb_xfixes_region_t region ,
02138 int16_t x_origin ,
02139 int16_t y_origin );
02140
02150
02151
02152
02153
02154
02155
02156
02157
02158
02159
02160
02161
02162
02163 xcb_void_cookie_t
02164 xcb_xfixes_set_picture_clip_region (xcb_connection_t *c ,
02165 xcb_render_picture_t picture ,
02166 xcb_xfixes_region_t region ,
02167 int16_t x_origin ,
02168 int16_t y_origin );
02169
02182
02183
02184
02185
02186
02187
02188
02189
02190
02191
02192
02193
02194 xcb_void_cookie_t
02195 xcb_xfixes_set_cursor_name_checked (xcb_connection_t *c ,
02196 xcb_cursor_t cursor ,
02197 uint16_t nbytes ,
02198 const char *name );
02199
02209
02210
02211
02212
02213
02214
02215
02216
02217
02218
02219
02220
02221 xcb_void_cookie_t
02222 xcb_xfixes_set_cursor_name (xcb_connection_t *c ,
02223 xcb_cursor_t cursor ,
02224 uint16_t nbytes ,
02225 const char *name );
02226
02236
02237
02238
02239
02240
02241
02242
02243
02244
02245
02246 xcb_xfixes_get_cursor_name_cookie_t
02247 xcb_xfixes_get_cursor_name (xcb_connection_t *c ,
02248 xcb_cursor_t cursor );
02249
02262
02263
02264
02265
02266
02267
02268
02269
02270
02271
02272 xcb_xfixes_get_cursor_name_cookie_t
02273 xcb_xfixes_get_cursor_name_unchecked (xcb_connection_t *c ,
02274 xcb_cursor_t cursor );
02275
02276
02277
02278
02279
02280
02281
02282
02283
02284
02285
02286 char *
02287 xcb_xfixes_get_cursor_name_name (const xcb_xfixes_get_cursor_name_reply_t *R );
02288
02289
02290
02291
02292
02293
02294
02295
02296
02297
02298
02299 int
02300 xcb_xfixes_get_cursor_name_name_length (const xcb_xfixes_get_cursor_name_reply_t *R );
02301
02302
02303
02304
02305
02306
02307
02308
02309
02310
02311
02312 xcb_generic_iterator_t
02313 xcb_xfixes_get_cursor_name_name_end (const xcb_xfixes_get_cursor_name_reply_t *R );
02314
02330
02331
02332
02333
02334
02335
02336
02337
02338
02339
02340
02341 xcb_xfixes_get_cursor_name_reply_t *
02342 xcb_xfixes_get_cursor_name_reply (xcb_connection_t *c ,
02343 xcb_xfixes_get_cursor_name_cookie_t cookie ,
02344 xcb_generic_error_t **e );
02345
02355
02356
02357
02358
02359
02360
02361
02362
02363
02364 xcb_xfixes_get_cursor_image_and_name_cookie_t
02365 xcb_xfixes_get_cursor_image_and_name (xcb_connection_t *c );
02366
02379
02380
02381
02382
02383
02384
02385
02386
02387
02388 xcb_xfixes_get_cursor_image_and_name_cookie_t
02389 xcb_xfixes_get_cursor_image_and_name_unchecked (xcb_connection_t *c );
02390
02391
02392
02393
02394
02395
02396
02397
02398
02399
02400
02401 char *
02402 xcb_xfixes_get_cursor_image_and_name_name (const xcb_xfixes_get_cursor_image_and_name_reply_t *R );
02403
02404
02405
02406
02407
02408
02409
02410
02411
02412
02413
02414 int
02415 xcb_xfixes_get_cursor_image_and_name_name_length (const xcb_xfixes_get_cursor_image_and_name_reply_t *R );
02416
02417
02418
02419
02420
02421
02422
02423
02424
02425
02426
02427 xcb_generic_iterator_t
02428 xcb_xfixes_get_cursor_image_and_name_name_end (const xcb_xfixes_get_cursor_image_and_name_reply_t *R );
02429
02430
02431
02432
02433
02434
02435
02436
02437
02438
02439
02440 uint32_t *
02441 xcb_xfixes_get_cursor_image_and_name_cursor_image (const xcb_xfixes_get_cursor_image_and_name_reply_t *R );
02442
02443
02444
02445
02446
02447
02448
02449
02450
02451
02452
02453 int
02454 xcb_xfixes_get_cursor_image_and_name_cursor_image_length (const xcb_xfixes_get_cursor_image_and_name_reply_t *R );
02455
02456
02457
02458
02459
02460
02461
02462
02463
02464
02465
02466 xcb_generic_iterator_t
02467 xcb_xfixes_get_cursor_image_and_name_cursor_image_end (const xcb_xfixes_get_cursor_image_and_name_reply_t *R );
02468
02484
02485
02486
02487
02488
02489
02490
02491
02492
02493
02494
02495 xcb_xfixes_get_cursor_image_and_name_reply_t *
02496 xcb_xfixes_get_cursor_image_and_name_reply (xcb_connection_t *c ,
02497 xcb_xfixes_get_cursor_image_and_name_cookie_t cookie ,
02498 xcb_generic_error_t **e );
02499
02512
02513
02514
02515
02516
02517
02518
02519
02520
02521
02522
02523 xcb_void_cookie_t
02524 xcb_xfixes_change_cursor_checked (xcb_connection_t *c ,
02525 xcb_cursor_t source ,
02526 xcb_cursor_t destination );
02527
02537
02538
02539
02540
02541
02542
02543
02544
02545
02546
02547
02548 xcb_void_cookie_t
02549 xcb_xfixes_change_cursor (xcb_connection_t *c ,
02550 xcb_cursor_t source ,
02551 xcb_cursor_t destination );
02552
02565
02566
02567
02568
02569
02570
02571
02572
02573
02574
02575
02576
02577 xcb_void_cookie_t
02578 xcb_xfixes_change_cursor_by_name_checked (xcb_connection_t *c ,
02579 xcb_cursor_t src ,
02580 uint16_t nbytes ,
02581 const char *name );
02582
02592
02593
02594
02595
02596
02597
02598
02599
02600
02601
02602
02603
02604 xcb_void_cookie_t
02605 xcb_xfixes_change_cursor_by_name (xcb_connection_t *c ,
02606 xcb_cursor_t src ,
02607 uint16_t nbytes ,
02608 const char *name );
02609
02622
02623
02624
02625
02626
02627
02628
02629
02630
02631
02632
02633
02634
02635
02636
02637 xcb_void_cookie_t
02638 xcb_xfixes_expand_region_checked (xcb_connection_t *c ,
02639 xcb_xfixes_region_t source ,
02640 xcb_xfixes_region_t destination ,
02641 uint16_t left ,
02642 uint16_t right ,
02643 uint16_t top ,
02644 uint16_t bottom );
02645
02655
02656
02657
02658
02659
02660
02661
02662
02663
02664
02665
02666
02667
02668
02669
02670 xcb_void_cookie_t
02671 xcb_xfixes_expand_region (xcb_connection_t *c ,
02672 xcb_xfixes_region_t source ,
02673 xcb_xfixes_region_t destination ,
02674 uint16_t left ,
02675 uint16_t right ,
02676 uint16_t top ,
02677 uint16_t bottom );
02678
02691
02692
02693
02694
02695
02696
02697
02698
02699
02700
02701 xcb_void_cookie_t
02702 xcb_xfixes_hide_cursor_checked (xcb_connection_t *c ,
02703 xcb_window_t window );
02704
02714
02715
02716
02717
02718
02719
02720
02721
02722
02723
02724 xcb_void_cookie_t
02725 xcb_xfixes_hide_cursor (xcb_connection_t *c ,
02726 xcb_window_t window );
02727
02740
02741
02742
02743
02744
02745
02746
02747
02748
02749
02750 xcb_void_cookie_t
02751 xcb_xfixes_show_cursor_checked (xcb_connection_t *c ,
02752 xcb_window_t window );
02753
02763
02764
02765
02766
02767
02768
02769
02770
02771
02772
02773 xcb_void_cookie_t
02774 xcb_xfixes_show_cursor (xcb_connection_t *c ,
02775 xcb_window_t window );
02776
02777
02778 #ifdef __cplusplus
02779 }
02780 #endif
02781
02782 #endif
02783