opt: remove useless code

This commit is contained in:
DreamMaoMao 2026-06-26 12:38:05 +08:00
parent 06223fc5b6
commit c2e24a1ece

View file

@ -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 {