summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main.c1
-rw-r--r--view.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/main.c b/main.c
index 9856354..daeaa0a 100644
--- a/main.c
+++ b/main.c
@@ -55,6 +55,7 @@ cleanup()
55 XDestroyWindow(dpy, barwin); 55 XDestroyWindow(dpy, barwin);
56 XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime); 56 XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime);
57 XSync(dpy, False); 57 XSync(dpy, False);
58 free(seltag);
58} 59}
59 60
60static void 61static void
diff --git a/view.c b/view.c
index ac201e6..ce122ed 100644
--- a/view.c
+++ b/view.c
@@ -41,7 +41,7 @@ reorder()
41static Client * 41static Client *
42nexttiled(Client *c) 42nexttiled(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 return c; 45 return c;
46} 46}
47 47
@@ -325,7 +325,7 @@ zoom(Arg *arg)
325 return; 325 return;
326 326
327 if((c = sel) == nexttiled(clients)) 327 if((c = sel) == nexttiled(clients))
328 if(!(c = nexttiled(c))) 328 if(!(c = nexttiled(c->next)))
329 return; 329 return;
330 detach(c); 330 detach(c);
331 c->next = clients; 331 c->next = clients;