diff --git a/src/action/client.h b/src/action/client.h index 1f5b3b6c..4309321e 100644 --- a/src/action/client.h +++ b/src/action/client.h @@ -181,7 +181,7 @@ void client_check_tab_node_visible(Client *c) { while (cur) { if (!c->mon->isoverview && cur->tab_bar_node && (cur->group_next || cur->group_prev) && VISIBLEON(c, c->mon) && - ISSCROLLTILED(c) && !c->isfullscreen && + ISNORMAL(c) && !c->isfullscreen && (!is_monocle_layout(c->mon) || c == c->mon->sel)) { wlr_scene_node_set_enabled(&cur->tab_bar_node->scene_buffer->node, true); diff --git a/src/mango.c b/src/mango.c index 381065d6..bc182cb1 100644 --- a/src/mango.c +++ b/src/mango.c @@ -115,6 +115,8 @@ #define ISTILED(A) \ (A && !(A)->isfloating && !(A)->isminimized && !(A)->iskilling && \ !(A)->ismaximizescreen && !(A)->isfullscreen && !(A)->isunglobal) +#define ISNORMAL(A) \ + (A && !(A)->isminimized && !(A)->iskilling && !(A)->isunglobal) #define ISSCROLLTILED(A) \ (A && !(A)->isfloating && !(A)->isminimized && !(A)->iskilling && \ !(A)->isunglobal)