From 00a7e579c94bd786cf1fd379b5b666e475dd4735 Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Fri, 6 Feb 2026 07:43:09 +0800 Subject: [PATCH] fix: miss reset root color when reload config --- src/config/parse_config.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/config/parse_config.h b/src/config/parse_config.h index b795a81..7e24d43 100644 --- a/src/config/parse_config.h +++ b/src/config/parse_config.h @@ -3558,6 +3558,8 @@ void reapply_cursor_style(void) { } } +void reapply_rootbg(void) { wlr_scene_rect_set_color(root_bg, rootcolor); } + void reapply_border(void) { Client *c = NULL; @@ -3683,6 +3685,7 @@ void reset_option(void) { reapply_cursor_style(); reapply_border(); + reapply_rootbg(); reapply_keyboard(); reapply_pointer(); reapply_master();