client.c
changeset 105 3e74cc981e9b
parent 104 3a708f113f55
child 106 c292574503dd
--- a/client.c	Wed Jul 19 13:36:04 2006 +0200
+++ b/client.c	Wed Jul 19 13:52:31 2006 +0200
@@ -315,9 +315,9 @@
 		*c->w = c->maxw;
 	if(c->maxh && *c->h > c->maxh)
 		*c->h = c->maxh;
-	if(sticky == TopRight || sticky == BottomRight)
+	if(sticky == TopRight || sticky == BotRight)
 		*c->x = right - *c->w;
-	if(sticky == BottomLeft || sticky == BottomRight)
+	if(sticky == BotLeft || sticky == BotRight)
 		*c->y = bottom - *c->h;
 	resizetitle(c);
 	XSetWindowBorderWidth(dpy, c->win, 1);