From 96a4b36b9feca559a512fe26cb7359178f1577cc Mon Sep 17 00:00:00 2001 From: Victor Kareh Date: Mon, 8 Apr 2024 12:23:57 -0400 Subject: window: Parse _BAMF_DESKTOP_FILE property In systems with bamfdaemon running, windows get this property for finding the dekstop spec file of an application. This can be used to find the defined icon for any application window that reports this attribute and provider much better icon matching. --- src/include/ui.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/include') diff --git a/src/include/ui.h b/src/include/ui.h index f4728e32..8eb6dd5e 100644 --- a/src/include/ui.h +++ b/src/include/ui.h @@ -157,8 +157,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_app (MetaUI *ui, char *name); -GdkPixbuf* meta_ui_get_mini_icon_from_app (MetaUI *ui, char *name); +GdkPixbuf* meta_ui_get_window_icon_from_desktop_id (MetaUI *ui, char *desktop_id); +GdkPixbuf* meta_ui_get_mini_icon_from_desktop_id (MetaUI *ui, char *desktop_id); gboolean meta_ui_window_should_not_cause_focus (Display *xdisplay, Window xwindow); -- cgit v1.2.1