From 33378fa08b727f2dac90bc92b87ba00bd21e4328 Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Tue, 11 Feb 2025 23:02:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dtagout=E5=8A=A8=E7=94=BB?= =?UTF-8?q?=E7=BB=88=E7=82=B9=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index 0a871f5b..ce2cc147 100644 --- a/main.c +++ b/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 {