mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-06-24 13:36:42 -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);
|
||||
}
|
||||
|
||||
void client_set_tab_node_visible(Client *c) {
|
||||
void client_check_tab_node_visible(Client *c) {
|
||||
|
||||
if (!c || c->iskilling)
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -460,7 +460,7 @@ void client_draw_title(Client *c) {
|
|||
}
|
||||
return;
|
||||
} else {
|
||||
client_set_tab_node_visible(c);
|
||||
client_check_tab_node_visible(c);
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
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)) {
|
||||
c->tags = m->tagset[m->seltags];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue