-
Notifications
You must be signed in to change notification settings - Fork 631
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
macos: prevent moveFocus from being an infinite loop (#2905)
Fixes #2900 It's possible for moveFocus to infinite loop if the surface view we're trying to move focus to NEVER gets attached to a window. This can happen if the window is destroyed. I think this issue should be more systemically fixed so it can't happen but this workaround for now prevents moveFocus from being an infinite loop source for the time being.
- Loading branch information
Showing
1 changed file
with
32 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters