X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=layout.c;h=f3f8e26d3c2b52853be8d02bbf2e1be6b1000c2a;hb=141beb27041371672d54da7f541a3855fab0ac5b;hp=ecd7a16616f2173a406e1191a41b06f23df8ba79;hpb=4e49d5a0ad0936e1492eabf92ff471670742189f;p=dwm.git diff --git a/layout.c b/layout.c index ecd7a16..f3f8e26 100644 --- a/layout.c +++ b/layout.c @@ -243,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);