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,6 +603,7 @@ arrange(Monitor *m, bool want_animation) {
} }
if (VISIBLEON(c, m)) { if (VISIBLEON(c, m)) {
if (!c->isunglobal)
m->visible_clients++; m->visible_clients++;
if (c->isfullscreen) if (c->isfullscreen)

View File

@@ -102,7 +102,7 @@
A->geom.y + A->geom.height <= A->mon->m.y + A->mon->m.height) A->geom.y + A->geom.height <= A->mon->m.y + A->mon->m.height)
#define ISTILED(A) \ #define ISTILED(A) \
(A && !(A)->isfloating && !(A)->isminied && !(A)->iskilling && \ (A && !(A)->isfloating && !(A)->isminied && !(A)->iskilling && \
!(A)->ismaximizescreen && !(A)->isfullscreen) !(A)->ismaximizescreen && !(A)->isfullscreen && !(A)->isunglobal)
#define VISIBLEON(C, M) \ #define VISIBLEON(C, M) \
((C) && (M) && (C)->mon == (M) && ((C)->tags & (M)->tagset[(M)->seltags])) ((C) && (M) && (C)->mon == (M) && ((C)->tags & (M)->tagset[(M)->seltags]))
#define LENGTH(X) (sizeof X / sizeof X[0]) #define LENGTH(X) (sizeof X / sizeof X[0])