hide clients to the left, not the right
authorConnor Lane Smith <cls@lubutu.com>
Tue, 25 Oct 2011 19:01:18 +0000 (20:01 +0100)
committerConnor Lane Smith <cls@lubutu.com>
Tue, 25 Oct 2011 19:01:18 +0000 (20:01 +0100)
dwm.c

diff --git a/dwm.c b/dwm.c
index 39b0a51..d108e12 100644 (file)
--- 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);
        }
 }