summaryrefslogtreecommitdiff
path: root/dwm.c
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-05-05 13:27:59 -0400
committerLuke Smith <luke@lukesmith.xyz>2020-05-05 13:27:59 -0400
commit8f4d5e03d379527d87d3a6d844f0f39e231d73f3 (patch)
tree7ed429e4ff2b8c5e45130454105c452a5dc940ea /dwm.c
parentb9e9ed13818fa3cb18f421968bb75296157ca61c (diff)
don't swallow if window floats
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 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);