forked from enlightenment/enlightenment
only try to drop into handlers which have been entered
This commit is contained in:
parent
6d398fa27d
commit
90e91530f8
|
@ -984,6 +984,7 @@ _e_drag_end(int x, int y)
|
||||||
|
|
||||||
EINA_LIST_FOREACH(_active_handlers, l, h)
|
EINA_LIST_FOREACH(_active_handlers, l, h)
|
||||||
{
|
{
|
||||||
|
if (!h->entered) continue;
|
||||||
_e_drag_coords_update(h, &dx, &dy);
|
_e_drag_coords_update(h, &dx, &dy);
|
||||||
ev.x = x - dx;
|
ev.x = x - dx;
|
||||||
ev.y = y - dy;
|
ev.y = y - dy;
|
||||||
|
|
Loading…
Reference in New Issue