opt: optimize config reload fresh
This commit is contained in:
@@ -3177,5 +3177,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) ||
|
||||
|
||||
Reference in New Issue
Block a user