@@ -92,7 +92,9 @@ FocusScope {
93 onAltTabPressedChanged: {
93 onAltTabPressedChanged: {
94 if (altTabPressed) {
94 if (altTabPressed) {
95+ if (root.spreadEnabled) {
95− altTabDelayTimer.start();
96+ altTabDelayTimer.start();
97 // Alt Tab has been released, did we already go to spread?
99 // Alt Tab has been released, did we already go to spread?
98 if (priv.goneToSpread) {
100 if (priv.goneToSpread) {
@@ -127,7 +129,9 @@ FocusScope {
127 function updateFocusedAppOrientation() { /* TODO */ }
129 function updateFocusedAppOrientation() { /* TODO */ }
128 function updateFocusedAppOrientationAnimated() { /* TODO */}
130 function updateFocusedAppOrientationAnimated() { /* TODO */}
129 function pushRightEdge(amount) {
131 function pushRightEdge(amount) {
132+ if (root.spreadEnabled) {
130− edgeBarrier.push(amount);
133+ edgeBarrier.push(amount);
133 function closeSpread() {
137 function closeSpread() {
@@ -1788,6 +1792,7 @@ FocusScope {
1788 direction: Direction.Leftwards
1792 direction: Direction.Leftwards
1789 anchors { top: parent.top; right: parent.right; bottom: parent.bottom }
1793 anchors { top: parent.top; right: parent.right; bottom: parent.bottom }
1790 width: root.dragAreaWidth
1794 width: root.dragAreaWidth
1795+ enabled: root.spreadEnabled
1792 property var gesturePoints: []
1797 property var gesturePoints: []
1793 property bool cancelled: false
1798 property bool cancelled: false