diff options
Diffstat (limited to 'src/display.rs')
-rw-r--r-- | src/display.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/display.rs b/src/display.rs index 07ffdd0f..7e8c0057 100644 --- a/src/display.rs +++ b/src/display.rs @@ -22,7 +22,7 @@ use glutin::EventsLoop; use parking_lot::MutexGuard; use crate::cli; -use crate::config::Config; +use crate::config::{Config, StartupMode}; use crate::index::Line; use crate::message_bar::Message; use crate::meter::Meter; @@ -249,7 +249,7 @@ impl Display { if dimensions.columns_u32() == 0 || dimensions.lines_u32() == 0 - || config.window().start_maximized() + || config.window().startup_mode() != StartupMode::Windowed { return None; } |