Mercurial > dwm-meillo
comparison event.c @ 196:d560e796f7fe
small performance tweak ;)
author | arg@10ksloc.org |
---|---|
date | Fri, 04 Aug 2006 18:34:40 +0200 |
parents | 97960220eb77 |
children | 7b63c375d28c |
comparison
equal
deleted
inserted
replaced
195:97960220eb77 | 196:d560e796f7fe |
---|---|
187 synev.xconfigure.above = None; | 187 synev.xconfigure.above = None; |
188 /* Send synthetic ConfigureNotify */ | 188 /* Send synthetic ConfigureNotify */ |
189 XSendEvent(dpy, c->win, True, NoEventMask, &synev); | 189 XSendEvent(dpy, c->win, True, NoEventMask, &synev); |
190 } | 190 } |
191 XSync(dpy, False); | 191 XSync(dpy, False); |
192 arrange(NULL); | 192 if(c->isfloat) |
193 drawall(); | 193 resize(c, False, TopLeft); |
194 else | |
195 arrange(NULL); | |
194 } | 196 } |
195 else { | 197 else { |
196 wc.x = ev->x; | 198 wc.x = ev->x; |
197 wc.y = ev->y; | 199 wc.y = ev->y; |
198 wc.width = ev->width; | 200 wc.width = ev->width; |