aboutsummaryrefslogtreecommitdiff
path: root/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'event.c')
-rw-r--r--event.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/event.c b/event.c
index a266ffa..69a628e 100644
--- a/event.c
+++ b/event.c
@@ -189,8 +189,10 @@ configurerequest(XEvent *e)
XSendEvent(dpy, c->win, True, NoEventMask, &synev);
}
XSync(dpy, False);
- arrange(NULL);
- drawall();
+ if(c->isfloat)
+ resize(c, False, TopLeft);
+ else
+ arrange(NULL);
}
else {
wc.x = ev->x;