mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-04-03 07:15:44 -04:00
opt: overview not tile isunglobal window
This commit is contained in:
parent
5b60999075
commit
6bd9172fb2
2 changed files with 3 additions and 2 deletions
|
|
@ -603,7 +603,8 @@ arrange(Monitor *m, bool want_animation) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (VISIBLEON(c, m)) {
|
if (VISIBLEON(c, m)) {
|
||||||
m->visible_clients++;
|
if (!c->isunglobal)
|
||||||
|
m->visible_clients++;
|
||||||
|
|
||||||
if (c->isfullscreen)
|
if (c->isfullscreen)
|
||||||
m->has_visible_fullscreen_client = true;
|
m->has_visible_fullscreen_client = true;
|
||||||
|
|
|
||||||
|
|
@ -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])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue