diff options
author | acheronfail <acheronfail@gmail.com> | 2019-04-24 05:05:47 +1000 |
---|---|---|
committer | Christian Duerr <chrisduerr@users.noreply.github.com> | 2019-04-23 19:05:47 +0000 |
commit | e9813031f6e308984cb5547aa1049839cb75745f (patch) | |
tree | c8e6286c98f4f42b6e170e477baa6b1f949b83ef /src/display.rs | |
parent | b0efa9d105b53211d8df094238c7eb8324e93566 (diff) | |
download | alacritty-e9813031f6e308984cb5547aa1049839cb75745f.tar.gz alacritty-e9813031f6e308984cb5547aa1049839cb75745f.zip |
Add fullscreen support
Fixes #34.
Fixes #2012.
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; } |