summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2015-11-05 15:29:34 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-11-05 15:31:16 -0500
commit76276a6c7c31e00a99af2e7889d7bf91e5d56bd4 (patch)
tree1a8e26eb925d01c7618d6b2a8bb00864de65032c
parentf343a5403d49041de9010b15d88ee0388747e990 (diff)
downloadenlightenment-76276a6c7c31e00a99af2e7889d7bf91e5d56bd4.tar.gz
adjust efm multi-icon drag positioning by the current pan coords
fixes positioning when dragging multiple icons after scrolling
-rw-r--r--src/bin/e_fm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c
index 52b5c1c1db..0b6dc3b4cb 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;