From: raster Date: Wed, 13 Apr 2011 12:12:41 +0000 (+0000) Subject: and oops.. fix my fox to coord xlations. working now. X-Git-Tag: build/2012-07-04.173327~1231 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9d8e2142ae361094129eae52f149313344ddcc3b;p=profile%2Fivi%2Fecore.git and oops.. fix my fox to coord xlations. working now. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@58630 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/ecore_evas/ecore_evas_buffer.c b/src/lib/ecore_evas/ecore_evas_buffer.c index 0fd0575..01cea3b 100644 --- a/src/lib/ecore_evas/ecore_evas_buffer.c +++ b/src/lib/ecore_evas/ecore_evas_buffer.c @@ -150,8 +150,8 @@ _ecore_evas_buffer_coord_translate(Ecore_Evas *ee, Evas_Coord *x, Evas_Coord *y) if ((fx == 0) && (fy == 0) && (fw == ww) && (fh == hh)) { - *x = (ee->w * *x) / fw; - *y = (ee->h * *y) / fh; + *x = (ee->w * (*x - xx)) / fw; + *y = (ee->h * (*y - yy)) / fh; } else {