summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2013-10-08 22:22:20 +0200
committerBoris Faure <billiob@gmail.com>2013-10-08 22:26:06 +0200
commit585ed2c3236865bf48ae20530ac3235cdf64f3a8 (patch)
tree69b56a055bed1d108022e756685a98e8db358215
parent579c64878a045d42d6e1d96df110ca705955f8dc (diff)
fix (some cases about) link still showing up when they shouldn't
-rw-r--r--src/bin/termio.c8
1 files changed, 7 insertions, 1 deletions
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)
570 Eina_Bool same_link = EINA_FALSE, same_geom = EINA_FALSE; 570 Eina_Bool same_link = EINA_FALSE, same_geom = EINA_FALSE;
571 Termio *sd = evas_object_smart_data_get(obj); 571 Termio *sd = evas_object_smart_data_get(obj);
572 572
573 if (!sd || (sd->mouse.cx < 0) || (sd->mouse.cy < 0)) return; 573 if (!sd) return;
574 if ((sd->mouse.cx < 0) || (sd->mouse.cy < 0))
575 {
576 _remove_links(sd, obj);
577 return;
578 }
579
574 580
575 s = _termio_link_find(obj, sd->mouse.cx, sd->mouse.cy, 581 s = _termio_link_find(obj, sd->mouse.cx, sd->mouse.cy,
576 &x1, &y1, &x2, &y2); 582 &x1, &y1, &x2, &y2);