ignore the completed flag on dnd-finished events since this (SHOULD be) always true; fixes bug where windows could be stuck in a never-ending drag and no longer respond to user input

SVN revision: 76818
This commit is contained in:
Mike Blumenkrantz 2012-09-18 13:20:11 +00:00
parent baaf4b7c75
commit 053c02b070
1 changed files with 8 additions and 2 deletions

View File

@ -1377,14 +1377,20 @@ _e_dnd_cb_event_dnd_status(void *data __UNUSED__, int type __UNUSED__, void *eve
}
static Eina_Bool
_e_dnd_cb_event_dnd_finished(void *data __UNUSED__, int type __UNUSED__, void *event)
_e_dnd_cb_event_dnd_finished(void *data __UNUSED__, int type __UNUSED__, void *event __UNUSED__)
{
/*
* this is broken since the completed flag doesn't tell us anything with current
* ecore-x and results in never-ending dnd operation which breaks the window
* 18 September 2012
* BORKER CERTIFICATION: BRONZE
* -discomfitor
Ecore_X_Event_Xdnd_Finished *ev;
ev = event;
if (!ev->completed) return ECORE_CALLBACK_PASS_ON;
*/
if (_drag_current)
{
E_Drag *tmp;