Skip to content
Commit 8894338e authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Check if we successfully restored input focus

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

(cherry picked from commit 55588507)
(cherry picked from commit 892d2ad1)
parent ff22415c
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