Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
fixed
[dwm.git]
/
event.c
diff --git
a/event.c
b/event.c
index
0f74478
..
a1d2d9c
100644
(file)
--- a/
event.c
+++ b/
event.c
@@
-196,7
+196,9
@@
configurerequest(XEvent *e)
XSendEvent(dpy, c->win, True, NoEventMask, &synev);
}
XSync(dpy, False);
- if(c->isfloat || c->ismax) {
+ if(c->isfloat)
+ resize(c, False, TopLeft);
+ else if(c->ismax) {
resize(c, False, TopLeft);
c->x = ox;
c->y = oy;