mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-08-30 19:11:39 +00:00
Toggling visibility is now ignored when in fullscreen mode. (#5472)
This PR ensures visibility toggling is ignored when the currently focused surface is fullscreen. This includes the following: - Show/Hide All Terminals is ignored - Using a binding to toggle is ignored This ensures Ghostty doesn't unexpectedly lose focus or disappear and is the expected behavior on macOS.
This commit is contained in:
@@ -470,6 +470,8 @@ pub const Action = union(enum) {
|
||||
/// Ghostty becomes focused. When hiding all windows, focus is yielded
|
||||
/// to the next application as determined by the OS.
|
||||
///
|
||||
/// Note: When the focused surface is fullscreen, this method does nothing.
|
||||
///
|
||||
/// This currently only works on macOS.
|
||||
toggle_visibility: void,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user