From f349733051319bcc6284af1b870388862e17a81c Mon Sep 17 00:00:00 2001 From: Ben Buhse Date: Thu, 26 Feb 2026 16:40:15 -0600 Subject: [PATCH] Set bar.pending_manage.output_geometry to true on creation Without this, if you had a config with no bar, added the bar, then reloaded the config, its geometry would never be created because of the early return in Bar.manage(), so nothing would ever get drawn. --- src/Context.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Context.zig b/src/Context.zig index 2afe40a..78f2e71 100644 --- a/src/Context.zig +++ b/src/Context.zig @@ -216,6 +216,7 @@ pub fn manage(context: *Context) void { log.err("Failed to create bar: {}", .{e}); continue; }; + output.bar.?.pending_manage.output_geometry = true; } } }