diff options
author | Victor Kareh <[email protected]> | 2021-05-26 14:14:59 -0400 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-06-04 17:02:28 +0200 |
commit | 60e6fbfb093d63c46ca8e77750c54f31c9780c1c (patch) | |
tree | 5ef3ac5375f5e306676efb3329758eca6fa4c05d /src/include/ui.h | |
parent | f2ca234719034c5ead3c94b8717913b8a4b67773 (diff) | |
download | marco-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/include/ui.h')
-rw-r--r-- | src/include/ui.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/ui.h b/src/include/ui.h index 26d0d462..c02e78a2 100644 --- a/src/include/ui.h +++ b/src/include/ui.h @@ -155,6 +155,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); gboolean meta_ui_window_should_not_cause_focus (Display *xdisplay, Window xwindow); |