e_devicemgr_wl_device_del(E_Devicemgr_Input_Device *dev)
{
struct wl_resource *res;
- struct wl_client *wc;
- uint32_t serial, res_id;
+ uint32_t serial;
E_Devicemgr_Input_Device_User_Data *device_user_data;
serial = wl_display_next_serial(e_comp_wl->wl.disp);
EINA_LIST_FREE(dev->resources, res)
{
device_user_data = wl_resource_get_user_data(res);
-
if (!device_user_data) continue;
if (!device_user_data->dev_mgr_res || !device_user_data->seat_res ||
!device_user_data->dev_res)
continue;
- res_id = wl_resource_get_id(res);
- wc = wl_resource_get_client(res);
- if (wl_client_get_object(wc, res_id) != res)
- {
- pid_t pid;
- wl_client_get_credentials(wc, &pid, NULL, NULL);
-
- DMERR("No device_remove sent: PID@%d id@%u path:%s",
- pid, res_id, dev->identifier);
- continue;
- }
-
device_user_data->dev = NULL;
tizen_input_device_manager_send_device_remove(
device_user_data->dev_mgr_res,