From cb83a91ed03c9e5ab2a1d8b932ffac3ba49e9fbb Mon Sep 17 00:00:00 2001 From: Victor Kareh Date: Fri, 3 Mar 2023 13:00:14 -0500 Subject: 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. --- src/core/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/window.c') diff --git a/src/core/window.c b/src/core/window.c index 658ca957..b58aff2f 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -6122,7 +6122,7 @@ meta_window_update_icon_now (MetaWindow *window) if (meta_read_icons (window->screen, window->xwindow, - window->res_name, + window->gtk_application_id, &window->icon_cache, window->wm_hints_pixmap, window->wm_hints_mask, -- cgit v1.2.1