|
marco 1.29.1
Window manager
|
#include "screen-private.h"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 , USING_G_DESKTOP_APP } |
Functions | |
| void | meta_icon_cache_init (MetaIconCache *icon_cache) |
| void | meta_icon_cache_free (MetaIconCache *icon_cache) |
| void | meta_icon_cache_invalidate (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, char *desktop_id, 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 |
| enum IconOrigin |
| void meta_icon_cache_free | ( | MetaIconCache * | icon_cache | ) |
References clear_icon_cache(), and FALSE.
Referenced by meta_invalidate_default_icons(), and meta_window_finalize().
| gboolean meta_icon_cache_get_icon_invalidated | ( | MetaIconCache * | icon_cache | ) |
References FALSE, _MetaIconCache::g_desktop_app_icon_dirty, _MetaIconCache::kwm_win_icon_dirty, _MetaIconCache::net_wm_icon_dirty, _MetaIconCache::origin, TRUE, USING_FALLBACK_ICON, USING_G_DESKTOP_APP, 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 | ) |
References _MetaIconCache::fallback_icon_dirty_forced, FALSE, _MetaIconCache::g_desktop_app_icon_dirty, _MetaIconCache::kwm_win_icon_dirty, _MetaIconCache::kwm_win_icon_dirty_forced, _MetaIconCache::net_wm_icon_dirty, NULL, _MetaIconCache::origin, _MetaIconCache::prev_mask, _MetaIconCache::prev_pixmap, TRUE, USING_NO_ICON, _MetaIconCache::want_fallback, _MetaIconCache::wm_hints_dirty, and _MetaIconCache::wm_hints_dirty_forced.
Referenced by meta_window_new_with_attrs().
| void meta_icon_cache_invalidate | ( | MetaIconCache * | icon_cache | ) |
References _MetaIconCache::fallback_icon_dirty_forced, _MetaIconCache::g_desktop_app_icon_dirty, _MetaIconCache::kwm_win_icon_dirty, _MetaIconCache::kwm_win_icon_dirty_forced, _MetaIconCache::net_wm_icon_dirty, TRUE, _MetaIconCache::wm_hints_dirty, and _MetaIconCache::wm_hints_dirty_forced.
Referenced by meta_invalidate_all_icons(), and on_monitors_changed().
| void meta_icon_cache_property_changed | ( | MetaIconCache * | icon_cache, |
| MetaDisplay * | display, | ||
| Atom | atom | ||
| ) |
References _MetaIconCache::kwm_win_icon_dirty, _MetaIconCache::net_wm_icon_dirty, TRUE, and _MetaIconCache::wm_hints_dirty.
Referenced by reload_icon(), and reload_wm_hints().
| gboolean meta_read_icons | ( | MetaScreen * | screen, |
| Window | xwindow, | ||
| char * | desktop_id, | ||
| 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 | ||
| ) |
References clear_icon_cache(), _MetaIconCache::fallback_icon_dirty_forced, FALSE, _MetaIconCache::g_desktop_app_icon_dirty, get_fallback_icons(), get_kwm_win_icon(), _MetaIconCache::kwm_win_icon_dirty, _MetaIconCache::kwm_win_icon_dirty_forced, meta_icon_cache_get_icon_invalidated(), meta_ui_get_mini_icon_from_desktop_id(), meta_ui_get_window_icon_from_desktop_id(), _MetaIconCache::net_wm_icon_dirty, NULL, _MetaIconCache::origin, _MetaIconCache::prev_mask, _MetaIconCache::prev_pixmap, read_rgb_icon(), replace_cache(), scaled_from_pixdata(), screen, TRUE, try_pixmap_and_mask(), USING_FALLBACK_ICON, USING_G_DESKTOP_APP, USING_KWM_WIN_ICON, USING_NET_WM_ICON, USING_WM_HINTS, _MetaIconCache::want_fallback, _MetaIconCache::wm_hints_dirty, and _MetaIconCache::wm_hints_dirty_forced.
Referenced by meta_window_update_icon_now().