and oops.. fix my fox to coord xlations. working now.
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 13 Apr 2011 12:12:41 +0000 (12:12 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 13 Apr 2011 12:12:41 +0000 (12:12 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@58630 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore_evas/ecore_evas_buffer.c

index 0fd0575..01cea3b 100644 (file)
@@ -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
      {