1
0
Fork 0
forked from wry/wry

wayland: add bug entry for alacritty

This commit is contained in:
Julian Orth 2024-03-29 15:33:06 +01:00
parent a65921ca80
commit 7661e011c0
2 changed files with 22 additions and 3 deletions

View file

@ -6,6 +6,14 @@ static BUGS: Lazy<AHashMap<&'static str, Bugs>> = Lazy::new(|| {
"chromium",
Bugs {
respect_min_max_size: true,
..Default::default()
},
);
map.insert(
"Alacritty",
Bugs {
min_size: Some((100, 100)),
..Default::default()
},
);
map
@ -17,9 +25,11 @@ pub fn get(app_id: &str) -> &'static Bugs {
pub static NONE: Bugs = Bugs {
respect_min_max_size: false,
min_size: None,
};
#[derive(Debug)]
#[derive(Default, Debug)]
pub struct Bugs {
pub respect_min_max_size: bool,
pub min_size: Option<(i32, i32)>,
}