Change-Id: If47270b1f46d99021b21846d3382427cc02e0028
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
TRACE_INPUT_BEGIN(e_input_device_input_backend_create);
/* FIXME: we need to select default backend udev or path.
- * Input system will not be initialized, if there are no enviroment is set.
+ * Input system will not be initialized, if there are no environment is set.
*/
if ((!use_udev_backend) && (!use_path_backend))
{
if (krt->isPictureOffEnabled == 1)
{
- EINA_LIST_FOREACH(krt->HardKeys[keycode].pic_off_ptr, l, key_node_data)
+ g_mutex_lock(&krt->grab_key_mutex);
+ Eina_List *pic_off_ptr_list = krt->HardKeys[keycode].pic_off_ptr;
+ g_mutex_unlock(&krt->grab_key_mutex);
+
+ EINA_LIST_FOREACH(pic_off_ptr_list, l, key_node_data)
{
if (key_node_data)
{
return;
}
-
if (ECORE_EVENT_KEY_DOWN == type)
{
_e_keyrouter_send_key_events_press(type, ev, dev);