workspace: also update xwayland scale when not changing the output order
This commit is contained in:
parent
170b138026
commit
4f5fce8b7a
1 changed files with 2 additions and 2 deletions
|
@ -494,11 +494,11 @@ bool Workspace::applyOutputConfiguration(const OutputConfiguration &config, cons
|
|||
return false;
|
||||
}
|
||||
updateOutputs(outputOrder);
|
||||
m_outputConfigStore->storeConfig(kwinApp()->outputBackend()->outputs(), m_lidSwitchTracker->isLidClosed(), config, outputOrder);
|
||||
m_outputConfigStore->storeConfig(kwinApp()->outputBackend()->outputs(), m_lidSwitchTracker->isLidClosed(), config, m_outputOrder);
|
||||
KConfig cfg(QStringLiteral("kdeglobals"));
|
||||
KConfigGroup kscreenGroup = cfg.group(QStringLiteral("KScreen"));
|
||||
const bool xwaylandClientsScale = kscreenGroup.readEntry("XwaylandClientsScale", true);
|
||||
if (xwaylandClientsScale && !outputOrder.isEmpty()) {
|
||||
if (xwaylandClientsScale && !m_outputOrder.isEmpty()) {
|
||||
double maxScale = 0;
|
||||
for (Output *output : outputOrder) {
|
||||
const auto changeset = config.constChangeSet(output);
|
||||
|
|
Loading…
Reference in a new issue