Fix crash on floating layer resizal

This commit is contained in:
uriel 2007-02-15 15:52:47 +01:00
parent c24f1dece9
commit 19a83c25e7

View File

@ -413,8 +413,10 @@ do_mouse_resize(Client *c, Bool grabbox, BlitzAlign align) {
}else
map_client(c);
if(rects)
if(rects) {
free(rects);
rects = nil;
}
XUngrabPointer(blz.dpy, CurrentTime);
XSync(blz.dpy, False);