mirror of
https://codeberg.org/dwl/dwl.git
synced 2026-11-11 15:43:13 +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,8 +3355,9 @@ 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)
|
||||
resize(c, m->m, 0);
|
||||
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,
|
||||
* it's only really needed when enabling a disabled output, but meh. */
|
||||
|
||||
Reference in New Issue
Block a user