mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-01 15:38:35 +00:00
refactor: no need to set from for moveFocus probably
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user