macos: respect the "auto" window decoration setting (#5159)

This commit is contained in:
Mitchell Hashimoto
2025-01-16 13:16:07 -08:00
committed by GitHub

View File

@ -562,10 +562,11 @@ extension Ghostty.Config {
case none case none
case client case client
case server case server
case auto
func enabled() -> Bool { func enabled() -> Bool {
switch self { switch self {
case .client, .server: return true case .client, .server, .auto: return true
case .none: return false case .none: return false
} }
} }