tsmall fix - dwm - [fork] customized build of dwm, the dynamic window manager | |
git clone git://src.adamsgaard.dk/dwm | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit f18ed615ae7beb9eb6420510c83beb847d875bcb | |
parent f6656fffb4e0c6a9a59e2669da4f7bebda19f08e | |
Author: Anselm R. Garbe <[email protected]> | |
Date: Wed, 6 Sep 2006 10:03:21 +0200 | |
small fix | |
Diffstat: | |
M main.c | 1 + | |
M view.c | 4 ++-- | |
2 files changed, 3 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/main.c b/main.c | |
t@@ -55,6 +55,7 @@ cleanup() | |
XDestroyWindow(dpy, barwin); | |
XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime); | |
XSync(dpy, False); | |
+ free(seltag); | |
} | |
static void | |
diff --git a/view.c b/view.c | |
t@@ -41,7 +41,7 @@ reorder() | |
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; | |
} | |
t@@ -325,7 +325,7 @@ zoom(Arg *arg) | |
return; | |
if((c = sel) == nexttiled(clients)) | |
- if(!(c = nexttiled(c))) | |
+ if(!(c = nexttiled(c->next))) | |
return; | |
detach(c); | |
c->next = clients; |