applied jukkas patch
This commit is contained in:
parent
6de149eb22
commit
3c4b7672a8
10
view.c
10
view.c
|
@ -102,14 +102,8 @@ dotile(Arg *arg) {
|
||||||
|
|
||||||
w = sw - mw;
|
w = sw - mw;
|
||||||
for(n = 0, c = clients; c; c = c->next)
|
for(n = 0, c = clients; c; c = c->next)
|
||||||
if(isvisible(c)) {
|
if(isvisible(c) && !c->isfloat)
|
||||||
if(c->isfloat) {
|
|
||||||
if(c->ismax)
|
|
||||||
togglemax(c);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
n++;
|
n++;
|
||||||
}
|
|
||||||
|
|
||||||
if(n > 1)
|
if(n > 1)
|
||||||
h = (sh - bh) / (n - 1);
|
h = (sh - bh) / (n - 1);
|
||||||
|
@ -118,6 +112,8 @@ dotile(Arg *arg) {
|
||||||
|
|
||||||
for(i = 0, c = clients; c; c = c->next) {
|
for(i = 0, c = clients; c; c = c->next) {
|
||||||
if(isvisible(c)) {
|
if(isvisible(c)) {
|
||||||
|
if(c->ismax)
|
||||||
|
togglemax(c);
|
||||||
if(c->isfloat) {
|
if(c->isfloat) {
|
||||||
resize(c, True, TopLeft);
|
resize(c, True, TopLeft);
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user