mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-04-06 07:15:53 -04:00
优化tagout动画结束后重置动画终点
This commit is contained in:
parent
4cfe3459d6
commit
8c1a2d07e2
1 changed files with 2 additions and 1 deletions
3
main.c
3
main.c
|
|
@ -761,6 +761,7 @@ bool client_animation_next_tick(Client *c) {
|
|||
wlr_scene_node_set_enabled(&c->scene->node, false);
|
||||
client_set_suspended(c, true);
|
||||
c->animation.tagouted = true;
|
||||
c->animation.current = c->geom;
|
||||
}
|
||||
return false;
|
||||
} else {
|
||||
|
|
@ -3775,7 +3776,7 @@ void resize(Client *c, struct wlr_box geo, int interact) {
|
|||
set_open_animaiton(c, c->geom);
|
||||
} else {
|
||||
c->animainit_geom = c->animation.current;
|
||||
}
|
||||
}
|
||||
|
||||
if (c->isnoborder || c->iskilling) {
|
||||
c->bw = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue