# HG changeset patch # User Anselm R. Garbe # Date 1157529801 -7200 # Node ID a6b8994af16491220db0199623bd57d061e06143 # Parent 0f94ee451f6c011e8445835cce615a06e40d86df small fix diff -r 0f94ee451f6c -r a6b8994af164 main.c --- a/main.c Wed Sep 06 09:23:34 2006 +0200 +++ b/main.c Wed Sep 06 10:03:21 2006 +0200 @@ -55,6 +55,7 @@ XDestroyWindow(dpy, barwin); XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime); XSync(dpy, False); + free(seltag); } static void diff -r 0f94ee451f6c -r a6b8994af164 view.c --- a/view.c Wed Sep 06 09:23:34 2006 +0200 +++ b/view.c Wed Sep 06 10:03:21 2006 +0200 @@ -41,7 +41,7 @@ static Client * nexttiled(Client *c) { - for(c = getnext(c->next); c && c->isfloat; c = getnext(c->next)); + for(c = getnext(c); c && c->isfloat; c = getnext(c->next)); return c; } @@ -325,7 +325,7 @@ return; if((c = sel) == nexttiled(clients)) - if(!(c = nexttiled(c))) + if(!(c = nexttiled(c->next))) return; detach(c); c->next = clients;