{
ctx->allow_prediction = prediction;
+ if (prediction == EINA_FALSE)
+ ctx->input_hints &= ~ECORE_IMF_INPUT_HINT_AUTO_COMPLETE;
+ else
+ ctx->input_hints |= ECORE_IMF_INPUT_HINT_AUTO_COMPLETE;
+
if (ctx->klass && ctx->klass->prediction_allow_set)
ctx->klass->prediction_allow_set(ctx, prediction);
}
}
show_req_ctx = ctx;
- if ((ctx->input_panel_enabled) ||
+ if ((ctx->input_panel_enabled) ||
(getenv("ECORE_IMF_INPUT_PANEL_ENABLED")))
{
if (ctx->klass && ctx->klass->show) ctx->klass->show(ctx);
return;
}
- if ((ctx->input_panel_enabled) ||
+ if ((ctx->input_panel_enabled) ||
(getenv("ECORE_IMF_INPUT_PANEL_ENABLED")))
{
if (ctx->klass && ctx->klass->hide) ctx->klass->hide(ctx);