diff --git a/dwl.c b/dwl.c index 3e94fa2..364debd 100644 --- a/dwl.c +++ b/dwl.c @@ -2286,9 +2286,11 @@ printstatus(void) wl_list_for_each(c, &clients, link) { if (c->mon != m) continue; - occ |= c->tags; - if (c->isurgent) - urg |= c->tags; + if (c->isurgent) { + view(&((Arg){ .ui = c->tags })); + focusclient(c, NULL, 1); + } + } if ((c = focustop(m))) { printf("%s title %s\n", m->wlr_output->name, client_get_title(c));