projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d8488a
)
evas/event - add the xy origin to object when coords are transformed
author
ChunEon Park
<hermet@hermet.pe.kr>
Sat, 10 Nov 2012 12:52:00 +0000
(12:52 +0000)
committer
ChunEon Park
<hermet@hermet.pe.kr>
Sat, 10 Nov 2012 12:52:00 +0000
(12:52 +0000)
Signed-Off-By: Leandro Dorileo<dorileo@profusioin.mobi>
SVN revision: 79098
src/lib/evas/canvas/evas_events.c
patch
|
blob
|
history
diff --git
a/src/lib/evas/canvas/evas_events.c
b/src/lib/evas/canvas/evas_events.c
index 1a29650b6323659c70b50aff2a7d22a832416dbb..b28dcadff181745d0573749b7e80db8d99fba4fd 100644
(file)
--- a/
src/lib/evas/canvas/evas_events.c
+++ b/
src/lib/evas/canvas/evas_events.c
@@
-22,9
+22,11
@@
_evas_event_havemap_adjust(Evas_Object *eo_obj EINA_UNUSED, Evas_Object_Protecte
if ((!obj->cur.usemap) || (!obj->cur.map) || (!obj->cur.map->count == 4))
return;
- evas_map_coords_get(obj->cur.map, *x, *y, x, y, mouse_grabbed);
- *x += obj->cur.geometry.x;
- *y += obj->cur.geometry.y;
+ if(evas_map_coords_get(obj->cur.map, *x, *y, x, y, mouse_grabbed))
+ {
+ *x += obj->cur.geometry.x;
+ *y += obj->cur.geometry.y;
+ }
}
static void