mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-12-29 01:24:41 +00:00
macOS: move focus if command palette is not showing (#9548)
Fixes #9533
This commit is contained in:
@@ -903,6 +903,7 @@ extension Ghostty {
|
||||
// Handle focus-follows-mouse
|
||||
if let window,
|
||||
let controller = window.windowController as? BaseTerminalController,
|
||||
!controller.commandPaletteIsShowing,
|
||||
(window.isKeyWindow &&
|
||||
!self.focused &&
|
||||
controller.focusFollowsMouse)
|
||||
|
||||
Reference in New Issue
Block a user