aewl

diff client.c @ 313:8b109976c594

fixed a bug reported by sander
author Anselm R.Garbe <arg@10ksloc.org>
date Thu, 17 Aug 2006 10:06:36 +0200
parents 099c595c53e6
children 8bafc3ac9f58
line diff
     1.1 --- a/client.c	Thu Aug 17 09:44:17 2006 +0200
     1.2 +++ b/client.c	Thu Aug 17 10:06:36 2006 +0200
     1.3 @@ -296,7 +296,7 @@
     1.4  	if(c->x > sw) /* might happen on restart */
     1.5  		c->x = sw - c->w;
     1.6  	if(c->y > sh)
     1.7 -		c->y = bottom - c->h;
     1.8 +		c->y = sh - c->h;
     1.9  	if(sticky == TopRight || sticky == BotRight)
    1.10  		c->x = right - c->w;
    1.11  	if(sticky == BotLeft || sticky == BotRight)