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
|
return v
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if canImport(AppKit)
|
||||||
var windowFullscreenMode: FullscreenMode {
|
var windowFullscreenMode: FullscreenMode {
|
||||||
let defaultValue: FullscreenMode = .native
|
let defaultValue: FullscreenMode = .native
|
||||||
guard let config = self.config else { return defaultValue }
|
guard let config = self.config else { return defaultValue }
|
||||||
@ -238,6 +239,7 @@ extension Ghostty {
|
|||||||
defaultValue
|
defaultValue
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
var windowTitleFontFamily: String? {
|
var windowTitleFontFamily: String? {
|
||||||
guard let config = self.config else { return nil }
|
guard let config = self.config else { return nil }
|
||||||
|
Reference in New Issue
Block a user