summaryrefslogtreecommitdiffstats
path: root/core/src/window
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/window')
-rw-r--r--core/src/window/settings.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/src/window/settings.rs b/core/src/window/settings.rs
index 13822e82..e87fcc83 100644
--- a/core/src/window/settings.rs
+++ b/core/src/window/settings.rs
@@ -37,6 +37,9 @@ pub struct Settings {
/// Whether the window should start maximized.
pub maximized: bool,
+ /// Whether the window should start fullscreen.
+ pub fullscreen: bool,
+
/// The initial position of the window.
pub position: Position,
@@ -83,6 +86,7 @@ impl Default for Settings {
Self {
size: Size::new(1024.0, 768.0),
maximized: false,
+ fullscreen: false,
position: Position::default(),
min_size: None,
max_size: None,