@@ -154,4 +154,34 @@ FocusScope {
154 angle: rotationAngle
154 angle: rotationAngle
159+ anchors.fill: applicationWindow
160+ acceptedButtons: Qt.LeftButton
162+ property bool dragging: false
164+ if (mouse.button == Qt.LeftButton && mouse.modifiers == Qt.AltModifier) {
165+ root.decorationPressed(); // to raise it
166+ moveHandler.handlePressedChanged(true, Qt.LeftButton, mouse.x, mouse.y);
168+ mouse.accepted = true;
170+ mouse.accepted = false;
173+ onPositionChanged: {
175+ moveHandler.handlePositionChanged(mouse);
180+ moveHandler.handlePressedChanged(false, Qt.LeftButton);
181+ root.decorationReleased(); // commits the fake preview max rectangle
182+ moveHandler.handleReleased();