Xinqi Bao's Git
projects
/
dwm.git
/ commitdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
| inline |
side by side
(parent:
8aa860d
)
hotfix
author
Anselm R. Garbe <
[email protected]
>
Thu, 7 Sep 2006 16:13:19 +0000
(18:13 +0200)
committer
Anselm R. Garbe <
[email protected]
>
Thu, 7 Sep 2006 16:13:19 +0000
(18:13 +0200)
client.c
patch
|
blob
|
history
diff --git
a/client.c
b/client.c
index
71ef677
..
49229a7
100644
(file)
--- 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);