billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=585ed2c3236865bf48ae20530ac3235cdf64f3a8

commit 585ed2c3236865bf48ae20530ac3235cdf64f3a8
Author: Boris Faure <bill...@gmail.com>
Date:   Tue Oct 8 22:22:20 2013 +0200

    fix (some cases about) link still showing up when they shouldn't
---
 src/bin/termio.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/bin/termio.c b/src/bin/termio.c
index e2193d6..bb03e08 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -570,7 +570,13 @@ _smart_mouseover_apply(Evas_Object *obj)
    Eina_Bool same_link = EINA_FALSE, same_geom = EINA_FALSE;
    Termio *sd = evas_object_smart_data_get(obj);
 
-   if (!sd || (sd->mouse.cx < 0) || (sd->mouse.cy < 0)) return;
+   if (!sd) return;
+   if ((sd->mouse.cx < 0) || (sd->mouse.cy < 0))
+     {
+        _remove_links(sd, obj);
+        return;
+     }
+
 
    s = _termio_link_find(obj, sd->mouse.cx, sd->mouse.cy,
                          &x1, &y1, &x2, &y2);

-- 


Reply via email to