forked from enlightenment/efl
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:
parent
e28d54d3e4
commit
d00b7b2fe6
|
@ -789,8 +789,11 @@ ecore_imf_context_input_panel_show(Ecore_IMF_Context *ctx)
|
||||||
}
|
}
|
||||||
|
|
||||||
show_req_ctx = ctx;
|
show_req_ctx = ctx;
|
||||||
|
if (ctx->input_panel_enabled)
|
||||||
|
{
|
||||||
if (ctx->klass->show) ctx->klass->show(ctx);
|
if (ctx->klass->show) ctx->klass->show(ctx);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
EAPI void
|
EAPI void
|
||||||
ecore_imf_context_input_panel_hide(Ecore_IMF_Context *ctx)
|
ecore_imf_context_input_panel_hide(Ecore_IMF_Context *ctx)
|
||||||
|
@ -802,8 +805,11 @@ ecore_imf_context_input_panel_hide(Ecore_IMF_Context *ctx)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ctx->input_panel_enabled)
|
||||||
|
{
|
||||||
if (ctx->klass->hide) ctx->klass->hide(ctx);
|
if (ctx->klass->hide) ctx->klass->hide(ctx);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
EAPI void
|
EAPI void
|
||||||
ecore_imf_context_input_panel_layout_set(Ecore_IMF_Context *ctx, Ecore_IMF_Input_Panel_Layout layout)
|
ecore_imf_context_input_panel_layout_set(Ecore_IMF_Context *ctx, Ecore_IMF_Input_Panel_Layout layout)
|
||||||
|
|
Loading…
Reference in New Issue