Skip to content
Verified Commit 6f0cd573 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

(cherry picked from commit 2ae02766)
parent a34cf8e9
Pipeline #441488 passed with stage
in 10 minutes and 10 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