From: Shilpa Singh Date: Mon, 5 Jun 2017 20:44:48 +0000 (-0700) Subject: elm_config: password mode change should reflect on already running applications. X-Git-Tag: upstream/1.20.0~758 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cab25162576965a2a6267871045c7c512b86f1c2;p=platform%2Fupstream%2Fefl.git elm_config: password mode change should reflect on already running applications. Summary: When password mode is changed, the change has to reflect on already running apps as well. config_sub_apply will not be called for an already running app. Test Plan: 1. 2 running process 2. Change the config value of password last show in one process 3. Check whether the change has reflected in previous process. Signed-off By: Shilpa Singh Reviewers: jpeg, cedric, thiepha Subscribers: govi, rajeshps Differential Revision: https://phab.enlightenment.org/D4916 Signed-off-by: Cedric BAIL --- diff --git a/src/lib/elementary/elm_config.c b/src/lib/elementary/elm_config.c index 582eb3e..1d24f17 100644 --- a/src/lib/elementary/elm_config.c +++ b/src/lib/elementary/elm_config.c @@ -1530,6 +1530,8 @@ _config_apply(void) { _elm_theme_parse(NULL, _elm_config->theme); ecore_animator_frametime_set(1.0 / _elm_config->fps); + edje_password_show_last_set(_elm_config->password_show_last); + edje_password_show_last_timeout_set(_elm_config->password_show_last_timeout); } static void @@ -1537,8 +1539,6 @@ _config_sub_apply(void) { edje_frametime_set(1.0 / _elm_config->fps); edje_scale_set(_elm_config->scale); - edje_password_show_last_set(_elm_config->password_show_last); - edje_password_show_last_timeout_set(_elm_config->password_show_last_timeout); edje_transition_duration_factor_set(_elm_config->transition_duration_factor); if (_elm_config->modules) _elm_module_parse(_elm_config->modules); edje_audio_channel_mute_set(EDJE_CHANNEL_EFFECT, _elm_config->audio_mute_effect);