about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorarg@10ksloc.org <unknown>2006-08-04 18:34:40 +0200
committerarg@10ksloc.org <unknown>2006-08-04 18:34:40 +0200
commitb098c94ed44495957de11a6160fa0560abbe944f (patch)
treef30f06a64f0847f7fe9c33a6660b47896bbbd892
parent6a39a496d06f5631a1617fe68729cbde4c24318c (diff)
downloaddwm-b098c94ed44495957de11a6160fa0560abbe944f.tar.gz
small performance tweak ;)
-rw-r--r--event.c6
1 files changed, 4 insertions, 2 deletions
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;
='n133' href='#n133'>133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172