forked from enlightenment/efl
canvas: Fix event framespace adjustment
Complements fix in r75545 SVN revision: 75555
This commit is contained in:
parent
5070bbdf60
commit
bacdd1ae11
|
@ -23,10 +23,9 @@ _evas_event_havemap_adjust(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Eina_
|
|||
static void
|
||||
_evas_event_framespace_adjust(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y)
|
||||
{
|
||||
if (!obj->is_frame)
|
||||
{
|
||||
if (((!obj->smart.parent) && (obj->smart.smart)) ||
|
||||
((obj->smart.parent) && (!obj->smart.smart)))
|
||||
if (obj->is_frame) return;
|
||||
|
||||
if ((!obj->smart.parent) && (obj->smart.smart))
|
||||
{
|
||||
Evas *evas;
|
||||
|
||||
|
@ -34,7 +33,6 @@ _evas_event_framespace_adjust(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y)
|
|||
if (x) *x -= evas->framespace.x;
|
||||
if (y) *y -= evas->framespace.y;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static Eina_List *
|
||||
|
|
Loading…
Reference in New Issue