From: Anselm R. Garbe Date: Thu, 7 Sep 2006 16:13:19 +0000 (+0200) Subject: hotfix X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=commitdiff_plain;h=2e68f22118438fed885c8cc3ccb8be94437eb327 hotfix --- 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);