From fcc996545c3e3570c8b940f57c4860d32ab72186 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Mon, 25 Apr 2016 12:17:23 -0400 Subject: [PATCH] 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 50da393fd..aecf4302d 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);