macos: respect the "auto" window decoration setting

pull/5159/head
Mitchell Hashimoto 2025-01-16 14:02:56 -07:00
parent 6c2c436917
commit a5853c4de8
No known key found for this signature in database
GPG Key ID: 523D5DC389D273BC
1 changed files with 2 additions and 1 deletions

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
}
}