Skip to content

window: Fallback to CSD titlebar in focus-chain

Andrea Azzarone requested to merge azzaronea/gtk:fix-gs-issue-404 into master

CSD titlebar are included in the focus-chain. The logic used makes sure that the initial focus avoids the titlebar, but tabbing around will eventually get there. This logic fails in case the window has no other focusable widgets apart from the ones in the header-bar. If this happens keynav focus will be lost. To handle the above scenario, we need to fallback to focus the header-bar (if any).

Fixes: gnome-software#404 (closed)

Merge request reports

Loading