mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
taskswitcher: Remove requestLastActivatedReorderDelay calls
This was removed upstream https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1661
This commit is contained in:
parent
401620e365
commit
174843767f
2 changed files with 0 additions and 4 deletions
|
|
@ -83,9 +83,6 @@ Item {
|
||||||
taskSwitcherState.wasInActiveTask = tasksModel.activeTask.row >= 0;
|
taskSwitcherState.wasInActiveTask = tasksModel.activeTask.row >= 0;
|
||||||
taskSwitcherState.currentlyBeingOpened = true;
|
taskSwitcherState.currentlyBeingOpened = true;
|
||||||
|
|
||||||
// disable reorder feature and the relative delay
|
|
||||||
taskSwitcher.tasksModel.requestLastActivatedReorderDelay(0);
|
|
||||||
|
|
||||||
// skip to first active task
|
// skip to first active task
|
||||||
if (taskSwitcherState.wasInActiveTask) {
|
if (taskSwitcherState.wasInActiveTask) {
|
||||||
taskSwitcherState.goToTaskIndex(tasksModel.activeTask.row);
|
taskSwitcherState.goToTaskIndex(tasksModel.activeTask.row);
|
||||||
|
|
|
||||||
|
|
@ -221,7 +221,6 @@ QtObject {
|
||||||
taskSwitcher.instantHide();
|
taskSwitcher.instantHide();
|
||||||
|
|
||||||
if (root.wasInActiveTask) {
|
if (root.wasInActiveTask) {
|
||||||
taskSwitcher.tasksModel.requestLastActivatedReorderDelay(5000);
|
|
||||||
taskSwitcher.setSingleActiveWindow(root.currentTaskIndex);
|
taskSwitcher.setSingleActiveWindow(root.currentTaskIndex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue