Mercurial > aewl
comparison 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 |
comparison
equal
deleted
inserted
replaced
312:8373e295cb04 | 313:8b109976c594 |
---|---|
294 c->h = c->maxh; | 294 c->h = c->maxh; |
295 } | 295 } |
296 if(c->x > sw) /* might happen on restart */ | 296 if(c->x > sw) /* might happen on restart */ |
297 c->x = sw - c->w; | 297 c->x = sw - c->w; |
298 if(c->y > sh) | 298 if(c->y > sh) |
299 c->y = bottom - c->h; | 299 c->y = sh - c->h; |
300 if(sticky == TopRight || sticky == BotRight) | 300 if(sticky == TopRight || sticky == BotRight) |
301 c->x = right - c->w; | 301 c->x = right - c->w; |
302 if(sticky == BotLeft || sticky == BotRight) | 302 if(sticky == BotLeft || sticky == BotRight) |
303 c->y = bottom - c->h; | 303 c->y = bottom - c->h; |
304 | 304 |