aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/win.c
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2015-09-20 15:51:57 +0200
committerBoris Faure <billiob@gmail.com>2015-09-20 15:51:57 +0200
commit81a8118c03695630006b32a5452c81479f9f0c07 (patch)
treeed614b7d3cd45a19fbdab814ea3669911b826003 /src/bin/win.c
parentdo not right trim "." on word selection (diff)
downloadterminology-81a8118c03695630006b32a5452c81479f9f0c07.tar.gz
fix focus issue when creating a new tab in a split
Diffstat (limited to 'src/bin/win.c')
-rw-r--r--src/bin/win.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/win.c b/src/bin/win.c
index eba1b04..1ec7117 100644
--- a/src/bin/win.c
+++ b/src/bin/win.c
@@ -349,6 +349,8 @@ _solo_unfocus(Term_Container *tc, Term_Container *relative)
if (!tc->is_focused)
return;
+ tc->is_focused = EINA_FALSE;
+
if (tc->parent != relative)
tc->parent->unfocus(tc->parent, tc);
@@ -357,8 +359,6 @@ _solo_unfocus(Term_Container *tc, Term_Container *relative)
if (!tc->wn->cmdbox_up)
elm_object_focus_set(term->termio, EINA_FALSE);
-
- tc->is_focused = EINA_FALSE;
}
static void