mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-27 22:33:08 +00:00
Revert "Add support for task reordering based on ordering history"
This reverts commit 3a09014754
This commit is contained in:
parent
3a09014754
commit
4b53b4da5c
4 changed files with 3 additions and 5 deletions
|
|
@ -105,7 +105,7 @@ Repeater {
|
||||||
|
|
||||||
onLaunch: (x, y, icon, title) => {
|
onLaunch: (x, y, icon, title) => {
|
||||||
if (icon !== "") {
|
if (icon !== "") {
|
||||||
print(delegate.iconItem);
|
print(delegate.iconItem)
|
||||||
MobileShell.HomeScreenControls.openAppAnimation(
|
MobileShell.HomeScreenControls.openAppAnimation(
|
||||||
icon,
|
icon,
|
||||||
title,
|
title,
|
||||||
|
|
|
||||||
|
|
@ -205,7 +205,6 @@ QtObject {
|
||||||
|
|
||||||
onFinished: {
|
onFinished: {
|
||||||
root.currentlyBeingOpened = false;
|
root.currentlyBeingOpened = false;
|
||||||
taskSwitcher.tasksModel.requestLastActivatedReorderDelay(false);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -221,7 +220,6 @@ QtObject {
|
||||||
taskSwitcher.instantHide();
|
taskSwitcher.instantHide();
|
||||||
|
|
||||||
if (root.wasInActiveTask) {
|
if (root.wasInActiveTask) {
|
||||||
taskSwitcher.tasksModel.requestLastActivatedReorderDelay(true);
|
|
||||||
taskSwitcher.setSingleActiveWindow(root.currentTaskIndex);
|
taskSwitcher.setSingleActiveWindow(root.currentTaskIndex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ TaskManager.PipeWireSourceItem {
|
||||||
nodeId: waylandItem.nodeId
|
nodeId: waylandItem.nodeId
|
||||||
|
|
||||||
onVisibleChanged: {
|
onVisibleChanged: {
|
||||||
if (visible) {
|
if (visible && waylandItem.uuid.length === 0) {
|
||||||
if (model.WinIdList) {
|
if (model.WinIdList) {
|
||||||
waylandItem.uuid = model.WinIdList[0];
|
waylandItem.uuid = model.WinIdList[0];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -184,7 +184,7 @@ FocusScope {
|
||||||
groupMode: TaskManager.TasksModel.GroupDisabled
|
groupMode: TaskManager.TasksModel.GroupDisabled
|
||||||
|
|
||||||
screenGeometry: plasmoid.screenGeometry
|
screenGeometry: plasmoid.screenGeometry
|
||||||
sortMode: TaskManager.TasksModel.SortLastActivated
|
sortMode: TaskManager.TasksModel.SortAlpha
|
||||||
|
|
||||||
virtualDesktop: virtualDesktopInfo.currentDesktop
|
virtualDesktop: virtualDesktopInfo.currentDesktop
|
||||||
activity: activityInfo.currentActivity
|
activity: activityInfo.currentActivity
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue