From: InHong Han Date: Mon, 23 Apr 2018 07:17:12 +0000 (+0900) Subject: Prevent IME from automatically restarting in on-demand mode X-Git-Tag: accepted/tizen/unified/20180502.071123~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1e44a46f17ce9d4316989cfe24c7f1a9bd5eab38;p=platform%2Fcore%2Fuifw%2Fisf.git Prevent IME from automatically restarting in on-demand mode Change-Id: Id0af6bfa447a0a73ef000a49ba2cf79fbe2bd682 --- diff --git a/ism/src/isf_info_manager.cpp b/ism/src/isf_info_manager.cpp index bc330fd..3006799 100644 --- a/ism/src/isf_info_manager.cpp +++ b/ism/src/isf_info_manager.cpp @@ -2807,7 +2807,9 @@ public: m_helper_client_index.erase (uuid); m_helper_info_repository.erase (hiit); - if (restart && !m_ise_exiting) { + bool launch_ise_on_request = false; + launch_ise_on_request = scim_global_config_read (String (SCIM_GLOBAL_CONFIG_LAUNCH_ISE_ON_REQUEST), launch_ise_on_request); + if (restart && !m_ise_exiting && !launch_ise_on_request) { struct tms tiks_buf; static clock_t start_tiks = times (&tiks_buf); static double clock_tiks = (double)sysconf (_SC_CLK_TCK);