small performance tweak ;) - dwm - dynamic window manager HTML git clone https://git.parazyd.org/dwm DIR Log DIR Files DIR Refs DIR README DIR LICENSE --- DIR commit b098c94ed44495957de11a6160fa0560abbe944f DIR parent 6a39a496d06f5631a1617fe68729cbde4c24318c HTML Author: arg@10ksloc.org <unknown> Date: Fri, 4 Aug 2006 18:34:40 +0200 small performance tweak ;) Diffstat: M event.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) --- DIR diff --git 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;