Introduction
Introduction Statistics Contact Development Disclaimer Help
tadding some prevention that master clients get smaller than bh - dwm - [fork] …
git clone git://src.adamsgaard.dk/dwm
Log
Files
Refs
README
LICENSE
---
commit d939f301fa5ee472f2b089496b5e873ec155fa8e
parent 8c4623da80af2e25e3f0d15f56598624f4f37d5d
Author: Anselm R. Garbe <[email protected]>
Date: Fri, 5 Jan 2007 15:16:39 +0100
adding some prevention that master clients get smaller than bh
Diffstat:
M view.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/view.c b/view.c
t@@ -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();
}
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.