mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-06-29 13:14:48 -04:00
fix: fix miss hide bar node when disable animaitons
This commit is contained in:
parent
a0feccc6ae
commit
0e3c64d221
3 changed files with 6 additions and 2 deletions
|
|
@ -168,7 +168,7 @@ void client_focus_group_member(Client *c) {
|
||||||
arrange(c->mon, false, false);
|
arrange(c->mon, false, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void client_set_tab_node_visible(Client *c) {
|
void client_check_tab_node_visible(Client *c) {
|
||||||
|
|
||||||
if (!c || c->iskilling)
|
if (!c || c->iskilling)
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
|
|
@ -460,7 +460,7 @@ void client_draw_title(Client *c) {
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
client_set_tab_node_visible(c);
|
client_check_tab_node_visible(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
int32_t bar_w = tw / count;
|
int32_t bar_w = tw / count;
|
||||||
|
|
|
||||||
|
|
@ -1132,6 +1132,10 @@ void pre_caculate_before_arrange(Monitor *m, bool want_animation,
|
||||||
client_add_jump_label_node(c);
|
client_add_jump_label_node(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (c->tab_bar_node && c->tab_bar_node->scene_buffer->node.enabled) {
|
||||||
|
client_check_tab_node_visible(c);
|
||||||
|
}
|
||||||
|
|
||||||
if (c->mon == m && (c->isglobal || c->isunglobal)) {
|
if (c->mon == m && (c->isglobal || c->isunglobal)) {
|
||||||
c->tags = m->tagset[m->seltags];
|
c->tags = m->tagset[m->seltags];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue