call setfloating in setmon

since in the previous commit we may not applying floating in clients
this is to make sure we do
This commit is contained in:
Leonardo Hernández Hernández 2023-09-03 20:39:33 -06:00
parent aea8dd6ae1
commit 960c32a7d8
No known key found for this signature in database
GPG Key ID: E538897EE11B9624
1 changed files with 1 additions and 0 deletions

1
dwl.c
View File

@ -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);
}