summaryrefslogtreecommitdiffstats
path: root/view.c
diff options
context:
space:
mode:
Diffstat (limited to 'view.c')
-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;