DBG("wl_seat (res: %d) is already bound to client (%p)",
wl_resource_get_id(tmp_res), client);
seat->is_first_resource = 0;
+ break;
}
res = wl_resource_create(client, &wl_seat_interface, version, id);
EINA_LIST_FOREACH(e_comp_wl->seat.resources, l, seat_res)
{
seat_data = wl_resource_get_user_data(seat_res);
+ if (!seat_data) continue;
if (!seat_data->is_first_resource)
{
DMDBG("The seat (res:%d) is not the first resource bound to client (%p)",
}
res = wl_resource_create(wc, &tizen_input_device_interface, 1, 0);
if (!res)
- {
+ {
DMERR("Could not create tizen_input_device resource");
wl_client_post_no_memory(wc);
break;
- }
+ }
device_user_data = E_NEW(E_Devicemgr_Input_Device_User_Data, 1);
if (!device_user_data)
DMDBG("tizen_input_device_manager (res: %d) is already bound to client (%p)",
wl_resource_get_id(tmp_data->resource), client);
mgr_data->is_first_resource = 0;
+ break;
}
if (!(res = wl_resource_create(client, &tizen_input_device_manager_interface, version, id)))