mirror-ghostty/macos/Sources/Features
Mitchell Hashimoto c8243ffd99
macOS: prevent focus loss in hidden titlebar + non-native fullscreen
When using hidden titlebar with non-native fullscreen, the window would
lose focus after entering the first command. This occurred because:

1. Shell commands update the window title
2. Title changes trigger reapplyHiddenStyle() 
3. reapplyHiddenStyle() re-adds .titled to the style mask
4. Style mask changes during fullscreen confuse AppKit, causing focus loss

Fixed by adding a guard to skip titlebar restyling while fullscreen is
active, using terminalController.fullscreenStyle.isFullscreen for
proper detection of both native and non-native fullscreen modes.

https://ampcode.com/threads/T-c4ef59cc-1232-4fa5-8f09-c65724ee84d3
2025-09-03 10:01:28 -07:00
..
About macos: custom app icon goes into About window 2024-12-21 19:31:30 -08:00
App Intents macOS: SurfaceView should implement Identifiable 2025-09-03 09:17:37 -07:00
ClipboardConfirmation macos: unhide cursor on clipboard confirmation 2024-09-21 09:59:40 -07:00
Colorized Ghostty Icon macos: Ghostty Icon Update for macOS Tahoe 2025-06-21 12:34:49 -07:00
Command Palette macos: starting to work on new libghostty data models 2025-06-21 06:39:19 -07:00
Global Keybinds Follow-up to #7462: var -> let 2025-06-02 10:14:52 -07:00
QuickTerminal macos: use visible frame for quick terminal sizing calculation 2025-08-27 06:59:02 -07:00
Secure Input macos: show clickable mouse pointer when hovering over secure input 2024-09-20 09:56:44 -07:00
Services macos: remove TerminalManager 2025-06-07 12:46:15 -07:00
Settings style(macos): cleanup trailing spaces 2024-08-21 21:53:09 +02:00
Splits macOS: SurfaceView should implement Identifiable 2025-09-03 09:17:37 -07:00
Terminal macOS: prevent focus loss in hidden titlebar + non-native fullscreen 2025-09-03 10:01:28 -07:00
Update Make Ghostty release channel aware 2024-12-20 14:21:59 -08:00