fix the size of fullscreen clients on hidden tags when outputs change

Clients moved by closemon() get a stale geometry, and updatemons() only
corrected the visible fullscreen client, not those on hidden tags.
This commit is contained in:
save196
2026-11-08 17:00:30 +02:00
parent 0996407e3d
commit 8ab0c16f3c
+2 -1
View File
@@ -3355,7 +3355,8 @@ updatemons(struct wl_listener *listener, void *data)
/* Don't move clients to the left output when plugging monitors */
arrange(m);
/* make sure fullscreen clients have the right size */
if ((c = focustop(m)) && c->isfullscreen)
wl_list_for_each(c, &clients, link)
if (c->mon == m && c->isfullscreen)
resize(c, m->m, 0);
/* Try to re-set the gamma LUT when updating monitors,