diff options
author | Forrest Bushstone <fgb.1@protonmail.com> | 2023-09-29 14:45:22 -0400 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@proton.me> | 2023-09-29 18:00:32 -0600 |
commit | aec21eca1fedbb8d924cd3dfaf4503e3c19fc873 (patch) | |
tree | 0c8c661e6f76d844ddf6eb940eead159ebeab087 | |
parent | 342850487acf4fc7383429786b9cb05a6a4cdf4f (diff) |
make sure that fullscreen clients are on the correct screen when isfloating is true
Bug: https://github.com/djpohly/dwl/issues/487
-rw-r--r-- | dwl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2102,8 +2102,8 @@ setmon(Client *c, Monitor *m, uint32_t newtags) /* Make sure window actually overlaps with the monitor */ 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); + setfullscreen(c, c->isfullscreen); /* This will call arrange(c->mon) */ } focusclient(focustop(selmon), 1); } |