on xenial help sign in
Be more specific
commite78d48244939edd54b7c5cb7fae2b0f7080547e8 authorDaniel d'Andrada <daniel.dandrada@canonical.com> dateMon 30 May 2016, 10:41 (10 years ago) parentc95d02a
1 file changed+4−2
qml/Shell.qml+4−2
qml/Shell.qml+4−2
@@ -719,10 +719,12 @@ Item {
719719
720720 property bool mouseNeverMoved: true
721721 Binding {
722− target: cursor; property: "x"; value: shell.width / 2; when: mouseNeverMoved && visible
722+ target: cursor; property: "x"; value: shell.width / 2
723+ when: cursor.mouseNeverMoved && cursor.visible
723724 }
724725 Binding {
725− target: cursor; property: "y"; value: shell.height / 2; when: mouseNeverMoved && visible
726+ target: cursor; property: "y"; value: shell.height / 2
727+ when: cursor.mouseNeverMoved && cursor.visible
726728 }
727729
728730 onPushedLeftBoundary: {