Revert "Reduce the elapsed time in ecore_imf_context_add ()" 57/50957/1
authorWonkeun Oh <wonkeun.oh@samsung.com>
Mon, 2 Nov 2015 10:32:04 +0000 (19:32 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Wed, 4 Nov 2015 02:29:38 +0000 (11:29 +0900)
When isf-panel-efl terminated, scim-helper-launcher doesn't launch
even though requesting focus-in or show due to original this path.

Change-Id: I24f97cce3ca9e504e8178597d42a4c1bf5fa0f2d

ism/extras/efl_immodule/isf_imf_context.cpp

index c58ad96..9dbf825 100644 (file)
@@ -1188,6 +1188,10 @@ isf_imf_context_new (void)
     }
     context_scim->id = _context_count++;
 
+#if !(ENABLE_LAZY_LAUNCH)
+     scim_initialize ();
+#endif
+
     return context_scim;
 }
 
@@ -1413,9 +1417,11 @@ isf_imf_context_focus_in (Ecore_IMF_Context *ctx)
     if (!context_scim)
         return;
 
-    SCIM_DEBUG_FRONTEND(1) << __FUNCTION__<< "(" << context_scim->id << ")...\n";
-
+#if ENABLE_LAZY_LAUNCH
     scim_initialize ();
+#endif
+
+    SCIM_DEBUG_FRONTEND(1) << __FUNCTION__<< "(" << context_scim->id << ")...\n";
 
     if (_focused_ic) {
         if (_focused_ic == context_scim) {