jaehyun pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=dd7da0b038184a2d2a65b8bf752029ad9e8e468a

commit dd7da0b038184a2d2a65b8bf752029ad9e8e468a
Author: Jaehyun Cho <[email protected]>
Date:   Tue Feb 24 20:33:00 2015 +0900

    Revert "edj_viewer: Fix cursor position on status bar."
    
    This reverts commit f2d5a2224066eb37fba1b83aed1e382426550cb4.
---
 src/lib/edj_viewer.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/edj_viewer.c b/src/lib/edj_viewer.c
index a1b273c..caef7f0 100644
--- a/src/lib/edj_viewer.c
+++ b/src/lib/edj_viewer.c
@@ -129,8 +129,8 @@ rect_mouse_move_cb(void *data, Evas *e EINA_UNUSED,
    Evas_Coord x, y, w, h;
    evas_object_geometry_get(obj, &x, &y, &w, &h);
 
-   cursor.x = ev->cur.canvas.x - x;
-   cursor.y = ev->cur.canvas.y - y;
+   cursor.x = ev->cur.canvas.x;
+   cursor.y = ev->cur.canvas.y;
    cursor.relx = (float) ((ev->cur.canvas.x - x) / (float) w);
    cursor.rely = (float) ((ev->cur.canvas.y - y) / (float) h);
 

-- 


Reply via email to