Mercurial > dwm-meillo
diff client.c @ 105:3e74cc981e9b
refactored Sanders code somewhat
author | arg@10ksloc.org |
---|---|
date | Wed, 19 Jul 2006 13:52:31 +0200 |
parents | 3a708f113f55 |
children | c292574503dd |
line wrap: on
line diff
--- 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);