Xinqi Bao's Git
projects
/
dwm.git
/ commitdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
| inline |
side by side
(parent:
4e49d5a
)
replaced BORDERPX with sel->border in togglemax(), in other places this is not possible.
author
Anselm R. Garbe <
[email protected]
>
Wed, 30 May 2007 18:49:38 +0000
(20:49 +0200)
committer
Anselm R. Garbe <
[email protected]
>
Wed, 30 May 2007 18:49:38 +0000
(20:49 +0200)
config.mk
patch
|
blob
|
history
layout.c
patch
|
blob
|
history
diff --git
a/config.mk
b/config.mk
index
de2fb00
..
f0c3489
100644
(file)
--- a/
config.mk
+++ b/
config.mk
@@
-1,5
+1,5
@@
# dwm version
-VERSION = 4.
2
+VERSION = 4.
3
# Customize below to fit your system
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;
- 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);