diff options
| author | arg@10ksloc.org <unknown> | 2006-07-19 13:52:31 +0200 |
|---|---|---|
| committer | arg@10ksloc.org <unknown> | 2006-07-19 13:52:31 +0200 |
| commit | 8af1d973323bd799c1ec021bb7c16860e120cf92 (patch) | |
| tree | 47a5d675ab8a444317aaf25a6d2776b0eae7413b /client.c | |
| parent | implemented fallback for too many clients in stacked mode (diff) | |
| download | dwm-8af1d973323bd799c1ec021bb7c16860e120cf92.tar.gz dwm-8af1d973323bd799c1ec021bb7c16860e120cf92.zip | |
refactored Sanders code somewhat
Diffstat (limited to 'client.c')
| -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); |
