From 0a6386747aa821c87062254615ae601961591a48 Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Sat, 30 Jul 2022 10:51:32 -0400 Subject: [PATCH] [dwm] Fix dwm freezing with swalresize --- suckless/dwm/dwm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/suckless/dwm/dwm.c b/suckless/dwm/dwm.c index 1c2c5bb..f6de5a1 100644 --- a/suckless/dwm/dwm.c +++ b/suckless/dwm/dwm.c @@ -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);