Skip to content

Commit d872b9f

Browse files
authored
Update dependencies
This introduces some duplicate dependencies, though they are necessary to build properly without any warnings. Fixes alacritty#4735.
1 parent a5e2ccd commit d872b9f

File tree

13 files changed

+94
-81
lines changed

13 files changed

+94
-81
lines changed

Diff for: CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
2020
- Crash due to assertion failure on 32-bit architectures
2121
- Segmentation fault on shutdown with Wayland
2222
- Incorrect estimated DPR with Wayland
23+
- Consecutive clipboard stores dropped on Wayland until the application is refocused
2324

2425
### Removed
2526

Diff for: Cargo.lock

+58-46
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: alacritty/src/config/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ use crate::cli::Options;
2525
pub use crate::config::bindings::{Action, Binding, BindingMode, Key, SearchAction, ViAction};
2626
#[cfg(test)]
2727
pub use crate::config::mouse::{ClickHandler, Mouse};
28-
use crate::config::ui_config::UIConfig;
28+
use crate::config::ui_config::UiConfig;
2929

3030
/// Maximum number of depth for the configuration file imports.
3131
const IMPORT_RECURSION_LIMIT: usize = 5;
3232

33-
pub type Config = TermConfig<UIConfig>;
33+
pub type Config = TermConfig<UiConfig>;
3434

3535
/// Result from config loading.
3636
pub type Result<T> = std::result::Result<T, Error>;

Diff for: alacritty/src/config/ui_config.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use crate::config::mouse::Mouse;
1515
use crate::config::window::WindowConfig;
1616

1717
#[derive(ConfigDeserialize, Debug, PartialEq)]
18-
pub struct UIConfig {
18+
pub struct UiConfig {
1919
/// Font configuration.
2020
pub font: Font,
2121

@@ -56,7 +56,7 @@ pub struct UIConfig {
5656
background_opacity: Percentage,
5757
}
5858

59-
impl Default for UIConfig {
59+
impl Default for UiConfig {
6060
fn default() -> Self {
6161
Self {
6262
alt_send_esc: true,
@@ -76,7 +76,7 @@ impl Default for UIConfig {
7676
}
7777
}
7878

79-
impl UIConfig {
79+
impl UiConfig {
8080
#[inline]
8181
pub fn background_opacity(&self) -> f32 {
8282
self.background_opacity.as_f32()

Diff for: alacritty/src/display/content.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use alacritty_terminal::term::{
1414
RenderableContent as TerminalContent, RenderableCursor as TerminalCursor, Term, TermMode,
1515
};
1616

17-
use crate::config::ui_config::UIConfig;
17+
use crate::config::ui_config::UiConfig;
1818
use crate::display::color::{List, DIM_FACTOR};
1919

2020
/// Minimum contrast between a fixed cursor color and the cell's background.
@@ -31,15 +31,15 @@ pub struct RenderableContent<'a> {
3131
terminal_cursor: TerminalCursor,
3232
cursor: Option<RenderableCursor>,
3333
search: RenderableSearch,
34-
config: &'a Config<UIConfig>,
34+
config: &'a Config<UiConfig>,
3535
colors: &'a List,
3636
}
3737

3838
impl<'a> RenderableContent<'a> {
3939
pub fn new<T: EventListener>(
4040
term: &'a Term<T>,
4141
dfas: Option<&RegexSearch>,
42-
config: &'a Config<UIConfig>,
42+
config: &'a Config<UiConfig>,
4343
colors: &'a List,
4444
show_cursor: bool,
4545
) -> Self {

Diff for: alacritty/src/display/wayland_theme.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ impl WaylandTheme for AlacrittyWaylandTheme {
7070
}
7171
}
7272

73-
trait IntoARGBColor {
73+
trait IntoArgbColor {
7474
fn into_rgba(self) -> ARGBColor;
7575
}
7676

77-
impl IntoARGBColor for Rgb {
77+
impl IntoArgbColor for Rgb {
7878
fn into_rgba(self) -> ARGBColor {
7979
ARGBColor { a: 0xff, r: self.r, g: self.g, b: self.b }
8080
}

0 commit comments

Comments
 (0)