deleting the drag at this point deletes the window which owns the current selection, guaranteeing that the operation will fail
T797
_drag_current->cb.finished(_drag_current, dropped);
_drag_current->cb.finished = NULL;
- if (_drag_current && (!_xdnd))
- e_object_del(E_OBJECT(_drag_current));
- //e_grabinput_release(_drag_win, _drag_win);
return;
}
if (!ev->completed) return ECORE_CALLBACK_PASS_ON;
*/
- if (_drag_win) ecore_x_window_free(_drag_win);
- _drag_win = 0;
+ if (_drag_current && (!_xdnd))
+ e_object_del(E_OBJECT(_drag_current));
return ECORE_CALLBACK_PASS_ON;
}