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 diff
     1.1 --- a/client.c	Wed Jul 19 13:36:04 2006 +0200
     1.2 +++ b/client.c	Wed Jul 19 13:52:31 2006 +0200
     1.3 @@ -315,9 +315,9 @@
     1.4  		*c->w = c->maxw;
     1.5  	if(c->maxh && *c->h > c->maxh)
     1.6  		*c->h = c->maxh;
     1.7 -	if(sticky == TopRight || sticky == BottomRight)
     1.8 +	if(sticky == TopRight || sticky == BotRight)
     1.9  		*c->x = right - *c->w;
    1.10 -	if(sticky == BottomLeft || sticky == BottomRight)
    1.11 +	if(sticky == BotLeft || sticky == BotRight)
    1.12  		*c->y = bottom - *c->h;
    1.13  	resizetitle(c);
    1.14  	XSetWindowBorderWidth(dpy, c->win, 1);