on xenial help sign in
don't take the altDragHandler into account for window decoration movement
commit58fa7c15e939c5b83a93de05a9b27c3c070d1d5d authorLukáš Tinkl <lukas.tinkl@canonical.com> dateWed 1 Mar 2017, 01:06 (10 years ago) parent893c8d1
1 file changed+2−1
qml/Stage/DecoratedWindow.qml+2−1
qml/Stage/DecoratedWindow.qml+2−1
@@ -204,7 +204,7 @@ FocusScope {
204204 height: units.gu(3)
205205
206206 title: applicationWindow.title
207− windowMoving: moveHandler.moving
207+ windowMoving: moveHandler.moving && !altDragHandler.dragging
208208
209209 opacity: root.hasDecoration ? Math.min(1, root.showDecoration) : 0
210210 Behavior on opacity { UbuntuNumberAnimation { } }
@@ -256,6 +256,7 @@ FocusScope {
256256 }
257257
258258 MouseArea {
259+ id: altDragHandler
259260 anchors.fill: applicationWindow
260261 acceptedButtons: Qt.LeftButton
261262 property bool dragging: false