forked from enlightenment/enlightenment
This is meant to prevent drags from one view of a dir to another view of
the same dir. Kevin, is this the right place to do this? SVN revision: 5986
This commit is contained in:
parent
fd0bd775f6
commit
d3625546b5
|
@ -2350,8 +2350,8 @@ e_dnd_drop(Ecore_Event * ev)
|
|||
if (e->win == v->win.base)
|
||||
{
|
||||
/* Dropped! Handle data */
|
||||
/* Same view? Mark to skip action */
|
||||
if( e->win == e->source_win )
|
||||
/* Same view or same underlying dir? Mark to skip action */
|
||||
if( e->win == e->source_win || v->model == v_dnd_source->model)
|
||||
v->drag.matching_drop_attempt = 1;
|
||||
/* Perform the action... */
|
||||
e_dnd_handle_drop (v);
|
||||
|
|
Loading…
Reference in New Issue