diff --git a/qml/Screen.qml b/qml/Screen.qml index 2dbacdb9b342d10a1a48a21849d108b13a6a2d6f..c7851c9dc2312827e5240042473a87f7e491f31a 100644 --- a/qml/Screen.qml +++ b/qml/Screen.qml @@ -74,9 +74,10 @@ WaylandOutput { WaylandMouseTracker { id: mouseTracker - anchors.fill: parent + anchors.centerIn: parent windowSystemCursorEnabled: true - rotation: 0 + width: (rotation==90 || rotation==270) ? parent.height : parent.width + height: (rotation==90 || rotation==270) ? parent.width : parent.height Rectangle { anchors.fill: parent