diff options
Diffstat (limited to '')
| -rw-r--r-- | dwm.c | 11 |
1 files changed, 6 insertions, 5 deletions
| @@ -1724,12 +1724,13 @@ tile(void) { | |||
| 1724 | for(n = 0, c = nexttiled(clients, i); c; c = nexttiled(c->next, i)) | 1724 | for(n = 0, c = nexttiled(clients, i); c; c = nexttiled(c->next, i)) |
| 1725 | n++; | 1725 | n++; |
| 1726 | 1726 | ||
| 1727 | /* window geoms */ | ||
| 1728 | mw = (n == 1) ? m->waw : m->mwfact * m->waw; | ||
| 1729 | th = (n > 1) ? m->wah / (n - 1) : 0; | ||
| 1730 | if(n > 1 && th < bh) | ||
| 1731 | th = m->wah; | ||
| 1732 | |||
| 1727 | for(j = 0, c = mc = nexttiled(clients, i); c; c = nexttiled(c->next, i)) { | 1733 | for(j = 0, c = mc = nexttiled(clients, i); c; c = nexttiled(c->next, i)) { |
| 1728 | /* window geoms */ | ||
| 1729 | mw = (n == 1) ? m->waw : m->mwfact * m->waw; | ||
| 1730 | th = (n > 1) ? m->wah / (n - 1) : 0; | ||
| 1731 | if(n > 1 && th < bh) | ||
| 1732 | th = m->wah; | ||
| 1733 | if(j == 0) { /* master */ | 1734 | if(j == 0) { /* master */ |
| 1734 | nx = m->wax; | 1735 | nx = m->wax; |
| 1735 | ny = m->way; | 1736 | ny = m->way; |
