aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/termio.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-03-13 12:02:52 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-03-13 12:02:52 -0400
commite895d00693b587459992529fd1277adb9f6cdae9 (patch)
tree13ab79f11f6368aece55c1695807e536fdf5fe7d /src/bin/termio.c
parenttermio: reset size when size looks boggus. (diff)
downloadterminology-devs/discomfitor/focus.tar.gz
add behavior option to disable focus-in/out animations and visualsdevs/discomfitor/focus
this is useful for CI
Diffstat (limited to 'src/bin/termio.c')
-rw-r--r--src/bin/termio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/termio.c b/src/bin/termio.c
index ff14490..e907498 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -3518,7 +3518,8 @@ _smart_cb_focus_out(void *data,
Termio *sd = evas_object_smart_data_get(data);
EINA_SAFETY_ON_NULL_RETURN(sd);
- edje_object_signal_emit(sd->cursor.obj, "focus,out", "terminology");
+ if (!sd->config->disable_focus_visuals)
+ edje_object_signal_emit(sd->cursor.obj, "focus,out", "terminology");
if (!sd->win) return;
sd->pty->selection.last_click = 0;
elm_win_keyboard_mode_set(sd->win, ELM_WIN_KEYBOARD_OFF);