Skip to content
Verified Commit 2ae02766 authored by Fushan Wen's avatar Fushan Wen
Browse files

shell: move `forceActiveFocus` to `PanelView`

This allows to focus on the first child widget in a panel by setting
containment status directly.

This adds `savePreviousWindow()` to save the previously focused window,
to be called in `PanelView::refreshStatus`. When the previous window is
not reset, calling savePreviousWindow() will not do anything, so when
there are more than one panel, it will not incorrectly save the wrong
window (panel).

CCBUG: 455398
CCBUG: 352476
CCBUG: 453166
parent 0dfb6cbf
Pipeline #441485 passed with stage
in 13 minutes and 59 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment