git.lucas.co / cce-compositor
Wayland compositor (wlroots)
git clone https://git.lucas.co/cce-compositor.git

commitc43937a78c9984fb5c6598500f249f8db5fdbfa0
parent1c16f2e572
authorIsaac Freund <[email protected]>
date2020-05-22 19:57
Fix name of struct

 src/Server.zig                                  | 6 +++---
 src/{WindowManagement.zig => WindowManager.zig} | 0
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/Server.zig b/src/Server.zig
index a75ead0..1aba359 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 WindowManagement = @import("WindowManagement.zig");
+const WindowManager = @import("WindowManager.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_management: WindowManagement,
+window_manager: WindowManager,
 
 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_management.init(self);
+    try self.window_manager.init(self);
 
     // These all free themselves when the wl_display is destroyed
     _ = c.wlr_data_device_manager_create(self.wl_display) orelse
diff --git a/src/WindowManagement.zig b/src/WindowManager.zig
similarity index 100%
rename from src/WindowManagement.zig
rename to src/WindowManager.zig