Commit 87323bb7 authored by Marco Martin's avatar Marco Martin

restore old window if list just dismissed

parent f79d82fe
......@@ -99,6 +99,7 @@ FullScreenPanel {
script: {
if (tasksView.contentY <= -tasksView.headerItem.height || tasksView.contentY >= tasksView.contentHeight - tasksView.headerItem.height) {
window.visible = false;
setSingleActiveWindow(currentTaskIndex);
}
}
}
......
......@@ -104,7 +104,6 @@ PlasmaCore.ColorScope {
enabled: taskSwitcher.tasksCount > 0;
iconSource: "window-list"
onClicked: {
taskSwitcher.currentTaskIndex = -1;
taskSwitcher.visible ? taskSwitcher.hide() : taskSwitcher.show();
}
onPressed: mainMouseArea.managePressed(mouse);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment