From c071c6f019c968e7d5c9740533428d2c089a0553 Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Fri, 26 Jun 2026 12:38:05 +0800 Subject: [PATCH] opt: remove useless code --- src/action/client.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/action/client.h b/src/action/client.h index 85ab1aaf..aa41e9c8 100644 --- a/src/action/client.h +++ b/src/action/client.h @@ -190,8 +190,7 @@ void client_check_tab_node_visible(Client *c) { while (cur) { if (!c->mon->isoverview && cur->group_bar && (cur->group_next || cur->group_prev) && VISIBLEON(c, c->mon) && - ISNORMAL(c) && !c->isfullscreen && - (!is_monocle_layout(c->mon) || c == c->mon->sel)) { + ISNORMAL(c) && !c->isfullscreen) { wlr_scene_node_set_enabled(&cur->group_bar->scene_buffer->node, true); } else {