|
|
@@ -1780,6 +1780,7 @@ unmanage(Client *c, int destroyed)
|
|
|
wc.border_width = c->oldbw;
|
|
|
XGrabServer(dpy); /* avoid race conditions */
|
|
|
XSetErrorHandler(xerrordummy);
|
|
|
+ XSelectInput(dpy, c->win, NoEventMask);
|
|
|
XConfigureWindow(dpy, c->win, CWBorderWidth, &wc); /* restore border */
|
|
|
XUngrabButton(dpy, AnyButton, AnyModifier, c->win);
|
|
|
setclientstate(c, WithdrawnState);
|