X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/2420071f4c595438f3be9b476fcc23142624c50c..5ccd42f80752be8f5152e09ecd250ba42739bf6d:/dwm.c?ds=sidebyside 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); } }