mach: add headless option (#450)
Co-authored-by: Stephen Gutekanst <stephen.gutekanst@gmail.com>
This commit is contained in:
parent
2045142057
commit
f4611e1414
2 changed files with 5 additions and 0 deletions
|
|
@ -34,6 +34,10 @@ pub const Options = struct {
|
|||
/// Fullscreen window.
|
||||
fullscreen: bool = false,
|
||||
|
||||
/// Headless mode. Once set, this cannot be unset (because e.g. Wayland does not support showing
|
||||
/// a window after it was hidden.)
|
||||
headless: bool = false,
|
||||
|
||||
/// Monitor synchronization modes.
|
||||
vsync: enums.VSyncMode = .double,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue