Skip to content

Check if we successfully restored input focus

Vlad Zahorodnii requested to merge work/checked-take-focus into master

In rare cases, Workspace::restoreFocus() may fail, for example when the most recently activated client is about to be destroyed or unmapped.

If it happens that we cannot restore the focus, then mark the window in FocusIn event as active.

CCBUG: 424223

Merge request reports