discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=76276a6c7c31e00a99af2e7889d7bf91e5d56bd4

commit 76276a6c7c31e00a99af2e7889d7bf91e5d56bd4
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Nov 5 15:29:34 2015 -0500

    adjust efm multi-icon drag positioning by the current pan coords
    
    fixes positioning when dragging multiple icons after scrolling
---
 src/bin/e_fm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c
index 52b5c1c..0b6dc3b 100644
--- a/src/bin/e_fm.c
+++ b/src/bin/e_fm.c
@@ -7716,7 +7716,7 @@ _e_fm2_cb_icon_mouse_move(void *data, Evas *e, 
Evas_Object *obj EINA_UNUSED, voi
              if (ic->sd->win)
                evas_object_geometry_get(ic->sd->win, &wx, &wy, NULL, NULL);
              if (layout)
-               d->x = ic->sd->x, d->y = ic->sd->y;
+               d->x = ic->sd->x - ic->sd->pos.x, d->y = ic->sd->y - 
ic->sd->pos.y;
              else
                d->x = ic->x + ic->sd->x - ic->sd->pos.x, d->y = ic->y + 
ic->sd->y - ic->sd->pos.y;
              d->x += wx, d->y += wy;

-- 


Reply via email to