mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-06-24 13:36:42 -04:00
opt: allow floating window show group bar
This commit is contained in:
parent
0e3c64d221
commit
5e9a28ec79
2 changed files with 3 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue