dwm-meillo

diff client.c @ 448:8089f22fdb46

hotfix
author Anselm R. Garbe <arg@10kloc.org>
date Thu, 07 Sep 2006 18:13:19 +0200
parents 16c4e4c5fb15
children 728c9089b079
line diff
     1.1 --- a/client.c	Thu Sep 07 18:12:40 2006 +0200
     1.2 +++ b/client.c	Thu Sep 07 18:13:19 2006 +0200
     1.3 @@ -418,6 +418,7 @@
     1.4  	XSetErrorHandler(xerrordummy);
     1.5  
     1.6  	detach(c);
     1.7 +	detachstack(c);
     1.8  	if(sel == c) {
     1.9  		for(sel = stack; sel && !isvisible(sel); sel = sel->snext);
    1.10  		focus(sel);
    1.11 @@ -426,7 +427,6 @@
    1.12  	XUngrabButton(dpy, AnyButton, AnyModifier, c->win);
    1.13  	XDestroyWindow(dpy, c->twin);
    1.14  
    1.15 -	detachstack(c);
    1.16  	free(c->tags);
    1.17  	free(c);
    1.18