Go to the source code of this file.
Data Structures | |
| struct | _MetaIconCache |
Typedefs | |
| typedef struct _MetaIconCache | MetaIconCache |
Enumerations | |
| enum | IconOrigin { USING_NO_ICON, USING_FALLBACK_ICON, USING_KWM_WIN_ICON, USING_WM_HINTS, USING_NET_WM_ICON } |
Functions | |
| void | meta_icon_cache_init (MetaIconCache *icon_cache) |
| void | meta_icon_cache_free (MetaIconCache *icon_cache) |
| void | meta_icon_cache_property_changed (MetaIconCache *icon_cache, MetaDisplay *display, Atom atom) |
| gboolean | meta_icon_cache_get_icon_invalidated (MetaIconCache *icon_cache) |
| gboolean | meta_read_icons (MetaScreen *screen, Window xwindow, MetaIconCache *icon_cache, Pixmap wm_hints_pixmap, Pixmap wm_hints_mask, GdkPixbuf **iconp, int ideal_width, int ideal_height, GdkPixbuf **mini_iconp, int ideal_mini_width, int ideal_mini_height) |
| typedef struct _MetaIconCache MetaIconCache |
Definition at line 29 of file iconcache.h.
| enum IconOrigin |
Definition at line 31 of file iconcache.h.
| void meta_icon_cache_free | ( | MetaIconCache * | icon_cache | ) |
Definition at line 549 of file iconcache.c.
References clear_icon_cache(), and FALSE.
Referenced by meta_invalidate_default_icons(), and meta_window_free().
| gboolean meta_icon_cache_get_icon_invalidated | ( | MetaIconCache * | icon_cache | ) |
Definition at line 568 of file iconcache.c.
References FALSE, _MetaIconCache::kwm_win_icon_dirty, _MetaIconCache::net_wm_icon_dirty, _MetaIconCache::origin, TRUE, USING_FALLBACK_ICON, USING_KWM_WIN_ICON, USING_NET_WM_ICON, USING_NO_ICON, USING_WM_HINTS, _MetaIconCache::want_fallback, and _MetaIconCache::wm_hints_dirty.
Referenced by meta_read_icons().
| void meta_icon_cache_init | ( | MetaIconCache * | icon_cache | ) |
Definition at line 503 of file iconcache.c.
References _MetaIconCache::kwm_win_icon_dirty, _MetaIconCache::net_wm_icon_dirty, NULL, _MetaIconCache::origin, _MetaIconCache::prev_mask, _MetaIconCache::prev_pixmap, TRUE, USING_NO_ICON, _MetaIconCache::want_fallback, and _MetaIconCache::wm_hints_dirty.
Referenced by meta_window_new_with_attrs().
| void meta_icon_cache_property_changed | ( | MetaIconCache * | icon_cache, | |
| MetaDisplay * | display, | |||
| Atom | atom | |||
| ) |
Definition at line 555 of file iconcache.c.
References _MetaIconCache::kwm_win_icon_dirty, _MetaIconCache::net_wm_icon_dirty, TRUE, and _MetaIconCache::wm_hints_dirty.
Referenced by process_property_notify(), and reload_wm_hints().
| gboolean meta_read_icons | ( | MetaScreen * | screen, | |
| Window | xwindow, | |||
| MetaIconCache * | icon_cache, | |||
| Pixmap | wm_hints_pixmap, | |||
| Pixmap | wm_hints_mask, | |||
| GdkPixbuf ** | iconp, | |||
| int | ideal_width, | |||
| int | ideal_height, | |||
| GdkPixbuf ** | mini_iconp, | |||
| int | ideal_mini_width, | |||
| int | ideal_mini_height | |||
| ) |
Definition at line 671 of file iconcache.c.
References clear_icon_cache(), _MetaScreen::display, FALSE, get_fallback_icons(), get_kwm_win_icon(), _MetaIconCache::kwm_win_icon_dirty, meta_icon_cache_get_icon_invalidated(), meta_ui_get_fallback_icons(), _MetaIconCache::net_wm_icon_dirty, NULL, _MetaIconCache::origin, _MetaIconCache::prev_mask, _MetaIconCache::prev_pixmap, read_rgb_icon(), replace_cache(), scaled_from_pixdata(), TRUE, try_pixmap_and_mask(), USING_FALLBACK_ICON, USING_KWM_WIN_ICON, USING_NET_WM_ICON, USING_WM_HINTS, _MetaIconCache::want_fallback, and _MetaIconCache::wm_hints_dirty.
Referenced by meta_window_update_icon_now().
1.5.5