From 6573b4637bc07ed290eec1c2a97ea9238e42e288 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 f2cf4ca..f43789c 100644 --- a/src/mango.c +++ b/src/mango.c @@ -1302,9 +1302,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++;