|
|
|
@ -349,6 +349,8 @@ _solo_unfocus(Term_Container *tc, Term_Container *relative) |
|
|
|
|
if (!tc->is_focused) |
|
|
|
|
return; |
|
|
|
|
|
|
|
|
|
tc->is_focused = EINA_FALSE; |
|
|
|
|
|
|
|
|
|
if (tc->parent != relative) |
|
|
|
|
tc->parent->unfocus(tc->parent, tc); |
|
|
|
|
|
|
|
|
@ -357,8 +359,6 @@ _solo_unfocus(Term_Container *tc, Term_Container *relative) |
|
|
|
|
|
|
|
|
|
if (!tc->wn->cmdbox_up) |
|
|
|
|
elm_object_focus_set(term->termio, EINA_FALSE); |
|
|
|
|
|
|
|
|
|
tc->is_focused = EINA_FALSE; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
static void |
|
|
|
@ -919,6 +919,9 @@ _term_container_is_splittable(Term_Container *tc, Eina_Bool is_horizontal) |
|
|
|
|
int w = 0, h = 0, c_w = 0, c_h = 0; |
|
|
|
|
Term *tm; |
|
|
|
|
|
|
|
|
|
if (terminology_starting_up) |
|
|
|
|
return EINA_TRUE; |
|
|
|
|
|
|
|
|
|
tm = tc->term_first(tc); |
|
|
|
|
evas_object_geometry_get(tm->bg, NULL, NULL, &w, &h); |
|
|
|
|
evas_object_textgrid_cell_size_get(termio_textgrid_get(tm->termio), |
|
|
|
@ -974,6 +977,10 @@ _win_split(Term_Container *tc, Term_Container *child, |
|
|
|
|
tc_split->is_focused = tc->is_focused; |
|
|
|
|
tc->swallow(tc, NULL, tc_split); |
|
|
|
|
} |
|
|
|
|
else |
|
|
|
|
{ |
|
|
|
|
DBG("term is not splittable"); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
static void |
|
|
|
|