forked from enlightenment/enlightenment
Fix Ticket #306
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:
parent
c91b7a42f3
commit
8a2f2981ed
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue