billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=27f062ff1a6d65fef1d2fc1c8ae92f0444942e95

commit 27f062ff1a6d65fef1d2fc1c8ae92f0444942e95
Author: Boris Faure <[email protected]>
Date:   Thu Apr 16 19:30:27 2020 +0200

    win: reswallow content when it's the only one left
---
 src/bin/win.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/bin/win.c b/src/bin/win.c
index b063d4e..92e329c 100644
--- a/src/bin/win.c
+++ b/src/bin/win.c
@@ -3650,6 +3650,10 @@ _tab_drag_rollback_win(void)
    Term_Container *tc_win = (Term_Container*)wn;
    Term_Container *tc = term->container;
 
+   if (term->unswallowed)
+     elm_layout_content_set(term->bg, "terminology.content", term->core);
+   term->unswallowed = EINA_FALSE;
+
    tc_win->swallow(tc_win, NULL, tc);
    tc_win->unfocus(tc_win, NULL);
    tc->focus(tc, NULL);

-- 


Reply via email to