summaryrefslogtreecommitdiff
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:55:32 +0200
commit2e2c3f0a26ab4319b358257dffc1212107ac05d6 (patch)
treed7d5f0734aa0c531869e41fd1e8d4a12075b4798
parent01ff1e1d8ad61ae7a0a9ac90064bb3a07702d978 (diff)
fix focus issue when creating a new tab in a split
-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 20dbabe..d0fb95e 100644
--- a/src/bin/win.c
+++ b/src/bin/win.c
@@ -349,6 +349,8 @@ _solo_unfocus(Term_Container *tc, Term_Container *relative)
349 if (!tc->is_focused) 349 if (!tc->is_focused)
350 return; 350 return;
351 351
352 tc->is_focused = EINA_FALSE;
353
352 if (tc->parent != relative) 354 if (tc->parent != relative)
353 tc->parent->unfocus(tc->parent, tc); 355 tc->parent->unfocus(tc->parent, tc);
354 356
@@ -357,8 +359,6 @@ _solo_unfocus(Term_Container *tc, Term_Container *relative)
357 359
358 if (!tc->wn->cmdbox_up) 360 if (!tc->wn->cmdbox_up)
359 elm_object_focus_set(term->termio, EINA_FALSE); 361 elm_object_focus_set(term->termio, EINA_FALSE);
360
361 tc->is_focused = EINA_FALSE;
362} 362}
363 363
364static void 364static void