mirror of
https://codeberg.org/dwl/dwl.git
synced 2026-11-12 16:13:20 +00:00
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:
@@ -3355,7 +3355,8 @@ updatemons(struct wl_listener *listener, void *data)
|
|||||||
/* Don't move clients to the left output when plugging monitors */
|
/* Don't move clients to the left output when plugging monitors */
|
||||||
arrange(m);
|
arrange(m);
|
||||||
/* make sure fullscreen clients have the right size */
|
/* 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);
|
resize(c, m->m, 0);
|
||||||
|
|
||||||
/* Try to re-set the gamma LUT when updating monitors,
|
/* Try to re-set the gamma LUT when updating monitors,
|
||||||
|
|||||||
Reference in New Issue
Block a user