From 6670b3d2192f708f0ddb1b01f2df2fa26d072637 Mon Sep 17 00:00:00 2001 From: Martin Duquesnoy Date: Fri, 14 Nov 2008 19:44:23 +0100 Subject: [PATCH] client: Fix unmanage : reparent the destroyed client to root for unmanage it --- src/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.c b/src/client.c index 43eb91b..0fba8ab 100644 --- a/src/client.c +++ b/src/client.c @@ -559,7 +559,7 @@ client_unmanage(Client *c) XGrabServer(dpy); XSetErrorHandler(errorhandlerdummy); - + XReparentWindow(dpy, c->win, root, 0, 0); /* Unset all focus stuff {{{ */ if(sel == c) client_focus(NULL);