Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
dwm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
replaced BORDERPX with sel->border in togglemax(), in other places this is not possible.
[dwm.git]
/
layout.c
diff --git
a/layout.c
b/layout.c
index
ecd7a16
..
f3f8e26
100644
(file)
--- 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;
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);
}
else
resize(sel, sel->rx, sel->ry, sel->rw, sel->rh, True);