opt: optimize config reload fresh
This commit is contained in:
@@ -3177,5 +3177,6 @@ void reset_option(void) {
|
|||||||
int reload_config(const Arg *arg) {
|
int reload_config(const Arg *arg) {
|
||||||
parse_config();
|
parse_config();
|
||||||
reset_option();
|
reset_option();
|
||||||
|
printstatus();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -134,6 +134,10 @@ void dwl_ext_workspace_printstatus(Monitor *m) {
|
|||||||
if (!w->m->pertag->no_hide[w->tag])
|
if (!w->m->pertag->no_hide[w->tag])
|
||||||
wlr_ext_workspace_handle_v1_set_hidden(w->ext_workspace,
|
wlr_ext_workspace_handle_v1_set_hidden(w->ext_workspace,
|
||||||
true);
|
true);
|
||||||
|
else {
|
||||||
|
wlr_ext_workspace_handle_v1_set_hidden(w->ext_workspace,
|
||||||
|
false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((m->tagset[m->seltags] & (1 << (w->tag - 1)) & TAGMASK) ||
|
if ((m->tagset[m->seltags] & (1 << (w->tag - 1)) & TAGMASK) ||
|
||||||
|
|||||||
Reference in New Issue
Block a user