fix big-border corner case
authorConnor Lane Smith <cls@lubutu.com>
Sun, 30 Oct 2011 11:14:34 +0000 (12:14 +0100)
committerConnor Lane Smith <cls@lubutu.com>
Sun, 30 Oct 2011 11:14:34 +0000 (12:14 +0100)
dwm.c

diff --git a/dwm.c b/dwm.c
index cce215a..8dbe83b 100644 (file)
--- 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);
        }
 }