discomfitor pushed a commit to branch enlightenment-0.19.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=88726e8df35d966b6587ace70d8d08a25e99dc48

commit 88726e8df35d966b6587ace70d8d08a25e99dc48
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 6e1635f..f547870 100644
--- a/src/bin/e_fm.c
+++ b/src/bin/e_fm.c
@@ -7688,7 +7688,7 @@ _e_fm2_cb_icon_mouse_move(void *data, Evas *e __UNUSED__, 
Evas_Object *obj __UNU
              d = e_drag_new(c, 0, 0, drag_types, 1,
                             sel, sel_length, NULL, _e_fm2_cb_drag_finished);
              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;
 #ifndef HAVE_WAYLAND_ONLY

-- 


Reply via email to