fix: miss reset root color when reload config

This commit is contained in:
DreamMaoMao 2026-02-06 07:43:09 +08:00
parent 53b8409b4b
commit 1ba18ff26e

View file

@ -3410,6 +3410,8 @@ void reapply_cursor_style(void) {
} }
} }
void reapply_rootbg(void) { wlr_scene_rect_set_color(root_bg, rootcolor); }
void reapply_border(void) { void reapply_border(void) {
Client *c = NULL; Client *c = NULL;
@ -3534,6 +3536,7 @@ void reset_option(void) {
reapply_cursor_style(); reapply_cursor_style();
reapply_border(); reapply_border();
reapply_rootbg();
reapply_keyboard(); reapply_keyboard();
reapply_pointer(); reapply_pointer();
reapply_master(); reapply_master();