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
00940 int
00941 xcb_xfixes_get_cursor_image_sizeof (const void *_buffer );
00942
00952
00953
00954
00955
00956
00957
00958
00959
00960
00961 xcb_xfixes_get_cursor_image_cookie_t
00962 xcb_xfixes_get_cursor_image (xcb_connection_t *c );
00963
00976
00977
00978
00979
00980
00981
00982
00983
00984
00985 xcb_xfixes_get_cursor_image_cookie_t
00986 xcb_xfixes_get_cursor_image_unchecked (xcb_connection_t *c );
00987
00988
00989
00990
00991
00992
00993
00994
00995
00996
00997
00998 uint32_t *
00999 xcb_xfixes_get_cursor_image_cursor_image (const xcb_xfixes_get_cursor_image_reply_t *R );
01000
01001
01002
01003
01004
01005
01006
01007
01008
01009
01010
01011 int
01012 xcb_xfixes_get_cursor_image_cursor_image_length (const xcb_xfixes_get_cursor_image_reply_t *R );
01013
01014
01015
01016
01017
01018
01019
01020
01021
01022
01023
01024 xcb_generic_iterator_t
01025 xcb_xfixes_get_cursor_image_cursor_image_end (const xcb_xfixes_get_cursor_image_reply_t *R );
01026
01042
01043
01044
01045
01046
01047
01048
01049
01050
01051
01052
01053 xcb_xfixes_get_cursor_image_reply_t *
01054 xcb_xfixes_get_cursor_image_reply (xcb_connection_t *c ,
01055 xcb_xfixes_get_cursor_image_cookie_t cookie ,
01056 xcb_generic_error_t **e );
01057
01067
01068
01069
01070
01071
01072
01073
01074
01075
01076 void
01077 xcb_xfixes_region_next (xcb_xfixes_region_iterator_t *i );
01078
01089
01090
01091
01092
01093
01094
01095
01096
01097
01098 xcb_generic_iterator_t
01099 xcb_xfixes_region_end (xcb_xfixes_region_iterator_t i );
01100
01101 int
01102 xcb_xfixes_create_region_sizeof (const void *_buffer ,
01103 uint32_t rectangles_len );
01104
01117
01118
01119
01120
01121
01122
01123
01124
01125
01126
01127
01128
01129 xcb_void_cookie_t
01130 xcb_xfixes_create_region_checked (xcb_connection_t *c ,
01131 xcb_xfixes_region_t region ,
01132 uint32_t rectangles_len ,
01133 const xcb_rectangle_t *rectangles );
01134
01144
01145
01146
01147
01148
01149
01150
01151
01152
01153
01154
01155
01156 xcb_void_cookie_t
01157 xcb_xfixes_create_region (xcb_connection_t *c ,
01158 xcb_xfixes_region_t region ,
01159 uint32_t rectangles_len ,
01160 const xcb_rectangle_t *rectangles );
01161
01174
01175
01176
01177
01178
01179
01180
01181
01182
01183
01184
01185 xcb_void_cookie_t
01186 xcb_xfixes_create_region_from_bitmap_checked (xcb_connection_t *c ,
01187 xcb_xfixes_region_t region ,
01188 xcb_pixmap_t bitmap );
01189
01199
01200
01201
01202
01203
01204
01205
01206
01207
01208
01209
01210 xcb_void_cookie_t
01211 xcb_xfixes_create_region_from_bitmap (xcb_connection_t *c ,
01212 xcb_xfixes_region_t region ,
01213 xcb_pixmap_t bitmap );
01214
01227
01228
01229
01230
01231
01232
01233
01234
01235
01236
01237
01238
01239 xcb_void_cookie_t
01240 xcb_xfixes_create_region_from_window_checked (xcb_connection_t *c ,
01241 xcb_xfixes_region_t region ,
01242 xcb_window_t window ,
01243 xcb_shape_kind_t kind );
01244
01254
01255
01256
01257
01258
01259
01260
01261
01262
01263
01264
01265
01266 xcb_void_cookie_t
01267 xcb_xfixes_create_region_from_window (xcb_connection_t *c ,
01268 xcb_xfixes_region_t region ,
01269 xcb_window_t window ,
01270 xcb_shape_kind_t kind );
01271
01284
01285
01286
01287
01288
01289
01290
01291
01292
01293
01294
01295 xcb_void_cookie_t
01296 xcb_xfixes_create_region_from_gc_checked (xcb_connection_t *c ,
01297 xcb_xfixes_region_t region ,
01298 xcb_gcontext_t gc );
01299
01309
01310
01311
01312
01313
01314
01315
01316
01317
01318
01319
01320 xcb_void_cookie_t
01321 xcb_xfixes_create_region_from_gc (xcb_connection_t *c ,
01322 xcb_xfixes_region_t region ,
01323 xcb_gcontext_t gc );
01324
01337
01338
01339
01340
01341
01342
01343
01344
01345
01346
01347
01348 xcb_void_cookie_t
01349 xcb_xfixes_create_region_from_picture_checked (xcb_connection_t *c ,
01350 xcb_xfixes_region_t region ,
01351 xcb_render_picture_t picture );
01352
01362
01363
01364
01365
01366
01367
01368
01369
01370
01371
01372
01373 xcb_void_cookie_t
01374 xcb_xfixes_create_region_from_picture (xcb_connection_t *c ,
01375 xcb_xfixes_region_t region ,
01376 xcb_render_picture_t picture );
01377
01390
01391
01392
01393
01394
01395
01396
01397
01398
01399
01400 xcb_void_cookie_t
01401 xcb_xfixes_destroy_region_checked (xcb_connection_t *c ,
01402 xcb_xfixes_region_t region );
01403
01413
01414
01415
01416
01417
01418
01419
01420
01421
01422
01423 xcb_void_cookie_t
01424 xcb_xfixes_destroy_region (xcb_connection_t *c ,
01425 xcb_xfixes_region_t region );
01426
01427 int
01428 xcb_xfixes_set_region_sizeof (const void *_buffer ,
01429 uint32_t rectangles_len );
01430
01443
01444
01445
01446
01447
01448
01449
01450
01451
01452
01453
01454
01455 xcb_void_cookie_t
01456 xcb_xfixes_set_region_checked (xcb_connection_t *c ,
01457 xcb_xfixes_region_t region ,
01458 uint32_t rectangles_len ,
01459 const xcb_rectangle_t *rectangles );
01460
01470
01471
01472
01473
01474
01475
01476
01477
01478
01479
01480
01481
01482 xcb_void_cookie_t
01483 xcb_xfixes_set_region (xcb_connection_t *c ,
01484 xcb_xfixes_region_t region ,
01485 uint32_t rectangles_len ,
01486 const xcb_rectangle_t *rectangles );
01487
01500
01501
01502
01503
01504
01505
01506
01507
01508
01509
01510
01511 xcb_void_cookie_t
01512 xcb_xfixes_copy_region_checked (xcb_connection_t *c ,
01513 xcb_xfixes_region_t source ,
01514 xcb_xfixes_region_t destination );
01515
01525
01526
01527
01528
01529
01530
01531
01532
01533
01534
01535
01536 xcb_void_cookie_t
01537 xcb_xfixes_copy_region (xcb_connection_t *c ,
01538 xcb_xfixes_region_t source ,
01539 xcb_xfixes_region_t destination );
01540
01553
01554
01555
01556
01557
01558
01559
01560
01561
01562
01563
01564
01565 xcb_void_cookie_t
01566 xcb_xfixes_union_region_checked (xcb_connection_t *c ,
01567 xcb_xfixes_region_t source1 ,
01568 xcb_xfixes_region_t source2 ,
01569 xcb_xfixes_region_t destination );
01570
01580
01581
01582
01583
01584
01585
01586
01587
01588
01589
01590
01591
01592 xcb_void_cookie_t
01593 xcb_xfixes_union_region (xcb_connection_t *c ,
01594 xcb_xfixes_region_t source1 ,
01595 xcb_xfixes_region_t source2 ,
01596 xcb_xfixes_region_t destination );
01597
01610
01611
01612
01613
01614
01615
01616
01617
01618
01619
01620
01621
01622 xcb_void_cookie_t
01623 xcb_xfixes_intersect_region_checked (xcb_connection_t *c ,
01624 xcb_xfixes_region_t source1 ,
01625 xcb_xfixes_region_t source2 ,
01626 xcb_xfixes_region_t destination );
01627
01637
01638
01639
01640
01641
01642
01643
01644
01645
01646
01647
01648
01649 xcb_void_cookie_t
01650 xcb_xfixes_intersect_region (xcb_connection_t *c ,
01651 xcb_xfixes_region_t source1 ,
01652 xcb_xfixes_region_t source2 ,
01653 xcb_xfixes_region_t destination );
01654
01667
01668
01669
01670
01671
01672
01673
01674
01675
01676
01677
01678
01679 xcb_void_cookie_t
01680 xcb_xfixes_subtract_region_checked (xcb_connection_t *c ,
01681 xcb_xfixes_region_t source1 ,
01682 xcb_xfixes_region_t source2 ,
01683 xcb_xfixes_region_t destination );
01684
01694
01695
01696
01697
01698
01699
01700
01701
01702
01703
01704
01705
01706 xcb_void_cookie_t
01707 xcb_xfixes_subtract_region (xcb_connection_t *c ,
01708 xcb_xfixes_region_t source1 ,
01709 xcb_xfixes_region_t source2 ,
01710 xcb_xfixes_region_t destination );
01711
01724
01725
01726
01727
01728
01729
01730
01731
01732
01733
01734
01735
01736 xcb_void_cookie_t
01737 xcb_xfixes_invert_region_checked (xcb_connection_t *c ,
01738 xcb_xfixes_region_t source ,
01739 xcb_rectangle_t bounds ,
01740 xcb_xfixes_region_t destination );
01741
01751
01752
01753
01754
01755
01756
01757
01758
01759
01760
01761
01762
01763 xcb_void_cookie_t
01764 xcb_xfixes_invert_region (xcb_connection_t *c ,
01765 xcb_xfixes_region_t source ,
01766 xcb_rectangle_t bounds ,
01767 xcb_xfixes_region_t destination );
01768
01781
01782
01783
01784
01785
01786
01787
01788
01789
01790
01791
01792
01793 xcb_void_cookie_t
01794 xcb_xfixes_translate_region_checked (xcb_connection_t *c ,
01795 xcb_xfixes_region_t region ,
01796 int16_t dx ,
01797 int16_t dy );
01798
01808
01809
01810
01811
01812
01813
01814
01815
01816
01817
01818
01819
01820 xcb_void_cookie_t
01821 xcb_xfixes_translate_region (xcb_connection_t *c ,
01822 xcb_xfixes_region_t region ,
01823 int16_t dx ,
01824 int16_t dy );
01825
01838
01839
01840
01841
01842
01843
01844
01845
01846
01847
01848
01849 xcb_void_cookie_t
01850 xcb_xfixes_region_extents_checked (xcb_connection_t *c ,
01851 xcb_xfixes_region_t source ,
01852 xcb_xfixes_region_t destination );
01853
01863
01864
01865
01866
01867
01868
01869
01870
01871
01872
01873
01874 xcb_void_cookie_t
01875 xcb_xfixes_region_extents (xcb_connection_t *c ,
01876 xcb_xfixes_region_t source ,
01877 xcb_xfixes_region_t destination );
01878
01879 int
01880 xcb_xfixes_fetch_region_sizeof (const void *_buffer );
01881
01891
01892
01893
01894
01895
01896
01897
01898
01899
01900
01901 xcb_xfixes_fetch_region_cookie_t
01902 xcb_xfixes_fetch_region (xcb_connection_t *c ,
01903 xcb_xfixes_region_t region );
01904
01917
01918
01919
01920
01921
01922
01923
01924
01925
01926
01927 xcb_xfixes_fetch_region_cookie_t
01928 xcb_xfixes_fetch_region_unchecked (xcb_connection_t *c ,
01929 xcb_xfixes_region_t region );
01930
01931
01932
01933
01934
01935
01936
01937
01938
01939
01940
01941 xcb_rectangle_t *
01942 xcb_xfixes_fetch_region_rectangles (const xcb_xfixes_fetch_region_reply_t *R );
01943
01944
01945
01946
01947
01948
01949
01950
01951
01952
01953
01954 int
01955 xcb_xfixes_fetch_region_rectangles_length (const xcb_xfixes_fetch_region_reply_t *R );
01956
01957
01958
01959
01960
01961
01962
01963
01964
01965
01966
01967 xcb_rectangle_iterator_t
01968 xcb_xfixes_fetch_region_rectangles_iterator (const xcb_xfixes_fetch_region_reply_t *R );
01969
01985
01986
01987
01988
01989
01990
01991
01992
01993
01994
01995
01996 xcb_xfixes_fetch_region_reply_t *
01997 xcb_xfixes_fetch_region_reply (xcb_connection_t *c ,
01998 xcb_xfixes_fetch_region_cookie_t cookie ,
01999 xcb_generic_error_t **e );
02000
02013
02014
02015
02016
02017
02018
02019
02020
02021
02022
02023
02024
02025
02026 xcb_void_cookie_t
02027 xcb_xfixes_set_gc_clip_region_checked (xcb_connection_t *c ,
02028 xcb_gcontext_t gc ,
02029 xcb_xfixes_region_t region ,
02030 int16_t x_origin ,
02031 int16_t y_origin );
02032
02042
02043
02044
02045
02046
02047
02048
02049
02050
02051
02052
02053
02054
02055 xcb_void_cookie_t
02056 xcb_xfixes_set_gc_clip_region (xcb_connection_t *c ,
02057 xcb_gcontext_t gc ,
02058 xcb_xfixes_region_t region ,
02059 int16_t x_origin ,
02060 int16_t y_origin );
02061
02074
02075
02076
02077
02078
02079
02080
02081
02082
02083
02084
02085
02086
02087
02088 xcb_void_cookie_t
02089 xcb_xfixes_set_window_shape_region_checked (xcb_connection_t *c ,
02090 xcb_window_t dest ,
02091 xcb_shape_kind_t dest_kind ,
02092 int16_t x_offset ,
02093 int16_t y_offset ,
02094 xcb_xfixes_region_t region );
02095
02105
02106
02107
02108
02109
02110
02111
02112
02113
02114
02115
02116
02117
02118
02119 xcb_void_cookie_t
02120 xcb_xfixes_set_window_shape_region (xcb_connection_t *c ,
02121 xcb_window_t dest ,
02122 xcb_shape_kind_t dest_kind ,
02123 int16_t x_offset ,
02124 int16_t y_offset ,
02125 xcb_xfixes_region_t region );
02126
02139
02140
02141
02142
02143
02144
02145
02146
02147
02148
02149
02150
02151
02152 xcb_void_cookie_t
02153 xcb_xfixes_set_picture_clip_region_checked (xcb_connection_t *c ,
02154 xcb_render_picture_t picture ,
02155 xcb_xfixes_region_t region ,
02156 int16_t x_origin ,
02157 int16_t y_origin );
02158
02168
02169
02170
02171
02172
02173
02174
02175
02176
02177
02178
02179
02180
02181 xcb_void_cookie_t
02182 xcb_xfixes_set_picture_clip_region (xcb_connection_t *c ,
02183 xcb_render_picture_t picture ,
02184 xcb_xfixes_region_t region ,
02185 int16_t x_origin ,
02186 int16_t y_origin );
02187
02188 int
02189 xcb_xfixes_set_cursor_name_sizeof (const void *_buffer );
02190
02203
02204
02205
02206
02207
02208
02209
02210
02211
02212
02213
02214
02215 xcb_void_cookie_t
02216 xcb_xfixes_set_cursor_name_checked (xcb_connection_t *c ,
02217 xcb_cursor_t cursor ,
02218 uint16_t nbytes ,
02219 const char *name );
02220
02230
02231
02232
02233
02234
02235
02236
02237
02238
02239
02240
02241
02242 xcb_void_cookie_t
02243 xcb_xfixes_set_cursor_name (xcb_connection_t *c ,
02244 xcb_cursor_t cursor ,
02245 uint16_t nbytes ,
02246 const char *name );
02247
02248 int
02249 xcb_xfixes_get_cursor_name_sizeof (const void *_buffer );
02250
02260
02261
02262
02263
02264
02265
02266
02267
02268
02269
02270 xcb_xfixes_get_cursor_name_cookie_t
02271 xcb_xfixes_get_cursor_name (xcb_connection_t *c ,
02272 xcb_cursor_t cursor );
02273
02286
02287
02288
02289
02290
02291
02292
02293
02294
02295
02296 xcb_xfixes_get_cursor_name_cookie_t
02297 xcb_xfixes_get_cursor_name_unchecked (xcb_connection_t *c ,
02298 xcb_cursor_t cursor );
02299
02300
02301
02302
02303
02304
02305
02306
02307
02308
02309
02310 char *
02311 xcb_xfixes_get_cursor_name_name (const xcb_xfixes_get_cursor_name_reply_t *R );
02312
02313
02314
02315
02316
02317
02318
02319
02320
02321
02322
02323 int
02324 xcb_xfixes_get_cursor_name_name_length (const xcb_xfixes_get_cursor_name_reply_t *R );
02325
02326
02327
02328
02329
02330
02331
02332
02333
02334
02335
02336 xcb_generic_iterator_t
02337 xcb_xfixes_get_cursor_name_name_end (const xcb_xfixes_get_cursor_name_reply_t *R );
02338
02354
02355
02356
02357
02358
02359
02360
02361
02362
02363
02364
02365 xcb_xfixes_get_cursor_name_reply_t *
02366 xcb_xfixes_get_cursor_name_reply (xcb_connection_t *c ,
02367 xcb_xfixes_get_cursor_name_cookie_t cookie ,
02368 xcb_generic_error_t **e );
02369
02370 int
02371 xcb_xfixes_get_cursor_image_and_name_sizeof (const void *_buffer );
02372
02382
02383
02384
02385
02386
02387
02388
02389
02390
02391 xcb_xfixes_get_cursor_image_and_name_cookie_t
02392 xcb_xfixes_get_cursor_image_and_name (xcb_connection_t *c );
02393
02406
02407
02408
02409
02410
02411
02412
02413
02414
02415 xcb_xfixes_get_cursor_image_and_name_cookie_t
02416 xcb_xfixes_get_cursor_image_and_name_unchecked (xcb_connection_t *c );
02417
02418
02419
02420
02421
02422
02423
02424
02425
02426
02427
02428 char *
02429 xcb_xfixes_get_cursor_image_and_name_name (const xcb_xfixes_get_cursor_image_and_name_reply_t *R );
02430
02431
02432
02433
02434
02435
02436
02437
02438
02439
02440
02441 int
02442 xcb_xfixes_get_cursor_image_and_name_name_length (const xcb_xfixes_get_cursor_image_and_name_reply_t *R );
02443
02444
02445
02446
02447
02448
02449
02450
02451
02452
02453
02454 xcb_generic_iterator_t
02455 xcb_xfixes_get_cursor_image_and_name_name_end (const xcb_xfixes_get_cursor_image_and_name_reply_t *R );
02456
02457
02458
02459
02460
02461
02462
02463
02464
02465
02466
02467 uint32_t *
02468 xcb_xfixes_get_cursor_image_and_name_cursor_image (const xcb_xfixes_get_cursor_image_and_name_reply_t *R );
02469
02470
02471
02472
02473
02474
02475
02476
02477
02478
02479
02480 int
02481 xcb_xfixes_get_cursor_image_and_name_cursor_image_length (const xcb_xfixes_get_cursor_image_and_name_reply_t *R );
02482
02483
02484
02485
02486
02487
02488
02489
02490
02491
02492
02493 xcb_generic_iterator_t
02494 xcb_xfixes_get_cursor_image_and_name_cursor_image_end (const xcb_xfixes_get_cursor_image_and_name_reply_t *R );
02495
02511
02512
02513
02514
02515
02516
02517
02518
02519
02520
02521
02522 xcb_xfixes_get_cursor_image_and_name_reply_t *
02523 xcb_xfixes_get_cursor_image_and_name_reply (xcb_connection_t *c ,
02524 xcb_xfixes_get_cursor_image_and_name_cookie_t cookie ,
02525 xcb_generic_error_t **e );
02526
02539
02540
02541
02542
02543
02544
02545
02546
02547
02548
02549
02550 xcb_void_cookie_t
02551 xcb_xfixes_change_cursor_checked (xcb_connection_t *c ,
02552 xcb_cursor_t source ,
02553 xcb_cursor_t destination );
02554
02564
02565
02566
02567
02568
02569
02570
02571
02572
02573
02574
02575 xcb_void_cookie_t
02576 xcb_xfixes_change_cursor (xcb_connection_t *c ,
02577 xcb_cursor_t source ,
02578 xcb_cursor_t destination );
02579
02580 int
02581 xcb_xfixes_change_cursor_by_name_sizeof (const void *_buffer );
02582
02595
02596
02597
02598
02599
02600
02601
02602
02603
02604
02605
02606
02607 xcb_void_cookie_t
02608 xcb_xfixes_change_cursor_by_name_checked (xcb_connection_t *c ,
02609 xcb_cursor_t src ,
02610 uint16_t nbytes ,
02611 const char *name );
02612
02622
02623
02624
02625
02626
02627
02628
02629
02630
02631
02632
02633
02634 xcb_void_cookie_t
02635 xcb_xfixes_change_cursor_by_name (xcb_connection_t *c ,
02636 xcb_cursor_t src ,
02637 uint16_t nbytes ,
02638 const char *name );
02639
02652
02653
02654
02655
02656
02657
02658
02659
02660
02661
02662
02663
02664
02665
02666
02667 xcb_void_cookie_t
02668 xcb_xfixes_expand_region_checked (xcb_connection_t *c ,
02669 xcb_xfixes_region_t source ,
02670 xcb_xfixes_region_t destination ,
02671 uint16_t left ,
02672 uint16_t right ,
02673 uint16_t top ,
02674 uint16_t bottom );
02675
02685
02686
02687
02688
02689
02690
02691
02692
02693
02694
02695
02696
02697
02698
02699
02700 xcb_void_cookie_t
02701 xcb_xfixes_expand_region (xcb_connection_t *c ,
02702 xcb_xfixes_region_t source ,
02703 xcb_xfixes_region_t destination ,
02704 uint16_t left ,
02705 uint16_t right ,
02706 uint16_t top ,
02707 uint16_t bottom );
02708
02721
02722
02723
02724
02725
02726
02727
02728
02729
02730
02731 xcb_void_cookie_t
02732 xcb_xfixes_hide_cursor_checked (xcb_connection_t *c ,
02733 xcb_window_t window );
02734
02744
02745
02746
02747
02748
02749
02750
02751
02752
02753
02754 xcb_void_cookie_t
02755 xcb_xfixes_hide_cursor (xcb_connection_t *c ,
02756 xcb_window_t window );
02757
02770
02771
02772
02773
02774
02775
02776
02777
02778
02779
02780 xcb_void_cookie_t
02781 xcb_xfixes_show_cursor_checked (xcb_connection_t *c ,
02782 xcb_window_t window );
02783
02793
02794
02795
02796
02797
02798
02799
02800
02801
02802
02803 xcb_void_cookie_t
02804 xcb_xfixes_show_cursor (xcb_connection_t *c ,
02805 xcb_window_t window );
02806
02807
02808 #ifdef __cplusplus
02809 }
02810 #endif
02811
02812 #endif
02813