Skip to content

Commit 9b39d9a

Browse files
committed
animation typo
1 parent c0358bc commit 9b39d9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

instantwm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1891,7 +1891,7 @@ closewin(const Arg *arg)
18911891
if (!c || c->islocked)
18921892
return;
18931893

1894-
animateclient(c, selmon->sel->x, selmon->mh - 20, 0, 0, 10, 0);
1894+
animateclient(c, c->x, selmon->mh - 20, 0, 0, 10, 0);
18951895

18961896
if (!sendevent(c->win, wmatom[WMDelete], NoEventMask, wmatom[WMDelete], CurrentTime, 0 , 0, 0)) {
18971897
XGrabServer(dpy);

0 commit comments

Comments
 (0)