win: reswallow content when it's the only one left

This commit is contained in:
Boris Faure 2020-04-16 19:30:27 +02:00
parent 25496f6689
commit 27f062ff1a
Signed by: borisfaure
GPG Key ID: 35C0410516166BE8
1 changed files with 4 additions and 0 deletions

View File

@ -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);