aewl

diff client.c @ 103:130d49140341

and another fix...
author arg@10ksloc.org
date Wed, 19 Jul 2006 13:30:18 +0200
parents ed2d4eb65f02
children 3a708f113f55
line diff
     1.1 --- a/client.c	Wed Jul 19 13:29:45 2006 +0200
     1.2 +++ b/client.c	Wed Jul 19 13:30:18 2006 +0200
     1.3 @@ -209,7 +209,7 @@
     1.4  
     1.5  	diff = sw - c->fw;
     1.6  	c->fx = random() % (diff ? diff : 1);
     1.7 -	diff = sh - c->fh;
     1.8 +	diff = sh - c->fh - bh;
     1.9  	c->fy = random() % (diff ? diff : 1);
    1.10  
    1.11  	c->border = 1;