3 unsigned int i
, n
, nx
, ny
, nw
, nh
, mw
, th
;
6 for (n
= 0, c
= nextvisible(clients
); c
; c
= nextvisible(c
->next
))
10 mw
= n
<= 1 ? waw
: screen
.mfact
* waw
;
11 th
= n
<= 1 ? 0 : wah
/ (n
- 1);
15 for (i
= 0, c
= nextvisible(clients
); c
; c
= nextvisible(c
->next
)) {
18 if (i
== 0) { /* master */
21 } else { /* tile window */
26 mvvline(ny
, nx
, ACS_VLINE
, wah
);
27 mvaddch(ny
, nx
, ACS_TTEE
);
30 nh
= (i
< n
- 1) ? th
: (way
+ wah
) - ny
;
32 mvaddch(ny
, nx
- 1, ACS_LTEE
);
34 resize(c
, nx
, ny
, nw
, nh
);