fixed a bug reported by sander 5e9acbc9
Anselm R.Garbe · 2006-08-17 10:06 1 file(s) · +1 −1
client.c +1 −1
296 296
	if(c->x > sw) /* might happen on restart */
297 297
		c->x = sw - c->w;
298 298
	if(c->y > sh)
299 -
		c->y = bottom - c->h;
299 +
		c->y = sh - c->h;
300 300
	if(sticky == TopRight || sticky == BotRight)
301 301
		c->x = right - c->w;
302 302
	if(sticky == BotLeft || sticky == BotRight)