From 022a862e6d5ca8ed939f1ecada78944098ff6fe9 Mon Sep 17 00:00:00 2001 From: Juyeon Lee Date: Tue, 5 Sep 2017 21:13:35 +0900 Subject: [PATCH] e_comp_cfdata:add kbd_effect_style Change-Id: If8acd6095081f8886e60577e8b8277c1a927ba30 --- src/bin/e_comp_cfdata.c | 3 +++ src/bin/e_comp_cfdata.h | 1 + 2 files changed, 4 insertions(+) diff --git a/src/bin/e_comp_cfdata.c b/src/bin/e_comp_cfdata.c index 50bd6ba..cd708cd 100644 --- a/src/bin/e_comp_cfdata.c +++ b/src/bin/e_comp_cfdata.c @@ -38,6 +38,7 @@ e_comp_cfdata_edd_init(E_Config_DD **conf_edd, E_Config_DD **match_edd) E_CONFIG_VAL(D, T, effect_style, STR); E_CONFIG_VAL(D, T, depth_in_style, STR); E_CONFIG_VAL(D, T, bg_effect_style, STR); + E_CONFIG_VAL(D, T, kbd_effect_style, STR); E_CONFIG_VAL(D, T, max_unmapped_time, INT); E_CONFIG_VAL(D, T, min_unmapped_time, INT); E_CONFIG_VAL(D, T, fps_average_range, INT); @@ -103,6 +104,7 @@ e_comp_cfdata_config_new(void) cfg->effect_style = "none"; cfg->depth_in_style = "none"; cfg->bg_effect_style = NULL; + cfg->kbd_effect_style = "keyboard"; cfg->engine = E_COMP_ENGINE_SW; cfg->max_unmapped_time = 10 * 3600; // implement cfg->min_unmapped_time = 5 * 60; // implement @@ -276,6 +278,7 @@ e_comp_cfdata_config_free(E_Comp_Config *cfg) eina_stringshare_del(cfg->effect_style); eina_stringshare_del(cfg->depth_in_style); eina_stringshare_del(cfg->bg_effect_style); + eina_stringshare_del(cfg->kbd_effect_style); eina_stringshare_del(cfg->effect_file); eina_stringshare_del(cfg->shadow_style); eina_stringshare_del(cfg->launch_file); diff --git a/src/bin/e_comp_cfdata.h b/src/bin/e_comp_cfdata.h index d4ce5e4..07bdd9e 100644 --- a/src/bin/e_comp_cfdata.h +++ b/src/bin/e_comp_cfdata.h @@ -14,6 +14,7 @@ struct _E_Comp_Config const char *effect_style; // name of effect group to apply const char *depth_in_style; // name of effect group to apply for depth in type const char *bg_effect_style; // name of effect group for background + const char *kbd_effect_style; // name of keyboard group to apply int engine; int max_unmapped_time; int min_unmapped_time; -- 2.7.4