After we send the drop to the target it can take a while before it is
acknowledged. So release grab and hide input window so we can continue
working.

SVN revision: 44223
This commit is contained in:
Sebastian Dransfeld 2009-12-06 18:03:35 +00:00
parent c91b7a42f3
commit 8a2f2981ed
1 changed files with 2 additions and 1 deletions

View File

@ -917,6 +917,8 @@ _e_drag_end(Ecore_X_Window root, int x, int y)
_drag_current = NULL;
e_object_del(E_OBJECT(tmp));
}
e_grabinput_release(_drag_win, _drag_win);
ecore_x_window_hide(_drag_win);
return;
}
@ -1343,7 +1345,6 @@ _e_dnd_cb_event_dnd_finished(void *data, int type, void *event)
e_object_del(E_OBJECT(tmp));
}
e_grabinput_release(_drag_win, _drag_win);
ecore_x_window_free(_drag_win);
_drag_win = 0;