Commit ff8dc215 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Aleix Pol Gonzalez
Browse files

Fix connecting external monitors when a monitor is rotated

It would be placed right by the unrotated geometry and after rotating it
the new output would end up floating in the logical space.
This happened because the explicitLogicalSize is cached and needs
updating after changing its settings.


(cherry picked from commit cc832fd4)
parent 6ecb8329
Pipeline #177153 passed with stage
in 3 minutes and 45 seconds
......@@ -85,6 +85,7 @@ KScreen::ConfigPtr Generator::idealConfig(const KScreen::ConfigPtr &currentConfi
for (const auto &output : connectedOutputs) {
initializeOutput(output, config->supportedFeatures());
output->setExplicitLogicalSize(config->logicalSizeForOutput(*output));
}
if (connectedOutputs.count() == 1) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment