Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Sravan Balaji 2022-06-12 11:17:23 -04:00
commit cadf3a896a

1
dwm.c
View File

@ -4227,6 +4227,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);