Fix a couple typos

This commit is contained in:
Isaac Freund 2020-04-27 20:08:57 +02:00
parent ce8d8a7825
commit 7988a2e934
No known key found for this signature in database
GPG key ID: 86DED400DDFD7A11
2 changed files with 2 additions and 2 deletions

View file

@ -83,7 +83,7 @@ pub const Root = struct {
self.focused_view = null; 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 { pub fn arrange(self: *Self) void {
var it = self.outputs.first; var it = self.outputs.first;
while (it) |output_node| : (it = output_node.next) { while (it) |output_node| : (it = output_node.next) {

View file

@ -98,7 +98,7 @@ pub const View = struct {
.xdg_toplevel => |xdg_toplevel| xdg_toplevel.configure(pending_box), .xdg_toplevel => |xdg_toplevel| xdg_toplevel.configure(pending_box),
} }
} else { } 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", .{});
} }
} }