natinusala / borealis

Hardware accelerated, controller and TV oriented UI library for PC and Nintendo Switch (libnx)
Apache License 2.0
257 stars 81 forks source link

Move the focus stack to the activities stack instead of a separate stack #123

Open natinusala opened 3 years ago

natinusala commented 3 years ago

The focus stack is currently a separate stack, next to the activities stack. Both stacks evolve at the same time and are 1:1.

It does not make sense to have two separate stacks. The last focused view can be stored in each activity, removing the need for the focus stack entirely.