fixed a bug reported by sander
authorAnselm R.Garbe <arg@10ksloc.org>
Thu, 17 Aug 2006 10:06:36 +0200
changeset 313 8b109976c594
parent 312 8373e295cb04
child 314 8bafc3ac9f58
fixed a bug reported by sander
client.c
--- a/client.c	Thu Aug 17 09:44:17 2006 +0200
+++ b/client.c	Thu Aug 17 10:06:36 2006 +0200
@@ -296,7 +296,7 @@
 	if(c->x > sw) /* might happen on restart */
 		c->x = sw - c->w;
 	if(c->y > sh)
-		c->y = bottom - c->h;
+		c->y = sh - c->h;
 	if(sticky == TopRight || sticky == BotRight)
 		c->x = right - c->w;
 	if(sticky == BotLeft || sticky == BotRight)