summaryrefslogtreecommitdiff
path: root/src/core/main.c
diff options
context:
space:
mode:
authorosch <oliver at luced de>2019-04-12 23:48:52 +0200
committerlukefromdc <[email protected]>2019-04-23 18:35:39 +0000
commit54d6dd4cd27c97c3560c3ff2eb66fcfbbe5a51c0 (patch)
tree7ea59fcfd5b6b26c409904d34083d428c2f447a4 /src/core/main.c
parent5e2f54dbf2417c3b5f8b1614010565a0a500382a (diff)
downloadmarco-54d6dd4cd27c97c3560c3ff2eb66fcfbbe5a51c0.tar.bz2
marco-54d6dd4cd27c97c3560c3ff2eb66fcfbbe5a51c0.tar.xz
reload icons if icon size preference changed
Diffstat (limited to 'src/core/main.c')
-rw-r--r--src/core/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/main.c b/src/core/main.c
index 6f6170d6..72542bff 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -52,6 +52,7 @@
#include "ui.h"
#include "session.h"
#include "prefs.h"
+#include "core.h"
#include <glib-object.h>
#include <glib/gprintf.h>
@@ -659,6 +660,9 @@ prefs_changed_callback (MetaPreference pref,
meta_display_set_cursor_theme (meta_prefs_get_cursor_theme (),
meta_prefs_get_cursor_size ());
break;
+ case META_PREF_ICON_SIZE:
+ meta_invalidate_all_icons();
+ break;
default:
/* handled elsewhere or otherwise */
break;