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
|
static void
|
||||||
_evas_event_framespace_adjust(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y)
|
_evas_event_framespace_adjust(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y)
|
||||||
{
|
{
|
||||||
if (!obj->is_frame)
|
if (obj->is_frame) return;
|
||||||
{
|
|
||||||
if (((!obj->smart.parent) && (obj->smart.smart)) ||
|
if ((!obj->smart.parent) && (obj->smart.smart))
|
||||||
((obj->smart.parent) && (!obj->smart.smart)))
|
|
||||||
{
|
{
|
||||||
Evas *evas;
|
Evas *evas;
|
||||||
|
|
||||||
|
@ -35,7 +34,6 @@ _evas_event_framespace_adjust(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y)
|
||||||
if (y) *y -= evas->framespace.y;
|
if (y) *y -= evas->framespace.y;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
static Eina_List *
|
static Eina_List *
|
||||||
_evas_event_object_list_raw_in_get(Evas *e, Eina_List *in,
|
_evas_event_object_list_raw_in_get(Evas *e, Eina_List *in,
|
||||||
|
|
Loading…
Reference in New Issue