opt: overview not tile isunglobal window

This commit is contained in:
DreamMaoMao
2025-11-06 19:14:13 +08:00
parent 5b60999075
commit 6bd9172fb2
2 changed files with 3 additions and 2 deletions

View File

@@ -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;

View File

@@ -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])