summaryrefslogtreecommitdiff
path: root/src/core/window.c
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2023-03-03 13:00:14 -0500
committerlukefromdc <[email protected]>2024-06-18 17:04:23 -0400
commitcb83a91ed03c9e5ab2a1d8b932ffac3ba49e9fbb (patch)
treef5382877cd3acfec00676e9a7bd35b41eb51ed5e /src/core/window.c
parentb7bf18ee00c1eb780f2f9c3732bfe07eefb726a8 (diff)
downloadmarco-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/core/window.c')
-rw-r--r--src/core/window.c2
1 files changed, 1 insertions, 1 deletions
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,