diff --git a/src/maomao.c b/src/maomao.c index dd2453e..58be80e 100644 --- a/src/maomao.c +++ b/src/maomao.c @@ -1909,7 +1909,10 @@ arrange(Monitor *m, bool want_animation) { if (c->mon == m) { if (VISIBLEON(c, m)) { - m->visible_clients++; + + if(!client_is_unmanaged(c) && !client_should_ignore_focus(c)) { + m->visible_clients++; + } if (!c->is_clip_to_hide || strcmp(c->mon->pertag->ltidxs[c->mon->pertag->curtag]->name,