forked from enlightenment/efl
Use also map of current object
Do not use only the map of the parent. Apply the obj's map first and then go to the parent. + simple formatting SVN revision: 52406
This commit is contained in:
parent
a1a69cae0f
commit
1a0a9b68f6
|
@ -5,8 +5,10 @@ static void
|
|||
_evas_event_havemap_adjust(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y)
|
||||
{
|
||||
Evas_Object *pmap;
|
||||
pmap = obj->smart.parent;
|
||||
|
||||
evas_map_coords_get(obj->cur.map, *x, *y, x, y, obj->mouse_grabbed);
|
||||
|
||||
pmap = obj->smart.parent;
|
||||
while (pmap)
|
||||
{
|
||||
if ((pmap->cur.map) && (pmap->cur.map->count == 4) && (pmap->cur.usemap))
|
||||
|
|
Loading…
Reference in New Issue