projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c4623d
)
adding some prevention that master clients get smaller than bh
author
Anselm R. Garbe
<arg@suckless.org>
Fri, 5 Jan 2007 14:16:39 +0000
(15:16 +0100)
committer
Anselm R. Garbe
<arg@suckless.org>
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 b4de57383f6f3c015e6a7a798464775afb54fdf3..793151d36b36bb3383d6cff93584c2722ee836b5 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();
}