diff options
author | Robert Günzler <r@gnzler.io> | 2017-12-17 08:23:49 +0100 |
---|---|---|
committer | Joe Wilm <jwilm@users.noreply.github.com> | 2017-12-22 13:14:47 -0800 |
commit | 16c0e24d8e4df2a7ac2826f6ebf00d1ced1f531b (patch) | |
tree | dd4acf4432709d3cb2a13a713cc169c21a9014b2 /src/display.rs | |
parent | 6a1bed0a71ff6a963d9b4535a1ac01727d3ae435 (diff) | |
download | alacritty-16c0e24d8e4df2a7ac2826f6ebf00d1ced1f531b.tar.gz alacritty-16c0e24d8e4df2a7ac2826f6ebf00d1ced1f531b.zip |
Add 'borderless' option
Until winit gives us more capabilities in regard to window decorations
this implements a simple switch that renders the window without any
title bar or border
Diffstat (limited to 'src/display.rs')
-rw-r--r-- | src/display.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display.rs b/src/display.rs index 14c5a66d..f0d2a3d0 100644 --- a/src/display.rs +++ b/src/display.rs @@ -137,7 +137,7 @@ impl Display { let render_timer = config.render_timer(); // Create the window where Alacritty will be displayed - let mut window = Window::new(&options.title)?; + let mut window = Window::new(&options.title, config.borderless())?; // get window properties for initializing the other subsystems let mut viewport_size = window.inner_size_pixels() |