From 421e40dbfc690ecb5985df74fa0ab44ae7d3fc1b Mon Sep 17 00:00:00 2001 From: Boris Faure Date: Mon, 2 Sep 2019 23:44:34 +0200 Subject: [PATCH] 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 247ab7cd..b8c42460 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)