projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f343a54
)
adjust efm multi-icon drag positioning by the current pan coords
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Thu, 5 Nov 2015 20:29:34 +0000
(15:29 -0500)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Thu, 5 Nov 2015 20:31:16 +0000
(15:31 -0500)
fixes positioning when dragging multiple icons after scrolling
src/bin/e_fm.c
patch
|
blob
|
history
diff --git
a/src/bin/e_fm.c
b/src/bin/e_fm.c
index
52b5c1c
..
0b6dc3b
100644
(file)
--- 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;