bugfix: needed ref when setting output area

This commit is contained in:
Matthew Kosarek 2024-02-07 15:36:07 -05:00
parent 621cb6a93e
commit e2a4ee8cdd

View File

@ -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());
}