From: Connor Lane Smith Date: Sun, 30 Oct 2011 11:14:34 +0000 (+0100) Subject: fix big-border corner case X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=5ccd42f80752be8f5152e09ecd250ba42739bf6d;p=dwm.git fix big-border corner case --- 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); } }