commit 7bc4efd4bfedb19dee12dcd4164fce55ee569098
parent a9eb273e49aac4fe6b5ea87d1e045dc0cb9f2277
Author: Chris Truett <chris.truett@gmail.com>
Date: Mon, 17 Jun 2013 01:07:14 -0400
Fixed full-width sizing. Sorry about all the commits. :D
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dwm.suckless.org/patches/tcl.c b/dwm.suckless.org/patches/tcl.c
@@ -19,7 +19,7 @@ tcl(Monitor * m)
resize(c,
n < 3 ? m->wx : m->wx + sw,
m->wy,
- n == 1 ? m->ww : mw - bdw,
+ n == 1 ? m->ww - bdw : mw - bdw,
m->wh - bdw,
False);
@@ -31,7 +31,7 @@ tcl(Monitor * m)
if (n > 1)
{
- x = m->wx + ((n > 1) ? mw + sw + bdw : mw);
+ x = m->wx + ((n > 1) ? mw + sw : mw);
y = m->wy;
h = m->wh / (n / 2);