--- tstack.c.orig 2008-02-28 15:00:17.530123616 +0100 +++ tstack.c 2008-02-28 14:59:03.233480365 +0100 @@ -17,13 +17,13 @@ nx = wax, nw = waw; for(i = 0, c = clients; c; c = c->next, i++){ if(i == 0){ /* master */ - ny = wah - mh; + ny = way + wah - mh; nh = mh; } else { /* tile window */ if(i == 1){ nx = wax; ny = way + m; - nh = wah - mh - ny; + nh = way + wah - mh - ny; } if(i == n - m - 1){ /* last not minimized client */ nw = (wax + waw) - nx;