@@ -50,7 +50,7 @@ FocusScope {
50 property Item availableDesktopArea
50 property Item availableDesktopArea
51 property PanelState panelState
51 property PanelState panelState
53− readonly property var temporarySelectedWorkspace: state == "spread" ? screensAndWorkspaces.lastClickedWorkspace : null
53+ readonly property var temporarySelectedWorkspace: state == "spread" ? screensAndWorkspaces.activeWorkspace : null
55 // Configuration
55 // Configuration
56 property string mode: "staged"
56 property string mode: "staged"
@@ -580,7 +580,6 @@ FocusScope {
581 PropertyAction { target: spreadItem; property: "highlightedIndex"; value: -1 }
581 PropertyAction { target: spreadItem; property: "highlightedIndex"; value: -1 }
582 PropertyAction { target: floatingFlickable; property: "contentX"; value: 0 }
582 PropertyAction { target: floatingFlickable; property: "contentX"; value: 0 }
583− PropertyAction { target: screensAndWorkspaces; property: "lastClickedWorkspace"; value: null }
586 Transition {
585 Transition {
@@ -631,7 +630,6 @@ FocusScope {
631 opacity: 0
630 opacity: 0
632 visible: opacity > 0
631 visible: opacity > 0
633 onCloseSpread: priv.goneToSpread = false;
632 onCloseSpread: priv.goneToSpread = false;
634− onLastClickedWorkspaceChanged: activeWorkspace = lastClickedWorkspace