billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=36ba3bf3ed3b9e44ba021f1e5bc45d906e8de038

commit 36ba3bf3ed3b9e44ba021f1e5bc45d906e8de038
Author: Boris Faure <bill...@gmail.com>
Date:   Thu Oct 10 23:02:28 2013 +0200

    out coords are -1
    
    this fixes some other cases of links not disappearing on mouse out
    fixing selection will come later
---
 src/bin/termio.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/bin/termio.c b/src/bin/termio.c
index 8ab7027..fd5b62c 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -2250,17 +2250,17 @@ _smart_xy_to_cursor(Evas_Object *obj, Evas_Coord x, 
Evas_Coord y, int *cx, int *
    sd = evas_object_smart_data_get(obj);
    if (!sd)
      {
-        *cx = 0;
-        *cy = 0;
+        *cx = -1;
+        *cy = -1;
         return;
      }
    evas_object_geometry_get(obj, &ox, &oy, NULL, NULL);
    *cx = (x - ox) / sd->font.chw;
    *cy = (y - oy) / sd->font.chh;
-   if (*cx < 0) *cx = 0;
-   else if (*cx >= sd->grid.w) *cx = sd->grid.w - 1;
+   if (*cx < 0) *cx = -1;
+   else if (*cx >= sd->grid.w) *cx = -1;
    if (*cy < 0) *cy = 0;
-   else if (*cy >= sd->grid.h) *cy = sd->grid.h - 1;
+   else if (*cy >= sd->grid.h) *cy = -1;
 }
 
 static void

-- 


Reply via email to