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:
Rafael Antognolli 2013-03-26 13:49:18 -03:00
parent 8d88a73f68
commit 41d00df3d7
1 changed files with 2 additions and 2 deletions

View File

@ -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;