Browse Source

small performance tweak ;)

arg@10ksloc.org 19 years ago
parent
commit
b098c94ed4
1 changed files with 4 additions and 2 deletions
  1. 4 2
      event.c

+ 4 - 2
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;