small performance tweak ;)

This commit is contained in:
arg@10ksloc.org 2006-08-04 18:34:40 +02:00
parent 6a39a496d0
commit b098c94ed4

View file

@ -189,8 +189,10 @@ configurerequest(XEvent *e)
XSendEvent(dpy, c->win, True, NoEventMask, &synev); XSendEvent(dpy, c->win, True, NoEventMask, &synev);
} }
XSync(dpy, False); XSync(dpy, False);
if(c->isfloat)
resize(c, False, TopLeft);
else
arrange(NULL); arrange(NULL);
drawall();
} }
else { else {
wc.x = ev->x; wc.x = ev->x;