fix back space issue in MBE 48/17348/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Wed, 5 Jun 2013 07:15:44 +0000 (16:15 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Thu, 6 Mar 2014 11:26:07 +0000 (20:26 +0900)
Change-Id: I4a77a528b74783077b11aa0cd200668552cff76d

ism/extras/efl_immodule/isf_imf_context.cpp

index 7790b713c13e29d17c8c54570997cc07b720db55..ae9d4044e0b038fc1e27670ef3bd022ff9eaee41 100644 (file)
@@ -2070,9 +2070,11 @@ panel_slot_process_key_event (int context, const KeyEvent &key)
     EcoreIMFContextISF *ic = find_ic (context);
     Eina_Bool process_key = EINA_TRUE;
     SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " context=" << context << " key=" << key.get_key_string () << " ic=" << ic << "\n";
+
     if (!(ic && ic->impl))
         return;
-    if (_focused_ic != ic)
+
+    if ((_focused_ic != NULL) && (_focused_ic != ic))
         return;
 
     KeyEvent _key = key;
@@ -2142,7 +2144,8 @@ panel_slot_forward_key_event (int context, const KeyEvent &key)
 
     if (!(ic && ic->impl))
         return;
-    if (_focused_ic != ic)
+
+    if ((_focused_ic != NULL) && (_focused_ic != ic))
         return;
 
     if (strlen (key.get_key_string ().c_str ()) >= 116)