diff options
| author | Anselm R.Garbe <arg@10ksloc.org> | 2006-08-17 10:06:36 +0200 |
|---|---|---|
| committer | Anselm R.Garbe <arg@10ksloc.org> | 2006-08-17 10:06:36 +0200 |
| commit | 5e9acbc952ef6c323e456fbef82fa5b1c5a9cde2 (patch) | |
| tree | 07969fb07489ddcd5e6dd653c91aab93bb218ce5 /client.c | |
| parent | applied the shorter xprop command (diff) | |
| download | dwm-5e9acbc952ef6c323e456fbef82fa5b1c5a9cde2.tar.gz dwm-5e9acbc952ef6c323e456fbef82fa5b1c5a9cde2.zip | |
fixed a bug reported by sander
Diffstat (limited to 'client.c')
| -rw-r--r-- | client.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -296,7 +296,7 @@ resize(Client *c, Bool sizehints, Corner sticky) | |||
| 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) |
