billiob pushed a commit to branch terminology-1.5.

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

commit 421e40dbfc690ecb5985df74fa0ab44ae7d3fc1b
Author: Boris Faure <bill...@gmail.com>
Date:   Mon Sep 2 23:44:34 2019 +0200

    termio: evas_object_focus_get() agains obj is not valid
    
    Focus is not handled at that layer.
    Closes T8176
---
 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 247ab7c..b8c4246 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -521,7 +521,7 @@ termio_set_cursor_shape(Evas_Object *obj, Cursor_Shape 
shape)
    evas_object_show(sd->cursor.obj);
    sd->cursor.shape = shape;
 
-   if (evas_object_focus_get(obj))
+   if (term_is_focused(sd->term))
      {
         edje_object_signal_emit(sd->cursor.obj, "focus,out", "terminology");
         if (sd->config->disable_cursor_blink)

-- 


Reply via email to