forked from enlightenment/terminology
win: be sure we have a child to unfocus. Closes T3260
This commit is contained in:
parent
ae7e96633a
commit
22a3237960
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue