mach: Implement fullscreen window support for native platforms (glfw)
This feature remembers the last position of window before turning to fullscreen.
This commit is contained in:
parent
d3feaed383
commit
3dc131d4fa
2 changed files with 15 additions and 0 deletions
|
|
@ -31,6 +31,9 @@ pub const Options = struct {
|
|||
/// The maximum allowed size for the window.
|
||||
size_max: SizeOptional = .{ .width = null, .height = null },
|
||||
|
||||
/// Fullscreen window.
|
||||
fullscreen: bool = false,
|
||||
|
||||
/// Monitor synchronization modes.
|
||||
vsync: enums.VSyncMode = .double,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue