diff options
author | Anselm R. Garbe <arg@10kloc.org> | 2006-09-07 18:13:19 +0200 |
---|---|---|
committer | Anselm R. Garbe <arg@10kloc.org> | 2006-09-07 18:13:19 +0200 |
commit | 2e68f22118438fed885c8cc3ccb8be94437eb327 (patch) | |
tree | b37c41057609094398cbeca2370d7a4125834a30 /client.c | |
parent | 8aa860d270467ac941d48f6e6905bb7eecf0a8be (diff) | |
download | dwm-2e68f22118438fed885c8cc3ccb8be94437eb327.tar.gz |
hotfix
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client.c b/client.c index 71ef677..49229a7 100644 --- a/client.c +++ b/client.c @@ -418,6 +418,7 @@ unmanage(Client *c) XSetErrorHandler(xerrordummy); detach(c); + detachstack(c); if(sel == c) { for(sel = stack; sel && !isvisible(sel); sel = sel->snext); focus(sel); @@ -426,7 +427,6 @@ unmanage(Client *c) XUngrabButton(dpy, AnyButton, AnyModifier, c->win); XDestroyWindow(dpy, c->twin); - detachstack(c); free(c->tags); free(c); |