diff options
author | Victor Kareh <[email protected]> | 2023-03-03 13:00:14 -0500 |
---|---|---|
committer | lukefromdc <[email protected]> | 2024-06-18 17:04:23 -0400 |
commit | cb83a91ed03c9e5ab2a1d8b932ffac3ba49e9fbb (patch) | |
tree | f5382877cd3acfec00676e9a7bd35b41eb51ed5e /src/include | |
parent | b7bf18ee00c1eb780f2f9c3732bfe07eefb726a8 (diff) | |
download | marco-cb83a91ed03c9e5ab2a1d8b932ffac3ba49e9fbb.tar.bz2 marco-cb83a91ed03c9e5ab2a1d8b932ffac3ba49e9fbb.tar.xz |
iconcache: Add GDesktopAppInfo lookup as an icon caching strategy
Looking up GDesktopAppInfo from the GTK Application ID we can get a much
better match for the icon and load it at the appropriate scale. This
results in matching icons to straneous windows and better looking icons
overall.
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/ui.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/ui.h b/src/include/ui.h index 9d95e37a..f4728e32 100644 --- a/src/include/ui.h +++ b/src/include/ui.h @@ -157,8 +157,8 @@ void meta_ui_pop_delay_exposes (MetaUI *ui); GdkPixbuf* meta_ui_get_default_window_icon (MetaUI *ui); GdkPixbuf* meta_ui_get_default_mini_icon (MetaUI *ui); -GdkPixbuf* meta_ui_get_window_icon_from_name (MetaUI *ui, char *name); -GdkPixbuf* meta_ui_get_mini_icon_from_name (MetaUI *ui, char *name); +GdkPixbuf* meta_ui_get_window_icon_from_app (MetaUI *ui, char *name); +GdkPixbuf* meta_ui_get_mini_icon_from_app (MetaUI *ui, char *name); gboolean meta_ui_window_should_not_cause_focus (Display *xdisplay, Window xwindow); |