wayland: add bug entry for alacritty
This commit is contained in:
parent
a65921ca80
commit
7661e011c0
2 changed files with 22 additions and 3 deletions
12
src/bugs.rs
12
src/bugs.rs
|
|
@ -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)>,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue