Unverified Commit bd6e5a99 authored by Christian Duerr's avatar Christian Duerr Committed by GitHub

Show hollow cursor for windows starting unfocused

Alacritty made the assumption that every window started as focused and
because of that the hollow cursor wouldn't show up for windows which are
launched without focus.

Since even the initial focus should be reported as a focus event by
winit, this could be easily fixed just setting the default window state
to unfocused instead of focused.

This fixes #1563.
parent d387ebe1
......@@ -17,6 +17,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Inverse/Selection color is now modelled after XTerm/VTE instead of URxvt to improve consistency
- First click on unfocused Alacritty windows is no longer ignored on platforms other than macOS
### Fixed
- Windows started as unfocused now show the hollow cursor if the setting is enabled
## Version 0.2.0
### Added
......@@ -249,7 +249,7 @@ impl Window {
cursor_visible: true,
is_focused: true,
is_focused: false,
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment