errno 22 (invalid argument) occurs because the tizen_input_device_manager object is not found after receiving the device_remove event of the tizen_input_device_manager interface from the wayland client.
Change-Id: I372267cd2080bec95c341f97cb1cd6631e766d55
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
g_rec_mutex_lock(&e_devicemgr->device_list_mutex);
e_devicemgr->device_list = eina_list_append(e_devicemgr->device_list, dev);
- g_rec_mutex_unlock(&e_devicemgr->device_list_mutex);
if (dev->clas == ECORE_DEVICE_CLASS_MOUSE)
e_devicemgr->last_device_ptr = dev;
e_devicemgr_wl_device_add(dev);
e_devicemgr_inputgen_get_device_info(dev);
_e_devicemgr_detent_set_info(dev);
+
+ g_rec_mutex_unlock(&e_devicemgr->device_list_mutex);
}
static void