@@ -222,34 +222,4 @@ FocusScope {
222222 opacity: root.darkening && !root.showHighlight ? 0.05 : 0
223223 Behavior on opacity { UbuntuNumberAnimation { duration: UbuntuAnimation.SnapDuration } }
224224 }
225−
226− MouseArea {
227− anchors.fill: applicationWindow
228− acceptedButtons: Qt.LeftButton
229− hoverEnabled: true
230− property bool dragging: false
231− onPressed: {
232− if (mouse.button == Qt.LeftButton && mouse.modifiers == Qt.AltModifier) {
233− root.decorationPressed(); // to raise it
234− moveHandler.handlePressedChanged(true, Qt.LeftButton, mouse.x, mouse.y);
235− dragging = true;
236− mouse.accepted = true;
237− } else {
238− mouse.accepted = false;
239− }
240− }
241− onPositionChanged: {
242− if (dragging) {
243− moveHandler.handlePositionChanged(mouse);
244− }
245− }
246− onReleased: {
247− if (dragging) {
248− moveHandler.handlePressedChanged(false, Qt.LeftButton);
249− root.decorationReleased(); // commits the fake preview max rectangle
250− moveHandler.handleReleased();
251− dragging = false;
252− }
253− }
254− }
255225}