aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/win.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/win.c')
-rw-r--r--src/bin/win.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/bin/win.c b/src/bin/win.c
index 1ec7117..2642961 100644
--- a/src/bin/win.c
+++ b/src/bin/win.c
@@ -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