From 2660297e4f325e08a32693a87604b10d3d6dccbc Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Mon, 17 Feb 2025 11:47:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=92=E9=99=A4=E4=B8=8D=E5=BF=85=E8=A6=81?= =?UTF-8?q?=E7=9A=84=E5=AE=A2=E6=88=B7=E7=AB=AF=E8=AE=A1=E7=AE=97=E5=B8=83?= =?UTF-8?q?=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- maomao.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/maomao.c b/maomao.c index ac06cd77..073b91ad 100644 --- a/maomao.c +++ b/maomao.c @@ -4840,7 +4840,9 @@ void fibonacci(Monitor *mon, int s) { Client *c; wl_list_for_each(c, &clients, link) - if (VISIBLEON(c, mon) && !c->isfloating) + if (VISIBLEON(c, mon) && !c->isfloating && !c->iskilling + && !c->isfullscreen && !c->ismaxmizescreen + && !c->animation.tagouting) n++; if(n == 0) return; @@ -4851,7 +4853,9 @@ void fibonacci(Monitor *mon, int s) { nh = mon->w.height - gappov; wl_list_for_each(c, &clients, link) - if (VISIBLEON(c, mon) && !c->isfloating){ + if (VISIBLEON(c, mon) && !c->isfloating && !c->iskilling + && !c->isfullscreen && !c->ismaxmizescreen + && !c->animation.tagouting) { if((i % 2 && nh / 2 > 2 * c->bw) || (!(i % 2) && nw / 2 > 2 * c->bw)) { if(i < n - 1) {