e_comp_wl_data_device_send_enter support server side dnd
btw, it is not considering x clients, so added exception
not to pass uninitialized variable 'data_device_res' as wl_data_device parameter
Change-Id: I4ab8b0702272b2874c45caaa0fa421c9aee5111f
if (!e_client_has_xwindow(ec))
{
data_device_res =
- e_comp_wl_data_find_for_client(wl_resource_get_client(ec->comp_data->surface));
+ e_comp_wl_data_find_for_client(wl_resource_get_client(ec->comp_data->surface));
if (!data_device_res) return;
offer_res = e_comp_wl_data_device_send_offer(ec);
if (e_comp_wl->drag_source && (!offer_res)) return;
}
+ else
+ return;
+
e_comp_wl->selection.target = ec;
evas_object_event_callback_add(ec->frame, EVAS_CALLBACK_DEL, _e_comp_wl_data_device_target_del, ec);