From 27f062ff1a6d65fef1d2fc1c8ae92f0444942e95 Mon Sep 17 00:00:00 2001 From: Boris Faure Date: Thu, 16 Apr 2020 19:30:27 +0200 Subject: [PATCH] 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 b063d4e2..92e329cb 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);