about summary refs log tree commit diff stats
path: root/client.c
diff options
context:
space:
mode:
authorarg@10ksloc.org <unknown>2006-07-19 13:52:31 +0200
committerarg@10ksloc.org <unknown>2006-07-19 13:52:31 +0200
commit8af1d973323bd799c1ec021bb7c16860e120cf92 (patch)
tree47a5d675ab8a444317aaf25a6d2776b0eae7413b /client.c
parent79cd408844c62963aa0eec45bb0414ed66f06f6f (diff)
downloaddwm-8af1d973323bd799c1ec021bb7c16860e120cf92.tar.gz
refactored Sanders code somewhat
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)
 		*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);