Browse Source

applied jukkas patch

master
arg@mmvi 19 years ago
parent
commit
3c4b7672a8
1 changed files with 4 additions and 8 deletions
  1. +4
    -8
      view.c

+ 4
- 8
view.c View File

@ -102,14 +102,8 @@ dotile(Arg *arg) {
w = sw - mw;
for(n = 0, c = clients; c; c = c->next)
if(isvisible(c)) {
if(c->isfloat) {
if(c->ismax)
togglemax(c);
}
else
n++;
}
if(isvisible(c) && !c->isfloat)
n++;
if(n > 1)
h = (sh - bh) / (n - 1);
@ -118,6 +112,8 @@ dotile(Arg *arg) {
for(i = 0, c = clients; c; c = c->next) {
if(isvisible(c)) {
if(c->ismax)
togglemax(c);
if(c->isfloat) {
resize(c, True, TopLeft);
continue;


Loading…
Cancel
Save