don't swallow if window floats

This commit is contained in:
Luke Smith
2020-05-05 13:27:59 -04:00
parent b9e9ed1381
commit 8f4d5e03d3
2 changed files with 3 additions and 0 deletions

2
dwm.c
View File

@@ -485,6 +485,8 @@ swallow(Client *p, Client *c)
{
if (c->noswallow || c->isterminal)
return;
if (!swallowfloating && c->isfloating)
return;
detach(c);
detachstack(c);