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 fbbf86ab..13822e82 100644
--- a/core/src/window/settings.rs
+++ b/core/src/window/settings.rs
@@ -34,6 +34,9 @@ pub struct Settings {
/// The initial logical dimensions of the window.
pub size: Size,
+ /// Whether the window should start maximized.
+ pub maximized: bool,
+
/// The initial position of the window.
pub position: Position,
@@ -79,6 +82,7 @@ impl Default for Settings {
fn default() -> Self {
Self {
size: Size::new(1024.0, 768.0),
+ maximized: false,
position: Position::default(),
min_size: None,
max_size: None,