only try to drop into handlers which have been entered
authorMike Blumenkrantz <m.blumenkran@samsung.com>
Wed, 12 Jun 2013 06:40:30 +0000 (07:40 +0100)
committerMike Blumenkrantz <m.blumenkran@samsung.com>
Wed, 12 Jun 2013 06:46:25 +0000 (07:46 +0100)
src/bin/e_dnd.c

index 4be2bcb..ccb472d 100644 (file)
@@ -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;