mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-04-06 07:15:53 -04:00
修复一些配置不能热重载
This commit is contained in:
parent
6f05de6512
commit
1ac2b14675
3 changed files with 10 additions and 826 deletions
|
|
@ -874,6 +874,16 @@ void parse_config(void) {
|
|||
}
|
||||
|
||||
void reload_config(const Arg *arg) {
|
||||
Client *c;
|
||||
free_config();
|
||||
parse_config();
|
||||
init_baked_points();
|
||||
wl_list_for_each(c, &clients, link) {
|
||||
if (c&& !c->iskilling) {
|
||||
if (c->bw) {
|
||||
c->bw = borderpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
arrange(selmon,false);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue