summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dwl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dwl.c b/dwl.c
index edea5b1..4118fd8 100644
--- a/dwl.c
+++ b/dwl.c
@@ -2103,6 +2103,7 @@ setmon(Client *c, Monitor *m, uint32_t newtags)
resize(c, c->geom, 0);
c->tags = newtags ? newtags : m->tagset[m->seltags]; /* assign tags of target monitor */
setfullscreen(c, c->isfullscreen); /* This will call arrange(c->mon) */
+ setfloating(c, c->isfloating);
}
focusclient(focustop(selmon), 1);
}