and oops.. fix my fox to coord xlations. working now.
authorCarsten Haitzler <raster@rasterman.com>
Wed, 13 Apr 2011 12:12:41 +0000 (12:12 +0000)
committerCarsten Haitzler <raster@rasterman.com>
Wed, 13 Apr 2011 12:12:41 +0000 (12:12 +0000)
SVN revision: 58630

legacy/ecore/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
      {