aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@proton.me>2023-09-03 20:39:33 -0600
committerLeonardo Hernández Hernández <leohdz172@proton.me>2023-09-06 22:23:37 -0600
commit960c32a7d83703a64ec0a363d8a11f3c1c51bf20 (patch)
tree95386ce573cfca8ff257678ddee6909682365ea4
parentaea8dd6ae122bdc99e104afe019479d45755f239 (diff)
call setfloating in setmon
since in the previous commit we may not applying floating in clients this is to make sure we do
Diffstat (limited to '')
-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);
}