aboutsummaryrefslogtreecommitdiff
path: root/alacritty/src/display
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2024-01-02 14:34:57 +0100
committerGitHub <noreply@github.com>2024-01-02 13:34:57 +0000
commit5685ce8bf8cb919f454518f1206b7ebc52636378 (patch)
treee20dde7f70bb06ad4edc277f2faa2b25ccf8938c /alacritty/src/display
parent8f57367eadeca92706193fc40030081f40e81fbf (diff)
downloadr-alacritty-5685ce8bf8cb919f454518f1206b7ebc52636378.tar.gz
r-alacritty-5685ce8bf8cb919f454518f1206b7ebc52636378.tar.bz2
r-alacritty-5685ce8bf8cb919f454518f1206b7ebc52636378.zip
Fix replacing optional fields
This fixes an issue with the default `SerdeReplace` implementation where it would never recurse through options but always replace the entire option with the new value. Closes #7518.
Diffstat (limited to 'alacritty/src/display')
-rw-r--r--alacritty/src/display/window.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/alacritty/src/display/window.rs b/alacritty/src/display/window.rs
index f36d05e9..e4bfa2cb 100644
--- a/alacritty/src/display/window.rs
+++ b/alacritty/src/display/window.rs
@@ -165,7 +165,7 @@ impl Window {
let window = window_builder
.with_title(&identity.title)
- .with_theme(config.window.decorations_theme_variant)
+ .with_theme(config.window.theme())
.with_visible(false)
.with_transparent(true)
.with_blur(config.window.blur)