billiob pushed a commit to branch master. http://git.enlightenment.org/apps/terminology.git/commit/?id=58df5715d1e0d77714612a01ceca63232af8f820
commit 58df5715d1e0d77714612a01ceca63232af8f820 Author: Boris Faure <[email protected]> Date: Sun Jul 7 17:28:05 2019 +0200 win: remove shadowed variable --- src/bin/win.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/bin/win.c b/src/bin/win.c index 021bb6e..6b1382f 100644 --- a/src/bin/win.c +++ b/src/bin/win.c @@ -1310,9 +1310,11 @@ _cb_win_key_down(void *data, term = tc->focused_term_get(tc); if (term) { - Term_Container *tc = term->container; Term_Container *tc_parent = tc->parent; + tc = term->container; + tc_parent = tc->parent; + if (tc_parent->type == TERM_CONTAINER_TYPE_TABS) { Tabs *tabs = (Tabs*) tc_parent; --
