mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
homescreens/folio: Minimize all windows when pressing start key rather than activate "show desktop" mode
Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/333 There is some behavior with "show desktop" mode that we do not want (as it self-restores under certain focus conditions). Just simply minimize all windows instead.
This commit is contained in:
parent
79c982c633
commit
7df864904a
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ ContainmentItem {
|
||||||
Folio.HomeScreenState.closeAppDrawer();
|
Folio.HomeScreenState.closeAppDrawer();
|
||||||
Folio.HomeScreenState.goToPage(0);
|
Folio.HomeScreenState.goToPage(0);
|
||||||
|
|
||||||
WindowPlugin.WindowUtil.isShowingDesktop = true;
|
WindowPlugin.WindowUtil.minimizeAll();
|
||||||
}
|
}
|
||||||
} else { // if we are on the homescreen
|
} else { // if we are on the homescreen
|
||||||
switch (Folio.HomeScreenState.viewState) {
|
switch (Folio.HomeScreenState.viewState) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue