summaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'client.c')
-rw-r--r--client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/client.c b/client.c
index 52e623a..b1328d4 100644
--- a/client.c
+++ b/client.c
@@ -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);