mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-20 06:59:50 -05:00
opt: optimize config reload fresh
This commit is contained in:
parent
54779e3cbd
commit
f06dc505e3
2 changed files with 5 additions and 0 deletions
|
|
@ -3045,5 +3045,6 @@ void reset_option(void) {
|
|||
int reload_config(const Arg *arg) {
|
||||
parse_config();
|
||||
reset_option();
|
||||
printstatus();
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -134,6 +134,10 @@ void dwl_ext_workspace_printstatus(Monitor *m) {
|
|||
if (!w->m->pertag->no_hide[w->tag])
|
||||
wlr_ext_workspace_handle_v1_set_hidden(w->ext_workspace,
|
||||
true);
|
||||
else {
|
||||
wlr_ext_workspace_handle_v1_set_hidden(w->ext_workspace,
|
||||
false);
|
||||
}
|
||||
}
|
||||
|
||||
if ((m->tagset[m->seltags] & (1 << (w->tag - 1)) & TAGMASK) ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue