From: arg@10ksloc.org Date: Fri, 4 Aug 2006 16:34:40 +0000 (+0200) Subject: small performance tweak ;) X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;ds=sidebyside;h=b098c94ed44495957de11a6160fa0560abbe944f;hp=6a39a496d06f5631a1617fe68729cbde4c24318c;p=dwm.git small performance tweak ;) --- 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;