add check focus ic 14/17414/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Fri, 14 Jun 2013 10:48:54 +0000 (19:48 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Fri, 7 Mar 2014 01:26:15 +0000 (10:26 +0900)
Change-Id: I699a2f91c014b4b8a334bf7e87c751fa26561519

ism/extras/efl_immodule/isf_imf_context.cpp

index 5bb6203..529a256 100644 (file)
@@ -2075,6 +2075,9 @@ panel_slot_process_key_event (int context, const KeyEvent &key)
     if (!(ic && ic->impl))
         return;
 
+    if ((_focused_ic != NULL) && (_focused_ic != ic))
+        return;
+
     KeyEvent _key = key;
     if (key.is_key_press () &&
         ecore_imf_context_input_panel_layout_get (ic->ctx) == ECORE_IMF_INPUT_PANEL_LAYOUT_NORMAL) {
@@ -2143,6 +2146,9 @@ panel_slot_forward_key_event (int context, const KeyEvent &key)
     if (!(ic && ic->impl))
         return;
 
+    if ((_focused_ic != NULL) && (_focused_ic != ic))
+        return;
+
     if (strlen (key.get_key_string ().c_str ()) >= 116)
         return;