mirror-ghostty/macos/Sources/Features/QuickTerminal
Mitchell Hashimoto a58b1998a9
macos: hide dock globally if the dock conflicts
Related to #5361

The fix in 5361 wasn't sufficient since it only applied if our app was
in the foreground. Our quick terminal is a non-activating NSPanel to
allow it to work on any space (fullscreen included). This means that
Ghostty doesn't become the active app when the quick terminal is shown
and another app is in the foreground.

To work around this, we now hide the dock globally when the quick
terminal is shown AND the dock is in a conflicting position. We restore
this state when the quick terminal is hidden, loses focus, or Ghostty is
quit.
2025-01-24 20:18:44 -08:00
..
QuickTerminal.xib rename slide to quick terminal 2024-09-28 15:20:35 -07:00
QuickTerminalController.swift macos: hide dock globally if the dock conflicts 2025-01-24 20:18:44 -08:00
QuickTerminalPosition.swift macos: autohide dock if quick terminal would conflict with it 2025-01-24 14:51:17 -08:00
QuickTerminalScreen.swift macos: handle multiple monitors properly 2024-09-28 20:52:22 -07:00
QuickTerminalSpaceBehavior.swift fix the comment (quick-terminal-space-behavior) 2025-01-08 11:03:18 -08:00
QuickTerminalWindow.swift macos: only set quick terminal level to popUpMenu during animation 2025-01-12 12:49:43 -08:00