kscreenintegration: fix rotation not being preserved from Plasma 5
This commit is contained in:
parent
857766eb74
commit
2ca1d3fd4c
1 changed files with 1 additions and 0 deletions
|
@ -224,6 +224,7 @@ std::optional<std::pair<OutputConfiguration, QList<Output *>>> readOutputConfig(
|
|||
}
|
||||
if (const QJsonValue rotation = globalInfo["rotation"]; !rotation.isUndefined()) {
|
||||
props->transform = KScreenIntegration::toKWinTransform(rotation.toInt());
|
||||
props->manualTransform = props->transform;
|
||||
}
|
||||
if (const QJsonValue overscan = globalInfo["overscan"]; !overscan.isUndefined()) {
|
||||
props->overscan = globalInfo["overscan"].toInt();
|
||||
|
|
Loading…
Reference in a new issue