mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-11 13:51:01 -05:00
Fix first unfullscreen on fullscreen mode launched window
This commit is contained in:
parent
5ad1e8b75f
commit
e2e25b3206
2 changed files with 6 additions and 2 deletions
|
@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
- GUI programs launched by Alacritty starting in the background on X11
|
||||
- Text Cursor position when scrolling
|
||||
- Performance issues while resizing Alacritty
|
||||
- First unfullscreen action ignored on window launched in fullscreen mode
|
||||
|
||||
## 0.3.3
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ use parking_lot::MutexGuard;
|
|||
use serde_json as json;
|
||||
|
||||
use crate::clipboard::ClipboardType;
|
||||
use crate::config::{self, Config};
|
||||
use crate::config::{self, Config, StartupMode};
|
||||
use crate::display::OnResize;
|
||||
use crate::grid::Scroll;
|
||||
use crate::index::{Column, Line, Point, Side};
|
||||
|
@ -342,7 +342,10 @@ impl<N: Notify> Processor<N> {
|
|||
window_changes: Default::default(),
|
||||
save_to_clipboard: config.selection.save_to_clipboard,
|
||||
alt_send_esc: config.alt_send_esc(),
|
||||
is_fullscreen: false,
|
||||
is_fullscreen: config.window.startup_mode() == StartupMode::Fullscreen,
|
||||
#[cfg(target_os = "macos")]
|
||||
is_simple_fullscreen: config.window.startup_mode() == StartupMode::SimpleFullscreen,
|
||||
#[cfg(not(target_os = "macos"))]
|
||||
is_simple_fullscreen: false,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue