discomfitor pushed a commit to branch master.
commit 90e91530f89499b943ae78eae39dbd03ed49dd7d
Author: Mike Blumenkrantz <[email protected]>
Date: Wed Jun 12 07:40:30 2013 +0100
only try to drop into handlers which have been entered
---
src/bin/e_dnd.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/bin/e_dnd.c b/src/bin/e_dnd.c
index 4be2bcb..ccb472d 100644
--- a/src/bin/e_dnd.c
+++ b/src/bin/e_dnd.c
@@ -984,6 +984,7 @@ _e_drag_end(int x, int y)
EINA_LIST_FOREACH(_active_handlers, l, h)
{
+ if (!h->entered) continue;
_e_drag_coords_update(h, &dx, &dy);
ev.x = x - dx;
ev.y = y - dy;
--
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev