feat: Tooltips and Better Surface Management
This commit is contained in:
parent
c7edd37b03
commit
337b80d4ca
90 changed files with 3651 additions and 977 deletions
|
|
@ -74,10 +74,7 @@ pub fn load_applications<'a>(
|
|||
|
||||
#[cfg(not(windows))]
|
||||
pub fn app_id_or_fallback_matches(app_id: &str, entry: &DesktopEntryData) -> bool {
|
||||
let lowercase_wm_class = match entry.wm_class.as_ref() {
|
||||
Some(s) => Some(s.to_lowercase()),
|
||||
None => None,
|
||||
};
|
||||
let lowercase_wm_class = entry.wm_class.as_ref().map(|s| s.to_lowercase());
|
||||
|
||||
app_id == entry.id
|
||||
|| Some(app_id.to_lowercase()) == lowercase_wm_class
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue