From: Seungjin Park Date: Tue, 6 Dec 2016 06:27:56 +0000 (+0900) Subject: e_policy_wl: set launchscreen timer by e_config value X-Git-Tag: submit/tizen/20161206.063033^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b32c4042ca1076794f403d04c982d77e07b837aa;p=platform%2Fupstream%2Fenlightenment.git e_policy_wl: set launchscreen timer by e_config value Signed-off-by: Seungjin Park Change-Id: Ia7c965115707323ea1a7c594f03e8fa25c5c1d7d --- diff --git a/src/bin/e_config.c b/src/bin/e_config.c index e684c12885..801c08217e 100644 --- a/src/bin/e_config.c +++ b/src/bin/e_config.c @@ -266,6 +266,7 @@ _e_config_edd_init(Eina_Bool old) E_CONFIG_LIST(D, T, sock_accesses, _e_config_socket_access_edd); E_CONFIG_LIST(D, T, aux_hint_supported, _e_config_aux_hint_supported_edd); E_CONFIG_VAL(D, T, use_module_srv.qp, UCHAR); + E_CONFIG_VAL(D, T, launchscreen_timeout, DOUBLE); } /* externally accessible functions */ @@ -454,6 +455,7 @@ e_config_load(void) E_CONFIG_LIMIT(e_config->delayed_load_idle_count, 0, 100); E_CONFIG_LIMIT(e_config->use_buffer_flush, 0, 1); E_CONFIG_LIMIT(e_config->use_module_srv.qp, 0, 1); + E_CONFIG_LIMIT(e_config->launchscreen_timeout, 4.0, 100.0); } E_API int diff --git a/src/bin/e_config.h b/src/bin/e_config.h index 52c49f4045..7865191b1f 100644 --- a/src/bin/e_config.h +++ b/src/bin/e_config.h @@ -163,6 +163,7 @@ struct _E_Config { Eina_Bool qp; /* quickpanel */ } use_module_srv; + double launchscreen_timeout; }; struct _E_Config_Desklock_Background diff --git a/src/bin/e_policy_wl.c b/src/bin/e_policy_wl.c index 17918f50bc..17d41c65ed 100644 --- a/src/bin/e_policy_wl.c +++ b/src/bin/e_policy_wl.c @@ -4566,7 +4566,7 @@ _tzlaunch_img_iface_cb_launch(struct wl_client *client EINA_UNUSED, struct wl_re if (tzlaunch_img->timeout) ecore_timer_del(tzlaunch_img->timeout); - tzlaunch_img->timeout = ecore_timer_add(4.0f, _launchscreen_timeout, tzlaunch_img); + tzlaunch_img->timeout = ecore_timer_add(e_config->launchscreen_timeout, _launchscreen_timeout, tzlaunch_img); return; error: