Skip to content

Commit

Permalink
make sure that fullscreen clients are on the correct screen when isfl…
Browse files Browse the repository at this point in the history
…oating is true

Bug: djpohly/dwl#487
  • Loading branch information
fbushstone authored and mobygit committed Oct 9, 2023
1 parent eca1681 commit 19a95be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dwl.c
Original file line number Diff line number Diff line change
Expand Up @@ -2125,8 +2125,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);
}
Expand Down

0 comments on commit 19a95be

Please # to comment.