From 9b39d9a381f6febb206c7152ea4ac1a83255a686 Mon Sep 17 00:00:00 2001 From: paperbenni Date: Wed, 27 May 2020 12:07:30 +0200 Subject: [PATCH] animation typo --- instantwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instantwm.c b/instantwm.c index 270ad317..eeb6248e 100644 --- a/instantwm.c +++ b/instantwm.c @@ -1891,7 +1891,7 @@ closewin(const Arg *arg) if (!c || c->islocked) return; - animateclient(c, selmon->sel->x, selmon->mh - 20, 0, 0, 10, 0); + animateclient(c, c->x, selmon->mh - 20, 0, 0, 10, 0); if (!sendevent(c->win, wmatom[WMDelete], NoEventMask, wmatom[WMDelete], CurrentTime, 0 , 0, 0)) { XGrabServer(dpy);