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:
parent
a9473204ad
commit
f349733051
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue