refactor: no need to set from for moveFocus probably

This commit is contained in:
himura467
2025-09-30 05:58:21 +09:00
parent bc3d0b7cbc
commit b3d0b6a965
2 changed files with 2 additions and 7 deletions

View File

@@ -257,7 +257,7 @@ class QuickTerminalController: BaseTerminalController {
guard surfaceTree.contains(view) else { return }
// Set the target surface as focused before animation
DispatchQueue.main.async {
Ghostty.moveFocus(to: view, from: self.focusedSurface)
Ghostty.moveFocus(to: view)
}
// Animation completion handler will handle window/app activation
animateIn()