mirror of
https://github.com/miracle-wm-org/miracle-wm.git
synced 2024-11-23 12:15:59 +03:00
bugfix: needed ref when setting output area
This commit is contained in:
parent
621cb6a93e
commit
e2a4ee8cdd
@ -294,7 +294,7 @@ void MiracleWindowManagementPolicy::advise_output_update(miral::Output const& up
|
||||
{
|
||||
if (output->output.is_same_output(original))
|
||||
{
|
||||
for (auto workspace : output->screen->get_workspaces())
|
||||
for (auto& workspace : output->screen->get_workspaces())
|
||||
{
|
||||
workspace.tree.set_output_area(updated.extents());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user