aewl
diff event.c @ 196:d560e796f7fe
small performance tweak ;)
author | arg@10ksloc.org |
---|---|
date | Fri, 04 Aug 2006 18:34:40 +0200 |
parents | 97960220eb77 |
children | 7b63c375d28c |
line diff
1.1 --- a/event.c Fri Aug 04 18:25:40 2006 +0200 1.2 +++ b/event.c Fri Aug 04 18:34:40 2006 +0200 1.3 @@ -189,8 +189,10 @@ 1.4 XSendEvent(dpy, c->win, True, NoEventMask, &synev); 1.5 } 1.6 XSync(dpy, False); 1.7 - arrange(NULL); 1.8 - drawall(); 1.9 + if(c->isfloat) 1.10 + resize(c, False, TopLeft); 1.11 + else 1.12 + arrange(NULL); 1.13 } 1.14 else { 1.15 wc.x = ev->x;