@@ -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() {
@@ -168,6 +172,7 @@ FocusScope {
168 GlobalShortcut {
172 GlobalShortcut {
169 id: showSpreadShortcut
173 id: showSpreadShortcut
170 shortcut: Qt.MetaModifier|Qt.Key_W
174 shortcut: Qt.MetaModifier|Qt.Key_W
175+ active: root.spreadEnabled
171 onTriggered: priv.goneToSpread = true
176 onTriggered: priv.goneToSpread = true
@@ -1800,6 +1805,7 @@ FocusScope {
1800 direction: Direction.Leftwards
1805 direction: Direction.Leftwards
1801 anchors { top: parent.top; right: parent.right; bottom: parent.bottom }
1806 anchors { top: parent.top; right: parent.right; bottom: parent.bottom }
1802 width: root.dragAreaWidth
1807 width: root.dragAreaWidth
1808+ enabled: root.spreadEnabled
1804 property var gesturePoints: []
1810 property var gesturePoints: []
1805 property bool cancelled: false
1811 property bool cancelled: false