From 11f90228f3bfad41c696ea3ed2ad8ff5cb123c90 Mon Sep 17 00:00:00 2001 From: Taehyub Kim Date: Fri, 27 Oct 2023 16:03:58 +0900 Subject: [PATCH] efl_ui_win: modified to ensure enter and leave events Change-Id: Iaaa0295b2531f95a7927d3be77dce38dbe788730 --- src/lib/elementary/efl_ui_win.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c index 99c1113..c8b97db 100644 --- a/src/lib/elementary/efl_ui_win.c +++ b/src/lib/elementary/efl_ui_win.c @@ -11051,16 +11051,12 @@ _enter_state_change_cb(Ecore_Evas *ee, unsigned int seat EINA_UNUSED, Eina_Posit if (inside && move_inside) { target->currently_inside = EINA_TRUE; - // TIZEN_ONLY(20211208): keep the order of enter and leave event - //efl_event_callback_call(target->obj, EFL_UI_DND_EVENT_DROP_ENTERED, &ev); - // + 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; - // TIZEN_ONLY(20211208): keep the order of enter and leave event - //efl_event_callback_call(target->obj, EFL_UI_DND_EVENT_DROP_LEFT, &ev); - // + efl_event_callback_call(target->obj, EFL_UI_DND_EVENT_DROP_LEFT, &ev); } } } -- 2.7.4