diff options
Diffstat (limited to '')
| -rw-r--r-- | client.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -315,9 +315,9 @@ resize(Client *c, Bool inc, Corner sticky) | |||
| 315 | *c->w = c->maxw; | 315 | *c->w = c->maxw; |
| 316 | if(c->maxh && *c->h > c->maxh) | 316 | if(c->maxh && *c->h > c->maxh) |
| 317 | *c->h = c->maxh; | 317 | *c->h = c->maxh; |
| 318 | if(sticky == TopRight || sticky == BottomRight) | 318 | if(sticky == TopRight || sticky == BotRight) |
| 319 | *c->x = right - *c->w; | 319 | *c->x = right - *c->w; |
| 320 | if(sticky == BottomLeft || sticky == BottomRight) | 320 | if(sticky == BotLeft || sticky == BotRight) |
| 321 | *c->y = bottom - *c->h; | 321 | *c->y = bottom - *c->h; |
| 322 | resizetitle(c); | 322 | resizetitle(c); |
| 323 | XSetWindowBorderWidth(dpy, c->win, 1); | 323 | XSetWindowBorderWidth(dpy, c->win, 1); |
