Commit cc832fd4 authored by Aleix Pol Gonzalez's avatar 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.
parent 09908d87
......@@ -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