always end drag operations on failure

fix T3507
This commit is contained in:
Mike Blumenkrantz 2016-04-25 12:17:23 -04:00
parent 05451aeb36
commit fcc996545c
1 changed files with 2 additions and 4 deletions

View File

@ -985,13 +985,11 @@ _e_drag_end(int x, int y)
if (e_comp->comp_type == E_PIXMAP_TYPE_X)
{
if (!(dropped = ecore_x_dnd_drop()))
{
if (win == e_comp->ee_win) break;
}
break;
}
else
#endif
if ((e_comp->comp_type == E_PIXMAP_TYPE_WL) && (win == e_comp->ee_win))
if (e_comp->comp_type == E_PIXMAP_TYPE_WL)
break;
if (_drag_current->cb.finished)
_drag_current->cb.finished(_drag_current, dropped);