From 8f4d5e03d379527d87d3a6d844f0f39e231d73f3 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Tue, 5 May 2020 13:27:59 -0400 Subject: don't swallow if window floats --- dwm.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dwm.c') diff --git a/dwm.c b/dwm.c index a6968ff..33873cf 100644 --- a/dwm.c +++ b/dwm.c @@ -485,6 +485,8 @@ swallow(Client *p, Client *c) { if (c->noswallow || c->isterminal) return; + if (!swallowfloating && c->isfloating) + return; detach(c); detachstack(c); -- cgit v1.2.3