diff --git a/src/mango.c b/src/mango.c index b352b40..3643938 100644 --- a/src/mango.c +++ b/src/mango.c @@ -1385,7 +1385,7 @@ void applyrules(Client *c) { if (!c->noswallow && !c->isfloating && !client_is_float_type(c) && !c->surface.xdg->initial_commit) { Client *p = termforwin(c); - if (p) { + if (p && !p->isminied) { c->swallowedby = p; p->swallowing = c; wl_list_remove(&c->link);