From 433e3772370375405c4258cb2a661845463dc581 Mon Sep 17 00:00:00 2001 From: Ben Buhse Date: Tue, 17 Feb 2026 16:55:35 -0600 Subject: [PATCH] Rename calculatePrimaryStackLayout It's the only layout, so just rename to calculateLayout() --- src/Output.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Output.zig b/src/Output.zig index fdfff0a..4ce8ab6 100644 --- a/src/Output.zig +++ b/src/Output.zig @@ -577,7 +577,7 @@ pub fn manage(output: *Output) void { } // Calculate layout before managing windows - output.calculatePrimaryStackLayout(); + output.calculateLayout(); var it = output.windows.iterator(.forward); while (it.next()) |window| { window.manage(); @@ -611,7 +611,7 @@ pub fn render(output: *Output) void { /// Calculate primary/stack layout positions for all windows. /// - Single window: maximized /// - Multiple windows: stack (45% left, vertically tiled), primary (55% right) -fn calculatePrimaryStackLayout(output: *Output) void { +fn calculateLayout(output: *Output) void { // Get a list of active windows var active_list: DoublyLinkedList = .{}; var active_count: u31 = 0;