mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-06-04 22:48:38 +03:00

When making a split, the window focus doesn't change so the new splits were defaulting to "false" (not focused). Let's just assume when a surface is created that it is in fact focused. This generally fixes the issue. If we ever programmatically create splits in background windows this will probably fail so we should find a way on View init to detect if the window has focus.