mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-05-09 23:50:21 -04:00
auto refresh client drop area color when reload config
This commit is contained in:
parent
1cb626acdd
commit
d1d25d0ee6
1 changed files with 4 additions and 2 deletions
|
|
@ -3751,7 +3751,7 @@ void reapply_rootbg(void) {
|
|||
wlr_scene_rect_set_color(root_bg, config.rootcolor);
|
||||
}
|
||||
|
||||
void reapply_border(void) {
|
||||
void reapply_property(void) {
|
||||
Client *c = NULL;
|
||||
|
||||
// reset border width when config change
|
||||
|
|
@ -3760,6 +3760,8 @@ void reapply_border(void) {
|
|||
if (!c->isnoborder && !c->isfullscreen) {
|
||||
c->bw = config.borderpx;
|
||||
}
|
||||
|
||||
wlr_scene_rect_set_color(c->droparea, config.dropcolor);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -3905,7 +3907,7 @@ void reset_option(void) {
|
|||
run_exec();
|
||||
|
||||
reapply_cursor_style();
|
||||
reapply_border();
|
||||
reapply_property();
|
||||
reapply_rootbg();
|
||||
reapply_keyboard();
|
||||
reapply_pointer();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue