summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarg@mmvi <unknown>2006-09-22 15:39:38 +0200
committerarg@mmvi <unknown>2006-09-22 15:39:38 +0200
commit3c4b7672a84f4be9eeba889abda15a33c9b45eb1 (patch)
tree9ed6cee07f124328c6d65d7775ca32f51b5bacd9
parentman page fix (diff)
downloaddwm-3c4b7672a84f4be9eeba889abda15a33c9b45eb1.tar.gz
dwm-3c4b7672a84f4be9eeba889abda15a33c9b45eb1.zip
applied jukkas patch
-rw-r--r--view.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/view.c b/view.c
index 682e331..c5e942d 100644
--- a/view.c
+++ b/view.c
@@ -102,14 +102,8 @@ dotile(Arg *arg) {
102 102
103 w = sw - mw; 103 w = sw - mw;
104 for(n = 0, c = clients; c; c = c->next) 104 for(n = 0, c = clients; c; c = c->next)
105 if(isvisible(c)) { 105 if(isvisible(c) && !c->isfloat)
106 if(c->isfloat) { 106 n++;
107 if(c->ismax)
108 togglemax(c);
109 }
110 else
111 n++;
112 }
113 107
114 if(n > 1) 108 if(n > 1)
115 h = (sh - bh) / (n - 1); 109 h = (sh - bh) / (n - 1);
@@ -118,6 +112,8 @@ dotile(Arg *arg) {
118 112
119 for(i = 0, c = clients; c; c = c->next) { 113 for(i = 0, c = clients; c; c = c->next) {
120 if(isvisible(c)) { 114 if(isvisible(c)) {
115 if(c->ismax)
116 togglemax(c);
121 if(c->isfloat) { 117 if(c->isfloat) {
122 resize(c, True, TopLeft); 118 resize(c, True, TopLeft);
123 continue; 119 continue;