{
EcoreIMFContextISF *context_scim = (EcoreIMFContextISF *)ecore_imf_context_data_get (ctx);
- if (context_scim && context_scim->impl) {
+ if (context_scim && context_scim->impl && context_scim == _focused_ic) {
_panel_client.prepare (context_scim->id);
context_scim->impl->si->set_prediction_allow (prediction);
_panel_client.send ();
{
EcoreIMFContextISF *context_scim = (EcoreIMFContextISF *)ecore_imf_context_data_get (ctx);
- if (context_scim && context_scim->impl) {
+ if (context_scim && context_scim->impl && context_scim == _focused_ic) {
_panel_client.prepare (context_scim->id);
context_scim->impl->si->set_layout (layout);
_panel_client.send ();