diff --git a/alacritty/src/display/wayland_theme.rs b/alacritty/src/display/wayland_theme.rs index 7a9aac16..b56ad0c7 100644 --- a/alacritty/src/display/wayland_theme.rs +++ b/alacritty/src/display/wayland_theme.rs @@ -8,8 +8,8 @@ const INACTIVE_OPACITY: u8 = 127; #[derive(Debug, Clone)] pub struct AlacrittyWaylandTheme { - pub background: ARGBColor, pub foreground: ARGBColor, + pub background: ARGBColor, pub dim_foreground: ARGBColor, pub hovered_close_icon: ARGBColor, pub hovered_maximize_icon: ARGBColor, @@ -32,8 +32,8 @@ impl AlacrittyWaylandTheme { background, dim_foreground, hovered_close_icon, - hovered_minimize_icon, hovered_maximize_icon, + hovered_minimize_icon, } } } diff --git a/alacritty/src/url.rs b/alacritty/src/url.rs index d86b514a..e4a29512 100644 --- a/alacritty/src/url.rs +++ b/alacritty/src/url.rs @@ -138,7 +138,7 @@ impl Urls { if url.lines.last().map(|last| last.color) == Some(color) { url.lines.last_mut().unwrap().end = end; } else { - url.lines.push(RenderLine { color, start, end }); + url.lines.push(RenderLine { start, end, color }); } // Update excluded cells at the end of the URL.