[dwm] Fix dwm freezing with swalresize

This commit is contained in:
dogeystamp 2022-07-30 10:51:32 -04:00
parent d05c66f8f7
commit 0a6386747a

View File

@ -471,11 +471,11 @@ swallow(Client *p, Client *c)
XUnmapWindow(dpy, p->win);
if (c->swalresize) {
sendmon(c, p->mon);
c->tags = p->tags;
detach(p);
detachstack(p);
c->swallowing = p;
sendmon(c, p->mon);
c->tags = p->tags;
} else {
detach(c);
detachstack(c);