mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
macos: only get fullscreen mode on AppKit
This commit is contained in:
@ -219,6 +219,7 @@ extension Ghostty {
|
||||
return v
|
||||
}
|
||||
|
||||
#if canImport(AppKit)
|
||||
var windowFullscreenMode: FullscreenMode {
|
||||
let defaultValue: FullscreenMode = .native
|
||||
guard let config = self.config else { return defaultValue }
|
||||
@ -238,6 +239,7 @@ extension Ghostty {
|
||||
defaultValue
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
var windowTitleFontFamily: String? {
|
||||
guard let config = self.config else { return nil }
|
||||
|
Reference in New Issue
Block a user