diff --git a/river/command/config.zig b/river/command/config.zig index fd71761..1ae0c5c 100644 --- a/river/command/config.zig +++ b/river/command/config.zig @@ -46,6 +46,9 @@ pub fn backgroundColor( if (args.len > 2) return Error.TooManyArguments; server.config.background_color = try parseRgba(args[1]); + + var it = server.root.outputs.first; + while (it) |node| : (it = node.next) node.data.damage.addWhole(); } pub fn borderColorFocused( @@ -58,6 +61,9 @@ pub fn borderColorFocused( if (args.len > 2) return Error.TooManyArguments; server.config.border_color_focused = try parseRgba(args[1]); + + var it = server.root.outputs.first; + while (it) |node| : (it = node.next) node.data.damage.addWhole(); } pub fn borderColorUnfocused( @@ -70,6 +76,9 @@ pub fn borderColorUnfocused( if (args.len > 2) return Error.TooManyArguments; server.config.border_color_unfocused = try parseRgba(args[1]); + + var it = server.root.outputs.first; + while (it) |node| : (it = node.next) node.data.damage.addWhole(); } /// Parse a color in the format #RRGGBB or #RRGGBBAA