From 4b8d74668e311e44e885548fdf07d79c633f869b Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Thu, 11 Sep 2025 10:10:48 +0800 Subject: [PATCH] opt: optimize visible client count --- src/mango.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/mango.c b/src/mango.c index c67eca3..a11adec 100644 --- a/src/mango.c +++ b/src/mango.c @@ -1293,9 +1293,8 @@ void set_tagin_animation(Monitor *m, Client *c) { } void set_arrange_visible(Monitor *m, Client *c, bool want_animation) { - if (!client_is_unmanaged(c) && !client_should_ignore_focus(c)) { - m->visible_clients++; - } + + m->visible_clients++; if (ISTILED(c)) { m->visible_tiling_clients++;