summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dwm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dwm.c b/dwm.c
index b3c43ee..c0c3b9b 100644
--- a/dwm.c
+++ b/dwm.c
@@ -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);