jpayne@69: /* jpayne@69: * This file generated automatically from xfixes.xml by c_client.py. jpayne@69: * Edit at your peril. jpayne@69: */ jpayne@69: jpayne@69: /** jpayne@69: * @defgroup XCB_XFixes_API XCB XFixes API jpayne@69: * @brief XFixes XCB Protocol Implementation. jpayne@69: * @{ jpayne@69: **/ jpayne@69: jpayne@69: #ifndef __XFIXES_H jpayne@69: #define __XFIXES_H jpayne@69: jpayne@69: #include "xcb.h" jpayne@69: #include "xproto.h" jpayne@69: #include "render.h" jpayne@69: #include "shape.h" jpayne@69: jpayne@69: #ifdef __cplusplus jpayne@69: extern "C" { jpayne@69: #endif jpayne@69: jpayne@69: #define XCB_XFIXES_MAJOR_VERSION 6 jpayne@69: #define XCB_XFIXES_MINOR_VERSION 0 jpayne@69: jpayne@69: extern xcb_extension_t xcb_xfixes_id; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_query_version_cookie_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_query_version_cookie_t { jpayne@69: unsigned int sequence; jpayne@69: } xcb_xfixes_query_version_cookie_t; jpayne@69: jpayne@69: /** Opcode for xcb_xfixes_query_version. */ jpayne@69: #define XCB_XFIXES_QUERY_VERSION 0 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_query_version_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_query_version_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: uint32_t client_major_version; jpayne@69: uint32_t client_minor_version; jpayne@69: } xcb_xfixes_query_version_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_query_version_reply_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_query_version_reply_t { jpayne@69: uint8_t response_type; jpayne@69: uint8_t pad0; jpayne@69: uint16_t sequence; jpayne@69: uint32_t length; jpayne@69: uint32_t major_version; jpayne@69: uint32_t minor_version; jpayne@69: uint8_t pad1[16]; jpayne@69: } xcb_xfixes_query_version_reply_t; jpayne@69: jpayne@69: typedef enum xcb_xfixes_save_set_mode_t { jpayne@69: XCB_XFIXES_SAVE_SET_MODE_INSERT = 0, jpayne@69: XCB_XFIXES_SAVE_SET_MODE_DELETE = 1 jpayne@69: } xcb_xfixes_save_set_mode_t; jpayne@69: jpayne@69: typedef enum xcb_xfixes_save_set_target_t { jpayne@69: XCB_XFIXES_SAVE_SET_TARGET_NEAREST = 0, jpayne@69: XCB_XFIXES_SAVE_SET_TARGET_ROOT = 1 jpayne@69: } xcb_xfixes_save_set_target_t; jpayne@69: jpayne@69: typedef enum xcb_xfixes_save_set_mapping_t { jpayne@69: XCB_XFIXES_SAVE_SET_MAPPING_MAP = 0, jpayne@69: XCB_XFIXES_SAVE_SET_MAPPING_UNMAP = 1 jpayne@69: } xcb_xfixes_save_set_mapping_t; jpayne@69: jpayne@69: /** Opcode for xcb_xfixes_change_save_set. */ jpayne@69: #define XCB_XFIXES_CHANGE_SAVE_SET 1 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_change_save_set_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_change_save_set_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: uint8_t mode; jpayne@69: uint8_t target; jpayne@69: uint8_t map; jpayne@69: uint8_t pad0; jpayne@69: xcb_window_t window; jpayne@69: } xcb_xfixes_change_save_set_request_t; jpayne@69: jpayne@69: typedef enum xcb_xfixes_selection_event_t { jpayne@69: XCB_XFIXES_SELECTION_EVENT_SET_SELECTION_OWNER = 0, jpayne@69: XCB_XFIXES_SELECTION_EVENT_SELECTION_WINDOW_DESTROY = 1, jpayne@69: XCB_XFIXES_SELECTION_EVENT_SELECTION_CLIENT_CLOSE = 2 jpayne@69: } xcb_xfixes_selection_event_t; jpayne@69: jpayne@69: typedef enum xcb_xfixes_selection_event_mask_t { jpayne@69: XCB_XFIXES_SELECTION_EVENT_MASK_SET_SELECTION_OWNER = 1, jpayne@69: XCB_XFIXES_SELECTION_EVENT_MASK_SELECTION_WINDOW_DESTROY = 2, jpayne@69: XCB_XFIXES_SELECTION_EVENT_MASK_SELECTION_CLIENT_CLOSE = 4 jpayne@69: } xcb_xfixes_selection_event_mask_t; jpayne@69: jpayne@69: /** Opcode for xcb_xfixes_selection_notify. */ jpayne@69: #define XCB_XFIXES_SELECTION_NOTIFY 0 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_selection_notify_event_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_selection_notify_event_t { jpayne@69: uint8_t response_type; jpayne@69: uint8_t subtype; jpayne@69: uint16_t sequence; jpayne@69: xcb_window_t window; jpayne@69: xcb_window_t owner; jpayne@69: xcb_atom_t selection; jpayne@69: xcb_timestamp_t timestamp; jpayne@69: xcb_timestamp_t selection_timestamp; jpayne@69: uint8_t pad0[8]; jpayne@69: } xcb_xfixes_selection_notify_event_t; jpayne@69: jpayne@69: /** Opcode for xcb_xfixes_select_selection_input. */ jpayne@69: #define XCB_XFIXES_SELECT_SELECTION_INPUT 2 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_select_selection_input_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_select_selection_input_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_window_t window; jpayne@69: xcb_atom_t selection; jpayne@69: uint32_t event_mask; jpayne@69: } xcb_xfixes_select_selection_input_request_t; jpayne@69: jpayne@69: typedef enum xcb_xfixes_cursor_notify_t { jpayne@69: XCB_XFIXES_CURSOR_NOTIFY_DISPLAY_CURSOR = 0 jpayne@69: } xcb_xfixes_cursor_notify_t; jpayne@69: jpayne@69: typedef enum xcb_xfixes_cursor_notify_mask_t { jpayne@69: XCB_XFIXES_CURSOR_NOTIFY_MASK_DISPLAY_CURSOR = 1 jpayne@69: } xcb_xfixes_cursor_notify_mask_t; jpayne@69: jpayne@69: /** Opcode for xcb_xfixes_cursor_notify. */ jpayne@69: #define XCB_XFIXES_CURSOR_NOTIFY 1 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_cursor_notify_event_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_cursor_notify_event_t { jpayne@69: uint8_t response_type; jpayne@69: uint8_t subtype; jpayne@69: uint16_t sequence; jpayne@69: xcb_window_t window; jpayne@69: uint32_t cursor_serial; jpayne@69: xcb_timestamp_t timestamp; jpayne@69: xcb_atom_t name; jpayne@69: uint8_t pad0[12]; jpayne@69: } xcb_xfixes_cursor_notify_event_t; jpayne@69: jpayne@69: /** Opcode for xcb_xfixes_select_cursor_input. */ jpayne@69: #define XCB_XFIXES_SELECT_CURSOR_INPUT 3 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_select_cursor_input_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_select_cursor_input_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_window_t window; jpayne@69: uint32_t event_mask; jpayne@69: } xcb_xfixes_select_cursor_input_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_get_cursor_image_cookie_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_get_cursor_image_cookie_t { jpayne@69: unsigned int sequence; jpayne@69: } xcb_xfixes_get_cursor_image_cookie_t; jpayne@69: jpayne@69: /** Opcode for xcb_xfixes_get_cursor_image. */ jpayne@69: #define XCB_XFIXES_GET_CURSOR_IMAGE 4 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_get_cursor_image_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_get_cursor_image_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: } xcb_xfixes_get_cursor_image_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_get_cursor_image_reply_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_get_cursor_image_reply_t { jpayne@69: uint8_t response_type; jpayne@69: uint8_t pad0; jpayne@69: uint16_t sequence; jpayne@69: uint32_t length; jpayne@69: int16_t x; jpayne@69: int16_t y; jpayne@69: uint16_t width; jpayne@69: uint16_t height; jpayne@69: uint16_t xhot; jpayne@69: uint16_t yhot; jpayne@69: uint32_t cursor_serial; jpayne@69: uint8_t pad1[8]; jpayne@69: } xcb_xfixes_get_cursor_image_reply_t; jpayne@69: jpayne@69: typedef uint32_t xcb_xfixes_region_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_region_iterator_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_region_iterator_t { jpayne@69: xcb_xfixes_region_t *data; jpayne@69: int rem; jpayne@69: int index; jpayne@69: } xcb_xfixes_region_iterator_t; jpayne@69: jpayne@69: /** Opcode for xcb_xfixes_bad_region. */ jpayne@69: #define XCB_XFIXES_BAD_REGION 0 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_bad_region_error_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_bad_region_error_t { jpayne@69: uint8_t response_type; jpayne@69: uint8_t error_code; jpayne@69: uint16_t sequence; jpayne@69: uint32_t bad_value; jpayne@69: uint16_t minor_opcode; jpayne@69: uint8_t major_opcode; jpayne@69: } xcb_xfixes_bad_region_error_t; jpayne@69: jpayne@69: typedef enum xcb_xfixes_region_enum_t { jpayne@69: XCB_XFIXES_REGION_NONE = 0 jpayne@69: } xcb_xfixes_region_enum_t; jpayne@69: jpayne@69: /** Opcode for xcb_xfixes_create_region. */ jpayne@69: #define XCB_XFIXES_CREATE_REGION 5 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_create_region_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_create_region_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_xfixes_region_t region; jpayne@69: } xcb_xfixes_create_region_request_t; jpayne@69: jpayne@69: /** Opcode for xcb_xfixes_create_region_from_bitmap. */ jpayne@69: #define XCB_XFIXES_CREATE_REGION_FROM_BITMAP 6 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_create_region_from_bitmap_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_create_region_from_bitmap_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_xfixes_region_t region; jpayne@69: xcb_pixmap_t bitmap; jpayne@69: } xcb_xfixes_create_region_from_bitmap_request_t; jpayne@69: jpayne@69: /** Opcode for xcb_xfixes_create_region_from_window. */ jpayne@69: #define XCB_XFIXES_CREATE_REGION_FROM_WINDOW 7 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_create_region_from_window_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_create_region_from_window_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_xfixes_region_t region; jpayne@69: xcb_window_t window; jpayne@69: xcb_shape_kind_t kind; jpayne@69: uint8_t pad0[3]; jpayne@69: } xcb_xfixes_create_region_from_window_request_t; jpayne@69: jpayne@69: /** Opcode for xcb_xfixes_create_region_from_gc. */ jpayne@69: #define XCB_XFIXES_CREATE_REGION_FROM_GC 8 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_create_region_from_gc_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_create_region_from_gc_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_xfixes_region_t region; jpayne@69: xcb_gcontext_t gc; jpayne@69: } xcb_xfixes_create_region_from_gc_request_t; jpayne@69: jpayne@69: /** Opcode for xcb_xfixes_create_region_from_picture. */ jpayne@69: #define XCB_XFIXES_CREATE_REGION_FROM_PICTURE 9 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_create_region_from_picture_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_create_region_from_picture_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_xfixes_region_t region; jpayne@69: xcb_render_picture_t picture; jpayne@69: } xcb_xfixes_create_region_from_picture_request_t; jpayne@69: jpayne@69: /** Opcode for xcb_xfixes_destroy_region. */ jpayne@69: #define XCB_XFIXES_DESTROY_REGION 10 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_destroy_region_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_destroy_region_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_xfixes_region_t region; jpayne@69: } xcb_xfixes_destroy_region_request_t; jpayne@69: jpayne@69: /** Opcode for xcb_xfixes_set_region. */ jpayne@69: #define XCB_XFIXES_SET_REGION 11 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_set_region_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_set_region_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_xfixes_region_t region; jpayne@69: } xcb_xfixes_set_region_request_t; jpayne@69: jpayne@69: /** Opcode for xcb_xfixes_copy_region. */ jpayne@69: #define XCB_XFIXES_COPY_REGION 12 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_copy_region_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_copy_region_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_xfixes_region_t source; jpayne@69: xcb_xfixes_region_t destination; jpayne@69: } xcb_xfixes_copy_region_request_t; jpayne@69: jpayne@69: /** Opcode for xcb_xfixes_union_region. */ jpayne@69: #define XCB_XFIXES_UNION_REGION 13 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_union_region_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_union_region_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_xfixes_region_t source1; jpayne@69: xcb_xfixes_region_t source2; jpayne@69: xcb_xfixes_region_t destination; jpayne@69: } xcb_xfixes_union_region_request_t; jpayne@69: jpayne@69: /** Opcode for xcb_xfixes_intersect_region. */ jpayne@69: #define XCB_XFIXES_INTERSECT_REGION 14 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_intersect_region_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_intersect_region_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_xfixes_region_t source1; jpayne@69: xcb_xfixes_region_t source2; jpayne@69: xcb_xfixes_region_t destination; jpayne@69: } xcb_xfixes_intersect_region_request_t; jpayne@69: jpayne@69: /** Opcode for xcb_xfixes_subtract_region. */ jpayne@69: #define XCB_XFIXES_SUBTRACT_REGION 15 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_subtract_region_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_subtract_region_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_xfixes_region_t source1; jpayne@69: xcb_xfixes_region_t source2; jpayne@69: xcb_xfixes_region_t destination; jpayne@69: } xcb_xfixes_subtract_region_request_t; jpayne@69: jpayne@69: /** Opcode for xcb_xfixes_invert_region. */ jpayne@69: #define XCB_XFIXES_INVERT_REGION 16 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_invert_region_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_invert_region_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_xfixes_region_t source; jpayne@69: xcb_rectangle_t bounds; jpayne@69: xcb_xfixes_region_t destination; jpayne@69: } xcb_xfixes_invert_region_request_t; jpayne@69: jpayne@69: /** Opcode for xcb_xfixes_translate_region. */ jpayne@69: #define XCB_XFIXES_TRANSLATE_REGION 17 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_translate_region_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_translate_region_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_xfixes_region_t region; jpayne@69: int16_t dx; jpayne@69: int16_t dy; jpayne@69: } xcb_xfixes_translate_region_request_t; jpayne@69: jpayne@69: /** Opcode for xcb_xfixes_region_extents. */ jpayne@69: #define XCB_XFIXES_REGION_EXTENTS 18 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_region_extents_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_region_extents_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_xfixes_region_t source; jpayne@69: xcb_xfixes_region_t destination; jpayne@69: } xcb_xfixes_region_extents_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_fetch_region_cookie_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_fetch_region_cookie_t { jpayne@69: unsigned int sequence; jpayne@69: } xcb_xfixes_fetch_region_cookie_t; jpayne@69: jpayne@69: /** Opcode for xcb_xfixes_fetch_region. */ jpayne@69: #define XCB_XFIXES_FETCH_REGION 19 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_fetch_region_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_fetch_region_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_xfixes_region_t region; jpayne@69: } xcb_xfixes_fetch_region_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_fetch_region_reply_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_fetch_region_reply_t { jpayne@69: uint8_t response_type; jpayne@69: uint8_t pad0; jpayne@69: uint16_t sequence; jpayne@69: uint32_t length; jpayne@69: xcb_rectangle_t extents; jpayne@69: uint8_t pad1[16]; jpayne@69: } xcb_xfixes_fetch_region_reply_t; jpayne@69: jpayne@69: /** Opcode for xcb_xfixes_set_gc_clip_region. */ jpayne@69: #define XCB_XFIXES_SET_GC_CLIP_REGION 20 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_set_gc_clip_region_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_set_gc_clip_region_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_gcontext_t gc; jpayne@69: xcb_xfixes_region_t region; jpayne@69: int16_t x_origin; jpayne@69: int16_t y_origin; jpayne@69: } xcb_xfixes_set_gc_clip_region_request_t; jpayne@69: jpayne@69: /** Opcode for xcb_xfixes_set_window_shape_region. */ jpayne@69: #define XCB_XFIXES_SET_WINDOW_SHAPE_REGION 21 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_set_window_shape_region_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_set_window_shape_region_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_window_t dest; jpayne@69: xcb_shape_kind_t dest_kind; jpayne@69: uint8_t pad0[3]; jpayne@69: int16_t x_offset; jpayne@69: int16_t y_offset; jpayne@69: xcb_xfixes_region_t region; jpayne@69: } xcb_xfixes_set_window_shape_region_request_t; jpayne@69: jpayne@69: /** Opcode for xcb_xfixes_set_picture_clip_region. */ jpayne@69: #define XCB_XFIXES_SET_PICTURE_CLIP_REGION 22 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_set_picture_clip_region_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_set_picture_clip_region_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_render_picture_t picture; jpayne@69: xcb_xfixes_region_t region; jpayne@69: int16_t x_origin; jpayne@69: int16_t y_origin; jpayne@69: } xcb_xfixes_set_picture_clip_region_request_t; jpayne@69: jpayne@69: /** Opcode for xcb_xfixes_set_cursor_name. */ jpayne@69: #define XCB_XFIXES_SET_CURSOR_NAME 23 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_set_cursor_name_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_set_cursor_name_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_cursor_t cursor; jpayne@69: uint16_t nbytes; jpayne@69: uint8_t pad0[2]; jpayne@69: } xcb_xfixes_set_cursor_name_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_get_cursor_name_cookie_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_get_cursor_name_cookie_t { jpayne@69: unsigned int sequence; jpayne@69: } xcb_xfixes_get_cursor_name_cookie_t; jpayne@69: jpayne@69: /** Opcode for xcb_xfixes_get_cursor_name. */ jpayne@69: #define XCB_XFIXES_GET_CURSOR_NAME 24 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_get_cursor_name_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_get_cursor_name_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_cursor_t cursor; jpayne@69: } xcb_xfixes_get_cursor_name_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_get_cursor_name_reply_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_get_cursor_name_reply_t { jpayne@69: uint8_t response_type; jpayne@69: uint8_t pad0; jpayne@69: uint16_t sequence; jpayne@69: uint32_t length; jpayne@69: xcb_atom_t atom; jpayne@69: uint16_t nbytes; jpayne@69: uint8_t pad1[18]; jpayne@69: } xcb_xfixes_get_cursor_name_reply_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_get_cursor_image_and_name_cookie_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_get_cursor_image_and_name_cookie_t { jpayne@69: unsigned int sequence; jpayne@69: } xcb_xfixes_get_cursor_image_and_name_cookie_t; jpayne@69: jpayne@69: /** Opcode for xcb_xfixes_get_cursor_image_and_name. */ jpayne@69: #define XCB_XFIXES_GET_CURSOR_IMAGE_AND_NAME 25 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_get_cursor_image_and_name_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_get_cursor_image_and_name_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: } xcb_xfixes_get_cursor_image_and_name_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_get_cursor_image_and_name_reply_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_get_cursor_image_and_name_reply_t { jpayne@69: uint8_t response_type; jpayne@69: uint8_t pad0; jpayne@69: uint16_t sequence; jpayne@69: uint32_t length; jpayne@69: int16_t x; jpayne@69: int16_t y; jpayne@69: uint16_t width; jpayne@69: uint16_t height; jpayne@69: uint16_t xhot; jpayne@69: uint16_t yhot; jpayne@69: uint32_t cursor_serial; jpayne@69: xcb_atom_t cursor_atom; jpayne@69: uint16_t nbytes; jpayne@69: uint8_t pad1[2]; jpayne@69: } xcb_xfixes_get_cursor_image_and_name_reply_t; jpayne@69: jpayne@69: /** Opcode for xcb_xfixes_change_cursor. */ jpayne@69: #define XCB_XFIXES_CHANGE_CURSOR 26 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_change_cursor_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_change_cursor_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_cursor_t source; jpayne@69: xcb_cursor_t destination; jpayne@69: } xcb_xfixes_change_cursor_request_t; jpayne@69: jpayne@69: /** Opcode for xcb_xfixes_change_cursor_by_name. */ jpayne@69: #define XCB_XFIXES_CHANGE_CURSOR_BY_NAME 27 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_change_cursor_by_name_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_change_cursor_by_name_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_cursor_t src; jpayne@69: uint16_t nbytes; jpayne@69: uint8_t pad0[2]; jpayne@69: } xcb_xfixes_change_cursor_by_name_request_t; jpayne@69: jpayne@69: /** Opcode for xcb_xfixes_expand_region. */ jpayne@69: #define XCB_XFIXES_EXPAND_REGION 28 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_expand_region_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_expand_region_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_xfixes_region_t source; jpayne@69: xcb_xfixes_region_t destination; jpayne@69: uint16_t left; jpayne@69: uint16_t right; jpayne@69: uint16_t top; jpayne@69: uint16_t bottom; jpayne@69: } xcb_xfixes_expand_region_request_t; jpayne@69: jpayne@69: /** Opcode for xcb_xfixes_hide_cursor. */ jpayne@69: #define XCB_XFIXES_HIDE_CURSOR 29 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_hide_cursor_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_hide_cursor_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_window_t window; jpayne@69: } xcb_xfixes_hide_cursor_request_t; jpayne@69: jpayne@69: /** Opcode for xcb_xfixes_show_cursor. */ jpayne@69: #define XCB_XFIXES_SHOW_CURSOR 30 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_show_cursor_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_show_cursor_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_window_t window; jpayne@69: } xcb_xfixes_show_cursor_request_t; jpayne@69: jpayne@69: typedef uint32_t xcb_xfixes_barrier_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_barrier_iterator_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_barrier_iterator_t { jpayne@69: xcb_xfixes_barrier_t *data; jpayne@69: int rem; jpayne@69: int index; jpayne@69: } xcb_xfixes_barrier_iterator_t; jpayne@69: jpayne@69: typedef enum xcb_xfixes_barrier_directions_t { jpayne@69: XCB_XFIXES_BARRIER_DIRECTIONS_POSITIVE_X = 1, jpayne@69: XCB_XFIXES_BARRIER_DIRECTIONS_POSITIVE_Y = 2, jpayne@69: XCB_XFIXES_BARRIER_DIRECTIONS_NEGATIVE_X = 4, jpayne@69: XCB_XFIXES_BARRIER_DIRECTIONS_NEGATIVE_Y = 8 jpayne@69: } xcb_xfixes_barrier_directions_t; jpayne@69: jpayne@69: /** Opcode for xcb_xfixes_create_pointer_barrier. */ jpayne@69: #define XCB_XFIXES_CREATE_POINTER_BARRIER 31 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_create_pointer_barrier_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_create_pointer_barrier_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_xfixes_barrier_t barrier; jpayne@69: xcb_window_t window; jpayne@69: uint16_t x1; jpayne@69: uint16_t y1; jpayne@69: uint16_t x2; jpayne@69: uint16_t y2; jpayne@69: uint32_t directions; jpayne@69: uint8_t pad0[2]; jpayne@69: uint16_t num_devices; jpayne@69: } xcb_xfixes_create_pointer_barrier_request_t; jpayne@69: jpayne@69: /** Opcode for xcb_xfixes_delete_pointer_barrier. */ jpayne@69: #define XCB_XFIXES_DELETE_POINTER_BARRIER 32 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_delete_pointer_barrier_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_delete_pointer_barrier_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_xfixes_barrier_t barrier; jpayne@69: } xcb_xfixes_delete_pointer_barrier_request_t; jpayne@69: jpayne@69: typedef enum xcb_xfixes_client_disconnect_flags_t { jpayne@69: XCB_XFIXES_CLIENT_DISCONNECT_FLAGS_DEFAULT = 0, jpayne@69: /**< The default behavior for regular clients: the X11 server won't terminate as long jpayne@69: as such clients are still connected, and should this client disconnect, the jpayne@69: server will continue running so long as other clients (that have not set jpayne@69: XFixesClientDisconnectFlagTerminate) are connected. */ jpayne@69: jpayne@69: XCB_XFIXES_CLIENT_DISCONNECT_FLAGS_TERMINATE = 1 jpayne@69: /**< Indicates to the X11 server that it can ignore the client and terminate itself jpayne@69: even though the client is still connected to the X11 server. */ jpayne@69: jpayne@69: } xcb_xfixes_client_disconnect_flags_t; jpayne@69: jpayne@69: /** Opcode for xcb_xfixes_set_client_disconnect_mode. */ jpayne@69: #define XCB_XFIXES_SET_CLIENT_DISCONNECT_MODE 33 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_set_client_disconnect_mode_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_set_client_disconnect_mode_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: uint32_t disconnect_mode; jpayne@69: } xcb_xfixes_set_client_disconnect_mode_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_get_client_disconnect_mode_cookie_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_get_client_disconnect_mode_cookie_t { jpayne@69: unsigned int sequence; jpayne@69: } xcb_xfixes_get_client_disconnect_mode_cookie_t; jpayne@69: jpayne@69: /** Opcode for xcb_xfixes_get_client_disconnect_mode. */ jpayne@69: #define XCB_XFIXES_GET_CLIENT_DISCONNECT_MODE 34 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_get_client_disconnect_mode_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_get_client_disconnect_mode_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: } xcb_xfixes_get_client_disconnect_mode_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xfixes_get_client_disconnect_mode_reply_t jpayne@69: **/ jpayne@69: typedef struct xcb_xfixes_get_client_disconnect_mode_reply_t { jpayne@69: uint8_t response_type; jpayne@69: uint8_t pad0; jpayne@69: uint16_t sequence; jpayne@69: uint32_t length; jpayne@69: uint32_t disconnect_mode; jpayne@69: uint8_t pad1[20]; jpayne@69: } xcb_xfixes_get_client_disconnect_mode_reply_t; jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_xfixes_query_version_cookie_t jpayne@69: xcb_xfixes_query_version (xcb_connection_t *c, jpayne@69: uint32_t client_major_version, jpayne@69: uint32_t client_minor_version); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * placed in the event queue. jpayne@69: */ jpayne@69: xcb_xfixes_query_version_cookie_t jpayne@69: xcb_xfixes_query_version_unchecked (xcb_connection_t *c, jpayne@69: uint32_t client_major_version, jpayne@69: uint32_t client_minor_version); jpayne@69: jpayne@69: /** jpayne@69: * Return the reply jpayne@69: * @param c The connection jpayne@69: * @param cookie The cookie jpayne@69: * @param e The xcb_generic_error_t supplied jpayne@69: * jpayne@69: * Returns the reply of the request asked by jpayne@69: * jpayne@69: * The parameter @p e supplied to this function must be NULL if jpayne@69: * xcb_xfixes_query_version_unchecked(). is used. jpayne@69: * Otherwise, it stores the error if any. jpayne@69: * jpayne@69: * The returned value must be freed by the caller using free(). jpayne@69: */ jpayne@69: xcb_xfixes_query_version_reply_t * jpayne@69: xcb_xfixes_query_version_reply (xcb_connection_t *c, jpayne@69: xcb_xfixes_query_version_cookie_t cookie /**< */, jpayne@69: xcb_generic_error_t **e); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_change_save_set_checked (xcb_connection_t *c, jpayne@69: uint8_t mode, jpayne@69: uint8_t target, jpayne@69: uint8_t map, jpayne@69: xcb_window_t window); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_change_save_set (xcb_connection_t *c, jpayne@69: uint8_t mode, jpayne@69: uint8_t target, jpayne@69: uint8_t map, jpayne@69: xcb_window_t window); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_select_selection_input_checked (xcb_connection_t *c, jpayne@69: xcb_window_t window, jpayne@69: xcb_atom_t selection, jpayne@69: uint32_t event_mask); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_select_selection_input (xcb_connection_t *c, jpayne@69: xcb_window_t window, jpayne@69: xcb_atom_t selection, jpayne@69: uint32_t event_mask); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_select_cursor_input_checked (xcb_connection_t *c, jpayne@69: xcb_window_t window, jpayne@69: uint32_t event_mask); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_select_cursor_input (xcb_connection_t *c, jpayne@69: xcb_window_t window, jpayne@69: uint32_t event_mask); jpayne@69: jpayne@69: int jpayne@69: xcb_xfixes_get_cursor_image_sizeof (const void *_buffer); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_xfixes_get_cursor_image_cookie_t jpayne@69: xcb_xfixes_get_cursor_image (xcb_connection_t *c); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * placed in the event queue. jpayne@69: */ jpayne@69: xcb_xfixes_get_cursor_image_cookie_t jpayne@69: xcb_xfixes_get_cursor_image_unchecked (xcb_connection_t *c); jpayne@69: jpayne@69: uint32_t * jpayne@69: xcb_xfixes_get_cursor_image_cursor_image (const xcb_xfixes_get_cursor_image_reply_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_xfixes_get_cursor_image_cursor_image_length (const xcb_xfixes_get_cursor_image_reply_t *R); jpayne@69: jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_xfixes_get_cursor_image_cursor_image_end (const xcb_xfixes_get_cursor_image_reply_t *R); jpayne@69: jpayne@69: /** jpayne@69: * Return the reply jpayne@69: * @param c The connection jpayne@69: * @param cookie The cookie jpayne@69: * @param e The xcb_generic_error_t supplied jpayne@69: * jpayne@69: * Returns the reply of the request asked by jpayne@69: * jpayne@69: * The parameter @p e supplied to this function must be NULL if jpayne@69: * xcb_xfixes_get_cursor_image_unchecked(). is used. jpayne@69: * Otherwise, it stores the error if any. jpayne@69: * jpayne@69: * The returned value must be freed by the caller using free(). jpayne@69: */ jpayne@69: xcb_xfixes_get_cursor_image_reply_t * jpayne@69: xcb_xfixes_get_cursor_image_reply (xcb_connection_t *c, jpayne@69: xcb_xfixes_get_cursor_image_cookie_t cookie /**< */, jpayne@69: xcb_generic_error_t **e); jpayne@69: jpayne@69: /** jpayne@69: * Get the next element of the iterator jpayne@69: * @param i Pointer to a xcb_xfixes_region_iterator_t jpayne@69: * jpayne@69: * Get the next element in the iterator. The member rem is jpayne@69: * decreased by one. The member data points to the next jpayne@69: * element. The member index is increased by sizeof(xcb_xfixes_region_t) jpayne@69: */ jpayne@69: void jpayne@69: xcb_xfixes_region_next (xcb_xfixes_region_iterator_t *i); jpayne@69: jpayne@69: /** jpayne@69: * Return the iterator pointing to the last element jpayne@69: * @param i An xcb_xfixes_region_iterator_t jpayne@69: * @return The iterator pointing to the last element jpayne@69: * jpayne@69: * Set the current element in the iterator to the last element. jpayne@69: * The member rem is set to 0. The member data points to the jpayne@69: * last element. jpayne@69: */ jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_xfixes_region_end (xcb_xfixes_region_iterator_t i); jpayne@69: jpayne@69: int jpayne@69: xcb_xfixes_create_region_sizeof (const void *_buffer, jpayne@69: uint32_t rectangles_len); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_create_region_checked (xcb_connection_t *c, jpayne@69: xcb_xfixes_region_t region, jpayne@69: uint32_t rectangles_len, jpayne@69: const xcb_rectangle_t *rectangles); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_create_region (xcb_connection_t *c, jpayne@69: xcb_xfixes_region_t region, jpayne@69: uint32_t rectangles_len, jpayne@69: const xcb_rectangle_t *rectangles); jpayne@69: jpayne@69: xcb_rectangle_t * jpayne@69: xcb_xfixes_create_region_rectangles (const xcb_xfixes_create_region_request_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_xfixes_create_region_rectangles_length (const xcb_xfixes_create_region_request_t *R); jpayne@69: jpayne@69: xcb_rectangle_iterator_t jpayne@69: xcb_xfixes_create_region_rectangles_iterator (const xcb_xfixes_create_region_request_t *R); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_create_region_from_bitmap_checked (xcb_connection_t *c, jpayne@69: xcb_xfixes_region_t region, jpayne@69: xcb_pixmap_t bitmap); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_create_region_from_bitmap (xcb_connection_t *c, jpayne@69: xcb_xfixes_region_t region, jpayne@69: xcb_pixmap_t bitmap); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_create_region_from_window_checked (xcb_connection_t *c, jpayne@69: xcb_xfixes_region_t region, jpayne@69: xcb_window_t window, jpayne@69: xcb_shape_kind_t kind); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_create_region_from_window (xcb_connection_t *c, jpayne@69: xcb_xfixes_region_t region, jpayne@69: xcb_window_t window, jpayne@69: xcb_shape_kind_t kind); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_create_region_from_gc_checked (xcb_connection_t *c, jpayne@69: xcb_xfixes_region_t region, jpayne@69: xcb_gcontext_t gc); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_create_region_from_gc (xcb_connection_t *c, jpayne@69: xcb_xfixes_region_t region, jpayne@69: xcb_gcontext_t gc); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_create_region_from_picture_checked (xcb_connection_t *c, jpayne@69: xcb_xfixes_region_t region, jpayne@69: xcb_render_picture_t picture); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_create_region_from_picture (xcb_connection_t *c, jpayne@69: xcb_xfixes_region_t region, jpayne@69: xcb_render_picture_t picture); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_destroy_region_checked (xcb_connection_t *c, jpayne@69: xcb_xfixes_region_t region); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_destroy_region (xcb_connection_t *c, jpayne@69: xcb_xfixes_region_t region); jpayne@69: jpayne@69: int jpayne@69: xcb_xfixes_set_region_sizeof (const void *_buffer, jpayne@69: uint32_t rectangles_len); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_set_region_checked (xcb_connection_t *c, jpayne@69: xcb_xfixes_region_t region, jpayne@69: uint32_t rectangles_len, jpayne@69: const xcb_rectangle_t *rectangles); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_set_region (xcb_connection_t *c, jpayne@69: xcb_xfixes_region_t region, jpayne@69: uint32_t rectangles_len, jpayne@69: const xcb_rectangle_t *rectangles); jpayne@69: jpayne@69: xcb_rectangle_t * jpayne@69: xcb_xfixes_set_region_rectangles (const xcb_xfixes_set_region_request_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_xfixes_set_region_rectangles_length (const xcb_xfixes_set_region_request_t *R); jpayne@69: jpayne@69: xcb_rectangle_iterator_t jpayne@69: xcb_xfixes_set_region_rectangles_iterator (const xcb_xfixes_set_region_request_t *R); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_copy_region_checked (xcb_connection_t *c, jpayne@69: xcb_xfixes_region_t source, jpayne@69: xcb_xfixes_region_t destination); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_copy_region (xcb_connection_t *c, jpayne@69: xcb_xfixes_region_t source, jpayne@69: xcb_xfixes_region_t destination); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_union_region_checked (xcb_connection_t *c, jpayne@69: xcb_xfixes_region_t source1, jpayne@69: xcb_xfixes_region_t source2, jpayne@69: xcb_xfixes_region_t destination); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_union_region (xcb_connection_t *c, jpayne@69: xcb_xfixes_region_t source1, jpayne@69: xcb_xfixes_region_t source2, jpayne@69: xcb_xfixes_region_t destination); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_intersect_region_checked (xcb_connection_t *c, jpayne@69: xcb_xfixes_region_t source1, jpayne@69: xcb_xfixes_region_t source2, jpayne@69: xcb_xfixes_region_t destination); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_intersect_region (xcb_connection_t *c, jpayne@69: xcb_xfixes_region_t source1, jpayne@69: xcb_xfixes_region_t source2, jpayne@69: xcb_xfixes_region_t destination); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_subtract_region_checked (xcb_connection_t *c, jpayne@69: xcb_xfixes_region_t source1, jpayne@69: xcb_xfixes_region_t source2, jpayne@69: xcb_xfixes_region_t destination); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_subtract_region (xcb_connection_t *c, jpayne@69: xcb_xfixes_region_t source1, jpayne@69: xcb_xfixes_region_t source2, jpayne@69: xcb_xfixes_region_t destination); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_invert_region_checked (xcb_connection_t *c, jpayne@69: xcb_xfixes_region_t source, jpayne@69: xcb_rectangle_t bounds, jpayne@69: xcb_xfixes_region_t destination); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_invert_region (xcb_connection_t *c, jpayne@69: xcb_xfixes_region_t source, jpayne@69: xcb_rectangle_t bounds, jpayne@69: xcb_xfixes_region_t destination); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_translate_region_checked (xcb_connection_t *c, jpayne@69: xcb_xfixes_region_t region, jpayne@69: int16_t dx, jpayne@69: int16_t dy); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_translate_region (xcb_connection_t *c, jpayne@69: xcb_xfixes_region_t region, jpayne@69: int16_t dx, jpayne@69: int16_t dy); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_region_extents_checked (xcb_connection_t *c, jpayne@69: xcb_xfixes_region_t source, jpayne@69: xcb_xfixes_region_t destination); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_region_extents (xcb_connection_t *c, jpayne@69: xcb_xfixes_region_t source, jpayne@69: xcb_xfixes_region_t destination); jpayne@69: jpayne@69: int jpayne@69: xcb_xfixes_fetch_region_sizeof (const void *_buffer); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_xfixes_fetch_region_cookie_t jpayne@69: xcb_xfixes_fetch_region (xcb_connection_t *c, jpayne@69: xcb_xfixes_region_t region); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * placed in the event queue. jpayne@69: */ jpayne@69: xcb_xfixes_fetch_region_cookie_t jpayne@69: xcb_xfixes_fetch_region_unchecked (xcb_connection_t *c, jpayne@69: xcb_xfixes_region_t region); jpayne@69: jpayne@69: xcb_rectangle_t * jpayne@69: xcb_xfixes_fetch_region_rectangles (const xcb_xfixes_fetch_region_reply_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_xfixes_fetch_region_rectangles_length (const xcb_xfixes_fetch_region_reply_t *R); jpayne@69: jpayne@69: xcb_rectangle_iterator_t jpayne@69: xcb_xfixes_fetch_region_rectangles_iterator (const xcb_xfixes_fetch_region_reply_t *R); jpayne@69: jpayne@69: /** jpayne@69: * Return the reply jpayne@69: * @param c The connection jpayne@69: * @param cookie The cookie jpayne@69: * @param e The xcb_generic_error_t supplied jpayne@69: * jpayne@69: * Returns the reply of the request asked by jpayne@69: * jpayne@69: * The parameter @p e supplied to this function must be NULL if jpayne@69: * xcb_xfixes_fetch_region_unchecked(). is used. jpayne@69: * Otherwise, it stores the error if any. jpayne@69: * jpayne@69: * The returned value must be freed by the caller using free(). jpayne@69: */ jpayne@69: xcb_xfixes_fetch_region_reply_t * jpayne@69: xcb_xfixes_fetch_region_reply (xcb_connection_t *c, jpayne@69: xcb_xfixes_fetch_region_cookie_t cookie /**< */, jpayne@69: xcb_generic_error_t **e); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_set_gc_clip_region_checked (xcb_connection_t *c, jpayne@69: xcb_gcontext_t gc, jpayne@69: xcb_xfixes_region_t region, jpayne@69: int16_t x_origin, jpayne@69: int16_t y_origin); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_set_gc_clip_region (xcb_connection_t *c, jpayne@69: xcb_gcontext_t gc, jpayne@69: xcb_xfixes_region_t region, jpayne@69: int16_t x_origin, jpayne@69: int16_t y_origin); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_set_window_shape_region_checked (xcb_connection_t *c, jpayne@69: xcb_window_t dest, jpayne@69: xcb_shape_kind_t dest_kind, jpayne@69: int16_t x_offset, jpayne@69: int16_t y_offset, jpayne@69: xcb_xfixes_region_t region); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_set_window_shape_region (xcb_connection_t *c, jpayne@69: xcb_window_t dest, jpayne@69: xcb_shape_kind_t dest_kind, jpayne@69: int16_t x_offset, jpayne@69: int16_t y_offset, jpayne@69: xcb_xfixes_region_t region); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_set_picture_clip_region_checked (xcb_connection_t *c, jpayne@69: xcb_render_picture_t picture, jpayne@69: xcb_xfixes_region_t region, jpayne@69: int16_t x_origin, jpayne@69: int16_t y_origin); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_set_picture_clip_region (xcb_connection_t *c, jpayne@69: xcb_render_picture_t picture, jpayne@69: xcb_xfixes_region_t region, jpayne@69: int16_t x_origin, jpayne@69: int16_t y_origin); jpayne@69: jpayne@69: int jpayne@69: xcb_xfixes_set_cursor_name_sizeof (const void *_buffer); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_set_cursor_name_checked (xcb_connection_t *c, jpayne@69: xcb_cursor_t cursor, jpayne@69: uint16_t nbytes, jpayne@69: const char *name); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_set_cursor_name (xcb_connection_t *c, jpayne@69: xcb_cursor_t cursor, jpayne@69: uint16_t nbytes, jpayne@69: const char *name); jpayne@69: jpayne@69: char * jpayne@69: xcb_xfixes_set_cursor_name_name (const xcb_xfixes_set_cursor_name_request_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_xfixes_set_cursor_name_name_length (const xcb_xfixes_set_cursor_name_request_t *R); jpayne@69: jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_xfixes_set_cursor_name_name_end (const xcb_xfixes_set_cursor_name_request_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_xfixes_get_cursor_name_sizeof (const void *_buffer); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_xfixes_get_cursor_name_cookie_t jpayne@69: xcb_xfixes_get_cursor_name (xcb_connection_t *c, jpayne@69: xcb_cursor_t cursor); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * placed in the event queue. jpayne@69: */ jpayne@69: xcb_xfixes_get_cursor_name_cookie_t jpayne@69: xcb_xfixes_get_cursor_name_unchecked (xcb_connection_t *c, jpayne@69: xcb_cursor_t cursor); jpayne@69: jpayne@69: char * jpayne@69: xcb_xfixes_get_cursor_name_name (const xcb_xfixes_get_cursor_name_reply_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_xfixes_get_cursor_name_name_length (const xcb_xfixes_get_cursor_name_reply_t *R); jpayne@69: jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_xfixes_get_cursor_name_name_end (const xcb_xfixes_get_cursor_name_reply_t *R); jpayne@69: jpayne@69: /** jpayne@69: * Return the reply jpayne@69: * @param c The connection jpayne@69: * @param cookie The cookie jpayne@69: * @param e The xcb_generic_error_t supplied jpayne@69: * jpayne@69: * Returns the reply of the request asked by jpayne@69: * jpayne@69: * The parameter @p e supplied to this function must be NULL if jpayne@69: * xcb_xfixes_get_cursor_name_unchecked(). is used. jpayne@69: * Otherwise, it stores the error if any. jpayne@69: * jpayne@69: * The returned value must be freed by the caller using free(). jpayne@69: */ jpayne@69: xcb_xfixes_get_cursor_name_reply_t * jpayne@69: xcb_xfixes_get_cursor_name_reply (xcb_connection_t *c, jpayne@69: xcb_xfixes_get_cursor_name_cookie_t cookie /**< */, jpayne@69: xcb_generic_error_t **e); jpayne@69: jpayne@69: int jpayne@69: xcb_xfixes_get_cursor_image_and_name_sizeof (const void *_buffer); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_xfixes_get_cursor_image_and_name_cookie_t jpayne@69: xcb_xfixes_get_cursor_image_and_name (xcb_connection_t *c); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * placed in the event queue. jpayne@69: */ jpayne@69: xcb_xfixes_get_cursor_image_and_name_cookie_t jpayne@69: xcb_xfixes_get_cursor_image_and_name_unchecked (xcb_connection_t *c); jpayne@69: jpayne@69: uint32_t * jpayne@69: xcb_xfixes_get_cursor_image_and_name_cursor_image (const xcb_xfixes_get_cursor_image_and_name_reply_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_xfixes_get_cursor_image_and_name_cursor_image_length (const xcb_xfixes_get_cursor_image_and_name_reply_t *R); jpayne@69: jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_xfixes_get_cursor_image_and_name_cursor_image_end (const xcb_xfixes_get_cursor_image_and_name_reply_t *R); jpayne@69: jpayne@69: char * jpayne@69: xcb_xfixes_get_cursor_image_and_name_name (const xcb_xfixes_get_cursor_image_and_name_reply_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_xfixes_get_cursor_image_and_name_name_length (const xcb_xfixes_get_cursor_image_and_name_reply_t *R); jpayne@69: jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_xfixes_get_cursor_image_and_name_name_end (const xcb_xfixes_get_cursor_image_and_name_reply_t *R); jpayne@69: jpayne@69: /** jpayne@69: * Return the reply jpayne@69: * @param c The connection jpayne@69: * @param cookie The cookie jpayne@69: * @param e The xcb_generic_error_t supplied jpayne@69: * jpayne@69: * Returns the reply of the request asked by jpayne@69: * jpayne@69: * The parameter @p e supplied to this function must be NULL if jpayne@69: * xcb_xfixes_get_cursor_image_and_name_unchecked(). is used. jpayne@69: * Otherwise, it stores the error if any. jpayne@69: * jpayne@69: * The returned value must be freed by the caller using free(). jpayne@69: */ jpayne@69: xcb_xfixes_get_cursor_image_and_name_reply_t * jpayne@69: xcb_xfixes_get_cursor_image_and_name_reply (xcb_connection_t *c, jpayne@69: xcb_xfixes_get_cursor_image_and_name_cookie_t cookie /**< */, jpayne@69: xcb_generic_error_t **e); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_change_cursor_checked (xcb_connection_t *c, jpayne@69: xcb_cursor_t source, jpayne@69: xcb_cursor_t destination); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_change_cursor (xcb_connection_t *c, jpayne@69: xcb_cursor_t source, jpayne@69: xcb_cursor_t destination); jpayne@69: jpayne@69: int jpayne@69: xcb_xfixes_change_cursor_by_name_sizeof (const void *_buffer); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_change_cursor_by_name_checked (xcb_connection_t *c, jpayne@69: xcb_cursor_t src, jpayne@69: uint16_t nbytes, jpayne@69: const char *name); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_change_cursor_by_name (xcb_connection_t *c, jpayne@69: xcb_cursor_t src, jpayne@69: uint16_t nbytes, jpayne@69: const char *name); jpayne@69: jpayne@69: char * jpayne@69: xcb_xfixes_change_cursor_by_name_name (const xcb_xfixes_change_cursor_by_name_request_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_xfixes_change_cursor_by_name_name_length (const xcb_xfixes_change_cursor_by_name_request_t *R); jpayne@69: jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_xfixes_change_cursor_by_name_name_end (const xcb_xfixes_change_cursor_by_name_request_t *R); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_expand_region_checked (xcb_connection_t *c, jpayne@69: xcb_xfixes_region_t source, jpayne@69: xcb_xfixes_region_t destination, jpayne@69: uint16_t left, jpayne@69: uint16_t right, jpayne@69: uint16_t top, jpayne@69: uint16_t bottom); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_expand_region (xcb_connection_t *c, jpayne@69: xcb_xfixes_region_t source, jpayne@69: xcb_xfixes_region_t destination, jpayne@69: uint16_t left, jpayne@69: uint16_t right, jpayne@69: uint16_t top, jpayne@69: uint16_t bottom); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_hide_cursor_checked (xcb_connection_t *c, jpayne@69: xcb_window_t window); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_hide_cursor (xcb_connection_t *c, jpayne@69: xcb_window_t window); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_show_cursor_checked (xcb_connection_t *c, jpayne@69: xcb_window_t window); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_show_cursor (xcb_connection_t *c, jpayne@69: xcb_window_t window); jpayne@69: jpayne@69: /** jpayne@69: * Get the next element of the iterator jpayne@69: * @param i Pointer to a xcb_xfixes_barrier_iterator_t jpayne@69: * jpayne@69: * Get the next element in the iterator. The member rem is jpayne@69: * decreased by one. The member data points to the next jpayne@69: * element. The member index is increased by sizeof(xcb_xfixes_barrier_t) jpayne@69: */ jpayne@69: void jpayne@69: xcb_xfixes_barrier_next (xcb_xfixes_barrier_iterator_t *i); jpayne@69: jpayne@69: /** jpayne@69: * Return the iterator pointing to the last element jpayne@69: * @param i An xcb_xfixes_barrier_iterator_t jpayne@69: * @return The iterator pointing to the last element jpayne@69: * jpayne@69: * Set the current element in the iterator to the last element. jpayne@69: * The member rem is set to 0. The member data points to the jpayne@69: * last element. jpayne@69: */ jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_xfixes_barrier_end (xcb_xfixes_barrier_iterator_t i); jpayne@69: jpayne@69: int jpayne@69: xcb_xfixes_create_pointer_barrier_sizeof (const void *_buffer); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_create_pointer_barrier_checked (xcb_connection_t *c, jpayne@69: xcb_xfixes_barrier_t barrier, jpayne@69: xcb_window_t window, jpayne@69: uint16_t x1, jpayne@69: uint16_t y1, jpayne@69: uint16_t x2, jpayne@69: uint16_t y2, jpayne@69: uint32_t directions, jpayne@69: uint16_t num_devices, jpayne@69: const uint16_t *devices); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_create_pointer_barrier (xcb_connection_t *c, jpayne@69: xcb_xfixes_barrier_t barrier, jpayne@69: xcb_window_t window, jpayne@69: uint16_t x1, jpayne@69: uint16_t y1, jpayne@69: uint16_t x2, jpayne@69: uint16_t y2, jpayne@69: uint32_t directions, jpayne@69: uint16_t num_devices, jpayne@69: const uint16_t *devices); jpayne@69: jpayne@69: uint16_t * jpayne@69: xcb_xfixes_create_pointer_barrier_devices (const xcb_xfixes_create_pointer_barrier_request_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_xfixes_create_pointer_barrier_devices_length (const xcb_xfixes_create_pointer_barrier_request_t *R); jpayne@69: jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_xfixes_create_pointer_barrier_devices_end (const xcb_xfixes_create_pointer_barrier_request_t *R); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_delete_pointer_barrier_checked (xcb_connection_t *c, jpayne@69: xcb_xfixes_barrier_t barrier); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_delete_pointer_barrier (xcb_connection_t *c, jpayne@69: xcb_xfixes_barrier_t barrier); jpayne@69: jpayne@69: /** jpayne@69: * @brief Sets the disconnect mode for the client. jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @param disconnect_mode The new disconnect mode. jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * No description yet jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_set_client_disconnect_mode_checked (xcb_connection_t *c, jpayne@69: uint32_t disconnect_mode); jpayne@69: jpayne@69: /** jpayne@69: * @brief Sets the disconnect mode for the client. jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @param disconnect_mode The new disconnect mode. jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * No description yet jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xfixes_set_client_disconnect_mode (xcb_connection_t *c, jpayne@69: uint32_t disconnect_mode); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_xfixes_get_client_disconnect_mode_cookie_t jpayne@69: xcb_xfixes_get_client_disconnect_mode (xcb_connection_t *c); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * placed in the event queue. jpayne@69: */ jpayne@69: xcb_xfixes_get_client_disconnect_mode_cookie_t jpayne@69: xcb_xfixes_get_client_disconnect_mode_unchecked (xcb_connection_t *c); jpayne@69: jpayne@69: /** jpayne@69: * Return the reply jpayne@69: * @param c The connection jpayne@69: * @param cookie The cookie jpayne@69: * @param e The xcb_generic_error_t supplied jpayne@69: * jpayne@69: * Returns the reply of the request asked by jpayne@69: * jpayne@69: * The parameter @p e supplied to this function must be NULL if jpayne@69: * xcb_xfixes_get_client_disconnect_mode_unchecked(). is used. jpayne@69: * Otherwise, it stores the error if any. jpayne@69: * jpayne@69: * The returned value must be freed by the caller using free(). jpayne@69: */ jpayne@69: xcb_xfixes_get_client_disconnect_mode_reply_t * jpayne@69: xcb_xfixes_get_client_disconnect_mode_reply (xcb_connection_t *c, jpayne@69: xcb_xfixes_get_client_disconnect_mode_cookie_t cookie /**< */, jpayne@69: xcb_generic_error_t **e); jpayne@69: jpayne@69: jpayne@69: #ifdef __cplusplus jpayne@69: } jpayne@69: #endif jpayne@69: jpayne@69: #endif jpayne@69: jpayne@69: /** jpayne@69: * @} jpayne@69: */