Commit cb6c54ba authored by Bhushan Shah's avatar Bhushan Shah 📱 Committed by Bhushan Shah
Browse files

Fix rotation direction after change in libkscreen

After libkscreen!12 rotation direction changed, so we need to fix
this as well.


(cherry picked from commit 7d2dff0d)
parent 8c3823ff
...@@ -128,9 +128,9 @@ KScreen::Output::Rotation orientationToRotation(QOrientationReading::Orientation ...@@ -128,9 +128,9 @@ KScreen::Output::Rotation orientationToRotation(QOrientationReading::Orientation
case Orientation::TopDown: case Orientation::TopDown:
return KScreen::Output::Rotation::Inverted; return KScreen::Output::Rotation::Inverted;
case Orientation::LeftUp: case Orientation::LeftUp:
return KScreen::Output::Rotation::Right;
case Orientation::RightUp:
return KScreen::Output::Rotation::Left; return KScreen::Output::Rotation::Left;
case Orientation::RightUp:
return KScreen::Output::Rotation::Right;
case Orientation::Undefined: case Orientation::Undefined:
case Orientation::FaceUp: case Orientation::FaceUp:
case Orientation::FaceDown: case Orientation::FaceDown:
......
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