diff options
| -rw-r--r-- | dwm.c | 1 | 
1 files changed, 1 insertions, 0 deletions
| @@ -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); | 
