From b38f37f0e679768bc82f09aeeba04a4354932399 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Thu, 19 Jun 2014 14:57:38 -0400 Subject: [PATCH] fix building theme module with wayland-only Signed-off-by: Chris Michael --- src/modules/conf_theme/e_int_config_fonts.c | 7 +++++++ src/modules/conf_theme/e_int_config_xsettings.c | 2 ++ 2 files changed, 9 insertions(+) diff --git a/src/modules/conf_theme/e_int_config_fonts.c b/src/modules/conf_theme/e_int_config_fonts.c index eafb116f6..d690b705e 100644 --- a/src/modules/conf_theme/e_int_config_fonts.c +++ b/src/modules/conf_theme/e_int_config_fonts.c @@ -381,7 +381,10 @@ _basic_apply_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata) e_font_apply(); e_config_save_queue(); + +#ifndef HAVE_WAYLAND_ONLY e_xsettings_config_update(); +#endif /* Apply to advanced */ EINA_LIST_FOREACH(cfdata->text_classes, next, tc) @@ -607,7 +610,11 @@ _advanced_apply_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfda e_config->font_hinting = cfdata->hinting; e_config_save_queue(); e_canvas_rehint(); + +#ifndef HAVE_WAYLAND_ONLY e_xsettings_config_update(); +#endif + return 1; } diff --git a/src/modules/conf_theme/e_int_config_xsettings.c b/src/modules/conf_theme/e_int_config_xsettings.c index cb3e1923d..4737e6336 100644 --- a/src/modules/conf_theme/e_int_config_xsettings.c +++ b/src/modules/conf_theme/e_int_config_xsettings.c @@ -168,7 +168,9 @@ _basic_apply(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata) ecore_event_add(E_EVENT_CONFIG_ICON_THEME, ev, NULL, NULL); } +#ifndef HAVE_WAYLAND_ONLY e_xsettings_config_update(); +#endif return 1; }