]> git.armaanb.net Git - dwm.git/commitdiff
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 cce215a9c63d723067d8391b893f593fc87c862a..8dbe83baead81e6224016e8b05c639a73c378024 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);
        }
 }