swallow / arrange mismatch: swallow needs XMapWindow for the window being called beforehand, whereas arrange needs it called afterwards

This commit is contained in:
bakkeby
2020-10-10 15:25:35 +02:00
parent 016cdf3857
commit 21fd715afa
2 changed files with 11 additions and 2 deletions

View File

@ -18,6 +18,8 @@ swallow(Client *p, Client *c)
if (c->noswallow < 0 && !swallowfloating && c->isfloating)
return 0;
XMapWindow(dpy, c->win);
detach(c);
detachstack(c);