macos: respect the "auto" window decoration setting

This commit is contained in:
Mitchell Hashimoto
2025-01-16 14:02:56 -07:00
parent 6c2c436917
commit a5853c4de8

View File

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