Do not call the contexts' input_panel_show/hide methods unless

input_panel_enabled is True.

Part of Fix for Phab Ticket T501

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2013-11-15 08:43:23 +00:00
parent e28d54d3e4
commit d00b7b2fe6
1 changed files with 8 additions and 2 deletions

View File

@ -789,7 +789,10 @@ ecore_imf_context_input_panel_show(Ecore_IMF_Context *ctx)
}
show_req_ctx = ctx;
if (ctx->klass->show) ctx->klass->show(ctx);
if (ctx->input_panel_enabled)
{
if (ctx->klass->show) ctx->klass->show(ctx);
}
}
EAPI void
@ -802,7 +805,10 @@ ecore_imf_context_input_panel_hide(Ecore_IMF_Context *ctx)
return;
}
if (ctx->klass->hide) ctx->klass->hide(ctx);
if (ctx->input_panel_enabled)
{
if (ctx->klass->hide) ctx->klass->hide(ctx);
}
}
EAPI void