summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2019-09-02 23:44:34 +0200
committerBoris Faure <billiob@gmail.com>2019-09-02 23:45:46 +0200
commit421e40dbfc690ecb5985df74fa0ab44ae7d3fc1b (patch)
tree1e0ccbefa1ffc5df247614e1a969b38595cd6fec /src
parent98017f1647decbf39cc64e2c53eb0bc90ec7aa59 (diff)
termio: evas_object_focus_get() agains obj is not valid
Focus is not handled at that layer. Closes T8176
Diffstat (limited to 'src')
-rw-r--r--src/bin/termio.c2
1 files changed, 1 insertions, 1 deletions
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)
521 evas_object_show(sd->cursor.obj); 521 evas_object_show(sd->cursor.obj);
522 sd->cursor.shape = shape; 522 sd->cursor.shape = shape;
523 523
524 if (evas_object_focus_get(obj)) 524 if (term_is_focused(sd->term))
525 { 525 {
526 edje_object_signal_emit(sd->cursor.obj, "focus,out", "terminology"); 526 edje_object_signal_emit(sd->cursor.obj, "focus,out", "terminology");
527 if (sd->config->disable_cursor_blink) 527 if (sd->config->disable_cursor_blink)