X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=layout.c;h=f3f8e26d3c2b52853be8d02bbf2e1be6b1000c2a;hb=141beb27041371672d54da7f541a3855fab0ac5b;hp=92c6a53060e72d36b612ce52d2c0ec1c91d5bd5d;hpb=9fdd2cd1a9dbe9b533fab9a8a98b9849dc4c7b59;p=dwm.git diff --git a/layout.c b/layout.c index 92c6a53..f3f8e26 100644 --- a/layout.c +++ b/layout.c @@ -1,8 +1,4 @@ -/* © 2006-2007 Anselm R. Garbe - * © 2006-2007 Sander van Dijk - * © 2007 Premysl Hruby - * © 2007 Szabolcs Nagy - * See LICENSE file for license details. */ +/* See LICENSE file for copyright and license details. */ #include "dwm.h" #include @@ -247,7 +243,7 @@ togglemax(const char *arg) { sel->ry = sel->y; sel->rw = sel->w; sel->rh = sel->h; - resize(sel, wax, way, waw - 2 * BORDERPX, wah - 2 * BORDERPX, True); + resize(sel, wax, way, waw - 2 * sel->border, wah - 2 * sel->border, True); } else resize(sel, sel->rx, sel->ry, sel->rw, sel->rh, True);