focus - ensure focus is properly handled first time for unfocused wins
this fixes a case where ecore imf is never told about a newly focused context because the relative term is already the child in an initial case... this gets input methods working again @fix
This commit is contained in:
parent
6a13cb2e20
commit
bbe5b3eb03
|
@ -994,7 +994,7 @@ _win_focus(Term_Container *tc, Term_Container *relative)
|
|||
wn = (Win*) tc;
|
||||
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->focused))
|
||||
{
|
||||
DBG("focus tc:%p", tc);
|
||||
wn->child->focus(wn->child, tc);
|
||||
|
|
Loading…
Reference in New Issue