changeset 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 8373e295cb04
children 8bafc3ac9f58
files client.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)