mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
Minimize all windows on home button press
The home button was a no-op in convergence mode when windows were visible. Call WindowUtil.minimizeAll() so the home button acts as show-desktop, preserving the mobile path that also resets homescreen state before minimizing.
This commit is contained in:
parent
5dfae0c45c
commit
7889e07815
1 changed files with 3 additions and 0 deletions
|
|
@ -80,6 +80,9 @@ ContainmentItem {
|
|||
folio.HomeScreenState.closeAppDrawer();
|
||||
folio.HomeScreenState.goToPage(0, false);
|
||||
|
||||
WindowPlugin.WindowUtil.minimizeAll();
|
||||
} else {
|
||||
// In convergence mode, toggle "show desktop" (minimize all to reveal homescreen)
|
||||
WindowPlugin.WindowUtil.minimizeAll();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue