mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-04-06 07:15:53 -04:00
修复tagout动画终点位置
This commit is contained in:
parent
dc970fff46
commit
33378fa08b
1 changed files with 2 additions and 2 deletions
4
main.c
4
main.c
|
|
@ -1206,11 +1206,11 @@ arrange(Monitor *m, bool want_animation) {
|
|||
c->animation.tagouting = true;
|
||||
if (m->pertag->curtag > m->pertag->prevtag) {
|
||||
c->pending = c->geom;
|
||||
c->pending.x -= c->geom.x + m->m.width;
|
||||
c->pending.x = c->mon->m.x - c->geom.width;
|
||||
resize(c, c->geom, 0);
|
||||
} else {
|
||||
c->pending = c->geom;
|
||||
c->pending.x -= c->geom.x - m->m.width;
|
||||
c->pending.x = c->geom.x + c->mon->m.width - (c->geom.x - c->mon->m.x);
|
||||
resize(c, c->geom, 0);
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue