raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=1e19806faf25fe80a515af64b357e0ef38709cad

commit 1e19806faf25fe80a515af64b357e0ef38709cad
Author: Carsten Haitzler <[email protected]>
Date:   Mon Apr 4 20:32:16 2022 +0100

    elm - dnd - fix missing out callback when mouse leaves window
    
    @fix
---
 src/lib/elementary/efl_ui_win.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index e320795d5f..5ce1967f30 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -9309,7 +9309,7 @@ _enter_state_change_cb(Ecore_Evas *ee, unsigned int seat 
EINA_UNUSED, Eina_Posit
              target->currently_inside = EINA_TRUE;
              efl_event_callback_call(target->obj, 
EFL_UI_DND_EVENT_DROP_ENTERED, &ev);
           }
-        else if (!move_inside && !target->currently_inside)
+        else if (!move_inside && target->currently_inside)
           {
              target->currently_inside = EINA_FALSE;
              efl_event_callback_call(target->obj, EFL_UI_DND_EVENT_DROP_LEFT, 
&ev);

-- 


Reply via email to