mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 07:46:12 +03:00
macos: respect the "auto" window decoration setting (#5159)
This commit is contained in:
@ -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
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user