on xenial help sign in
don't take the altDragHandler into account for window decoration movement
58fa7c1Lukáš Tinkl
qml/Stage/DecoratedWindow.qml+2−1
@@ -204,7 +204,7 @@ FocusScope {
204 height: units.gu(3)
204 height: units.gu(3)
205
205
206 title: applicationWindow.title
206 title: applicationWindow.title
207− windowMoving: moveHandler.moving
207+ windowMoving: moveHandler.moving && !altDragHandler.dragging
208
208
209 opacity: root.hasDecoration ? Math.min(1, root.showDecoration) : 0
209 opacity: root.hasDecoration ? Math.min(1, root.showDecoration) : 0
210 Behavior on opacity { UbuntuNumberAnimation { } }
210 Behavior on opacity { UbuntuNumberAnimation { } }
@@ -256,6 +256,7 @@ FocusScope {
256 }
256 }
257
257
258 MouseArea {
258 MouseArea {
259+ id: altDragHandler
259 anchors.fill: applicationWindow
260 anchors.fill: applicationWindow
260 acceptedButtons: Qt.LeftButton
261 acceptedButtons: Qt.LeftButton
261 property bool dragging: false
262 property bool dragging: false