forked from enlightenment/efl
evas/wayland: Remove wrong check from framespace position_get.
This check makes no sense, since objects can be on outside of the screen, with negative position, but they still need to be adjusted by the framespace offset.
This commit is contained in:
parent
8d88a73f68
commit
41d00df3d7
|
@ -1024,8 +1024,8 @@ _position_get(Eo *eo_obj EINA_UNUSED, void *_pd, va_list *list)
|
|||
|
||||
if ((!obj->is_frame) && (eo_obj != evas->framespace.clip))
|
||||
{
|
||||
if (nx > 0) nx -= evas->framespace.x;
|
||||
if (ny > 0) ny -= evas->framespace.y;
|
||||
nx -= evas->framespace.x;
|
||||
ny -= evas->framespace.y;
|
||||
}
|
||||
|
||||
if (x) *x = nx;
|
||||
|
|
Loading…
Reference in New Issue