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
00239 typedef enum xcb_xfixes_region_enum_t {
00240 XCB_XFIXES_REGION_NONE
00241 } xcb_xfixes_region_enum_t;
00242
00244 #define XCB_XFIXES_CREATE_REGION 5
00245
00249 typedef struct xcb_xfixes_create_region_request_t {
00250 uint8_t major_opcode;
00251 uint8_t minor_opcode;
00252 uint16_t length;
00253 xcb_xfixes_region_t region;
00254 } xcb_xfixes_create_region_request_t;
00255
00257 #define XCB_XFIXES_CREATE_REGION_FROM_BITMAP 6
00258
00262 typedef struct xcb_xfixes_create_region_from_bitmap_request_t {
00263 uint8_t major_opcode;
00264 uint8_t minor_opcode;
00265 uint16_t length;
00266 xcb_xfixes_region_t region;
00267 xcb_pixmap_t bitmap;
00268 } xcb_xfixes_create_region_from_bitmap_request_t;
00269
00271 #define XCB_XFIXES_CREATE_REGION_FROM_WINDOW 7
00272
00276 typedef struct xcb_xfixes_create_region_from_window_request_t {
00277 uint8_t major_opcode;
00278 uint8_t minor_opcode;
00279 uint16_t length;
00280 xcb_xfixes_region_t region;
00281 xcb_window_t window;
00282 xcb_shape_kind_t kind;
00283 uint8_t pad0[3];
00284 } xcb_xfixes_create_region_from_window_request_t;
00285
00287 #define XCB_XFIXES_CREATE_REGION_FROM_GC 8
00288
00292 typedef struct xcb_xfixes_create_region_from_gc_request_t {
00293 uint8_t major_opcode;
00294 uint8_t minor_opcode;
00295 uint16_t length;
00296 xcb_xfixes_region_t region;
00297 xcb_gcontext_t gc;
00298 } xcb_xfixes_create_region_from_gc_request_t;
00299
00301 #define XCB_XFIXES_CREATE_REGION_FROM_PICTURE 9
00302
00306 typedef struct xcb_xfixes_create_region_from_picture_request_t {
00307 uint8_t major_opcode;
00308 uint8_t minor_opcode;
00309 uint16_t length;
00310 xcb_xfixes_region_t region;
00311 xcb_render_picture_t picture;
00312 } xcb_xfixes_create_region_from_picture_request_t;
00313
00315 #define XCB_XFIXES_DESTROY_REGION 10
00316
00320 typedef struct xcb_xfixes_destroy_region_request_t {
00321 uint8_t major_opcode;
00322 uint8_t minor_opcode;
00323 uint16_t length;
00324 xcb_xfixes_region_t region;
00325 } xcb_xfixes_destroy_region_request_t;
00326
00328 #define XCB_XFIXES_SET_REGION 11
00329
00333 typedef struct xcb_xfixes_set_region_request_t {
00334 uint8_t major_opcode;
00335 uint8_t minor_opcode;
00336 uint16_t length;
00337 xcb_xfixes_region_t region;
00338 } xcb_xfixes_set_region_request_t;
00339
00341 #define XCB_XFIXES_COPY_REGION 12
00342
00346 typedef struct xcb_xfixes_copy_region_request_t {
00347 uint8_t major_opcode;
00348 uint8_t minor_opcode;
00349 uint16_t length;
00350 xcb_xfixes_region_t source;
00351 xcb_xfixes_region_t destination;
00352 } xcb_xfixes_copy_region_request_t;
00353
00355 #define XCB_XFIXES_UNION_REGION 13
00356
00360 typedef struct xcb_xfixes_union_region_request_t {
00361 uint8_t major_opcode;
00362 uint8_t minor_opcode;
00363 uint16_t length;
00364 xcb_xfixes_region_t source1;
00365 xcb_xfixes_region_t source2;
00366 xcb_xfixes_region_t destination;
00367 } xcb_xfixes_union_region_request_t;
00368
00370 #define XCB_XFIXES_INTERSECT_REGION 14
00371
00375 typedef struct xcb_xfixes_intersect_region_request_t {
00376 uint8_t major_opcode;
00377 uint8_t minor_opcode;
00378 uint16_t length;
00379 xcb_xfixes_region_t source1;
00380 xcb_xfixes_region_t source2;
00381 xcb_xfixes_region_t destination;
00382 } xcb_xfixes_intersect_region_request_t;
00383
00385 #define XCB_XFIXES_SUBTRACT_REGION 15
00386
00390 typedef struct xcb_xfixes_subtract_region_request_t {
00391 uint8_t major_opcode;
00392 uint8_t minor_opcode;
00393 uint16_t length;
00394 xcb_xfixes_region_t source1;
00395 xcb_xfixes_region_t source2;
00396 xcb_xfixes_region_t destination;
00397 } xcb_xfixes_subtract_region_request_t;
00398
00400 #define XCB_XFIXES_INVERT_REGION 16
00401
00405 typedef struct xcb_xfixes_invert_region_request_t {
00406 uint8_t major_opcode;
00407 uint8_t minor_opcode;
00408 uint16_t length;
00409 xcb_xfixes_region_t source;
00410 xcb_rectangle_t bounds;
00411 xcb_xfixes_region_t destination;
00412 } xcb_xfixes_invert_region_request_t;
00413
00415 #define XCB_XFIXES_TRANSLATE_REGION 17
00416
00420 typedef struct xcb_xfixes_translate_region_request_t {
00421 uint8_t major_opcode;
00422 uint8_t minor_opcode;
00423 uint16_t length;
00424 xcb_xfixes_region_t region;
00425 int16_t dx;
00426 int16_t dy;
00427 } xcb_xfixes_translate_region_request_t;
00428
00430 #define XCB_XFIXES_REGION_EXTENTS 18
00431
00435 typedef struct xcb_xfixes_region_extents_request_t {
00436 uint8_t major_opcode;
00437 uint8_t minor_opcode;
00438 uint16_t length;
00439 xcb_xfixes_region_t source;
00440 xcb_xfixes_region_t destination;
00441 } xcb_xfixes_region_extents_request_t;
00442
00446 typedef struct xcb_xfixes_fetch_region_cookie_t {
00447 unsigned int sequence;
00448 } xcb_xfixes_fetch_region_cookie_t;
00449
00451 #define XCB_XFIXES_FETCH_REGION 19
00452
00456 typedef struct xcb_xfixes_fetch_region_request_t {
00457 uint8_t major_opcode;
00458 uint8_t minor_opcode;
00459 uint16_t length;
00460 xcb_xfixes_region_t region;
00461 } xcb_xfixes_fetch_region_request_t;
00462
00466 typedef struct xcb_xfixes_fetch_region_reply_t {
00467 uint8_t response_type;
00468 uint8_t pad0;
00469 uint16_t sequence;
00470 uint32_t length;
00471 xcb_rectangle_t extents;
00472 uint8_t pad1[16];
00473 } xcb_xfixes_fetch_region_reply_t;
00474
00476 #define XCB_XFIXES_SET_GC_CLIP_REGION 20
00477
00481 typedef struct xcb_xfixes_set_gc_clip_region_request_t {
00482 uint8_t major_opcode;
00483 uint8_t minor_opcode;
00484 uint16_t length;
00485 xcb_gcontext_t gc;
00486 xcb_xfixes_region_t region;
00487 int16_t x_origin;
00488 int16_t y_origin;
00489 } xcb_xfixes_set_gc_clip_region_request_t;
00490
00492 #define XCB_XFIXES_SET_WINDOW_SHAPE_REGION 21
00493
00497 typedef struct xcb_xfixes_set_window_shape_region_request_t {
00498 uint8_t major_opcode;
00499 uint8_t minor_opcode;
00500 uint16_t length;
00501 xcb_window_t dest;
00502 xcb_shape_kind_t dest_kind;
00503 uint8_t pad0[3];
00504 int16_t x_offset;
00505 int16_t y_offset;
00506 xcb_xfixes_region_t region;
00507 } xcb_xfixes_set_window_shape_region_request_t;
00508
00510 #define XCB_XFIXES_SET_PICTURE_CLIP_REGION 22
00511
00515 typedef struct xcb_xfixes_set_picture_clip_region_request_t {
00516 uint8_t major_opcode;
00517 uint8_t minor_opcode;
00518 uint16_t length;
00519 xcb_render_picture_t picture;
00520 xcb_xfixes_region_t region;
00521 int16_t x_origin;
00522 int16_t y_origin;
00523 } xcb_xfixes_set_picture_clip_region_request_t;
00524
00526 #define XCB_XFIXES_SET_CURSOR_NAME 23
00527
00531 typedef struct xcb_xfixes_set_cursor_name_request_t {
00532 uint8_t major_opcode;
00533 uint8_t minor_opcode;
00534 uint16_t length;
00535 xcb_cursor_t cursor;
00536 uint16_t nbytes;
00537 uint8_t pad0[2];
00538 } xcb_xfixes_set_cursor_name_request_t;
00539
00543 typedef struct xcb_xfixes_get_cursor_name_cookie_t {
00544 unsigned int sequence;
00545 } xcb_xfixes_get_cursor_name_cookie_t;
00546
00548 #define XCB_XFIXES_GET_CURSOR_NAME 24
00549
00553 typedef struct xcb_xfixes_get_cursor_name_request_t {
00554 uint8_t major_opcode;
00555 uint8_t minor_opcode;
00556 uint16_t length;
00557 xcb_cursor_t cursor;
00558 } xcb_xfixes_get_cursor_name_request_t;
00559
00563 typedef struct xcb_xfixes_get_cursor_name_reply_t {
00564 uint8_t response_type;
00565 uint8_t pad0;
00566 uint16_t sequence;
00567 uint32_t length;
00568 xcb_atom_t atom;
00569 uint16_t nbytes;
00570 uint8_t pad1[18];
00571 } xcb_xfixes_get_cursor_name_reply_t;
00572
00576 typedef struct xcb_xfixes_get_cursor_image_and_name_cookie_t {
00577 unsigned int sequence;
00578 } xcb_xfixes_get_cursor_image_and_name_cookie_t;
00579
00581 #define XCB_XFIXES_GET_CURSOR_IMAGE_AND_NAME 25
00582
00586 typedef struct xcb_xfixes_get_cursor_image_and_name_request_t {
00587 uint8_t major_opcode;
00588 uint8_t minor_opcode;
00589 uint16_t length;
00590 } xcb_xfixes_get_cursor_image_and_name_request_t;
00591
00595 typedef struct xcb_xfixes_get_cursor_image_and_name_reply_t {
00596 uint8_t response_type;
00597 uint8_t pad0;
00598 uint16_t sequence;
00599 uint32_t length;
00600 int16_t x;
00601 int16_t y;
00602 uint16_t width;
00603 uint16_t height;
00604 uint16_t xhot;
00605 uint16_t yhot;
00606 uint32_t cursor_serial;
00607 xcb_atom_t cursor_atom;
00608 uint16_t nbytes;
00609 uint8_t pad1[2];
00610 } xcb_xfixes_get_cursor_image_and_name_reply_t;
00611
00613 #define XCB_XFIXES_CHANGE_CURSOR 26
00614
00618 typedef struct xcb_xfixes_change_cursor_request_t {
00619 uint8_t major_opcode;
00620 uint8_t minor_opcode;
00621 uint16_t length;
00622 xcb_cursor_t source;
00623 xcb_cursor_t destination;
00624 } xcb_xfixes_change_cursor_request_t;
00625
00627 #define XCB_XFIXES_CHANGE_CURSOR_BY_NAME 27
00628
00632 typedef struct xcb_xfixes_change_cursor_by_name_request_t {
00633 uint8_t major_opcode;
00634 uint8_t minor_opcode;
00635 uint16_t length;
00636 xcb_cursor_t src;
00637 uint16_t nbytes;
00638 uint8_t pad0[2];
00639 } xcb_xfixes_change_cursor_by_name_request_t;
00640
00642 #define XCB_XFIXES_EXPAND_REGION 28
00643
00647 typedef struct xcb_xfixes_expand_region_request_t {
00648 uint8_t major_opcode;
00649 uint8_t minor_opcode;
00650 uint16_t length;
00651 xcb_xfixes_region_t source;
00652 xcb_xfixes_region_t destination;
00653 uint16_t left;
00654 uint16_t right;
00655 uint16_t top;
00656 uint16_t bottom;
00657 } xcb_xfixes_expand_region_request_t;
00658
00660 #define XCB_XFIXES_HIDE_CURSOR 29
00661
00665 typedef struct xcb_xfixes_hide_cursor_request_t {
00666 uint8_t major_opcode;
00667 uint8_t minor_opcode;
00668 uint16_t length;
00669 xcb_window_t window;
00670 } xcb_xfixes_hide_cursor_request_t;
00671
00673 #define XCB_XFIXES_SHOW_CURSOR 30
00674
00678 typedef struct xcb_xfixes_show_cursor_request_t {
00679 uint8_t major_opcode;
00680 uint8_t minor_opcode;
00681 uint16_t length;
00682 xcb_window_t window;
00683 } xcb_xfixes_show_cursor_request_t;
00684
00694
00695
00696
00697
00698
00699
00700
00701
00702
00703
00704
00705 xcb_xfixes_query_version_cookie_t
00706 xcb_xfixes_query_version (xcb_connection_t *c ,
00707 uint32_t client_major_version ,
00708 uint32_t client_minor_version );
00709
00722
00723
00724
00725
00726
00727
00728
00729
00730
00731
00732
00733 xcb_xfixes_query_version_cookie_t
00734 xcb_xfixes_query_version_unchecked (xcb_connection_t *c ,
00735 uint32_t client_major_version ,
00736 uint32_t client_minor_version );
00737
00753
00754
00755
00756
00757
00758
00759
00760
00761
00762
00763
00764 xcb_xfixes_query_version_reply_t *
00765 xcb_xfixes_query_version_reply (xcb_connection_t *c ,
00766 xcb_xfixes_query_version_cookie_t cookie ,
00767 xcb_generic_error_t **e );
00768
00781
00782
00783
00784
00785
00786
00787
00788
00789
00790
00791
00792
00793
00794 xcb_void_cookie_t
00795 xcb_xfixes_change_save_set_checked (xcb_connection_t *c ,
00796 uint8_t mode ,
00797 uint8_t target ,
00798 uint8_t map ,
00799 xcb_window_t window );
00800
00810
00811
00812
00813
00814
00815
00816
00817
00818
00819
00820
00821
00822
00823 xcb_void_cookie_t
00824 xcb_xfixes_change_save_set (xcb_connection_t *c ,
00825 uint8_t mode ,
00826 uint8_t target ,
00827 uint8_t map ,
00828 xcb_window_t window );
00829
00842
00843
00844
00845
00846
00847
00848
00849
00850
00851
00852
00853
00854 xcb_void_cookie_t
00855 xcb_xfixes_select_selection_input_checked (xcb_connection_t *c ,
00856 xcb_window_t window ,
00857 xcb_atom_t selection ,
00858 uint32_t event_mask );
00859
00869
00870
00871
00872
00873
00874
00875
00876
00877
00878
00879
00880
00881 xcb_void_cookie_t
00882 xcb_xfixes_select_selection_input (xcb_connection_t *c ,
00883 xcb_window_t window ,
00884 xcb_atom_t selection ,
00885 uint32_t event_mask );
00886
00899
00900
00901
00902
00903
00904
00905
00906
00907
00908
00909
00910 xcb_void_cookie_t
00911 xcb_xfixes_select_cursor_input_checked (xcb_connection_t *c ,
00912 xcb_window_t window ,
00913 uint32_t event_mask );
00914
00924
00925
00926
00927
00928
00929
00930
00931
00932
00933
00934
00935 xcb_void_cookie_t
00936 xcb_xfixes_select_cursor_input (xcb_connection_t *c ,
00937 xcb_window_t window ,
00938 uint32_t event_mask );
00939
00949
00950
00951
00952
00953
00954
00955
00956
00957
00958 xcb_xfixes_get_cursor_image_cookie_t
00959 xcb_xfixes_get_cursor_image (xcb_connection_t *c );
00960
00973
00974
00975
00976
00977
00978
00979
00980
00981
00982 xcb_xfixes_get_cursor_image_cookie_t
00983 xcb_xfixes_get_cursor_image_unchecked (xcb_connection_t *c );
00984
00985
00986
00987
00988
00989
00990
00991
00992
00993
00994
00995 uint32_t *
00996 xcb_xfixes_get_cursor_image_cursor_image (const xcb_xfixes_get_cursor_image_reply_t *R );
00997
00998
00999
01000
01001
01002
01003
01004
01005
01006
01007
01008 int
01009 xcb_xfixes_get_cursor_image_cursor_image_length (const xcb_xfixes_get_cursor_image_reply_t *R );
01010
01011
01012
01013
01014
01015
01016
01017
01018
01019
01020
01021 xcb_generic_iterator_t
01022 xcb_xfixes_get_cursor_image_cursor_image_end (const xcb_xfixes_get_cursor_image_reply_t *R );
01023
01039
01040
01041
01042
01043
01044
01045
01046
01047
01048
01049
01050 xcb_xfixes_get_cursor_image_reply_t *
01051 xcb_xfixes_get_cursor_image_reply (xcb_connection_t *c ,
01052 xcb_xfixes_get_cursor_image_cookie_t cookie ,
01053 xcb_generic_error_t **e );
01054
01064
01065
01066
01067
01068
01069
01070
01071
01072
01073 void
01074 xcb_xfixes_region_next (xcb_xfixes_region_iterator_t *i );
01075
01086
01087
01088
01089
01090
01091
01092
01093
01094
01095 xcb_generic_iterator_t
01096 xcb_xfixes_region_end (xcb_xfixes_region_iterator_t i );
01097
01110
01111
01112
01113
01114
01115
01116
01117
01118
01119
01120
01121
01122 xcb_void_cookie_t
01123 xcb_xfixes_create_region_checked (xcb_connection_t *c ,
01124 xcb_xfixes_region_t region ,
01125 uint32_t rectangles_len ,
01126 const xcb_rectangle_t *rectangles );
01127
01137
01138
01139
01140
01141
01142
01143
01144
01145
01146
01147
01148
01149 xcb_void_cookie_t
01150 xcb_xfixes_create_region (xcb_connection_t *c ,
01151 xcb_xfixes_region_t region ,
01152 uint32_t rectangles_len ,
01153 const xcb_rectangle_t *rectangles );
01154
01167
01168
01169
01170
01171
01172
01173
01174
01175
01176
01177
01178 xcb_void_cookie_t
01179 xcb_xfixes_create_region_from_bitmap_checked (xcb_connection_t *c ,
01180 xcb_xfixes_region_t region ,
01181 xcb_pixmap_t bitmap );
01182
01192
01193
01194
01195
01196
01197
01198
01199
01200
01201
01202
01203 xcb_void_cookie_t
01204 xcb_xfixes_create_region_from_bitmap (xcb_connection_t *c ,
01205 xcb_xfixes_region_t region ,
01206 xcb_pixmap_t bitmap );
01207
01220
01221
01222
01223
01224
01225
01226
01227
01228
01229
01230
01231
01232 xcb_void_cookie_t
01233 xcb_xfixes_create_region_from_window_checked (xcb_connection_t *c ,
01234 xcb_xfixes_region_t region ,
01235 xcb_window_t window ,
01236 xcb_shape_kind_t kind );
01237
01247
01248
01249
01250
01251
01252
01253
01254
01255
01256
01257
01258
01259 xcb_void_cookie_t
01260 xcb_xfixes_create_region_from_window (xcb_connection_t *c ,
01261 xcb_xfixes_region_t region ,
01262 xcb_window_t window ,
01263 xcb_shape_kind_t kind );
01264
01277
01278
01279
01280
01281
01282
01283
01284
01285
01286
01287
01288 xcb_void_cookie_t
01289 xcb_xfixes_create_region_from_gc_checked (xcb_connection_t *c ,
01290 xcb_xfixes_region_t region ,
01291 xcb_gcontext_t gc );
01292
01302
01303
01304
01305
01306
01307
01308
01309
01310
01311
01312
01313 xcb_void_cookie_t
01314 xcb_xfixes_create_region_from_gc (xcb_connection_t *c ,
01315 xcb_xfixes_region_t region ,
01316 xcb_gcontext_t gc );
01317
01330
01331
01332
01333
01334
01335
01336
01337
01338
01339
01340
01341 xcb_void_cookie_t
01342 xcb_xfixes_create_region_from_picture_checked (xcb_connection_t *c ,
01343 xcb_xfixes_region_t region ,
01344 xcb_render_picture_t picture );
01345
01355
01356
01357
01358
01359
01360
01361
01362
01363
01364
01365
01366 xcb_void_cookie_t
01367 xcb_xfixes_create_region_from_picture (xcb_connection_t *c ,
01368 xcb_xfixes_region_t region ,
01369 xcb_render_picture_t picture );
01370
01383
01384
01385
01386
01387
01388
01389
01390
01391
01392
01393 xcb_void_cookie_t
01394 xcb_xfixes_destroy_region_checked (xcb_connection_t *c ,
01395 xcb_xfixes_region_t region );
01396
01406
01407
01408
01409
01410
01411
01412
01413
01414
01415
01416 xcb_void_cookie_t
01417 xcb_xfixes_destroy_region (xcb_connection_t *c ,
01418 xcb_xfixes_region_t region );
01419
01432
01433
01434
01435
01436
01437
01438
01439
01440
01441
01442
01443
01444 xcb_void_cookie_t
01445 xcb_xfixes_set_region_checked (xcb_connection_t *c ,
01446 xcb_xfixes_region_t region ,
01447 uint32_t rectangles_len ,
01448 const xcb_rectangle_t *rectangles );
01449
01459
01460
01461
01462
01463
01464
01465
01466
01467
01468
01469
01470
01471 xcb_void_cookie_t
01472 xcb_xfixes_set_region (xcb_connection_t *c ,
01473 xcb_xfixes_region_t region ,
01474 uint32_t rectangles_len ,
01475 const xcb_rectangle_t *rectangles );
01476
01489
01490
01491
01492
01493
01494
01495
01496
01497
01498
01499
01500 xcb_void_cookie_t
01501 xcb_xfixes_copy_region_checked (xcb_connection_t *c ,
01502 xcb_xfixes_region_t source ,
01503 xcb_xfixes_region_t destination );
01504
01514
01515
01516
01517
01518
01519
01520
01521
01522
01523
01524
01525 xcb_void_cookie_t
01526 xcb_xfixes_copy_region (xcb_connection_t *c ,
01527 xcb_xfixes_region_t source ,
01528 xcb_xfixes_region_t destination );
01529
01542
01543
01544
01545
01546
01547
01548
01549
01550
01551
01552
01553
01554 xcb_void_cookie_t
01555 xcb_xfixes_union_region_checked (xcb_connection_t *c ,
01556 xcb_xfixes_region_t source1 ,
01557 xcb_xfixes_region_t source2 ,
01558 xcb_xfixes_region_t destination );
01559
01569
01570
01571
01572
01573
01574
01575
01576
01577
01578
01579
01580
01581 xcb_void_cookie_t
01582 xcb_xfixes_union_region (xcb_connection_t *c ,
01583 xcb_xfixes_region_t source1 ,
01584 xcb_xfixes_region_t source2 ,
01585 xcb_xfixes_region_t destination );
01586
01599
01600
01601
01602
01603
01604
01605
01606
01607
01608
01609
01610
01611 xcb_void_cookie_t
01612 xcb_xfixes_intersect_region_checked (xcb_connection_t *c ,
01613 xcb_xfixes_region_t source1 ,
01614 xcb_xfixes_region_t source2 ,
01615 xcb_xfixes_region_t destination );
01616
01626
01627
01628
01629
01630
01631
01632
01633
01634
01635
01636
01637
01638 xcb_void_cookie_t
01639 xcb_xfixes_intersect_region (xcb_connection_t *c ,
01640 xcb_xfixes_region_t source1 ,
01641 xcb_xfixes_region_t source2 ,
01642 xcb_xfixes_region_t destination );
01643
01656
01657
01658
01659
01660
01661
01662
01663
01664
01665
01666
01667
01668 xcb_void_cookie_t
01669 xcb_xfixes_subtract_region_checked (xcb_connection_t *c ,
01670 xcb_xfixes_region_t source1 ,
01671 xcb_xfixes_region_t source2 ,
01672 xcb_xfixes_region_t destination );
01673
01683
01684
01685
01686
01687
01688
01689
01690
01691
01692
01693
01694
01695 xcb_void_cookie_t
01696 xcb_xfixes_subtract_region (xcb_connection_t *c ,
01697 xcb_xfixes_region_t source1 ,
01698 xcb_xfixes_region_t source2 ,
01699 xcb_xfixes_region_t destination );
01700
01713
01714
01715
01716
01717
01718
01719
01720
01721
01722
01723
01724
01725 xcb_void_cookie_t
01726 xcb_xfixes_invert_region_checked (xcb_connection_t *c ,
01727 xcb_xfixes_region_t source ,
01728 xcb_rectangle_t bounds ,
01729 xcb_xfixes_region_t destination );
01730
01740
01741
01742
01743
01744
01745
01746
01747
01748
01749
01750
01751
01752 xcb_void_cookie_t
01753 xcb_xfixes_invert_region (xcb_connection_t *c ,
01754 xcb_xfixes_region_t source ,
01755 xcb_rectangle_t bounds ,
01756 xcb_xfixes_region_t destination );
01757
01770
01771
01772
01773
01774
01775
01776
01777
01778
01779
01780
01781
01782 xcb_void_cookie_t
01783 xcb_xfixes_translate_region_checked (xcb_connection_t *c ,
01784 xcb_xfixes_region_t region ,
01785 int16_t dx ,
01786 int16_t dy );
01787
01797
01798
01799
01800
01801
01802
01803
01804
01805
01806
01807
01808
01809 xcb_void_cookie_t
01810 xcb_xfixes_translate_region (xcb_connection_t *c ,
01811 xcb_xfixes_region_t region ,
01812 int16_t dx ,
01813 int16_t dy );
01814
01827
01828
01829
01830
01831
01832
01833
01834
01835
01836
01837
01838 xcb_void_cookie_t
01839 xcb_xfixes_region_extents_checked (xcb_connection_t *c ,
01840 xcb_xfixes_region_t source ,
01841 xcb_xfixes_region_t destination );
01842
01852
01853
01854
01855
01856
01857
01858
01859
01860
01861
01862
01863 xcb_void_cookie_t
01864 xcb_xfixes_region_extents (xcb_connection_t *c ,
01865 xcb_xfixes_region_t source ,
01866 xcb_xfixes_region_t destination );
01867
01877
01878
01879
01880
01881
01882
01883
01884
01885
01886
01887 xcb_xfixes_fetch_region_cookie_t
01888 xcb_xfixes_fetch_region (xcb_connection_t *c ,
01889 xcb_xfixes_region_t region );
01890
01903
01904
01905
01906
01907
01908
01909
01910
01911
01912
01913 xcb_xfixes_fetch_region_cookie_t
01914 xcb_xfixes_fetch_region_unchecked (xcb_connection_t *c ,
01915 xcb_xfixes_region_t region );
01916
01917
01918
01919
01920
01921
01922
01923
01924
01925
01926
01927 xcb_rectangle_t *
01928 xcb_xfixes_fetch_region_rectangles (const xcb_xfixes_fetch_region_reply_t *R );
01929
01930
01931
01932
01933
01934
01935
01936
01937
01938
01939
01940 int
01941 xcb_xfixes_fetch_region_rectangles_length (const xcb_xfixes_fetch_region_reply_t *R );
01942
01943
01944
01945
01946
01947
01948
01949
01950
01951
01952
01953 xcb_rectangle_iterator_t
01954 xcb_xfixes_fetch_region_rectangles_iterator (const xcb_xfixes_fetch_region_reply_t *R );
01955
01971
01972
01973
01974
01975
01976
01977
01978
01979
01980
01981
01982 xcb_xfixes_fetch_region_reply_t *
01983 xcb_xfixes_fetch_region_reply (xcb_connection_t *c ,
01984 xcb_xfixes_fetch_region_cookie_t cookie ,
01985 xcb_generic_error_t **e );
01986
01999
02000
02001
02002
02003
02004
02005
02006
02007
02008
02009
02010
02011
02012 xcb_void_cookie_t
02013 xcb_xfixes_set_gc_clip_region_checked (xcb_connection_t *c ,
02014 xcb_gcontext_t gc ,
02015 xcb_xfixes_region_t region ,
02016 int16_t x_origin ,
02017 int16_t y_origin );
02018
02028
02029
02030
02031
02032
02033
02034
02035
02036
02037
02038
02039
02040
02041 xcb_void_cookie_t
02042 xcb_xfixes_set_gc_clip_region (xcb_connection_t *c ,
02043 xcb_gcontext_t gc ,
02044 xcb_xfixes_region_t region ,
02045 int16_t x_origin ,
02046 int16_t y_origin );
02047
02060
02061
02062
02063
02064
02065
02066
02067
02068
02069
02070
02071
02072
02073
02074 xcb_void_cookie_t
02075 xcb_xfixes_set_window_shape_region_checked (xcb_connection_t *c ,
02076 xcb_window_t dest ,
02077 xcb_shape_kind_t dest_kind ,
02078 int16_t x_offset ,
02079 int16_t y_offset ,
02080 xcb_xfixes_region_t region );
02081
02091
02092
02093
02094
02095
02096
02097
02098
02099
02100
02101
02102
02103
02104
02105 xcb_void_cookie_t
02106 xcb_xfixes_set_window_shape_region (xcb_connection_t *c ,
02107 xcb_window_t dest ,
02108 xcb_shape_kind_t dest_kind ,
02109 int16_t x_offset ,
02110 int16_t y_offset ,
02111 xcb_xfixes_region_t region );
02112
02125
02126
02127
02128
02129
02130
02131
02132
02133
02134
02135
02136
02137
02138 xcb_void_cookie_t
02139 xcb_xfixes_set_picture_clip_region_checked (xcb_connection_t *c ,
02140 xcb_render_picture_t picture ,
02141 xcb_xfixes_region_t region ,
02142 int16_t x_origin ,
02143 int16_t y_origin );
02144
02154
02155
02156
02157
02158
02159
02160
02161
02162
02163
02164
02165
02166
02167 xcb_void_cookie_t
02168 xcb_xfixes_set_picture_clip_region (xcb_connection_t *c ,
02169 xcb_render_picture_t picture ,
02170 xcb_xfixes_region_t region ,
02171 int16_t x_origin ,
02172 int16_t y_origin );
02173
02186
02187
02188
02189
02190
02191
02192
02193
02194
02195
02196
02197
02198 xcb_void_cookie_t
02199 xcb_xfixes_set_cursor_name_checked (xcb_connection_t *c ,
02200 xcb_cursor_t cursor ,
02201 uint16_t nbytes ,
02202 const char *name );
02203
02213
02214
02215
02216
02217
02218
02219
02220
02221
02222
02223
02224
02225 xcb_void_cookie_t
02226 xcb_xfixes_set_cursor_name (xcb_connection_t *c ,
02227 xcb_cursor_t cursor ,
02228 uint16_t nbytes ,
02229 const char *name );
02230
02240
02241
02242
02243
02244
02245
02246
02247
02248
02249
02250 xcb_xfixes_get_cursor_name_cookie_t
02251 xcb_xfixes_get_cursor_name (xcb_connection_t *c ,
02252 xcb_cursor_t cursor );
02253
02266
02267
02268
02269
02270
02271
02272
02273
02274
02275
02276 xcb_xfixes_get_cursor_name_cookie_t
02277 xcb_xfixes_get_cursor_name_unchecked (xcb_connection_t *c ,
02278 xcb_cursor_t cursor );
02279
02280
02281
02282
02283
02284
02285
02286
02287
02288
02289
02290 char *
02291 xcb_xfixes_get_cursor_name_name (const xcb_xfixes_get_cursor_name_reply_t *R );
02292
02293
02294
02295
02296
02297
02298
02299
02300
02301
02302
02303 int
02304 xcb_xfixes_get_cursor_name_name_length (const xcb_xfixes_get_cursor_name_reply_t *R );
02305
02306
02307
02308
02309
02310
02311
02312
02313
02314
02315
02316 xcb_generic_iterator_t
02317 xcb_xfixes_get_cursor_name_name_end (const xcb_xfixes_get_cursor_name_reply_t *R );
02318
02334
02335
02336
02337
02338
02339
02340
02341
02342
02343
02344
02345 xcb_xfixes_get_cursor_name_reply_t *
02346 xcb_xfixes_get_cursor_name_reply (xcb_connection_t *c ,
02347 xcb_xfixes_get_cursor_name_cookie_t cookie ,
02348 xcb_generic_error_t **e );
02349
02359
02360
02361
02362
02363
02364
02365
02366
02367
02368 xcb_xfixes_get_cursor_image_and_name_cookie_t
02369 xcb_xfixes_get_cursor_image_and_name (xcb_connection_t *c );
02370
02383
02384
02385
02386
02387
02388
02389
02390
02391
02392 xcb_xfixes_get_cursor_image_and_name_cookie_t
02393 xcb_xfixes_get_cursor_image_and_name_unchecked (xcb_connection_t *c );
02394
02395
02396
02397
02398
02399
02400
02401
02402
02403
02404
02405 char *
02406 xcb_xfixes_get_cursor_image_and_name_name (const xcb_xfixes_get_cursor_image_and_name_reply_t *R );
02407
02408
02409
02410
02411
02412
02413
02414
02415
02416
02417
02418 int
02419 xcb_xfixes_get_cursor_image_and_name_name_length (const xcb_xfixes_get_cursor_image_and_name_reply_t *R );
02420
02421
02422
02423
02424
02425
02426
02427
02428
02429
02430
02431 xcb_generic_iterator_t
02432 xcb_xfixes_get_cursor_image_and_name_name_end (const xcb_xfixes_get_cursor_image_and_name_reply_t *R );
02433
02434
02435
02436
02437
02438
02439
02440
02441
02442
02443
02444 uint32_t *
02445 xcb_xfixes_get_cursor_image_and_name_cursor_image (const xcb_xfixes_get_cursor_image_and_name_reply_t *R );
02446
02447
02448
02449
02450
02451
02452
02453
02454
02455
02456
02457 int
02458 xcb_xfixes_get_cursor_image_and_name_cursor_image_length (const xcb_xfixes_get_cursor_image_and_name_reply_t *R );
02459
02460
02461
02462
02463
02464
02465
02466
02467
02468
02469
02470 xcb_generic_iterator_t
02471 xcb_xfixes_get_cursor_image_and_name_cursor_image_end (const xcb_xfixes_get_cursor_image_and_name_reply_t *R );
02472
02488
02489
02490
02491
02492
02493
02494
02495
02496
02497
02498
02499 xcb_xfixes_get_cursor_image_and_name_reply_t *
02500 xcb_xfixes_get_cursor_image_and_name_reply (xcb_connection_t *c ,
02501 xcb_xfixes_get_cursor_image_and_name_cookie_t cookie ,
02502 xcb_generic_error_t **e );
02503
02516
02517
02518
02519
02520
02521
02522
02523
02524
02525
02526
02527 xcb_void_cookie_t
02528 xcb_xfixes_change_cursor_checked (xcb_connection_t *c ,
02529 xcb_cursor_t source ,
02530 xcb_cursor_t destination );
02531
02541
02542
02543
02544
02545
02546
02547
02548
02549
02550
02551
02552 xcb_void_cookie_t
02553 xcb_xfixes_change_cursor (xcb_connection_t *c ,
02554 xcb_cursor_t source ,
02555 xcb_cursor_t destination );
02556
02569
02570
02571
02572
02573
02574
02575
02576
02577
02578
02579
02580
02581 xcb_void_cookie_t
02582 xcb_xfixes_change_cursor_by_name_checked (xcb_connection_t *c ,
02583 xcb_cursor_t src ,
02584 uint16_t nbytes ,
02585 const char *name );
02586
02596
02597
02598
02599
02600
02601
02602
02603
02604
02605
02606
02607
02608 xcb_void_cookie_t
02609 xcb_xfixes_change_cursor_by_name (xcb_connection_t *c ,
02610 xcb_cursor_t src ,
02611 uint16_t nbytes ,
02612 const char *name );
02613
02626
02627
02628
02629
02630
02631
02632
02633
02634
02635
02636
02637
02638
02639
02640
02641 xcb_void_cookie_t
02642 xcb_xfixes_expand_region_checked (xcb_connection_t *c ,
02643 xcb_xfixes_region_t source ,
02644 xcb_xfixes_region_t destination ,
02645 uint16_t left ,
02646 uint16_t right ,
02647 uint16_t top ,
02648 uint16_t bottom );
02649
02659
02660
02661
02662
02663
02664
02665
02666
02667
02668
02669
02670
02671
02672
02673
02674 xcb_void_cookie_t
02675 xcb_xfixes_expand_region (xcb_connection_t *c ,
02676 xcb_xfixes_region_t source ,
02677 xcb_xfixes_region_t destination ,
02678 uint16_t left ,
02679 uint16_t right ,
02680 uint16_t top ,
02681 uint16_t bottom );
02682
02695
02696
02697
02698
02699
02700
02701
02702
02703
02704
02705 xcb_void_cookie_t
02706 xcb_xfixes_hide_cursor_checked (xcb_connection_t *c ,
02707 xcb_window_t window );
02708
02718
02719
02720
02721
02722
02723
02724
02725
02726
02727
02728 xcb_void_cookie_t
02729 xcb_xfixes_hide_cursor (xcb_connection_t *c ,
02730 xcb_window_t window );
02731
02744
02745
02746
02747
02748
02749
02750
02751
02752
02753
02754 xcb_void_cookie_t
02755 xcb_xfixes_show_cursor_checked (xcb_connection_t *c ,
02756 xcb_window_t window );
02757
02767
02768
02769
02770
02771
02772
02773
02774
02775
02776
02777 xcb_void_cookie_t
02778 xcb_xfixes_show_cursor (xcb_connection_t *c ,
02779 xcb_window_t window );
02780
02781
02782 #ifdef __cplusplus
02783 }
02784 #endif
02785
02786 #endif
02787