summaryrefslogtreecommitdiff
path: root/src/core/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/window.c')
-rw-r--r--src/core/window.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/window.c b/src/core/window.c
index fce395b9..0a2582e9 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -6042,6 +6042,8 @@ meta_window_update_icon_now (MetaWindow *window)
icon = NULL;
mini_icon = NULL;
+
+ int icon_size = meta_prefs_get_icon_size();
if (meta_read_icons (window->screen,
window->xwindow,
@@ -6049,7 +6051,8 @@ meta_window_update_icon_now (MetaWindow *window)
window->wm_hints_pixmap,
window->wm_hints_mask,
&icon,
- META_ICON_WIDTH, META_ICON_HEIGHT,
+ icon_size, /* width */
+ icon_size, /* height */
&mini_icon,
META_MINI_ICON_WIDTH,
META_MINI_ICON_HEIGHT))