on xenial help sign in
Merge lp:~unity-team/unity8/mousePointer again
commit11ee416e8964a2e286a09181d780c73a100eefba authorDaniel d'Andrada <daniel.dandrada@canonical.com> dateTue 20 Oct 2015, 06:11 (11 years ago) parentdf28f717ccad1d
2 files changed+2−1
qml/Stages/DesktopStage.qml+1 qml/Stages/WindowDecoration.qml+1−1
qml/Stages/DesktopStage.qml+1
@@ -236,6 +236,7 @@ Rectangle {
236236 onClose: ApplicationManager.stopApplication(model.appId)
237237 onMaximize: appDelegate.maximize()
238238 onMinimize: appDelegate.minimize()
239+ onDecorationPressed: { ApplicationManager.focusApplication(model.appId) }
239240 }
240241 }
241242 }
qml/Stages/WindowDecoration.qml+1−1
@@ -51,7 +51,7 @@ MouseArea {
5151 Mir.cursorName = "";
5252 }
5353 }
54− onMouseXChanged: {
54+ onPositionChanged: {
5555 if (priv.dragging) {
5656 var pos = mapToItem(root.target.parent, mouseX, mouseY);
5757 root.target.x = pos.x - priv.distanceX;