diff --git a/packages/xcb/src/root.zig b/packages/xcb/src/root.zig index ccaceaa..c9e4858 100644 --- a/packages/xcb/src/root.zig +++ b/packages/xcb/src/root.zig @@ -1786,32 +1786,6 @@ pub const ScreenIterator = extern struct { pub const end = import.xcb_screen_end; }; -pub const SetupRequest = extern struct { - byte_order: u8 = 0, - pad0: u8 = 0, - protocol_major_version: u16 = 0, - protocol_minor_version: u16 = 0, - authorization_protocol_name_len: u16 = 0, - authorization_protocol_data_len: u16 = 0, - pad1: [2]u8 = @splat(0), - - pub const authorizationProtocolName = import.xcb_setup_request_authorization_protocol_name; - pub const authorizationProtocolNameLength = import.xcb_setup_request_authorization_protocol_name_length; - pub const authorizationProtocolNameEnd = import.xcb_setup_request_authorization_protocol_name_end; - pub const authorizationProtocolData = import.xcb_setup_request_authorization_protocol_data; - pub const authorizationProtocolDataLength = import.xcb_setup_request_authorization_protocol_data_length; - pub const authorizationProtocolDataEnd = import.xcb_setup_request_authorization_protocol_data_end; -}; - -pub const SetupRequestIterator = extern struct { - data: *SetupRequest = undefined, - rem: c_int = 0, - index: c_int = 0, - - pub const next = import.xcb_setup_request_next; - pub const end = import.xcb_setup_request_end; -}; - pub const SetupFailed = extern struct { status: u8 = 0, reason_len: u8 = 0, @@ -2465,24 +2439,6 @@ pub const CreateWindowValueList = extern struct { cursor: Cursor = .NONE, }; -pub const CreateWindowRequest = extern struct { - major_opcode: u8 = 0, - depth: u8 = 0, - length: u16 = 0, - wid: Window = .NONE, - parent: Window = .NONE, - x: i16 = 0, - y: i16 = 0, - width: u16 = 0, - height: u16 = 0, - border_width: u16 = 0, - _class: WindowClass = 0, - visual: Visualid = @enumFromInt(0), - value_mask: Cw = .{}, - - pub const valueList = import.xcb_create_window_value_list; -}; - pub const ChangeWindowAttributesValueList = extern struct { background_pixmap: Pixmap = .NONE, background_pixel: u32 = 0, @@ -2501,16 +2457,6 @@ pub const ChangeWindowAttributesValueList = extern struct { cursor: Cursor = .NONE, }; -pub const ChangeWindowAttributesRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - window: Window = .NONE, - value_mask: u32 = 0, - - pub const valueList = import.xcb_change_window_attributes_value_list; -}; - pub const MapState = enum(c_uint) { UNMAPPED = 0, UNVIEWABLE = 1, @@ -2522,20 +2468,13 @@ pub const GetWindowAttributesCookie = extern struct { sequence: c_uint = 0, }; -pub const GetWindowAttributesRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - window: Window = .NONE, -}; - pub const GetWindowAttributesReply = extern struct { response_type: u8 = 0, backing_store: u8 = 0, sequence: u16 = 0, length: u32 = 0, visual: Visualid = @enumFromInt(0), - _class: WindowClass = 0, + _class: WindowClass = .COPY_FROM_PARENT, bit_gravity: u8 = 0, win_gravity: u8 = 0, backing_planes: u32 = 0, @@ -2551,71 +2490,12 @@ pub const GetWindowAttributesReply = extern struct { pad0: [2]u8 = @splat(0), }; -pub const DestroyWindowRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - window: Window = .NONE, -}; - -pub const DestroySubwindowsRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - window: Window = .NONE, -}; - pub const SetMode = enum(c_uint) { INSERT = 0, DELETE = 1, _, }; -pub const ChangeSaveSetRequest = extern struct { - major_opcode: u8 = 0, - mode: u8 = 0, - length: u16 = 0, - window: Window = .NONE, -}; - -pub const ReparentWindowRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - window: Window = .NONE, - parent: Window = .NONE, - x: i16 = 0, - y: i16 = 0, -}; - -pub const MapWindowRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - window: Window = .NONE, -}; - -pub const MapSubwindowsRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - window: Window = .NONE, -}; - -pub const UnmapWindowRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - window: Window = .NONE, -}; - -pub const UnmapSubwindowsRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - window: Window = .NONE, -}; - pub const ConfigWindow = packed struct(c_uint) { X: bool = false, Y: bool = false, @@ -2646,41 +2526,16 @@ pub const ConfigureWindowValueList = extern struct { stack_mode: u32 = 0, }; -pub const ConfigureWindowRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - window: Window = .NONE, - value_mask: u16 = 0, - pad1: [2]u8 = @splat(0), - - pub const valueList = import.xcb_configure_window_value_list; -}; - pub const Circulate = enum(c_uint) { RAISE_LOWEST = 0, LOWER_HIGHEST = 1, _, }; -pub const CirculateWindowRequest = extern struct { - major_opcode: u8 = 0, - direction: u8 = 0, - length: u16 = 0, - window: Window = .NONE, -}; - pub const GetGeometryCookie = extern struct { sequence: c_uint = 0, }; -pub const GetGeometryRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - drawable: Drawable = @enumFromInt(0), -}; - pub const GetGeometryReply = extern struct { response_type: u8 = 0, depth: u8 = 0, @@ -2699,13 +2554,6 @@ pub const QueryTreeCookie = extern struct { sequence: c_uint = 0, }; -pub const QueryTreeRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - window: Window = .NONE, -}; - pub const QueryTreeReply = extern struct { response_type: u8 = 0, pad0: u8 = 0, @@ -2725,14 +2573,6 @@ pub const InternAtomCookie = extern struct { sequence: c_uint = 0, }; -pub const InternAtomRequest = extern struct { - major_opcode: u8 = 0, - only_if_exists: u8 = 0, - length: u16 = 0, - name_len: u16 = 0, - pad0: [2]u8 = @splat(0), -}; - pub const InternAtomReply = extern struct { response_type: u8 = 0, pad0: u8 = 0, @@ -2745,13 +2585,6 @@ pub const GetAtomNameCookie = extern struct { sequence: c_uint = 0, }; -pub const GetAtomNameRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - atom: Atom = .NONE, -}; - pub const GetAtomNameReply = extern struct { response_type: u8 = 0, pad0: u8 = 0, @@ -2772,45 +2605,10 @@ pub const PropMode = enum(u8) { _, }; -pub const ChangePropertyRequest = extern struct { - major_opcode: u8 = 0, - mode: PropMode = .REPLACE, - length: u16 = 0, - window: Window = .NONE, - property: Atom = .NONE, - type: Atom = .NONE, - format: u8 = 0, - pad0: [3]u8 = @splat(0), - data_len: u32 = 0, - - pub const data = import.xcb_change_property_data; - pub const dataLength = import.xcb_change_property_data_length; - pub const dataEnd = import.xcb_change_property_data_end; -}; - -pub const DeletePropertyRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - window: Window = .NONE, - property: Atom = .NONE, -}; - pub const GetPropertyCookie = extern struct { sequence: c_uint = 0, }; -pub const GetPropertyRequest = extern struct { - major_opcode: u8 = 0, - _delete: u8 = 0, - length: u16 = 0, - window: Window = .NONE, - property: Atom = .NONE, - type: Atom = .NONE, - long_offset: u32 = 0, - long_length: u32 = 0, -}; - pub const GetPropertyReply = extern struct { response_type: u8 = 0, format: u8 = 0, @@ -2830,13 +2628,6 @@ pub const ListPropertiesCookie = extern struct { sequence: c_uint = 0, }; -pub const ListPropertiesRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - window: Window = .NONE, -}; - pub const ListPropertiesReply = extern struct { response_type: u8 = 0, pad0: u8 = 0, @@ -2850,26 +2641,10 @@ pub const ListPropertiesReply = extern struct { pub const atomsEnd = import.xcb_list_properties_atoms_end; }; -pub const SetSelectionOwnerRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - owner: Window = .NONE, - selection: Atom = .NONE, - time: Timestamp = .CURRENT_TIME, -}; - pub const GetSelectionOwnerCookie = extern struct { sequence: c_uint = 0, }; -pub const GetSelectionOwnerRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - selection: Atom = .NONE, -}; - pub const GetSelectionOwnerReply = extern struct { response_type: u8 = 0, pad0: u8 = 0, @@ -2878,32 +2653,12 @@ pub const GetSelectionOwnerReply = extern struct { owner: Window = .NONE, }; -pub const ConvertSelectionRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - requestor: Window = .NONE, - selection: Atom = .NONE, - target: Atom = .NONE, - property: Atom = .NONE, - time: Timestamp = .CURRENT_TIME, -}; - pub const SendEventDest = enum(c_uint) { POINTER_WINDOW = 0, ITEM_FOCUS = 1, _, }; -pub const SendEventRequest = extern struct { - major_opcode: u8 = 0, - propagate: u8 = 0, - length: u16 = 0, - destination: Window = .NONE, - event_mask: u32 = 0, - event: [32]u8 = @splat(0), -}; - pub const GrabMode = enum(c_uint) { SYNC = 0, ASYNC = 1, @@ -2923,19 +2678,6 @@ pub const GrabPointerCookie = extern struct { sequence: c_uint = 0, }; -pub const GrabPointerRequest = extern struct { - major_opcode: u8 = 0, - owner_events: u8 = 0, - length: u16 = 0, - grab_window: Window = .NONE, - event_mask: u16 = 0, - pointer_mode: u8 = 0, - keyboard_mode: u8 = 0, - confine_to: Window = .NONE, - cursor: Cursor = .NONE, - time: Timestamp = .CURRENT_TIME, -}; - pub const GrabPointerReply = extern struct { response_type: u8 = 0, status: u8 = 0, @@ -2943,13 +2685,6 @@ pub const GrabPointerReply = extern struct { length: u32 = 0, }; -pub const UngrabPointerRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - time: Timestamp = .CURRENT_TIME, -}; - pub const ButtonIndex = enum(c_uint) { ANY = 0, @"1" = 1, @@ -2960,55 +2695,10 @@ pub const ButtonIndex = enum(c_uint) { _, }; -pub const GrabButtonRequest = extern struct { - major_opcode: u8 = 0, - owner_events: u8 = 0, - length: u16 = 0, - grab_window: Window = .NONE, - event_mask: u16 = 0, - pointer_mode: u8 = 0, - keyboard_mode: u8 = 0, - confine_to: Window = .NONE, - cursor: Cursor = .NONE, - button: u8 = 0, - pad0: u8 = 0, - modifiers: u16 = 0, -}; - -pub const UngrabButtonRequest = extern struct { - major_opcode: u8 = 0, - button: u8 = 0, - length: u16 = 0, - grab_window: Window = .NONE, - modifiers: u16 = 0, - pad0: [2]u8 = @splat(0), -}; - -pub const ChangeActivePointerGrabRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - cursor: Cursor = .NONE, - time: Timestamp = .CURRENT_TIME, - event_mask: u16 = 0, - pad1: [2]u8 = @splat(0), -}; - pub const GrabKeyboardCookie = extern struct { sequence: c_uint = 0, }; -pub const GrabKeyboardRequest = extern struct { - major_opcode: u8 = 0, - owner_events: u8 = 0, - length: u16 = 0, - grab_window: Window = .NONE, - time: Timestamp = .CURRENT_TIME, - pointer_mode: u8 = 0, - keyboard_mode: u8 = 0, - pad0: [2]u8 = @splat(0), -}; - pub const GrabKeyboardReply = extern struct { response_type: u8 = 0, status: u8 = 0, @@ -3016,34 +2706,6 @@ pub const GrabKeyboardReply = extern struct { length: u32 = 0, }; -pub const UngrabKeyboardRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - time: Timestamp = .CURRENT_TIME, -}; - -pub const GrabKeyRequest = extern struct { - major_opcode: u8 = 0, - owner_events: u8 = 0, - length: u16 = 0, - grab_window: Window = .NONE, - modifiers: u16 = 0, - key: Keycode = @enumFromInt(0), - pointer_mode: u8 = 0, - keyboard_mode: u8 = 0, - pad0: [3]u8 = @splat(0), -}; - -pub const UngrabKeyRequest = extern struct { - major_opcode: u8 = 0, - key: Keycode = @enumFromInt(0), - length: u16 = 0, - grab_window: Window = .NONE, - modifiers: u16 = 0, - pad0: [2]u8 = @splat(0), -}; - pub const Allow = enum(c_uint) { ASYNC_POINTER = 0, SYNC_POINTER = 1, @@ -3056,36 +2718,10 @@ pub const Allow = enum(c_uint) { _, }; -pub const AllowEventsRequest = extern struct { - major_opcode: u8 = 0, - mode: u8 = 0, - length: u16 = 0, - time: Timestamp = .CURRENT_TIME, -}; - -pub const GrabServerRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, -}; - -pub const UngrabServerRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, -}; - pub const QueryPointerCookie = extern struct { sequence: c_uint = 0, }; -pub const QueryPointerRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - window: Window = .NONE, -}; - pub const QueryPointerReply = extern struct { response_type: u8 = 0, same_screen: u8 = 0, @@ -3120,15 +2756,6 @@ pub const GetMotionEventsCookie = extern struct { sequence: c_uint = 0, }; -pub const GetMotionEventsRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - window: Window = .NONE, - start: Timestamp = .CURRENT_TIME, - stop: Timestamp = .CURRENT_TIME, -}; - pub const GetMotionEventsReply = extern struct { response_type: u8 = 0, pad0: u8 = 0, @@ -3146,16 +2773,6 @@ pub const TranslateCoordinatesCookie = extern struct { sequence: c_uint = 0, }; -pub const TranslateCoordinatesRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - src_window: Window = .NONE, - dst_window: Window = .NONE, - src_x: i16 = 0, - src_y: i16 = 0, -}; - pub const TranslateCoordinatesReply = extern struct { response_type: u8 = 0, same_screen: u8 = 0, @@ -3166,20 +2783,6 @@ pub const TranslateCoordinatesReply = extern struct { dst_y: i16 = 0, }; -pub const WarpPointerRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - src_window: Window = .NONE, - dst_window: Window = .NONE, - src_x: i16 = 0, - src_y: i16 = 0, - src_width: u16 = 0, - src_height: u16 = 0, - dst_x: i16 = 0, - dst_y: i16 = 0, -}; - pub const InputFocus = enum(c_uint) { NONE = 0, POINTER_ROOT = 1, @@ -3188,24 +2791,10 @@ pub const InputFocus = enum(c_uint) { _, }; -pub const SetInputFocusRequest = extern struct { - major_opcode: u8 = 0, - revert_to: u8 = 0, - length: u16 = 0, - focus: Window = .NONE, - time: Timestamp = .CURRENT_TIME, -}; - pub const GetInputFocusCookie = extern struct { sequence: c_uint = 0, }; -pub const GetInputFocusRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, -}; - pub const GetInputFocusReply = extern struct { response_type: u8 = 0, revert_to: u8 = 0, @@ -3218,12 +2807,6 @@ pub const QueryKeymapCookie = extern struct { sequence: c_uint = 0, }; -pub const QueryKeymapRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, -}; - pub const QueryKeymapReply = extern struct { response_type: u8 = 0, pad0: u8 = 0, @@ -3232,26 +2815,6 @@ pub const QueryKeymapReply = extern struct { keys: [32]u8 = @splat(0), }; -pub const OpenFontRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - fid: Font = .NONE, - name_len: u16 = 0, - pad1: [2]u8 = @splat(0), - - pub const name = import.xcb_open_font_name; - pub const nameLength = import.xcb_open_font_name_length; - pub const nameEnd = import.xcb_open_font_name_end; -}; - -pub const CloseFontRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - font: Font = .NONE, -}; - pub const FontDraw = enum(c_uint) { LEFT_TO_RIGHT = 0, RIGHT_TO_LEFT = 1, @@ -3294,13 +2857,6 @@ pub const QueryFontCookie = extern struct { sequence: c_uint = 0, }; -pub const QueryFontRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - font: Fontable = @enumFromInt(0), -}; - pub const QueryFontReply = extern struct { response_type: u8 = 0, pad0: u8 = 0, @@ -3334,13 +2890,6 @@ pub const QueryTextExtentsCookie = extern struct { sequence: c_uint = 0, }; -pub const QueryTextExtentsRequest = extern struct { - major_opcode: u8 = 0, - odd_length: u8 = 0, - length: u16 = 0, - font: Fontable = @enumFromInt(0), -}; - pub const QueryTextExtentsReply = extern struct { response_type: u8 = 0, draw_direction: u8 = 0, @@ -3376,14 +2925,6 @@ pub const ListFontsCookie = extern struct { sequence: c_uint = 0, }; -pub const ListFontsRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - max_names: u16 = 0, - pattern_len: u16 = 0, -}; - pub const ListFontsReply = extern struct { response_type: u8 = 0, pad0: u8 = 0, @@ -3400,14 +2941,6 @@ pub const ListFontsWithInfoCookie = extern struct { sequence: c_uint = 0, }; -pub const ListFontsWithInfoRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - max_names: u16 = 0, - pattern_len: u16 = 0, -}; - pub const ListFontsWithInfoReply = extern struct { response_type: u8 = 0, name_len: u8 = 0, @@ -3437,27 +2970,10 @@ pub const ListFontsWithInfoReply = extern struct { pub const nameEnd = import.xcb_list_fonts_with_info_name_end; }; -pub const SetFontPathRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - font_qty: u16 = 0, - pad1: [2]u8 = @splat(0), - - pub const fontLength = import.xcb_set_font_path_font_length; - pub const fontIterator = import.xcb_set_font_path_font_iterator; -}; - pub const GetFontPathCookie = extern struct { sequence: c_uint = 0, }; -pub const GetFontPathRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, -}; - pub const GetFontPathReply = extern struct { response_type: u8 = 0, pad0: u8 = 0, @@ -3470,23 +2986,6 @@ pub const GetFontPathReply = extern struct { pub const pathIterator = import.xcb_get_font_path_path_iterator; }; -pub const CreatePixmapRequest = extern struct { - major_opcode: u8 = 0, - depth: u8 = 0, - length: u16 = 0, - pid: Pixmap = .NONE, - drawable: Drawable = @enumFromInt(0), - width: u16 = 0, - height: u16 = 0, -}; - -pub const FreePixmapRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - pixmap: Pixmap = .NONE, -}; - pub const Gc = packed struct(c_uint) { FUNCTION: bool = false, PLANE_MASK: bool = false, @@ -3608,17 +3107,6 @@ pub const CreateGcValueList = extern struct { arc_mode: u32 = 0, }; -pub const CreateGcRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - cid: Gcontext = @enumFromInt(0), - drawable: Drawable = @enumFromInt(0), - value_mask: u32 = 0, - - pub const valueList = import.xcb_create_gc_value_list; -}; - pub const ChangeGcValueList = extern struct { function: u32 = 0, plane_mask: u32 = 0, @@ -3645,38 +3133,6 @@ pub const ChangeGcValueList = extern struct { arc_mode: u32 = 0, }; -pub const ChangeGcRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - gc: Gcontext = @enumFromInt(0), - value_mask: u32 = 0, - - pub const valueList = import.xcb_change_gc_value_list; -}; - -pub const CopyGcRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - src_gc: Gcontext = @enumFromInt(0), - dst_gc: Gcontext = @enumFromInt(0), - value_mask: u32 = 0, -}; - -pub const SetDashesRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - gc: Gcontext = @enumFromInt(0), - dash_offset: u16 = 0, - dashes_len: u16 = 0, - - pub const dashes = import.xcb_set_dashes_dashes; - pub const dashesLength = import.xcb_set_dashes_dashes_length; - pub const dashesEnd = import.xcb_set_dashes_dashes_end; -}; - pub const ClipOrdering = enum(c_uint) { UNSORTED = 0, Y_SORTED = 1, @@ -3685,98 +3141,12 @@ pub const ClipOrdering = enum(c_uint) { _, }; -pub const SetClipRectanglesRequest = extern struct { - major_opcode: u8 = 0, - ordering: u8 = 0, - length: u16 = 0, - gc: Gcontext = @enumFromInt(0), - clip_x_origin: i16 = 0, - clip_y_origin: i16 = 0, - - pub const rectangles = import.xcb_set_clip_rectangles_rectangles; - pub const rectanglesLength = import.xcb_set_clip_rectangles_rectangles_length; - pub const rectanglesIterator = import.xcb_set_clip_rectangles_rectangles_iterator; -}; - -pub const FreeGcRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - gc: Gcontext = @enumFromInt(0), -}; - -pub const ClearAreaRequest = extern struct { - major_opcode: u8 = 0, - exposures: u8 = 0, - length: u16 = 0, - window: Window = .NONE, - x: i16 = 0, - y: i16 = 0, - width: u16 = 0, - height: u16 = 0, -}; - -pub const CopyAreaRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - src_drawable: Drawable = @enumFromInt(0), - dst_drawable: Drawable = @enumFromInt(0), - gc: Gcontext = @enumFromInt(0), - src_x: i16 = 0, - src_y: i16 = 0, - dst_x: i16 = 0, - dst_y: i16 = 0, - width: u16 = 0, - height: u16 = 0, -}; - -pub const CopyPlaneRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - src_drawable: Drawable = @enumFromInt(0), - dst_drawable: Drawable = @enumFromInt(0), - gc: Gcontext = @enumFromInt(0), - src_x: i16 = 0, - src_y: i16 = 0, - dst_x: i16 = 0, - dst_y: i16 = 0, - width: u16 = 0, - height: u16 = 0, - bit_plane: u32 = 0, -}; - pub const CoordMode = enum(c_uint) { ORIGIN = 0, PREVIOUS = 1, _, }; -pub const PolyPointRequest = extern struct { - major_opcode: u8 = 0, - coordinate_mode: u8 = 0, - length: u16 = 0, - drawable: Drawable = @enumFromInt(0), - gc: Gcontext = @enumFromInt(0), - - pub const points = import.xcb_poly_point_points; - pub const pointsLength = import.xcb_poly_point_points_length; - pub const pointsIterator = import.xcb_poly_point_points_iterator; -}; - -pub const PolyLineRequest = extern struct { - major_opcode: u8 = 0, - coordinate_mode: u8 = 0, - length: u16 = 0, - drawable: Drawable = @enumFromInt(0), - gc: Gcontext = @enumFromInt(0), - - pub const points = import.xcb_poly_line_points; - pub const pointsLength = import.xcb_poly_line_points_length; - pub const pointsIterator = import.xcb_poly_line_points_iterator; -}; - pub const Segment = extern struct { x1: i16 = 0, y1: i16 = 0, @@ -3793,42 +3163,6 @@ pub const SegmentIterator = extern struct { pub const end = import.xcb_segment_end; }; -pub const PolySegmentRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - drawable: Drawable = @enumFromInt(0), - gc: Gcontext = @enumFromInt(0), - - pub const segments = import.xcb_poly_segment_segments; - pub const segmentsLength = import.xcb_poly_segment_segments_length; - pub const segmentsIterator = import.xcb_poly_segment_segments_iterator; -}; - -pub const PolyRectangleRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - drawable: Drawable = @enumFromInt(0), - gc: Gcontext = @enumFromInt(0), - - pub const rectangles = import.xcb_poly_rectangle_rectangles; - pub const rectanglesLength = import.xcb_poly_rectangle_rectangles_length; - pub const rectanglesIterator = import.xcb_poly_rectangle_rectangles_iterator; -}; - -pub const PolyArcRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - drawable: Drawable = @enumFromInt(0), - gc: Gcontext = @enumFromInt(0), - - pub const arcs = import.xcb_poly_arc_arcs; - pub const arcsLength = import.xcb_poly_arc_arcs_length; - pub const arcsIterator = import.xcb_poly_arc_arcs_iterator; -}; - pub const PolyShape = enum(c_uint) { COMPLEX = 0, NONCONVEX = 1, @@ -3836,45 +3170,6 @@ pub const PolyShape = enum(c_uint) { _, }; -pub const FillPolyRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - drawable: Drawable = @enumFromInt(0), - gc: Gcontext = @enumFromInt(0), - shape: u8 = 0, - coordinate_mode: u8 = 0, - pad1: [2]u8 = @splat(0), - - pub const points = import.xcb_fill_poly_points; - pub const pointsLength = import.xcb_fill_poly_points_length; - pub const pointsIterator = import.xcb_fill_poly_points_iterator; -}; - -pub const PolyFillRectangleRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - drawable: Drawable = @enumFromInt(0), - gc: Gcontext = @enumFromInt(0), - - pub const rectangles = import.xcb_poly_fill_rectangle_rectangles; - pub const rectanglesLength = import.xcb_poly_fill_rectangle_rectangles_length; - pub const rectanglesIterator = import.xcb_poly_fill_rectangle_rectangles_iterator; -}; - -pub const PolyFillArcRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - drawable: Drawable = @enumFromInt(0), - gc: Gcontext = @enumFromInt(0), - - pub const arcs = import.xcb_poly_fill_arc_arcs; - pub const arcsLength = import.xcb_poly_fill_arc_arcs_length; - pub const arcsIterator = import.xcb_poly_fill_arc_arcs_iterator; -}; - pub const ImageFormat = enum(c_uint) { XY_BITMAP = 0, XY_PIXMAP = 1, @@ -3882,41 +3177,10 @@ pub const ImageFormat = enum(c_uint) { _, }; -pub const PutImageRequest = extern struct { - major_opcode: u8 = 0, - format: u8 = 0, - length: u16 = 0, - drawable: Drawable = @enumFromInt(0), - gc: Gcontext = @enumFromInt(0), - width: u16 = 0, - height: u16 = 0, - dst_x: i16 = 0, - dst_y: i16 = 0, - left_pad: u8 = 0, - depth: u8 = 0, - pad0: [2]u8 = @splat(0), - - pub const data = import.xcb_put_image_data; - pub const dataLength = import.xcb_put_image_data_length; - pub const dataEnd = import.xcb_put_image_data_end; -}; - pub const GetImageCookie = extern struct { sequence: c_uint = 0, }; -pub const GetImageRequest = extern struct { - major_opcode: u8 = 0, - format: u8 = 0, - length: u16 = 0, - drawable: Drawable = @enumFromInt(0), - x: i16 = 0, - y: i16 = 0, - width: u16 = 0, - height: u16 = 0, - plane_mask: u32 = 0, -}; - pub const GetImageReply = extern struct { response_type: u8 = 0, depth: u8 = 0, @@ -3930,117 +3194,16 @@ pub const GetImageReply = extern struct { pub const dataEnd = import.xcb_get_image_data_end; }; -pub const PolyText8Request = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - drawable: Drawable = @enumFromInt(0), - gc: Gcontext = @enumFromInt(0), - x: i16 = 0, - y: i16 = 0, - - pub const items = import.xcb_poly_text_8_items; - pub const itemsLength = import.xcb_poly_text_8_items_length; - pub const itemsEnd = import.xcb_poly_text_8_items_end; -}; - -pub const PolyText16Request = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - drawable: Drawable = @enumFromInt(0), - gc: Gcontext = @enumFromInt(0), - x: i16 = 0, - y: i16 = 0, - - pub const items = import.xcb_poly_text_16_items; - pub const itemsLength = import.xcb_poly_text_16_items_length; - pub const itemsEnd = import.xcb_poly_text_16_items_end; -}; - -pub const ImageText8Request = extern struct { - major_opcode: u8 = 0, - string_len: u8 = 0, - length: u16 = 0, - drawable: Drawable = @enumFromInt(0), - gc: Gcontext = @enumFromInt(0), - x: i16 = 0, - y: i16 = 0, - - pub const string = import.xcb_image_text_8_string; - pub const stringLength = import.xcb_image_text_8_string_length; - pub const stringEnd = import.xcb_image_text_8_string_end; -}; - -pub const ImageText16Request = extern struct { - major_opcode: u8 = 0, - string_len: u8 = 0, - length: u16 = 0, - drawable: Drawable = @enumFromInt(0), - gc: Gcontext = @enumFromInt(0), - x: i16 = 0, - y: i16 = 0, - - pub const string = import.xcb_image_text_16_string; - pub const stringLength = import.xcb_image_text_16_string_length; - pub const stringIterator = import.xcb_image_text_16_string_iterator; -}; - pub const ColormapAlloc = enum(c_uint) { NONE = 0, ALL = 1, _, }; -pub const CreateColormapRequest = extern struct { - major_opcode: u8 = 0, - alloc: u8 = 0, - length: u16 = 0, - mid: Colormap = .NONE, - window: Window = .NONE, - visual: Visualid = @enumFromInt(0), -}; - -pub const FreeColormapRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - cmap: Colormap = .NONE, -}; - -pub const CopyColormapAndFreeRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - mid: Colormap = .NONE, - src_cmap: Colormap = .NONE, -}; - -pub const InstallColormapRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - cmap: Colormap = .NONE, -}; - -pub const UninstallColormapRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - cmap: Colormap = .NONE, -}; - pub const ListInstalledColormapsCookie = extern struct { sequence: c_uint = 0, }; -pub const ListInstalledColormapsRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - window: Window = .NONE, -}; - pub const ListInstalledColormapsReply = extern struct { response_type: u8 = 0, pad0: u8 = 0, @@ -4058,17 +3221,6 @@ pub const AllocColorCookie = extern struct { sequence: c_uint = 0, }; -pub const AllocColorRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - cmap: Colormap = .NONE, - red: u16 = 0, - green: u16 = 0, - blue: u16 = 0, - pad1: [2]u8 = @splat(0), -}; - pub const AllocColorReply = extern struct { response_type: u8 = 0, pad0: u8 = 0, @@ -4085,15 +3237,6 @@ pub const AllocNamedColorCookie = extern struct { sequence: c_uint = 0, }; -pub const AllocNamedColorRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - cmap: Colormap = .NONE, - name_len: u16 = 0, - pad1: [2]u8 = @splat(0), -}; - pub const AllocNamedColorReply = extern struct { response_type: u8 = 0, pad0: u8 = 0, @@ -4112,15 +3255,6 @@ pub const AllocColorCellsCookie = extern struct { sequence: c_uint = 0, }; -pub const AllocColorCellsRequest = extern struct { - major_opcode: u8 = 0, - contiguous: u8 = 0, - length: u16 = 0, - cmap: Colormap = .NONE, - colors: u16 = 0, - planes: u16 = 0, -}; - pub const AllocColorCellsReply = extern struct { response_type: u8 = 0, pad0: u8 = 0, @@ -4142,17 +3276,6 @@ pub const AllocColorPlanesCookie = extern struct { sequence: c_uint = 0, }; -pub const AllocColorPlanesRequest = extern struct { - major_opcode: u8 = 0, - contiguous: u8 = 0, - length: u16 = 0, - cmap: Colormap = .NONE, - colors: u16 = 0, - reds: u16 = 0, - greens: u16 = 0, - blues: u16 = 0, -}; - pub const AllocColorPlanesReply = extern struct { response_type: u8 = 0, pad0: u8 = 0, @@ -4170,18 +3293,6 @@ pub const AllocColorPlanesReply = extern struct { pub const pixelsEnd = import.xcb_alloc_color_planes_pixels_end; }; -pub const FreeColorsRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - cmap: Colormap = .NONE, - plane_mask: u32 = 0, - - pub const pixels = import.xcb_free_colors_pixels; - pub const pixelsLength = import.xcb_free_colors_pixels_length; - pub const pixelsEnd = import.xcb_free_colors_pixels_end; -}; - pub const ColorFlag = packed struct(c_uint) { RED: bool = false, GREEN: bool = false, @@ -4207,31 +3318,6 @@ pub const ColoritemIterator = extern struct { pub const end = import.xcb_coloritem_end; }; -pub const StoreColorsRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - cmap: Colormap = .NONE, - - pub const items = import.xcb_store_colors_items; - pub const itemsLength = import.xcb_store_colors_items_length; - pub const itemsIterator = import.xcb_store_colors_items_iterator; -}; - -pub const StoreNamedColorRequest = extern struct { - major_opcode: u8 = 0, - flags: u8 = 0, - length: u16 = 0, - cmap: Colormap = .NONE, - pixel: u32 = 0, - name_len: u16 = 0, - pad0: [2]u8 = @splat(0), - - pub const name = import.xcb_store_named_color_name; - pub const nameLength = import.xcb_store_named_color_name_length; - pub const nameEnd = import.xcb_store_named_color_name_end; -}; - pub const Rgb = extern struct { red: u16 = 0, green: u16 = 0, @@ -4252,13 +3338,6 @@ pub const QueryColorsCookie = extern struct { sequence: c_uint = 0, }; -pub const QueryColorsRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - cmap: Colormap = .NONE, -}; - pub const QueryColorsReply = extern struct { response_type: u8 = 0, pad0: u8 = 0, @@ -4276,15 +3355,6 @@ pub const LookupColorCookie = extern struct { sequence: c_uint = 0, }; -pub const LookupColorRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - cmap: Colormap = .NONE, - name_len: u16 = 0, - pad1: [2]u8 = @splat(0), -}; - pub const LookupColorReply = extern struct { response_type: u8 = 0, pad0: u8 = 0, @@ -4298,60 +3368,6 @@ pub const LookupColorReply = extern struct { visual_blue: u16 = 0, }; -pub const CreateCursorRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - cid: Cursor = .NONE, - source: Pixmap = .NONE, - mask: Pixmap = .NONE, - fore_red: u16 = 0, - fore_green: u16 = 0, - fore_blue: u16 = 0, - back_red: u16 = 0, - back_green: u16 = 0, - back_blue: u16 = 0, - x: u16 = 0, - y: u16 = 0, -}; - -pub const CreateGlyphCursorRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - cid: Cursor = .NONE, - source_font: Font = .NONE, - mask_font: Font = .NONE, - source_char: u16 = 0, - mask_char: u16 = 0, - fore_red: u16 = 0, - fore_green: u16 = 0, - fore_blue: u16 = 0, - back_red: u16 = 0, - back_green: u16 = 0, - back_blue: u16 = 0, -}; - -pub const FreeCursorRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - cursor: Cursor = .NONE, -}; - -pub const RecolorCursorRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - cursor: Cursor = .NONE, - fore_red: u16 = 0, - fore_green: u16 = 0, - fore_blue: u16 = 0, - back_red: u16 = 0, - back_green: u16 = 0, - back_blue: u16 = 0, -}; - pub const QueryShapeOf = enum(c_uint) { LARGEST_CURSOR = 0, FASTEST_TILE = 1, @@ -4363,15 +3379,6 @@ pub const QueryBestSizeCookie = extern struct { sequence: c_uint = 0, }; -pub const QueryBestSizeRequest = extern struct { - major_opcode: u8 = 0, - _class: u8 = 0, - length: u16 = 0, - drawable: Drawable = @enumFromInt(0), - width: u16 = 0, - height: u16 = 0, -}; - pub const QueryBestSizeReply = extern struct { response_type: u8 = 0, pad0: u8 = 0, @@ -4385,14 +3392,6 @@ pub const QueryExtensionCookie = extern struct { sequence: c_uint = 0, }; -pub const QueryExtensionRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - name_len: u16 = 0, - pad1: [2]u8 = @splat(0), -}; - pub const QueryExtensionReply = extern struct { response_type: u8 = 0, pad0: u8 = 0, @@ -4408,12 +3407,6 @@ pub const ListExtensionsCookie = extern struct { sequence: c_uint = 0, }; -pub const ListExtensionsRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, -}; - pub const ListExtensionsReply = extern struct { response_type: u8 = 0, names_len: u8 = 0, @@ -4425,31 +3418,10 @@ pub const ListExtensionsReply = extern struct { pub const namesIterator = import.xcb_list_extensions_names_iterator; }; -pub const ChangeKeyboardMappingRequest = extern struct { - major_opcode: u8 = 0, - keycode_count: u8 = 0, - length: u16 = 0, - first_keycode: Keycode = @enumFromInt(0), - keysyms_per_keycode: u8 = 0, - pad0: [2]u8 = @splat(0), - - pub const keysyms = import.xcb_change_keyboard_mapping_keysyms; - pub const keysymsLength = import.xcb_change_keyboard_mapping_keysyms_length; - pub const keysymsEnd = import.xcb_change_keyboard_mapping_keysyms_end; -}; - pub const GetKeyboardMappingCookie = extern struct { sequence: c_uint = 0, }; -pub const GetKeyboardMappingRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - first_keycode: Keycode = @enumFromInt(0), - count: u8 = 0, -}; - pub const GetKeyboardMappingReply = extern struct { response_type: u8 = 0, keysyms_per_keycode: u8 = 0, @@ -4498,25 +3470,10 @@ pub const ChangeKeyboardControlValueList = extern struct { auto_repeat_mode: u32 = 0, }; -pub const ChangeKeyboardControlRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - value_mask: u32 = 0, - - pub const valueList = import.xcb_change_keyboard_control_value_list; -}; - pub const GetKeyboardControlCookie = extern struct { sequence: c_uint = 0, }; -pub const GetKeyboardControlRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, -}; - pub const GetKeyboardControlReply = extern struct { response_type: u8 = 0, global_auto_repeat: u8 = 0, @@ -4531,33 +3488,10 @@ pub const GetKeyboardControlReply = extern struct { auto_repeats: [32]u8 = @splat(0), }; -pub const BellRequest = extern struct { - major_opcode: u8 = 0, - percent: i8 = 0, - length: u16 = 0, -}; - -pub const ChangePointerControlRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - acceleration_numerator: i16 = 0, - acceleration_denominator: i16 = 0, - threshold: i16 = 0, - do_acceleration: u8 = 0, - do_threshold: u8 = 0, -}; - pub const GetPointerControlCookie = extern struct { sequence: c_uint = 0, }; -pub const GetPointerControlRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, -}; - pub const GetPointerControlReply = extern struct { response_type: u8 = 0, pad0: u8 = 0, @@ -4583,26 +3517,10 @@ pub const Exposures = enum(c_uint) { _, }; -pub const SetScreenSaverRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - timeout: i16 = 0, - interval: i16 = 0, - prefer_blanking: u8 = 0, - allow_exposures: u8 = 0, -}; - pub const GetScreenSaverCookie = extern struct { sequence: c_uint = 0, }; -pub const GetScreenSaverRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, -}; - pub const GetScreenSaverReply = extern struct { response_type: u8 = 0, pad0: u8 = 0, @@ -4630,19 +3548,6 @@ pub const Family = enum(c_uint) { _, }; -pub const ChangeHostsRequest = extern struct { - major_opcode: u8 = 0, - mode: u8 = 0, - length: u16 = 0, - family: u8 = 0, - pad0: u8 = 0, - address_len: u16 = 0, - - pub const address = import.xcb_change_hosts_address; - pub const addressLength = import.xcb_change_hosts_address_length; - pub const addressEnd = import.xcb_change_hosts_address_end; -}; - pub const Host = extern struct { family: u8 = 0, pad0: u8 = 0, @@ -4666,12 +3571,6 @@ pub const ListHostsCookie = extern struct { sequence: c_uint = 0, }; -pub const ListHostsRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, -}; - pub const ListHostsReply = extern struct { response_type: u8 = 0, mode: u8 = 0, @@ -4690,12 +3589,6 @@ pub const AccessControl = enum(c_uint) { _, }; -pub const SetAccessControlRequest = extern struct { - major_opcode: u8 = 0, - mode: u8 = 0, - length: u16 = 0, -}; - pub const CloseDown = enum(c_uint) { DESTROY_ALL = 0, RETAIN_PERMANENT = 1, @@ -4703,46 +3596,14 @@ pub const CloseDown = enum(c_uint) { _, }; -pub const SetCloseDownModeRequest = extern struct { - major_opcode: u8 = 0, - mode: u8 = 0, - length: u16 = 0, -}; - pub const KILL_ALL_TEMPORARY = 0; -pub const KillClientRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - resource: u32 = 0, -}; - -pub const RotatePropertiesRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, - window: Window = .NONE, - atoms_len: u16 = 0, - delta: i16 = 0, - - pub const atoms = import.xcb_rotate_properties_atoms; - pub const atomsLength = import.xcb_rotate_properties_atoms_length; - pub const atomsEnd = import.xcb_rotate_properties_atoms_end; -}; - pub const ScreenSaver = enum(c_uint) { RESET = 0, ACTIVE = 1, _, }; -pub const ForceScreenSaverRequest = extern struct { - major_opcode: u8 = 0, - mode: u8 = 0, - length: u16 = 0, -}; - pub const MappingStatus = enum(c_uint) { SUCCESS = 0, BUSY = 1, @@ -4754,12 +3615,6 @@ pub const SetPointerMappingCookie = extern struct { sequence: c_uint = 0, }; -pub const SetPointerMappingRequest = extern struct { - major_opcode: u8 = 0, - map_len: u8 = 0, - length: u16 = 0, -}; - pub const SetPointerMappingReply = extern struct { response_type: u8 = 0, status: u8 = 0, @@ -4771,12 +3626,6 @@ pub const GetPointerMappingCookie = extern struct { sequence: c_uint = 0, }; -pub const GetPointerMappingRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, -}; - pub const GetPointerMappingReply = extern struct { response_type: u8 = 0, map_len: u8 = 0, @@ -4805,12 +3654,6 @@ pub const SetModifierMappingCookie = extern struct { sequence: c_uint = 0, }; -pub const SetModifierMappingRequest = extern struct { - major_opcode: u8 = 0, - keycodes_per_modifier: u8 = 0, - length: u16 = 0, -}; - pub const SetModifierMappingReply = extern struct { response_type: u8 = 0, status: u8 = 0, @@ -4822,12 +3665,6 @@ pub const GetModifierMappingCookie = extern struct { sequence: c_uint = 0, }; -pub const GetModifierMappingRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, -}; - pub const GetModifierMappingReply = extern struct { response_type: u8 = 0, keycodes_per_modifier: u8 = 0, @@ -4840,12 +3677,6 @@ pub const GetModifierMappingReply = extern struct { pub const keycodesEnd = import.xcb_get_modifier_mapping_keycodes_end; }; -pub const NoOperationRequest = extern struct { - major_opcode: u8 = 0, - pad0: u8 = 0, - length: u16 = 0, -}; - pub const AuthInfo = extern struct { namelen: c_int = 0, name: [*c]u8 = null, @@ -5092,39 +3923,25 @@ pub const import = struct { pub extern fn xcb_format_end(i: FormatIterator) GenericIterator; pub extern fn xcb_visualtype_next(i: *VisualtypeIterator) void; pub extern fn xcb_visualtype_end(i: VisualtypeIterator) GenericIterator; - pub extern fn xcb_depth_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_depth_visuals(R: *const Depth) [*c]Visualtype; pub extern fn xcb_depth_visuals_length(R: *const Depth) c_int; pub extern fn xcb_depth_visuals_iterator(R: *const Depth) VisualtypeIterator; pub extern fn xcb_depth_next(i: *DepthIterator) void; pub extern fn xcb_depth_end(i: DepthIterator) GenericIterator; - pub extern fn xcb_screen_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_screen_allowed_depths_length(R: *const Screen) c_int; pub extern fn xcb_screen_allowed_depths_iterator(R: *const Screen) DepthIterator; pub extern fn xcb_screen_next(i: *ScreenIterator) void; pub extern fn xcb_screen_end(i: ScreenIterator) GenericIterator; - pub extern fn xcb_setup_request_sizeof(_buffer: ?*const anyopaque) c_int; - pub extern fn xcb_setup_request_authorization_protocol_name(R: *const SetupRequest) [*c]u8; - pub extern fn xcb_setup_request_authorization_protocol_name_length(R: *const SetupRequest) c_int; - pub extern fn xcb_setup_request_authorization_protocol_name_end(R: *const SetupRequest) GenericIterator; - pub extern fn xcb_setup_request_authorization_protocol_data(R: *const SetupRequest) [*c]u8; - pub extern fn xcb_setup_request_authorization_protocol_data_length(R: *const SetupRequest) c_int; - pub extern fn xcb_setup_request_authorization_protocol_data_end(R: *const SetupRequest) GenericIterator; - pub extern fn xcb_setup_request_next(i: *SetupRequestIterator) void; - pub extern fn xcb_setup_request_end(i: SetupRequestIterator) GenericIterator; - pub extern fn xcb_setup_failed_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_setup_failed_reason(R: *const SetupFailed) [*c]u8; pub extern fn xcb_setup_failed_reason_length(R: *const SetupFailed) c_int; pub extern fn xcb_setup_failed_reason_end(R: *const SetupFailed) GenericIterator; pub extern fn xcb_setup_failed_next(i: *SetupFailedIterator) void; pub extern fn xcb_setup_failed_end(i: SetupFailedIterator) GenericIterator; - pub extern fn xcb_setup_authenticate_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_setup_authenticate_reason(R: *const SetupAuthenticate) [*c]u8; pub extern fn xcb_setup_authenticate_reason_length(R: *const SetupAuthenticate) c_int; pub extern fn xcb_setup_authenticate_reason_end(R: *const SetupAuthenticate) GenericIterator; pub extern fn xcb_setup_authenticate_next(i: *SetupAuthenticateIterator) void; pub extern fn xcb_setup_authenticate_end(i: SetupAuthenticateIterator) GenericIterator; - pub extern fn xcb_setup_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_setup_vendor(R: *const Setup) [*c]u8; pub extern fn xcb_setup_vendor_length(R: *const Setup) c_int; pub extern fn xcb_setup_vendor_end(R: *const Setup) GenericIterator; @@ -5137,24 +3954,14 @@ pub const import = struct { pub extern fn xcb_setup_end(i: SetupIterator) GenericIterator; pub extern fn xcb_client_message_data_next(i: *ClientMessageDataIterator) void; pub extern fn xcb_client_message_data_end(i: ClientMessageDataIterator) GenericIterator; - pub extern fn xcb_create_window_value_list_serialize(_buffer: [*c]?*anyopaque, value_mask: u32, _aux: [*c]const CreateWindowValueList) c_int; - pub extern fn xcb_create_window_value_list_unpack(_buffer: ?*const anyopaque, value_mask: u32, _aux: [*c]CreateWindowValueList) c_int; - pub extern fn xcb_create_window_value_list_sizeof(_buffer: ?*const anyopaque, value_mask: u32) c_int; - pub extern fn xcb_create_window_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_create_window_checked(c: *Connection, depth: u8, wid: Window, parent: Window, x: i16, y: i16, width: u16, height: u16, border_width: u16, _class: WindowClass, visual: Visualid, value_mask: Cw, value_list: ?*const anyopaque) VoidCookie; pub extern fn xcb_create_window(c: *Connection, depth: u8, wid: Window, parent: Window, x: i16, y: i16, width: u16, height: u16, border_width: u16, _class: WindowClass, visual: Visualid, value_mask: Cw, value_list: ?*const anyopaque) VoidCookie; pub extern fn xcb_create_window_aux_checked(c: *Connection, depth: u8, wid: Window, parent: Window, x: i16, y: i16, width: u16, height: u16, border_width: u16, _class: WindowClass, visual: Visualid, value_mask: Cw, value_list: *const CreateWindowValueList) VoidCookie; pub extern fn xcb_create_window_aux(c: *Connection, depth: u8, wid: Window, parent: Window, x: i16, y: i16, width: u16, height: u16, border_width: u16, _class: WindowClass, visual: Visualid, value_mask: Cw, value_list: *const CreateWindowValueList) VoidCookie; - pub extern fn xcb_create_window_value_list(R: *const CreateWindowRequest) ?*anyopaque; - pub extern fn xcb_change_window_attributes_value_list_serialize(_buffer: [*c]?*anyopaque, value_mask: u32, _aux: [*c]const ChangeWindowAttributesValueList) c_int; - pub extern fn xcb_change_window_attributes_value_list_unpack(_buffer: ?*const anyopaque, value_mask: u32, _aux: [*c]ChangeWindowAttributesValueList) c_int; - pub extern fn xcb_change_window_attributes_value_list_sizeof(_buffer: ?*const anyopaque, value_mask: u32) c_int; - pub extern fn xcb_change_window_attributes_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_change_window_attributes_checked(c: *Connection, window: Window, value_mask: u32, value_list: ?*const anyopaque) VoidCookie; pub extern fn xcb_change_window_attributes(c: *Connection, window: Window, value_mask: u32, value_list: ?*const anyopaque) VoidCookie; pub extern fn xcb_change_window_attributes_aux_checked(c: *Connection, window: Window, value_mask: u32, value_list: [*c]const ChangeWindowAttributesValueList) VoidCookie; pub extern fn xcb_change_window_attributes_aux(c: *Connection, window: Window, value_mask: u32, value_list: [*c]const ChangeWindowAttributesValueList) VoidCookie; - pub extern fn xcb_change_window_attributes_value_list(R: *const ChangeWindowAttributesRequest) ?*anyopaque; pub extern fn xcb_get_window_attributes(c: *Connection, window: Window) GetWindowAttributesCookie; pub extern fn xcb_get_window_attributes_unchecked(c: *Connection, window: Window) GetWindowAttributesCookie; pub extern fn xcb_get_window_attributes_reply(c: *Connection, cookie: GetWindowAttributesCookie, e: ?*?*GenericError) ?*GetWindowAttributesReply; @@ -5174,54 +3981,40 @@ pub const import = struct { pub extern fn xcb_unmap_window(c: *Connection, window: Window) VoidCookie; pub extern fn xcb_unmap_subwindows_checked(c: *Connection, window: Window) VoidCookie; pub extern fn xcb_unmap_subwindows(c: *Connection, window: Window) VoidCookie; - pub extern fn xcb_configure_window_value_list_serialize(_buffer: [*c]?*anyopaque, value_mask: u16, _aux: [*c]const ConfigureWindowValueList) c_int; - pub extern fn xcb_configure_window_value_list_unpack(_buffer: ?*const anyopaque, value_mask: u16, _aux: [*c]ConfigureWindowValueList) c_int; - pub extern fn xcb_configure_window_value_list_sizeof(_buffer: ?*const anyopaque, value_mask: u16) c_int; - pub extern fn xcb_configure_window_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_configure_window_checked(c: *Connection, window: Window, value_mask: u16, value_list: ?*const anyopaque) VoidCookie; pub extern fn xcb_configure_window(c: *Connection, window: Window, value_mask: u16, value_list: ?*const anyopaque) VoidCookie; pub extern fn xcb_configure_window_aux_checked(c: *Connection, window: Window, value_mask: u16, value_list: [*c]const ConfigureWindowValueList) VoidCookie; pub extern fn xcb_configure_window_aux(c: *Connection, window: Window, value_mask: u16, value_list: [*c]const ConfigureWindowValueList) VoidCookie; - pub extern fn xcb_configure_window_value_list(R: *const ConfigureWindowRequest) ?*anyopaque; pub extern fn xcb_circulate_window_checked(c: *Connection, direction: u8, window: Window) VoidCookie; pub extern fn xcb_circulate_window(c: *Connection, direction: u8, window: Window) VoidCookie; pub extern fn xcb_get_geometry(c: *Connection, drawable: Drawable) GetGeometryCookie; pub extern fn xcb_get_geometry_unchecked(c: *Connection, drawable: Drawable) GetGeometryCookie; pub extern fn xcb_get_geometry_reply(c: *Connection, cookie: GetGeometryCookie, e: ?*?*GenericError) ?*GetGeometryReply; - pub extern fn xcb_query_tree_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_query_tree(c: *Connection, window: Window) QueryTreeCookie; pub extern fn xcb_query_tree_unchecked(c: *Connection, window: Window) QueryTreeCookie; pub extern fn xcb_query_tree_children(R: *const QueryTreeReply) [*c]Window; pub extern fn xcb_query_tree_children_length(R: *const QueryTreeReply) c_int; pub extern fn xcb_query_tree_children_end(R: *const QueryTreeReply) GenericIterator; pub extern fn xcb_query_tree_reply(c: *Connection, cookie: QueryTreeCookie, e: ?*?*GenericError) ?*QueryTreeReply; - pub extern fn xcb_intern_atom_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_intern_atom(c: *Connection, only_if_exists: u8, name_len: u16, name: [*]const u8) InternAtomCookie; pub extern fn xcb_intern_atom_unchecked(c: *Connection, only_if_exists: u8, name_len: u16, name: [*]const u8) InternAtomCookie; pub extern fn xcb_intern_atom_reply(c: *Connection, cookie: InternAtomCookie, e: ?*?*GenericError) ?*InternAtomReply; - pub extern fn xcb_get_atom_name_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_get_atom_name(c: *Connection, atom: Atom) GetAtomNameCookie; pub extern fn xcb_get_atom_name_unchecked(c: *Connection, atom: Atom) GetAtomNameCookie; pub extern fn xcb_get_atom_name_name(R: *const GetAtomNameReply) [*c]u8; pub extern fn xcb_get_atom_name_name_length(R: *const GetAtomNameReply) c_int; pub extern fn xcb_get_atom_name_name_end(R: *const GetAtomNameReply) GenericIterator; pub extern fn xcb_get_atom_name_reply(c: *Connection, cookie: GetAtomNameCookie, e: ?*?*GenericError) ?*GetAtomNameReply; - pub extern fn xcb_change_property_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_change_property_checked(c: *Connection, mode: PropMode, window: Window, property: Atom, @"type": Atom, format: u8, data_len: u32, data: ?*const anyopaque) VoidCookie; pub extern fn xcb_change_property(c: *Connection, mode: PropMode, window: Window, property: Atom, @"type": Atom, format: u8, data_len: u32, data: ?*const anyopaque) VoidCookie; - pub extern fn xcb_change_property_data(R: *const ChangePropertyRequest) ?*anyopaque; - pub extern fn xcb_change_property_data_length(R: *const ChangePropertyRequest) c_int; - pub extern fn xcb_change_property_data_end(R: *const ChangePropertyRequest) GenericIterator; pub extern fn xcb_delete_property_checked(c: *Connection, window: Window, property: Atom) VoidCookie; pub extern fn xcb_delete_property(c: *Connection, window: Window, property: Atom) VoidCookie; - pub extern fn xcb_get_property_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_get_property(c: *Connection, _delete: u8, window: Window, property: Atom, @"type": Atom, long_offset: u32, long_length: u32) GetPropertyCookie; pub extern fn xcb_get_property_unchecked(c: *Connection, _delete: u8, window: Window, property: Atom, @"type": Atom, long_offset: u32, long_length: u32) GetPropertyCookie; pub extern fn xcb_get_property_value(R: *const GetPropertyReply) ?*anyopaque; pub extern fn xcb_get_property_value_length(R: *const GetPropertyReply) c_int; pub extern fn xcb_get_property_value_end(R: *const GetPropertyReply) GenericIterator; pub extern fn xcb_get_property_reply(c: *Connection, cookie: GetPropertyCookie, e: ?*?*GenericError) ?*GetPropertyReply; - pub extern fn xcb_list_properties_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_list_properties(c: *Connection, window: Window) ListPropertiesCookie; pub extern fn xcb_list_properties_unchecked(c: *Connection, window: Window) ListPropertiesCookie; pub extern fn xcb_list_properties_atoms(R: *const ListPropertiesReply) [*c]Atom; @@ -5268,7 +4061,6 @@ pub const import = struct { pub extern fn xcb_query_pointer_reply(c: *Connection, cookie: QueryPointerCookie, e: ?*?*GenericError) ?*QueryPointerReply; pub extern fn xcb_timecoord_next(i: *TimecoordIterator) void; pub extern fn xcb_timecoord_end(i: TimecoordIterator) GenericIterator; - pub extern fn xcb_get_motion_events_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_get_motion_events(c: *Connection, window: Window, start: Timestamp, stop: Timestamp) GetMotionEventsCookie; pub extern fn xcb_get_motion_events_unchecked(c: *Connection, window: Window, start: Timestamp, stop: Timestamp) GetMotionEventsCookie; pub extern fn xcb_get_motion_events_events(R: *const GetMotionEventsReply) [*c]Timecoord; @@ -5288,19 +4080,14 @@ pub const import = struct { pub extern fn xcb_query_keymap(c: *Connection) QueryKeymapCookie; pub extern fn xcb_query_keymap_unchecked(c: *Connection) QueryKeymapCookie; pub extern fn xcb_query_keymap_reply(c: *Connection, cookie: QueryKeymapCookie, e: ?*?*GenericError) ?*QueryKeymapReply; - pub extern fn xcb_open_font_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_open_font_checked(c: *Connection, fid: Font, name_len: u16, name: [*c]const u8) VoidCookie; pub extern fn xcb_open_font(c: *Connection, fid: Font, name_len: u16, name: [*c]const u8) VoidCookie; - pub extern fn xcb_open_font_name(R: *const OpenFontRequest) [*c]u8; - pub extern fn xcb_open_font_name_length(R: *const OpenFontRequest) c_int; - pub extern fn xcb_open_font_name_end(R: *const OpenFontRequest) GenericIterator; pub extern fn xcb_close_font_checked(c: *Connection, font: Font) VoidCookie; pub extern fn xcb_close_font(c: *Connection, font: Font) VoidCookie; pub extern fn xcb_fontprop_next(i: *FontpropIterator) void; pub extern fn xcb_fontprop_end(i: FontpropIterator) GenericIterator; pub extern fn xcb_charinfo_next(i: *CharinfoIterator) void; pub extern fn xcb_charinfo_end(i: CharinfoIterator) GenericIterator; - pub extern fn xcb_query_font_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_query_font(c: *Connection, font: Fontable) QueryFontCookie; pub extern fn xcb_query_font_unchecked(c: *Connection, font: Fontable) QueryFontCookie; pub extern fn xcb_query_font_properties(R: *const QueryFontReply) [*c]Fontprop; @@ -5310,23 +4097,19 @@ pub const import = struct { pub extern fn xcb_query_font_char_infos_length(R: *const QueryFontReply) c_int; pub extern fn xcb_query_font_char_infos_iterator(R: *const QueryFontReply) CharinfoIterator; pub extern fn xcb_query_font_reply(c: *Connection, cookie: QueryFontCookie, e: ?*?*GenericError) ?*QueryFontReply; - pub extern fn xcb_query_text_extents_sizeof(_buffer: ?*const anyopaque, string_len: u32) c_int; pub extern fn xcb_query_text_extents(c: *Connection, font: Fontable, string_len: u32, string: [*c]const Char2B) QueryTextExtentsCookie; pub extern fn xcb_query_text_extents_unchecked(c: *Connection, font: Fontable, string_len: u32, string: [*c]const Char2B) QueryTextExtentsCookie; pub extern fn xcb_query_text_extents_reply(c: *Connection, cookie: QueryTextExtentsCookie, e: ?*?*GenericError) ?*QueryTextExtentsReply; - pub extern fn xcb_str_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_str_name(R: *const Str) [*c]u8; pub extern fn xcb_str_name_length(R: *const Str) c_int; pub extern fn xcb_str_name_end(R: *const Str) GenericIterator; pub extern fn xcb_str_next(i: *StrIterator) void; pub extern fn xcb_str_end(i: StrIterator) GenericIterator; - pub extern fn xcb_list_fonts_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_list_fonts(c: *Connection, max_names: u16, pattern_len: u16, pattern: [*c]const u8) ListFontsCookie; pub extern fn xcb_list_fonts_unchecked(c: *Connection, max_names: u16, pattern_len: u16, pattern: [*c]const u8) ListFontsCookie; pub extern fn xcb_list_fonts_names_length(R: *const ListFontsReply) c_int; pub extern fn xcb_list_fonts_names_iterator(R: *const ListFontsReply) StrIterator; pub extern fn xcb_list_fonts_reply(c: *Connection, cookie: ListFontsCookie, e: ?*?*GenericError) ?*ListFontsReply; - pub extern fn xcb_list_fonts_with_info_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_list_fonts_with_info(c: *Connection, max_names: u16, pattern_len: u16, pattern: [*c]const u8) ListFontsWithInfoCookie; pub extern fn xcb_list_fonts_with_info_unchecked(c: *Connection, max_names: u16, pattern_len: u16, pattern: [*c]const u8) ListFontsWithInfoCookie; pub extern fn xcb_list_fonts_with_info_properties(R: *const ListFontsWithInfoReply) [*c]Fontprop; @@ -5336,12 +4119,8 @@ pub const import = struct { pub extern fn xcb_list_fonts_with_info_name_length(R: *const ListFontsWithInfoReply) c_int; pub extern fn xcb_list_fonts_with_info_name_end(R: *const ListFontsWithInfoReply) GenericIterator; pub extern fn xcb_list_fonts_with_info_reply(c: *Connection, cookie: ListFontsWithInfoCookie, e: ?*?*GenericError) ?*ListFontsWithInfoReply; - pub extern fn xcb_set_font_path_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_set_font_path_checked(c: *Connection, font_qty: u16, font: [*c]const Str) VoidCookie; pub extern fn xcb_set_font_path(c: *Connection, font_qty: u16, font: [*c]const Str) VoidCookie; - pub extern fn xcb_set_font_path_font_length(R: *const SetFontPathRequest) c_int; - pub extern fn xcb_set_font_path_font_iterator(R: *const SetFontPathRequest) StrIterator; - pub extern fn xcb_get_font_path_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_get_font_path(c: *Connection) GetFontPathCookie; pub extern fn xcb_get_font_path_unchecked(c: *Connection) GetFontPathCookie; pub extern fn xcb_get_font_path_path_length(R: *const GetFontPathReply) c_int; @@ -5351,38 +4130,20 @@ pub const import = struct { pub extern fn xcb_create_pixmap(c: *Connection, depth: u8, pid: Pixmap, drawable: Drawable, width: u16, height: u16) VoidCookie; pub extern fn xcb_free_pixmap_checked(c: *Connection, pixmap: Pixmap) VoidCookie; pub extern fn xcb_free_pixmap(c: *Connection, pixmap: Pixmap) VoidCookie; - pub extern fn xcb_create_gc_value_list_serialize(_buffer: [*c]?*anyopaque, value_mask: u32, _aux: [*c]const CreateGcValueList) c_int; - pub extern fn xcb_create_gc_value_list_unpack(_buffer: ?*const anyopaque, value_mask: u32, _aux: [*c]CreateGcValueList) c_int; - pub extern fn xcb_create_gc_value_list_sizeof(_buffer: ?*const anyopaque, value_mask: u32) c_int; - pub extern fn xcb_create_gc_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_create_gc_checked(c: *Connection, cid: Gcontext, drawable: Drawable, value_mask: u32, value_list: ?*const anyopaque) VoidCookie; pub extern fn xcb_create_gc(c: *Connection, cid: Gcontext, drawable: Drawable, value_mask: u32, value_list: ?*const anyopaque) VoidCookie; pub extern fn xcb_create_gc_aux_checked(c: *Connection, cid: Gcontext, drawable: Drawable, value_mask: u32, value_list: [*c]const CreateGcValueList) VoidCookie; pub extern fn xcb_create_gc_aux(c: *Connection, cid: Gcontext, drawable: Drawable, value_mask: u32, value_list: [*c]const CreateGcValueList) VoidCookie; - pub extern fn xcb_create_gc_value_list(R: *const CreateGcRequest) ?*anyopaque; - pub extern fn xcb_change_gc_value_list_serialize(_buffer: [*c]?*anyopaque, value_mask: u32, _aux: [*c]const ChangeGcValueList) c_int; - pub extern fn xcb_change_gc_value_list_unpack(_buffer: ?*const anyopaque, value_mask: u32, _aux: [*c]ChangeGcValueList) c_int; - pub extern fn xcb_change_gc_value_list_sizeof(_buffer: ?*const anyopaque, value_mask: u32) c_int; - pub extern fn xcb_change_gc_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_change_gc_checked(c: *Connection, gc: Gcontext, value_mask: u32, value_list: ?*const anyopaque) VoidCookie; pub extern fn xcb_change_gc(c: *Connection, gc: Gcontext, value_mask: u32, value_list: ?*const anyopaque) VoidCookie; pub extern fn xcb_change_gc_aux_checked(c: *Connection, gc: Gcontext, value_mask: u32, value_list: [*c]const ChangeGcValueList) VoidCookie; pub extern fn xcb_change_gc_aux(c: *Connection, gc: Gcontext, value_mask: u32, value_list: [*c]const ChangeGcValueList) VoidCookie; - pub extern fn xcb_change_gc_value_list(R: *const ChangeGcRequest) ?*anyopaque; pub extern fn xcb_copy_gc_checked(c: *Connection, src_gc: Gcontext, dst_gc: Gcontext, value_mask: u32) VoidCookie; pub extern fn xcb_copy_gc(c: *Connection, src_gc: Gcontext, dst_gc: Gcontext, value_mask: u32) VoidCookie; - pub extern fn xcb_set_dashes_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_set_dashes_checked(c: *Connection, gc: Gcontext, dash_offset: u16, dashes_len: u16, dashes: [*c]const u8) VoidCookie; pub extern fn xcb_set_dashes(c: *Connection, gc: Gcontext, dash_offset: u16, dashes_len: u16, dashes: [*c]const u8) VoidCookie; - pub extern fn xcb_set_dashes_dashes(R: *const SetDashesRequest) [*c]u8; - pub extern fn xcb_set_dashes_dashes_length(R: *const SetDashesRequest) c_int; - pub extern fn xcb_set_dashes_dashes_end(R: *const SetDashesRequest) GenericIterator; - pub extern fn xcb_set_clip_rectangles_sizeof(_buffer: ?*const anyopaque, rectangles_len: u32) c_int; pub extern fn xcb_set_clip_rectangles_checked(c: *Connection, ordering: u8, gc: Gcontext, clip_x_origin: i16, clip_y_origin: i16, rectangles_len: u32, rectangles: [*c]const Rectangle) VoidCookie; pub extern fn xcb_set_clip_rectangles(c: *Connection, ordering: u8, gc: Gcontext, clip_x_origin: i16, clip_y_origin: i16, rectangles_len: u32, rectangles: [*c]const Rectangle) VoidCookie; - pub extern fn xcb_set_clip_rectangles_rectangles(R: *const SetClipRectanglesRequest) [*c]Rectangle; - pub extern fn xcb_set_clip_rectangles_rectangles_length(R: *const SetClipRectanglesRequest) c_int; - pub extern fn xcb_set_clip_rectangles_rectangles_iterator(R: *const SetClipRectanglesRequest) RectangleIterator; pub extern fn xcb_free_gc_checked(c: *Connection, gc: Gcontext) VoidCookie; pub extern fn xcb_free_gc(c: *Connection, gc: Gcontext) VoidCookie; pub extern fn xcb_clear_area_checked(c: *Connection, exposures: u8, window: Window, x: i16, y: i16, width: u16, height: u16) VoidCookie; @@ -5391,93 +4152,40 @@ pub const import = struct { pub extern fn xcb_copy_area(c: *Connection, src_drawable: Drawable, dst_drawable: Drawable, gc: Gcontext, src_x: i16, src_y: i16, dst_x: i16, dst_y: i16, width: u16, height: u16) VoidCookie; pub extern fn xcb_copy_plane_checked(c: *Connection, src_drawable: Drawable, dst_drawable: Drawable, gc: Gcontext, src_x: i16, src_y: i16, dst_x: i16, dst_y: i16, width: u16, height: u16, bit_plane: u32) VoidCookie; pub extern fn xcb_copy_plane(c: *Connection, src_drawable: Drawable, dst_drawable: Drawable, gc: Gcontext, src_x: i16, src_y: i16, dst_x: i16, dst_y: i16, width: u16, height: u16, bit_plane: u32) VoidCookie; - pub extern fn xcb_poly_point_sizeof(_buffer: ?*const anyopaque, points_len: u32) c_int; pub extern fn xcb_poly_point_checked(c: *Connection, coordinate_mode: u8, drawable: Drawable, gc: Gcontext, points_len: u32, points: [*c]const Point) VoidCookie; pub extern fn xcb_poly_point(c: *Connection, coordinate_mode: u8, drawable: Drawable, gc: Gcontext, points_len: u32, points: [*c]const Point) VoidCookie; - pub extern fn xcb_poly_point_points(R: *const PolyPointRequest) [*c]Point; - pub extern fn xcb_poly_point_points_length(R: *const PolyPointRequest) c_int; - pub extern fn xcb_poly_point_points_iterator(R: *const PolyPointRequest) PointIterator; - pub extern fn xcb_poly_line_sizeof(_buffer: ?*const anyopaque, points_len: u32) c_int; pub extern fn xcb_poly_line_checked(c: *Connection, coordinate_mode: u8, drawable: Drawable, gc: Gcontext, points_len: u32, points: [*c]const Point) VoidCookie; pub extern fn xcb_poly_line(c: *Connection, coordinate_mode: u8, drawable: Drawable, gc: Gcontext, points_len: u32, points: [*c]const Point) VoidCookie; - pub extern fn xcb_poly_line_points(R: *const PolyLineRequest) [*c]Point; - pub extern fn xcb_poly_line_points_length(R: *const PolyLineRequest) c_int; - pub extern fn xcb_poly_line_points_iterator(R: *const PolyLineRequest) PointIterator; pub extern fn xcb_segment_next(i: *SegmentIterator) void; pub extern fn xcb_segment_end(i: SegmentIterator) GenericIterator; - pub extern fn xcb_poly_segment_sizeof(_buffer: ?*const anyopaque, segments_len: u32) c_int; pub extern fn xcb_poly_segment_checked(c: *Connection, drawable: Drawable, gc: Gcontext, segments_len: u32, segments: [*c]const Segment) VoidCookie; pub extern fn xcb_poly_segment(c: *Connection, drawable: Drawable, gc: Gcontext, segments_len: u32, segments: [*c]const Segment) VoidCookie; - pub extern fn xcb_poly_segment_segments(R: *const PolySegmentRequest) [*c]Segment; - pub extern fn xcb_poly_segment_segments_length(R: *const PolySegmentRequest) c_int; - pub extern fn xcb_poly_segment_segments_iterator(R: *const PolySegmentRequest) SegmentIterator; - pub extern fn xcb_poly_rectangle_sizeof(_buffer: ?*const anyopaque, rectangles_len: u32) c_int; pub extern fn xcb_poly_rectangle_checked(c: *Connection, drawable: Drawable, gc: Gcontext, rectangles_len: u32, rectangles: [*c]const Rectangle) VoidCookie; pub extern fn xcb_poly_rectangle(c: *Connection, drawable: Drawable, gc: Gcontext, rectangles_len: u32, rectangles: [*c]const Rectangle) VoidCookie; - pub extern fn xcb_poly_rectangle_rectangles(R: *const PolyRectangleRequest) [*c]Rectangle; - pub extern fn xcb_poly_rectangle_rectangles_length(R: *const PolyRectangleRequest) c_int; - pub extern fn xcb_poly_rectangle_rectangles_iterator(R: *const PolyRectangleRequest) RectangleIterator; - pub extern fn xcb_poly_arc_sizeof(_buffer: ?*const anyopaque, arcs_len: u32) c_int; pub extern fn xcb_poly_arc_checked(c: *Connection, drawable: Drawable, gc: Gcontext, arcs_len: u32, arcs: [*c]const Arc) VoidCookie; pub extern fn xcb_poly_arc(c: *Connection, drawable: Drawable, gc: Gcontext, arcs_len: u32, arcs: [*c]const Arc) VoidCookie; - pub extern fn xcb_poly_arc_arcs(R: *const PolyArcRequest) [*c]Arc; - pub extern fn xcb_poly_arc_arcs_length(R: *const PolyArcRequest) c_int; - pub extern fn xcb_poly_arc_arcs_iterator(R: *const PolyArcRequest) ArcIterator; - pub extern fn xcb_fill_poly_sizeof(_buffer: ?*const anyopaque, points_len: u32) c_int; pub extern fn xcb_fill_poly_checked(c: *Connection, drawable: Drawable, gc: Gcontext, shape: u8, coordinate_mode: u8, points_len: u32, points: [*c]const Point) VoidCookie; pub extern fn xcb_fill_poly(c: *Connection, drawable: Drawable, gc: Gcontext, shape: u8, coordinate_mode: u8, points_len: u32, points: [*c]const Point) VoidCookie; - pub extern fn xcb_fill_poly_points(R: *const FillPolyRequest) [*c]Point; - pub extern fn xcb_fill_poly_points_length(R: *const FillPolyRequest) c_int; - pub extern fn xcb_fill_poly_points_iterator(R: *const FillPolyRequest) PointIterator; - pub extern fn xcb_poly_fill_rectangle_sizeof(_buffer: ?*const anyopaque, rectangles_len: u32) c_int; pub extern fn xcb_poly_fill_rectangle_checked(c: *Connection, drawable: Drawable, gc: Gcontext, rectangles_len: u32, rectangles: [*c]const Rectangle) VoidCookie; pub extern fn xcb_poly_fill_rectangle(c: *Connection, drawable: Drawable, gc: Gcontext, rectangles_len: u32, rectangles: [*c]const Rectangle) VoidCookie; - pub extern fn xcb_poly_fill_rectangle_rectangles(R: *const PolyFillRectangleRequest) [*c]Rectangle; - pub extern fn xcb_poly_fill_rectangle_rectangles_length(R: *const PolyFillRectangleRequest) c_int; - pub extern fn xcb_poly_fill_rectangle_rectangles_iterator(R: *const PolyFillRectangleRequest) RectangleIterator; - pub extern fn xcb_poly_fill_arc_sizeof(_buffer: ?*const anyopaque, arcs_len: u32) c_int; pub extern fn xcb_poly_fill_arc_checked(c: *Connection, drawable: Drawable, gc: Gcontext, arcs_len: u32, arcs: [*c]const Arc) VoidCookie; pub extern fn xcb_poly_fill_arc(c: *Connection, drawable: Drawable, gc: Gcontext, arcs_len: u32, arcs: [*c]const Arc) VoidCookie; - pub extern fn xcb_poly_fill_arc_arcs(R: *const PolyFillArcRequest) [*c]Arc; - pub extern fn xcb_poly_fill_arc_arcs_length(R: *const PolyFillArcRequest) c_int; - pub extern fn xcb_poly_fill_arc_arcs_iterator(R: *const PolyFillArcRequest) ArcIterator; - pub extern fn xcb_put_image_sizeof(_buffer: ?*const anyopaque, data_len: u32) c_int; pub extern fn xcb_put_image_checked(c: *Connection, format: u8, drawable: Drawable, gc: Gcontext, width: u16, height: u16, dst_x: i16, dst_y: i16, left_pad: u8, depth: u8, data_len: u32, data: [*c]const u8) VoidCookie; pub extern fn xcb_put_image(c: *Connection, format: u8, drawable: Drawable, gc: Gcontext, width: u16, height: u16, dst_x: i16, dst_y: i16, left_pad: u8, depth: u8, data_len: u32, data: [*c]const u8) VoidCookie; - pub extern fn xcb_put_image_data(R: *const PutImageRequest) [*c]u8; - pub extern fn xcb_put_image_data_length(R: *const PutImageRequest) c_int; - pub extern fn xcb_put_image_data_end(R: *const PutImageRequest) GenericIterator; - pub extern fn xcb_get_image_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_get_image(c: *Connection, format: u8, drawable: Drawable, x: i16, y: i16, width: u16, height: u16, plane_mask: u32) GetImageCookie; pub extern fn xcb_get_image_unchecked(c: *Connection, format: u8, drawable: Drawable, x: i16, y: i16, width: u16, height: u16, plane_mask: u32) GetImageCookie; pub extern fn xcb_get_image_data(R: *const GetImageReply) [*c]u8; pub extern fn xcb_get_image_data_length(R: *const GetImageReply) c_int; pub extern fn xcb_get_image_data_end(R: *const GetImageReply) GenericIterator; pub extern fn xcb_get_image_reply(c: *Connection, cookie: GetImageCookie, e: ?*?*GenericError) ?*GetImageReply; - pub extern fn xcb_poly_text_8_sizeof(_buffer: ?*const anyopaque, items_len: u32) c_int; pub extern fn xcb_poly_text_8_checked(c: *Connection, drawable: Drawable, gc: Gcontext, x: i16, y: i16, items_len: u32, items: [*c]const u8) VoidCookie; pub extern fn xcb_poly_text_8(c: *Connection, drawable: Drawable, gc: Gcontext, x: i16, y: i16, items_len: u32, items: [*c]const u8) VoidCookie; - pub extern fn xcb_poly_text_8_items(R: *const PolyText8Request) [*c]u8; - pub extern fn xcb_poly_text_8_items_length(R: *const PolyText8Request) c_int; - pub extern fn xcb_poly_text_8_items_end(R: *const PolyText8Request) GenericIterator; - pub extern fn xcb_poly_text_16_sizeof(_buffer: ?*const anyopaque, items_len: u32) c_int; pub extern fn xcb_poly_text_16_checked(c: *Connection, drawable: Drawable, gc: Gcontext, x: i16, y: i16, items_len: u32, items: [*c]const u8) VoidCookie; pub extern fn xcb_poly_text_16(c: *Connection, drawable: Drawable, gc: Gcontext, x: i16, y: i16, items_len: u32, items: [*c]const u8) VoidCookie; - pub extern fn xcb_poly_text_16_items(R: *const PolyText16Request) [*c]u8; - pub extern fn xcb_poly_text_16_items_length(R: *const PolyText16Request) c_int; - pub extern fn xcb_poly_text_16_items_end(R: *const PolyText16Request) GenericIterator; - pub extern fn xcb_image_text_8_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_image_text_8_checked(c: *Connection, string_len: u8, drawable: Drawable, gc: Gcontext, x: i16, y: i16, string: [*c]const u8) VoidCookie; pub extern fn xcb_image_text_8(c: *Connection, string_len: u8, drawable: Drawable, gc: Gcontext, x: i16, y: i16, string: [*c]const u8) VoidCookie; - pub extern fn xcb_image_text_8_string(R: *const ImageText8Request) [*c]u8; - pub extern fn xcb_image_text_8_string_length(R: *const ImageText8Request) c_int; - pub extern fn xcb_image_text_8_string_end(R: *const ImageText8Request) GenericIterator; - pub extern fn xcb_image_text_16_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_image_text_16_checked(c: *Connection, string_len: u8, drawable: Drawable, gc: Gcontext, x: i16, y: i16, string: [*c]const Char2B) VoidCookie; pub extern fn xcb_image_text_16(c: *Connection, string_len: u8, drawable: Drawable, gc: Gcontext, x: i16, y: i16, string: [*c]const Char2B) VoidCookie; - pub extern fn xcb_image_text_16_string(R: *const ImageText16Request) [*c]Char2B; - pub extern fn xcb_image_text_16_string_length(R: *const ImageText16Request) c_int; - pub extern fn xcb_image_text_16_string_iterator(R: *const ImageText16Request) Char2BIterator; pub extern fn xcb_create_colormap_checked(c: *Connection, alloc: u8, mid: Colormap, window: Window, visual: Visualid) VoidCookie; pub extern fn xcb_create_colormap(c: *Connection, alloc: u8, mid: Colormap, window: Window, visual: Visualid) VoidCookie; pub extern fn xcb_free_colormap_checked(c: *Connection, cmap: Colormap) VoidCookie; @@ -5488,7 +4196,6 @@ pub const import = struct { pub extern fn xcb_install_colormap(c: *Connection, cmap: Colormap) VoidCookie; pub extern fn xcb_uninstall_colormap_checked(c: *Connection, cmap: Colormap) VoidCookie; pub extern fn xcb_uninstall_colormap(c: *Connection, cmap: Colormap) VoidCookie; - pub extern fn xcb_list_installed_colormaps_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_list_installed_colormaps(c: *Connection, window: Window) ListInstalledColormapsCookie; pub extern fn xcb_list_installed_colormaps_unchecked(c: *Connection, window: Window) ListInstalledColormapsCookie; pub extern fn xcb_list_installed_colormaps_cmaps(R: *const ListInstalledColormapsReply) [*c]Colormap; @@ -5498,11 +4205,9 @@ pub const import = struct { pub extern fn xcb_alloc_color(c: *Connection, cmap: Colormap, red: u16, green: u16, blue: u16) AllocColorCookie; pub extern fn xcb_alloc_color_unchecked(c: *Connection, cmap: Colormap, red: u16, green: u16, blue: u16) AllocColorCookie; pub extern fn xcb_alloc_color_reply(c: *Connection, cookie: AllocColorCookie, e: ?*?*GenericError) ?*AllocColorReply; - pub extern fn xcb_alloc_named_color_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_alloc_named_color(c: *Connection, cmap: Colormap, name_len: u16, name: [*c]const u8) AllocNamedColorCookie; pub extern fn xcb_alloc_named_color_unchecked(c: *Connection, cmap: Colormap, name_len: u16, name: [*c]const u8) AllocNamedColorCookie; pub extern fn xcb_alloc_named_color_reply(c: *Connection, cookie: AllocNamedColorCookie, e: ?*?*GenericError) ?*AllocNamedColorReply; - pub extern fn xcb_alloc_color_cells_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_alloc_color_cells(c: *Connection, contiguous: u8, cmap: Colormap, colors: u16, planes: u16) AllocColorCellsCookie; pub extern fn xcb_alloc_color_cells_unchecked(c: *Connection, contiguous: u8, cmap: Colormap, colors: u16, planes: u16) AllocColorCellsCookie; pub extern fn xcb_alloc_color_cells_pixels(R: *const AllocColorCellsReply) [*c]u32; @@ -5512,43 +4217,28 @@ pub const import = struct { pub extern fn xcb_alloc_color_cells_masks_length(R: *const AllocColorCellsReply) c_int; pub extern fn xcb_alloc_color_cells_masks_end(R: *const AllocColorCellsReply) GenericIterator; pub extern fn xcb_alloc_color_cells_reply(c: *Connection, cookie: AllocColorCellsCookie, e: ?*?*GenericError) ?*AllocColorCellsReply; - pub extern fn xcb_alloc_color_planes_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_alloc_color_planes(c: *Connection, contiguous: u8, cmap: Colormap, colors: u16, reds: u16, greens: u16, blues: u16) AllocColorPlanesCookie; pub extern fn xcb_alloc_color_planes_unchecked(c: *Connection, contiguous: u8, cmap: Colormap, colors: u16, reds: u16, greens: u16, blues: u16) AllocColorPlanesCookie; pub extern fn xcb_alloc_color_planes_pixels(R: *const AllocColorPlanesReply) [*c]u32; pub extern fn xcb_alloc_color_planes_pixels_length(R: *const AllocColorPlanesReply) c_int; pub extern fn xcb_alloc_color_planes_pixels_end(R: *const AllocColorPlanesReply) GenericIterator; pub extern fn xcb_alloc_color_planes_reply(c: *Connection, cookie: AllocColorPlanesCookie, e: ?*?*GenericError) ?*AllocColorPlanesReply; - pub extern fn xcb_free_colors_sizeof(_buffer: ?*const anyopaque, pixels_len: u32) c_int; pub extern fn xcb_free_colors_checked(c: *Connection, cmap: Colormap, plane_mask: u32, pixels_len: u32, pixels: [*c]const u32) VoidCookie; pub extern fn xcb_free_colors(c: *Connection, cmap: Colormap, plane_mask: u32, pixels_len: u32, pixels: [*c]const u32) VoidCookie; - pub extern fn xcb_free_colors_pixels(R: *const FreeColorsRequest) [*c]u32; - pub extern fn xcb_free_colors_pixels_length(R: *const FreeColorsRequest) c_int; - pub extern fn xcb_free_colors_pixels_end(R: *const FreeColorsRequest) GenericIterator; pub extern fn xcb_coloritem_next(i: *ColoritemIterator) void; pub extern fn xcb_coloritem_end(i: ColoritemIterator) GenericIterator; - pub extern fn xcb_store_colors_sizeof(_buffer: ?*const anyopaque, items_len: u32) c_int; pub extern fn xcb_store_colors_checked(c: *Connection, cmap: Colormap, items_len: u32, items: [*c]const Coloritem) VoidCookie; pub extern fn xcb_store_colors(c: *Connection, cmap: Colormap, items_len: u32, items: [*c]const Coloritem) VoidCookie; - pub extern fn xcb_store_colors_items(R: *const StoreColorsRequest) [*c]Coloritem; - pub extern fn xcb_store_colors_items_length(R: *const StoreColorsRequest) c_int; - pub extern fn xcb_store_colors_items_iterator(R: *const StoreColorsRequest) ColoritemIterator; - pub extern fn xcb_store_named_color_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_store_named_color_checked(c: *Connection, flags: u8, cmap: Colormap, pixel: u32, name_len: u16, name: [*c]const u8) VoidCookie; pub extern fn xcb_store_named_color(c: *Connection, flags: u8, cmap: Colormap, pixel: u32, name_len: u16, name: [*c]const u8) VoidCookie; - pub extern fn xcb_store_named_color_name(R: *const StoreNamedColorRequest) [*c]u8; - pub extern fn xcb_store_named_color_name_length(R: *const StoreNamedColorRequest) c_int; - pub extern fn xcb_store_named_color_name_end(R: *const StoreNamedColorRequest) GenericIterator; pub extern fn xcb_rgb_next(i: *RgbIterator) void; pub extern fn xcb_rgb_end(i: RgbIterator) GenericIterator; - pub extern fn xcb_query_colors_sizeof(_buffer: ?*const anyopaque, pixels_len: u32) c_int; pub extern fn xcb_query_colors(c: *Connection, cmap: Colormap, pixels_len: u32, pixels: [*c]const u32) QueryColorsCookie; pub extern fn xcb_query_colors_unchecked(c: *Connection, cmap: Colormap, pixels_len: u32, pixels: [*c]const u32) QueryColorsCookie; pub extern fn xcb_query_colors_colors(R: *const QueryColorsReply) [*c]Rgb; pub extern fn xcb_query_colors_colors_length(R: *const QueryColorsReply) c_int; pub extern fn xcb_query_colors_colors_iterator(R: *const QueryColorsReply) RgbIterator; pub extern fn xcb_query_colors_reply(c: *Connection, cookie: QueryColorsCookie, e: ?*?*GenericError) ?*QueryColorsReply; - pub extern fn xcb_lookup_color_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_lookup_color(c: *Connection, cmap: Colormap, name_len: u16, name: [*c]const u8) LookupColorCookie; pub extern fn xcb_lookup_color_unchecked(c: *Connection, cmap: Colormap, name_len: u16, name: [*c]const u8) LookupColorCookie; pub extern fn xcb_lookup_color_reply(c: *Connection, cookie: LookupColorCookie, e: ?*?*GenericError) ?*LookupColorReply; @@ -5563,38 +4253,26 @@ pub const import = struct { pub extern fn xcb_query_best_size(c: *Connection, _class: u8, drawable: Drawable, width: u16, height: u16) QueryBestSizeCookie; pub extern fn xcb_query_best_size_unchecked(c: *Connection, _class: u8, drawable: Drawable, width: u16, height: u16) QueryBestSizeCookie; pub extern fn xcb_query_best_size_reply(c: *Connection, cookie: QueryBestSizeCookie, e: ?*?*GenericError) ?*QueryBestSizeReply; - pub extern fn xcb_query_extension_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_query_extension(c: *Connection, name_len: u16, name: [*c]const u8) QueryExtensionCookie; pub extern fn xcb_query_extension_unchecked(c: *Connection, name_len: u16, name: [*c]const u8) QueryExtensionCookie; pub extern fn xcb_query_extension_reply(c: *Connection, cookie: QueryExtensionCookie, e: ?*?*GenericError) ?*QueryExtensionReply; - pub extern fn xcb_list_extensions_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_list_extensions(c: *Connection) ListExtensionsCookie; pub extern fn xcb_list_extensions_unchecked(c: *Connection) ListExtensionsCookie; pub extern fn xcb_list_extensions_names_length(R: *const ListExtensionsReply) c_int; pub extern fn xcb_list_extensions_names_iterator(R: *const ListExtensionsReply) StrIterator; pub extern fn xcb_list_extensions_reply(c: *Connection, cookie: ListExtensionsCookie, e: ?*?*GenericError) ?*ListExtensionsReply; - pub extern fn xcb_change_keyboard_mapping_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_change_keyboard_mapping_checked(c: *Connection, keycode_count: u8, first_keycode: Keycode, keysyms_per_keycode: u8, keysyms: [*c]const Keysym) VoidCookie; pub extern fn xcb_change_keyboard_mapping(c: *Connection, keycode_count: u8, first_keycode: Keycode, keysyms_per_keycode: u8, keysyms: [*c]const Keysym) VoidCookie; - pub extern fn xcb_change_keyboard_mapping_keysyms(R: *const ChangeKeyboardMappingRequest) [*c]Keysym; - pub extern fn xcb_change_keyboard_mapping_keysyms_length(R: *const ChangeKeyboardMappingRequest) c_int; - pub extern fn xcb_change_keyboard_mapping_keysyms_end(R: *const ChangeKeyboardMappingRequest) GenericIterator; - pub extern fn xcb_get_keyboard_mapping_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_get_keyboard_mapping(c: *Connection, first_keycode: Keycode, count: u8) GetKeyboardMappingCookie; pub extern fn xcb_get_keyboard_mapping_unchecked(c: *Connection, first_keycode: Keycode, count: u8) GetKeyboardMappingCookie; pub extern fn xcb_get_keyboard_mapping_keysyms(R: *const GetKeyboardMappingReply) [*c]Keysym; pub extern fn xcb_get_keyboard_mapping_keysyms_length(R: *const GetKeyboardMappingReply) c_int; pub extern fn xcb_get_keyboard_mapping_keysyms_end(R: *const GetKeyboardMappingReply) GenericIterator; pub extern fn xcb_get_keyboard_mapping_reply(c: *Connection, cookie: GetKeyboardMappingCookie, e: ?*?*GenericError) ?*GetKeyboardMappingReply; - pub extern fn xcb_change_keyboard_control_value_list_serialize(_buffer: [*c]?*anyopaque, value_mask: u32, _aux: [*c]const ChangeKeyboardControlValueList) c_int; - pub extern fn xcb_change_keyboard_control_value_list_unpack(_buffer: ?*const anyopaque, value_mask: u32, _aux: [*c]ChangeKeyboardControlValueList) c_int; - pub extern fn xcb_change_keyboard_control_value_list_sizeof(_buffer: ?*const anyopaque, value_mask: u32) c_int; - pub extern fn xcb_change_keyboard_control_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_change_keyboard_control_checked(c: *Connection, value_mask: u32, value_list: ?*const anyopaque) VoidCookie; pub extern fn xcb_change_keyboard_control(c: *Connection, value_mask: u32, value_list: ?*const anyopaque) VoidCookie; pub extern fn xcb_change_keyboard_control_aux_checked(c: *Connection, value_mask: u32, value_list: [*c]const ChangeKeyboardControlValueList) VoidCookie; pub extern fn xcb_change_keyboard_control_aux(c: *Connection, value_mask: u32, value_list: [*c]const ChangeKeyboardControlValueList) VoidCookie; - pub extern fn xcb_change_keyboard_control_value_list(R: *const ChangeKeyboardControlRequest) ?*anyopaque; pub extern fn xcb_get_keyboard_control(c: *Connection) GetKeyboardControlCookie; pub extern fn xcb_get_keyboard_control_unchecked(c: *Connection) GetKeyboardControlCookie; pub extern fn xcb_get_keyboard_control_reply(c: *Connection, cookie: GetKeyboardControlCookie, e: ?*?*GenericError) ?*GetKeyboardControlReply; @@ -5610,19 +4288,13 @@ pub const import = struct { pub extern fn xcb_get_screen_saver(c: *Connection) GetScreenSaverCookie; pub extern fn xcb_get_screen_saver_unchecked(c: *Connection) GetScreenSaverCookie; pub extern fn xcb_get_screen_saver_reply(c: *Connection, cookie: GetScreenSaverCookie, e: ?*?*GenericError) ?*GetScreenSaverReply; - pub extern fn xcb_change_hosts_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_change_hosts_checked(c: *Connection, mode: u8, family: u8, address_len: u16, address: [*c]const u8) VoidCookie; pub extern fn xcb_change_hosts(c: *Connection, mode: u8, family: u8, address_len: u16, address: [*c]const u8) VoidCookie; - pub extern fn xcb_change_hosts_address(R: *const ChangeHostsRequest) [*c]u8; - pub extern fn xcb_change_hosts_address_length(R: *const ChangeHostsRequest) c_int; - pub extern fn xcb_change_hosts_address_end(R: *const ChangeHostsRequest) GenericIterator; - pub extern fn xcb_host_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_host_address(R: *const Host) [*c]u8; pub extern fn xcb_host_address_length(R: *const Host) c_int; pub extern fn xcb_host_address_end(R: *const Host) GenericIterator; pub extern fn xcb_host_next(i: *HostIterator) void; pub extern fn xcb_host_end(i: HostIterator) GenericIterator; - pub extern fn xcb_list_hosts_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_list_hosts(c: *Connection) ListHostsCookie; pub extern fn xcb_list_hosts_unchecked(c: *Connection) ListHostsCookie; pub extern fn xcb_list_hosts_hosts_length(R: *const ListHostsReply) c_int; @@ -5634,30 +4306,22 @@ pub const import = struct { pub extern fn xcb_set_close_down_mode(c: *Connection, mode: u8) VoidCookie; pub extern fn xcb_kill_client_checked(c: *Connection, resource: u32) VoidCookie; pub extern fn xcb_kill_client(c: *Connection, resource: u32) VoidCookie; - pub extern fn xcb_rotate_properties_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_rotate_properties_checked(c: *Connection, window: Window, atoms_len: u16, delta: i16, atoms: [*c]const Atom) VoidCookie; pub extern fn xcb_rotate_properties(c: *Connection, window: Window, atoms_len: u16, delta: i16, atoms: [*c]const Atom) VoidCookie; - pub extern fn xcb_rotate_properties_atoms(R: *const RotatePropertiesRequest) [*c]Atom; - pub extern fn xcb_rotate_properties_atoms_length(R: *const RotatePropertiesRequest) c_int; - pub extern fn xcb_rotate_properties_atoms_end(R: *const RotatePropertiesRequest) GenericIterator; pub extern fn xcb_force_screen_saver_checked(c: *Connection, mode: u8) VoidCookie; pub extern fn xcb_force_screen_saver(c: *Connection, mode: u8) VoidCookie; - pub extern fn xcb_set_pointer_mapping_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_set_pointer_mapping(c: *Connection, map_len: u8, map: [*c]const u8) SetPointerMappingCookie; pub extern fn xcb_set_pointer_mapping_unchecked(c: *Connection, map_len: u8, map: [*c]const u8) SetPointerMappingCookie; pub extern fn xcb_set_pointer_mapping_reply(c: *Connection, cookie: SetPointerMappingCookie, e: ?*?*GenericError) ?*SetPointerMappingReply; - pub extern fn xcb_get_pointer_mapping_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_get_pointer_mapping(c: *Connection) GetPointerMappingCookie; pub extern fn xcb_get_pointer_mapping_unchecked(c: *Connection) GetPointerMappingCookie; pub extern fn xcb_get_pointer_mapping_map(R: *const GetPointerMappingReply) [*c]u8; pub extern fn xcb_get_pointer_mapping_map_length(R: *const GetPointerMappingReply) c_int; pub extern fn xcb_get_pointer_mapping_map_end(R: *const GetPointerMappingReply) GenericIterator; pub extern fn xcb_get_pointer_mapping_reply(c: *Connection, cookie: GetPointerMappingCookie, e: ?*?*GenericError) ?*GetPointerMappingReply; - pub extern fn xcb_set_modifier_mapping_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_set_modifier_mapping(c: *Connection, keycodes_per_modifier: u8, keycodes: [*c]const Keycode) SetModifierMappingCookie; pub extern fn xcb_set_modifier_mapping_unchecked(c: *Connection, keycodes_per_modifier: u8, keycodes: [*c]const Keycode) SetModifierMappingCookie; pub extern fn xcb_set_modifier_mapping_reply(c: *Connection, cookie: SetModifierMappingCookie, e: ?*?*GenericError) ?*SetModifierMappingReply; - pub extern fn xcb_get_modifier_mapping_sizeof(_buffer: ?*const anyopaque) c_int; pub extern fn xcb_get_modifier_mapping(c: *Connection) GetModifierMappingCookie; pub extern fn xcb_get_modifier_mapping_unchecked(c: *Connection) GetModifierMappingCookie; pub extern fn xcb_get_modifier_mapping_keycodes(R: *const GetModifierMappingReply) [*c]Keycode;