diff --git a/src/layout/arrange.h b/src/layout/arrange.h index 69393c7..4df9786 100644 --- a/src/layout/arrange.h +++ b/src/layout/arrange.h @@ -603,7 +603,8 @@ arrange(Monitor *m, bool want_animation) { } if (VISIBLEON(c, m)) { - m->visible_clients++; + if (!c->isunglobal) + m->visible_clients++; if (c->isfullscreen) m->has_visible_fullscreen_client = true; diff --git a/src/mango.c b/src/mango.c index f26d6f0..3a5d28b 100644 --- a/src/mango.c +++ b/src/mango.c @@ -102,7 +102,7 @@ A->geom.y + A->geom.height <= A->mon->m.y + A->mon->m.height) #define ISTILED(A) \ (A && !(A)->isfloating && !(A)->isminied && !(A)->iskilling && \ - !(A)->ismaximizescreen && !(A)->isfullscreen) + !(A)->ismaximizescreen && !(A)->isfullscreen && !(A)->isunglobal) #define VISIBLEON(C, M) \ ((C) && (M) && (C)->mon == (M) && ((C)->tags & (M)->tagset[(M)->seltags])) #define LENGTH(X) (sizeof X / sizeof X[0])