Xinqi Bao's Git
projects
/
dwm.git
/ commitdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
| inline |
side by side
(parent:
8c4623d
)
adding some prevention that master clients get smaller than bh
author
Anselm R. Garbe <
[email protected]
>
Fri, 5 Jan 2007 14:16:39 +0000
(15:16 +0100)
committer
Anselm R. Garbe <
[email protected]
>
Fri, 5 Jan 2007 14:16:39 +0000
(15:16 +0100)
view.c
patch
|
blob
|
history
diff --git
a/view.c
b/view.c
index
b4de573
..
793151d
100644
(file)
--- a/
view.c
+++ b/
view.c
@@
-192,9
+192,10
@@
focusprev(Arg *arg) {
void
incnmaster(Arg *arg) {
- if(nmaster + arg->i < 1)
+ if(nmaster + arg->i < 1
|| (wah / (nmaster + arg->i) < bh)
)
return;
nmaster += arg->i;
+
arrange();
}