aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index cce215a..8dbe83b 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1606,7 +1606,7 @@ showhide(Client *c) {
}
else { /* hide clients bottom up */
showhide(c->snext);
- XMoveWindow(dpy, c->win, c->w * -2, c->y);
+ XMoveWindow(dpy, c->win, WIDTH(c) * -2, c->y);
}
}