Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
refactored Sanders code somewhat
[dwm.git]
/
client.c
diff --git
a/client.c
b/client.c
index
52e623a
..
b1328d4
100644
(file)
--- 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;
*c->w = c->maxw;
if(c->maxh && *c->h > c->maxh)
*c->h = c->maxh;
- if(sticky == TopRight || sticky == Bot
tom
Right)
+ if(sticky == TopRight || sticky == BotRight)
*c->x = right - *c->w;
*c->x = right - *c->w;
- if(sticky == Bot
tomLeft || sticky == Bottom
Right)
+ if(sticky == Bot
Left || sticky == Bot
Right)
*c->y = bottom - *c->h;
resizetitle(c);
XSetWindowBorderWidth(dpy, c->win, 1);
*c->y = bottom - *c->h;
resizetitle(c);
XSetWindowBorderWidth(dpy, c->win, 1);