billiob pushed a commit to branch master.

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

commit c151c3c0a08198c700cd382ccc8c1943e8f54fb1
Author: Boris Faure <[email protected]>
Date:   Mon Jun 17 22:13:39 2019 +0200

    termio: use term_is_focused() since it is now more reliable
    
    sd->self is not the evas object that is being focused
---
 src/bin/termio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/termio.c b/src/bin/termio.c
index d8c4c28..06434ca 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -2331,7 +2331,7 @@ _smart_mouseover_apply(Termio *sd)
    config = sd->config;
 
    if ((sd->mouse.cx < 0) || (sd->mouse.cy < 0) ||
-       (sd->link.suspend) || (!evas_object_focus_get(sd->self)))
+       (sd->link.suspend) || (!term_is_focused(sd->term)))
      {
         _remove_links(sd);
         return;

-- 


Reply via email to