feat: add tagrule option no_hide

This commit is contained in:
DreamMaoMao 2025-09-25 11:09:52 +08:00
parent 12a2492270
commit cabc1bf8b6
3 changed files with 11 additions and 1 deletions

View file

@ -102,7 +102,9 @@ void dwl_ext_workspace_printstatus(Monitor *m) {
wlr_ext_workspace_handle_v1_set_hidden(w->ext_workspace, false);
} else {
wlr_ext_workspace_handle_v1_set_urgent(w->ext_workspace, false);
wlr_ext_workspace_handle_v1_set_hidden(w->ext_workspace, true);
if (!w->m->pertag->no_hide[w->tag])
wlr_ext_workspace_handle_v1_set_hidden(w->ext_workspace,
true);
}
if ((m->tagset[m->seltags] & (1 << (w->tag - 1)) & TAGMASK) ||