aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--event.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/event.c b/event.c
index 0f74478..a1d2d9c 100644
--- 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;