discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=fcc996545c3e3570c8b940f57c4860d32ab72186

commit fcc996545c3e3570c8b940f57c4860d32ab72186
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Apr 25 12:17:23 2016 -0400

    always end drag operations on failure
    
    fix T3507
---
 src/bin/e_dnd.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/bin/e_dnd.c b/src/bin/e_dnd.c
index 50da393..aecf430 100644
--- a/src/bin/e_dnd.c
+++ b/src/bin/e_dnd.c
@@ -985,13 +985,11 @@ _e_drag_end(int x, int y)
         if (e_comp->comp_type == E_PIXMAP_TYPE_X)
           {
              if (!(dropped = ecore_x_dnd_drop()))
-               {
-                  if (win == e_comp->ee_win) break;
-               }
+               break;
           }
         else
 #endif
-          if ((e_comp->comp_type == E_PIXMAP_TYPE_WL) && (win == 
e_comp->ee_win))
+          if (e_comp->comp_type == E_PIXMAP_TYPE_WL)
             break;
         if (_drag_current->cb.finished)
           _drag_current->cb.finished(_drag_current, dropped);

-- 


Reply via email to