aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2018-08-10 08:03:52 +0200
committerBoris Faure <billiob@gmail.com>2018-08-10 08:03:52 +0200
commite2712c51539824fddf9b0ae98b414f304a6e6f62 (patch)
tree65aa79e0adb5544b0e45be37ab05279b6140d77d
parentterminology: Fix evas event callback (diff)
downloadterminology-e2712c51539824fddf9b0ae98b414f304a6e6f62.tar.gz
win: do not pass input when tab selector is up
-rw-r--r--src/bin/win.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/bin/win.c b/src/bin/win.c
index 437d9fe..8064d8b 100644
--- a/src/bin/win.c
+++ b/src/bin/win.c
@@ -2681,11 +2681,12 @@ _tabs_restore(Tabs *tabs)
Term_Container *tc = (Term_Container*)tabs;
Term *term;
Solo *solo;
+ Win *wn = tc->wn;
if (!tabs->selector)
return;
- EINA_LIST_FOREACH(tc->wn->terms, l, term)
+ EINA_LIST_FOREACH(wn->terms, l, term)
{
if (term->unswallowed)
{
@@ -2714,6 +2715,8 @@ _tabs_restore(Tabs *tabs)
tabs->selector = NULL;
tabs->selector_bg = NULL;
+ wn->on_popover = EINA_FALSE;
+
/* XXX: reswallow in parent */
tc->parent->swallow(tc->parent, tc, tc);
solo = (Solo*)tabs->current->tc;
@@ -2782,6 +2785,8 @@ _cb_tab_selector_show(Tabs *tabs, Tab_Item *to_item)
if (tabs->selector_bg)
return;
+ wn->on_popover = EINA_TRUE;
+
o = tc->get_evas_object(tc);
evas_object_geometry_get(o, &x, &y, &w, &h);