about summary refs log tree commit diff stats
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 39b0a51..d108e12 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1597,7 +1597,7 @@ showhide(Client *c) {
 	}
 	else { /* hide clients bottom up */
 		showhide(c->snext);
-		XMoveWindow(dpy, c->win, c->x + 2 * sw, c->y);
+		XMoveWindow(dpy, c->win, c->w * -2, c->y);
 	}
 }