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.
This commit is contained in:
Ben Buhse 2026-02-26 16:40:15 -06:00
commit f349733051
No known key found for this signature in database
GPG key ID: 7916ACFCD38FD0B4

View file

@ -216,6 +216,7 @@ pub fn manage(context: *Context) void {
log.err("Failed to create bar: {}", .{e}); log.err("Failed to create bar: {}", .{e});
continue; continue;
}; };
output.bar.?.pending_manage.output_geometry = true;
} }
} }
} }