projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6656ff
)
small fix
author
Anselm R. Garbe
<arg@10kloc.org>
Wed, 6 Sep 2006 08:03:21 +0000
(10:03 +0200)
committer
Anselm R. Garbe
<arg@10kloc.org>
Wed, 6 Sep 2006 08:03:21 +0000
(10:03 +0200)
main.c
patch
|
blob
|
history
view.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index 985635432dda857dca745bf9d23a3d3c82d0c208..daeaa0aa5ff448d924fcd6063809c9608d6026da 100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-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
index ac201e60e13ba39ceafba9fa52cd68cd860f9793..ce122eded5ac6f8abec5bca830c6b1cbc6ad83e8 100644
(file)
--- a/
view.c
+++ b/
view.c
@@
-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;
}
@@
-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;