client: Fix unmanage : reparent the destroyed client to root for unmanage it

This commit is contained in:
Martin Duquesnoy 2008-11-14 19:44:23 +01:00
parent d856ec1012
commit 6670b3d219

View File

@ -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);