summaryrefslogtreecommitdiff
path: root/dwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dwm.c b/dwm.c
index 9331025..242909e 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);