Make InputManager a toplevel struct
This commit is contained in:
parent
a03cab94fc
commit
4c97531860
3 changed files with 103 additions and 104 deletions
|
@ -1,13 +1,13 @@
|
|||
const Self = @This();
|
||||
|
||||
const std = @import("std");
|
||||
|
||||
const c = @import("c.zig");
|
||||
|
||||
const Log = @import("log.zig").Log;
|
||||
const Seat = @import("seat.zig").Seat;
|
||||
const Server = @import("server.zig");
|
||||
|
||||
pub const InputManager = struct {
|
||||
const Self = @This();
|
||||
|
||||
const default_seat_name = "default";
|
||||
|
||||
server: *Server,
|
||||
|
@ -127,4 +127,3 @@ pub const InputManager = struct {
|
|||
seat_node.data.addDevice(device) catch unreachable;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
@ -2,7 +2,7 @@ const c = @import("c.zig");
|
|||
const std = @import("std");
|
||||
|
||||
const Cursor = @import("cursor.zig").Cursor;
|
||||
const InputManager = @import("input_manager.zig").InputManager;
|
||||
const InputManager = @import("input_manager.zig");
|
||||
const Keyboard = @import("keyboard.zig").Keyboard;
|
||||
const LayerSurface = @import("layer_surface.zig").LayerSurface;
|
||||
const Output = @import("output.zig").Output;
|
||||
|
|
|
@ -6,7 +6,7 @@ const c = @import("c.zig");
|
|||
|
||||
const Config = @import("config.zig");
|
||||
const DecorationManager = @import("decoration_manager.zig");
|
||||
const InputManager = @import("input_manager.zig").InputManager;
|
||||
const InputManager = @import("input_manager.zig");
|
||||
const Log = @import("log.zig").Log;
|
||||
const Output = @import("output.zig").Output;
|
||||
const Root = @import("root.zig").Root;
|
||||
|
|
Loading…
Reference in a new issue