diff options
author | Victor Kareh <[email protected]> | 2023-03-03 13:00:14 -0500 |
---|---|---|
committer | Victor Kareh <[email protected]> | 2025-04-02 20:37:16 +0000 |
commit | 34a06a853aedea845b4723989b97b1384e80869d (patch) | |
tree | 48a861cb8e22ebfb483cf000f67d92e7e2dbc45d /src/core/window.c | |
parent | 94ff81575062ecdd57a28eb8a3c7bfaaa6b77b03 (diff) | |
download | marco-34a06a853aedea845b4723989b97b1384e80869d.tar.bz2 marco-34a06a853aedea845b4723989b97b1384e80869d.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.c | 2 |
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, |