X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=client.c;h=b1328d462f6f4e81c759afe1c6ee77b9bcf0c651;hp=52e623ad4cc3a20a9c67568af821ab38de0f1296;hb=8af1d973323bd799c1ec021bb7c16860e120cf92;hpb=79cd408844c62963aa0eec45bb0414ed66f06f6f 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);