From aec21eca1fedbb8d924cd3dfaf4503e3c19fc873 Mon Sep 17 00:00:00 2001 From: Forrest Bushstone Date: Fri, 29 Sep 2023 14:45:22 -0400 Subject: [PATCH] make sure that fullscreen clients are on the correct screen when isfloating is true Bug: https://github.com/djpohly/dwl/issues/487 --- dwl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwl.c b/dwl.c index 4118fd8..2cedede 100644 --- a/dwl.c +++ b/dwl.c @@ -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); }