mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
restore old window if list just dismissed
This commit is contained in:
parent
f79d82fe13
commit
87323bb71a
2 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue