discomfitor pushed a commit to branch enlightenment-0.18. http://git.enlightenment.org/core/enlightenment.git/commit/?id=cce603ea0288ade507138137bea1871b4ba34900
commit cce603ea0288ade507138137bea1871b4ba34900 Author: Mike Blumenkrantz <[email protected]> Date: Wed Jan 22 15:59:30 2014 -0500 bugfix: efm dnd to external windows deleting the drag at this point deletes the window which owns the current selection, guaranteeing that the operation will fail --- src/bin/e_dnd.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/bin/e_dnd.c b/src/bin/e_dnd.c index 06f7914..0e85a3e 100644 --- a/src/bin/e_dnd.c +++ b/src/bin/e_dnd.c @@ -961,9 +961,6 @@ _e_drag_end(int x, int y) _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; } @@ -1344,8 +1341,8 @@ _e_dnd_cb_event_dnd_finished(void *data __UNUSED__, int type __UNUSED__, void *e 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; } --
