termio: evas_object_focus_get() agains obj is not valid

Focus is not handled at that layer.
Closes T8176
This commit is contained in:
Boris Faure 2019-09-02 23:44:34 +02:00
parent 98017f1647
commit 421e40dbfc
1 changed files with 1 additions and 1 deletions

View File

@ -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)