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);
arrange(NULL); if(c->isfloat)
drawall(); resize(c, False, TopLeft);
else
arrange(NULL);
} }
else { else {
wc.x = ev->x; wc.x = ev->x;