client: Fix unmanage : reparent the destroyed client to root for unmanage it
This commit is contained in:
parent
d856ec1012
commit
6670b3d219
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user