macOS: move focus if command palette is not showing

pull/9548/head
Lukas 2025-11-10 10:11:34 +01:00
parent 1e7b8f6085
commit 7ca858d404
No known key found for this signature in database
GPG Key ID: 845CB61BD38F4E49
1 changed files with 1 additions and 0 deletions

View File

@ -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)