mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00

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.