discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=0ba65849942c9d64610c9049520ed0e77d303bbe
commit 0ba65849942c9d64610c9049520ed0e77d303bbe Author: Mike Blumenkrantz <[email protected]> Date: Mon Dec 2 09:06:20 2013 -0500 move dnd input window free to drag free function fix T542 and other cases where dnd operations could permanently break mouse input --- src/bin/e_dnd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/e_dnd.c b/src/bin/e_dnd.c index 095d31a..52a3b7c 100644 --- a/src/bin/e_dnd.c +++ b/src/bin/e_dnd.c @@ -966,8 +966,6 @@ _e_drag_end(int x, int y) } dropped = 0; - ecore_x_window_free(_drag_win); - _drag_win = 0; if (!_drag_current->data) { /* Just leave */ @@ -1112,6 +1110,8 @@ _e_drag_free(E_Drag *drag) for (i = 0; i < drag->num_types; i++) eina_stringshare_del(drag->types[i]); free(drag); + ecore_x_window_free(_drag_win); + _drag_win = 0; ecore_x_window_shadow_tree_flush(); } --
