Change-Id: I4a77a528b74783077b11aa0cd200668552cff76d
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;
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)