summaryrefslogtreecommitdiff
path: root/src/core/window.c
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2021-05-26 14:14:59 -0400
committerraveit65 <[email protected]>2021-06-04 17:02:28 +0200
commit60e6fbfb093d63c46ca8e77750c54f31c9780c1c (patch)
tree5ef3ac5375f5e306676efb3329758eca6fa4c05d /src/core/window.c
parentf2ca234719034c5ead3c94b8717913b8a4b67773 (diff)
downloadmarco-60e6fbfb093d63c46ca8e77750c54f31c9780c1c.tar.bz2
marco-60e6fbfb093d63c46ca8e77750c54f31c9780c1c.tar.xz
iconcache: Use GDesktopAppInfo to find correct application icons
Some files do not report their application icons correctly in the window properties. This patch allows the marco UI to search for the corresponding .desktop file and render the icon in the desktop info on both the alt-tab popup and the window mini-icon.
Diffstat (limited to 'src/core/window.c')
-rw-r--r--src/core/window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/window.c b/src/core/window.c
index 68ac89ab..b301dbd9 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -6124,6 +6124,7 @@ meta_window_update_icon_now (MetaWindow *window)
if (meta_read_icons (window->screen,
window->xwindow,
+ window->res_name,
&window->icon_cache,
window->wm_hints_pixmap,
window->wm_hints_mask,