Skip to content

Commit

Permalink
macos: respect the "auto" window decoration setting (#5159)
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellh authored Jan 16, 2025
2 parents b4a3ca9 + a5853c4 commit a185ce3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion macos/Sources/Ghostty/Ghostty.Config.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down

0 comments on commit a185ce3

Please sign in to comment.