3 unsigned int i
, m
, n
, nx
, ny
, nw
, nh
, mh
, tw
;
6 for (n
= 0, m
= 0, c
= clients
; c
; c
= c
->next
, n
++)
11 mh
= (wah
- m
) * (n
== 1 || n
- 1 == m
? 1 : screen
.mfact
);
13 /* true if there are at least 2 non minimized clients */
15 tw
= waw
/ (n
- m
- 1);
18 for (i
= 0, c
= clients
; c
; c
= c
->next
, i
++) {
19 if (i
== 0) { /* master */
22 } else { /* tile window */
26 nh
= wah
- mh
- ny
+ way
;
28 if (i
== n
- m
- 1) { /* last not minimized client */
29 nw
= (wax
+ waw
) - nx
;
30 } else if (i
== n
- m
) { /* first minimized client */
35 } else if (c
->minimized
) { /* minimized window */
39 } else /* normal non minimized tile window */
42 if (i
> 1 && !c
->minimized
) {
43 mvvline(ny
, nx
, ACS_VLINE
, nh
);
44 mvaddch(ny
, nx
, ACS_TTEE
);
49 resize(c
, nx
, ny
, nw
, nh
);
51 if (n
> 1 && i
< n
- m
- 1)