# HG changeset patch # User Anselm R.Garbe # Date 1155801996 -7200 # Node ID 8b109976c5946d4d58b47668b86e02918868f4cf # Parent 8373e295cb04e404c11422eea6cf5b71eb90dfe1 fixed a bug reported by sander diff -r 8373e295cb04 -r 8b109976c594 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)