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

commita48c9e01f758e51c0be8999ddf0f3dcbf7c99fc0
parentdcd4b03d75
authorAlexander Taylor <[email protected]>
date2021-07-18 19:22
Fix typo s/ouput/output/ in function name

 river/Root.zig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/river/Root.zig b/river/Root.zig
index eeb6dba..f39f6f2 100644
--- a/river/Root.zig
+++ b/river/Root.zig
@@ -416,7 +416,7 @@ fn handleLayoutChange(
 ) void {
     const self = @fieldParentPtr(Self, "layout_change", listener);
 
-    const config = self.ouputConfigFromCurrent() catch {
+    const config = self.outputConfigFromCurrent() catch {
         std.log.scoped(.output_manager).crit("out of memory", .{});
         return;
     };
@@ -437,7 +437,7 @@ fn handleManagerApply(
     }
 
     // Send the config that was actually applied
-    const applied_config = self.ouputConfigFromCurrent() catch {
+    const applied_config = self.outputConfigFromCurrent() catch {
         std.log.scoped(.output_manager).crit("out of memory", .{});
         return;
     };
@@ -554,7 +554,7 @@ fn applyHeadToOutput(head: *wlr.OutputConfigurationV1.Head, wlr_output: *wlr.Out
 }
 
 /// Create the config describing the current configuration
-fn ouputConfigFromCurrent(self: *Self) !*wlr.OutputConfigurationV1 {
+fn outputConfigFromCurrent(self: *Self) !*wlr.OutputConfigurationV1 {
     const config = try wlr.OutputConfigurationV1.create();
     // this destroys all associated config heads as well
     errdefer config.destroy();