billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=22a32379605f5d82877cb69d4e227a1bb96a6846

commit 22a32379605f5d82877cb69d4e227a1bb96a6846
Author: Boris Faure <bill...@gmail.com>
Date:   Sun Mar 6 13:20:36 2016 +0100

    win: be sure we have a child to unfocus. Closes T3260
---
 src/bin/win.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/win.c b/src/bin/win.c
index 3da03b2..426e8ae 100644
--- a/src/bin/win.c
+++ b/src/bin/win.c
@@ -875,7 +875,7 @@ _win_unfocus(Term_Container *tc, Term_Container *relative)
 
    DBG("tc:%p tc->is_focused:%d from_child:%d",
        tc, tc->is_focused, wn->child == relative);
-   if (relative != wn->child)
+   if (relative != wn->child && wn->child)
      {
         tc->is_focused = EINA_FALSE;
         wn->child->unfocus(wn->child, tc);

-- 


Reply via email to