diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2020-05-24 20:58:39 +0200 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2020-05-24 21:01:11 +0200 |
| commit | d83cbf55d16c04c3fe8316805cde8f4fe6a6610e (patch) | |
| tree | 8c78a36a3424454bd54752f5cc95f6d514ea7a9d /src/Server.zig | |
| parent | 08a2f47a5ea1bd5062d428d6061f505022ed1bb0 (diff) | |
| download | river-d83cbf55d16c04c3fe8316805cde8f4fe6a6610e.tar.gz river-d83cbf55d16c04c3fe8316805cde8f4fe6a6610e.tar.xz | |
Split control into separate protocol
Diffstat (limited to 'src/Server.zig')
| -rw-r--r-- | src/Server.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Server.zig b/src/Server.zig index 1aba359..e46a619 100644 --- a/src/Server.zig +++ b/src/Server.zig @@ -31,7 +31,7 @@ const Output = @import("Output.zig"); const Root = @import("Root.zig"); const View = @import("View.zig"); const ViewStack = @import("view_stack.zig").ViewStack; -const WindowManager = @import("WindowManager.zig"); +const Control = @import("Control.zig"); const XwaylandUnmanaged = @import("XwaylandUnmanaged.zig"); allocator: *std.mem.Allocator, @@ -56,7 +56,7 @@ decoration_manager: DecorationManager, input_manager: InputManager, root: Root, config: Config, -window_manager: WindowManager, +control: Control, pub fn init(self: *Self, allocator: *std.mem.Allocator) !void { self.allocator = allocator; @@ -122,7 +122,7 @@ pub fn init(self: *Self, allocator: *std.mem.Allocator) !void { try self.root.init(self); // Must be called after root is initialized try self.input_manager.init(self); - try self.window_manager.init(self); + try self.control.init(self); // These all free themselves when the wl_display is destroyed _ = c.wlr_data_device_manager_create(self.wl_display) orelse |
