aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2018-03-10 17:22:52 +0100
committerBoris Faure <billiob@gmail.com>2018-03-10 17:22:52 +0100
commit71d9bc2f68c2973798a1945bb0954236a8fe3716 (patch)
tree6712d340688a840af0bb0247dcf7bf08ccbc8cd6 /src
parentoptions: default is the behaviour tab. Closes T2130 (diff)
downloadterminology-71d9bc2f68c2973798a1945bb0954236a8fe3716.tar.gz
win: do not force focus when on options. Closes https://phab.enlightenment.org/T4769
Diffstat (limited to 'src')
-rw-r--r--src/bin/win.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/win.c b/src/bin/win.c
index d4e6ba6..06d9936 100644
--- a/src/bin/win.c
+++ b/src/bin/win.c
@@ -556,6 +556,8 @@ _cb_win_focus_in(void *data,
tc->is_focused = EINA_TRUE;
if ((wn->cmdbox_up) && (wn->cmdbox))
elm_object_focus_set(wn->cmdbox, EINA_TRUE);
+ if (wn->on_options)
+ return;
term = tc->focused_term_get(tc);