billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=07dc1fee17345d47b97218017861e5980184822f

commit 07dc1fee17345d47b97218017861e5980184822f
Author: Boris Faure <bill...@gmail.com>
Date:   Sun Mar 6 15:34:36 2016 +0100

    win: set split->last_focus when swallowing in a split
---
 src/bin/win.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/bin/win.c b/src/bin/win.c
index 426e8ae..df3c234 100644
--- a/src/bin/win.c
+++ b/src/bin/win.c
@@ -1258,6 +1258,9 @@ _split_swallow(Term_Container *tc, Term_Container *orig,
 
    assert (orig && (orig == split->tc1 || orig == split->tc2));
 
+   if (split->last_focus == orig)
+     split->last_focus = new_child;
+
    o = orig->get_evas_object(orig);
    evas_object_hide(o);
 

-- 


Reply via email to