Add config setting to turn non-native fullscreen on or off

This commit is contained in:
Thorsten Ball
2023-07-29 21:05:49 +02:00
committed by Mitchell Hashimoto
parent 850bf3e945
commit b56ffa6285
9 changed files with 45 additions and 14 deletions

View File

@@ -221,6 +221,12 @@ pub const Config = struct {
/// The default value is "detect".
@"shell-integration": ShellIntegration = .detect,
/// If true, fullscreen mode on macOS will not use the native fullscreen,
/// but make the window fullscreen without animations and using a new space.
/// That's faster than the native fullscreen mode since it doesn't use
/// animations.
@"macos-non-native-fullscreen": bool = false,
/// This is set by the CLI parser for deinit.
_arena: ?ArenaAllocator = null,