The wl_data_device_send_enter/leave is called in ecore_mouse_move callback.
For consistency of the drag and drop, remove wl_data_device_send_enter from the evas mouse callback
Change-Id: I0c072b52c67196a4d5286ba2a0379a4d1db90277
if (!surface) return;
e_comp_wl->ptr.ec = ec;
- if (e_comp_wl->drag &&
- e_comp_wl->selection.target != ec)
- {
- e_comp_wl_data_device_send_enter(ec);
- return;
- }
if (_e_comp_wl_check_cursor_timer_needed(ec))
{
struct wl_resource *surface = e_comp_wl_client_surface_get(ec);
if (!surface) return;
- if (e_comp_wl->drag &&
- e_comp_wl->selection.target == ec)
- {
- e_comp_wl_data_device_send_leave(ec);
- return;
- }
-
if (_e_comp_wl_check_cursor_timer_needed(ec))
{
if (!_e_comp_wl_cursor_timer_control(EVAS_CALLBACK_MOUSE_OUT, ec))