From 2ca1d3fd4c59c419c7a6ecb9f096465b6a20ad8e Mon Sep 17 00:00:00 2001 From: Xaver Hugl Date: Fri, 9 Feb 2024 21:32:46 +0100 Subject: [PATCH] kscreenintegration: fix rotation not being preserved from Plasma 5 --- src/kscreenintegration.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/kscreenintegration.cpp b/src/kscreenintegration.cpp index 19a28a9664..7a71165b86 100644 --- a/src/kscreenintegration.cpp +++ b/src/kscreenintegration.cpp @@ -224,6 +224,7 @@ std::optional>> 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();