thotfix - dwm - [fork] customized build of dwm, the dynamic window manager | |
git clone git://src.adamsgaard.dk/dwm | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 2e68f22118438fed885c8cc3ccb8be94437eb327 | |
parent 8aa860d270467ac941d48f6e6905bb7eecf0a8be | |
Author: Anselm R. Garbe <[email protected]> | |
Date: Thu, 7 Sep 2006 18:13:19 +0200 | |
hotfix | |
Diffstat: | |
M client.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/client.c b/client.c | |
t@@ -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); | |
t@@ -426,7 +427,6 @@ unmanage(Client *c) | |
XUngrabButton(dpy, AnyButton, AnyModifier, c->win); | |
XDestroyWindow(dpy, c->twin); | |
- detachstack(c); | |
free(c->tags); | |
free(c); | |