termio: evas_object_focus_get() agains obj is not valid
Focus is not handled at that layer. Closes T8176
This commit is contained in:
parent
98017f1647
commit
421e40dbfc
|
@ -521,7 +521,7 @@ termio_set_cursor_shape(Evas_Object *obj, Cursor_Shape shape)
|
||||||
evas_object_show(sd->cursor.obj);
|
evas_object_show(sd->cursor.obj);
|
||||||
sd->cursor.shape = shape;
|
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");
|
edje_object_signal_emit(sd->cursor.obj, "focus,out", "terminology");
|
||||||
if (sd->config->disable_cursor_blink)
|
if (sd->config->disable_cursor_blink)
|
||||||
|
|
Loading…
Reference in New Issue