equal
deleted
inserted
replaced
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 |