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

commit35d3ecdf2ef1e0bc907a5180efdb2c3a4705f0a2
parent9af491f4cb
authorIsaac Freund <[email protected]>
date2020-04-27 20:08
Fix a couple typos

 src/root.zig | 2 +-
 src/view.zig | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/root.zig b/src/root.zig
index eaaf5d8..cd2dee2 100644
--- a/src/root.zig
+++ b/src/root.zig
@@ -83,7 +83,7 @@ pub const Root = struct {
         self.focused_view = null;
     }
 
-    /// Arrange all outputs and then a transaction.
+    /// Arrange all views on all outputs and then start a transaction.
     pub fn arrange(self: *Self) void {
         var it = self.outputs.first;
         while (it) |output_node| : (it = output_node.next) {
diff --git a/src/view.zig b/src/view.zig
index a4ede46..cb9ed33 100644
--- a/src/view.zig
+++ b/src/view.zig
@@ -98,7 +98,7 @@ pub const View = struct {
                 .xdg_toplevel => |xdg_toplevel| xdg_toplevel.configure(pending_box),
             }
         } else {
-            Log.Error.log("Configre called on a View with no pending box", .{});
+            Log.Error.log("Configure called on a View with no pending box", .{});
         }
     }