diff options
| -rw-r--r-- | dwm.c | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -1780,6 +1780,7 @@ unmanage(Client *c, int destroyed) | |||
| 1780 | wc.border_width = c->oldbw; | 1780 | wc.border_width = c->oldbw; |
| 1781 | XGrabServer(dpy); /* avoid race conditions */ | 1781 | XGrabServer(dpy); /* avoid race conditions */ |
| 1782 | XSetErrorHandler(xerrordummy); | 1782 | XSetErrorHandler(xerrordummy); |
| 1783 | XSelectInput(dpy, c->win, NoEventMask); | ||
| 1783 | XConfigureWindow(dpy, c->win, CWBorderWidth, &wc); /* restore border */ | 1784 | XConfigureWindow(dpy, c->win, CWBorderWidth, &wc); /* restore border */ |
| 1784 | XUngrabButton(dpy, AnyButton, AnyModifier, c->win); | 1785 | XUngrabButton(dpy, AnyButton, AnyModifier, c->win); |
| 1785 | setclientstate(c, WithdrawnState); | 1786 | setclientstate(c, WithdrawnState); |
