mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-01-20 20:00:43 +00:00
macOS: move focus if command palette is not showing
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