Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7c34183c authored by Ats Jenk's avatar Ats Jenk
Browse files

Turn off launch adjacent behavior when on desktop

When user is on the desktop, and a new window of an app is created using
launch adjacent, it should open as another window. And not in split
screen.
Use LaunchAdjacentController to coordinate between desktop and split
screen. When on desktop, desktop controller disables launch adjacent.
When not on desktop, launch adjacent is enabled.
Split controller registers its container with the launch adjacent
controller so it can be restored as needed.

Test: atest DesktopTasksController
Test: open chrome in fullscreen, from menu choose new window, observe
  that the window opens in split screen
Test: open chrome in freeform, from menu choose new window, observe that
  a new freeform window is created

Bug: 279585872
Change-Id: If5199a8e5b59b313828061a3164f9880e033a9b3
parent 8172643b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment