@@ -221,6 +221,7 @@ Item {
221 var mappedCoords = mapFromItem(null, pos.x, pos.y);
221 var mappedCoords = mapFromItem(null, pos.x, pos.y);
222 cursor.x = mappedCoords.x;
222 cursor.x = mappedCoords.x;
223 cursor.y = mappedCoords.y;
223 cursor.y = mappedCoords.y;
224+ cursor.mouseNeverMoved = false;
@@ -716,6 +717,14 @@ Item {
716 visible: shell.hasMouse
717 visible: shell.hasMouse
717 z: screenGrabber.z + 1
718 z: screenGrabber.z + 1
720+ property bool mouseNeverMoved: true
722+ target: cursor; property: "x"; value: shell.width / 2; when: mouseNeverMoved && visible
725+ target: cursor; property: "y"; value: shell.height / 2; when: mouseNeverMoved && visible
719 onPushedLeftBoundary: {
728 onPushedLeftBoundary: {
720 if (buttons === Qt.NoButton) {
729 if (buttons === Qt.NoButton) {
721 launcher.pushEdge(amount);
730 launcher.pushEdge(amount);
@@ -729,7 +738,10 @@ Item {
742+ mouseNeverMoved = false;
732− onMouseMoved: { cursor.opacity = 1; }
743+ cursor.opacity = 1;
735 // non-visual object
747 // non-visual object