Rely on root getting re-focused when panel isn't rendered

This achieves two things:

- When a panel like `TerminalPanel` closes its last tab, the focus
is returned to the root view (the `Workspace`)
- When a panel is moved from a dock to another, it will get rendered
in another spot but the focus will be kept on the panel

This also ensures the focus is not lost when a panel is moved from
a dock to another because that view
e507eadb4bAntonio Scandurra committed on 5/10/2023, 1:43:44 PMparent9b9d53f
2 files changedLine totals unavailable