Commit 22a00129 authored by David Edmundson's avatar David Edmundson

Also generate default output scale on first run not just new monitors

parent 7a768f9f
......@@ -98,6 +98,14 @@ KScreen::ConfigPtr Generator::idealConfig(const KScreen::ConfigPtr &currentConfi
return config;
}
//the scale will generally be independent no matter where the output is
//scale will affect geometry, so do this first
if (config->supportedFeatures().testFlag(KScreen::Config::Feature::PerOutputScaling)) {
for(auto output: qAsConst(connectedOutputs)) {
output->setScale(bestScaleForOutput(output));
}
}
if (connectedOutputs.count() == 1) {
singleOutput(connectedOutputs);
return config;
......
Markdown is supported
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