Skip to content

Commit

Permalink
Merge pull request #3169 from MirServer/fix-changing-scale
Browse files Browse the repository at this point in the history
mg::MultiplexingDisplay: Copy *all* mutable fields on user configuration update
  • Loading branch information
AlanGriffiths authored Dec 15, 2023
2 parents 5720b06 + f143984 commit f5f662b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/server/graphics/multiplexing_display.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,12 @@ class CompositeDisplayConfiguration : public mg::DisplayConfiguration
output.current_format = mutable_output.current_format;
output.power_mode = mutable_output.power_mode;
output.orientation = mutable_output.orientation;
output.scale = mutable_output.scale;
output.form_factor = mutable_output.form_factor;
// MirSubpixelArrangement is mistakenly non-const?
output.gamma = mutable_output.gamma;
output.custom_logical_size = mutable_output.custom_logical_size;
output.custom_attribute = std::move(mutable_output.custom_attribute);
});
}
}
Expand Down

0 comments on commit f5f662b

Please sign in to comment.