small fix
f18ed615
2 file(s) · +3 −2
| 55 | 55 | XDestroyWindow(dpy, barwin); |
|
| 56 | 56 | XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime); |
|
| 57 | 57 | XSync(dpy, False); |
|
| 58 | + | free(seltag); |
|
| 58 | 59 | } |
|
| 59 | 60 | ||
| 60 | 61 | static void |
| 41 | 41 | static Client * |
|
| 42 | 42 | nexttiled(Client *c) |
|
| 43 | 43 | { |
|
| 44 | - | for(c = getnext(c->next); c && c->isfloat; c = getnext(c->next)); |
|
| 44 | + | for(c = getnext(c); c && c->isfloat; c = getnext(c->next)); |
|
| 45 | 45 | return c; |
|
| 46 | 46 | } |
|
| 47 | 47 | ||
| 325 | 325 | return; |
|
| 326 | 326 | ||
| 327 | 327 | if((c = sel) == nexttiled(clients)) |
|
| 328 | - | if(!(c = nexttiled(c))) |
|
| 328 | + | if(!(c = nexttiled(c->next))) |
|
| 329 | 329 | return; |
|
| 330 | 330 | detach(c); |
|
| 331 | 331 | c->next = clients; |
|