On Wed, Feb 27, 2008 at 11:17:10PM +0100, Leonardo Taccari wrote:
> However, I found a small bug, and (ATM) I'm not able to fix it, but
> I'll report it...
That's why i didn't use the way variable to get the "coordinates".
It should be fixed with the attached patch.
Thanks for the report and sorry for the inconvenience.
--
Claudio M. Alessi
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/MU d-@ s: a--> C++(+++) UB++>$ P+> !L E--- W++(+++)
N+@ o--> K? w+@> O-@> M- V? PS+@ PE+@ Y+ PGP> t(-)@ 5?
X+ R? tv-- b+> DI-- D? G e+@> h--@> r y*
------END GEEK CODE BLOCK------
--- 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;