made tile simplier
This commit is contained in:
parent
77044e8765
commit
a200c39635
1 changed files with 21 additions and 24 deletions
5
tile.c
5
tile.c
|
@ -39,10 +39,7 @@ tile(void) {
|
||||||
|
|
||||||
nx = wax;
|
nx = wax;
|
||||||
ny = way;
|
ny = way;
|
||||||
for(i = 0, c = clients; c; c = c->next)
|
for(i = 0, c = nexttiled(clients); c; c = nexttiled(c->next)) {
|
||||||
if(isvisible(c)) {
|
|
||||||
if(c->isfloating)
|
|
||||||
continue;
|
|
||||||
c->ismax = False;
|
c->ismax = False;
|
||||||
if(i == 0) { /* master */
|
if(i == 0) { /* master */
|
||||||
nw = mw - 2 * c->border;
|
nw = mw - 2 * c->border;
|
||||||
|
|
Loading…
Reference in a new issue