Small fix to WindowDecoration
commit7ccad1d813f45d846e7a00701cd858b530850c43
authorDaniel d'Andrada <daniel.dandrada@canonical.com>
dateMon 19 Oct 2015, 17:05 (11 years ago)
parentc5746dc
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;