From 88726e8df35d966b6587ace70d8d08a25e99dc48 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Thu, 5 Nov 2015 15:29:34 -0500 Subject: [PATCH] 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 6e1635f37..f547870cd 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