projects
/
framework
/
uifw
/
ecore.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
794d077
)
[ecore_imf] hide soft keyboard when ecore_imf_context_del is called
author
Jihoon Kim
<jihoon48.kim@samsung.com>
Wed, 1 Dec 2010 06:10:44 +0000
(15:10 +0900)
committer
Jihoon Kim
<jihoon48.kim@samsung.com>
Wed, 1 Dec 2010 06:10:44 +0000
(15:10 +0900)
src/lib/ecore_imf/ecore_imf_context.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore_imf/ecore_imf_context.c
b/src/lib/ecore_imf/ecore_imf_context.c
index
abac079
..
8acea11
100644
(file)
--- a/
src/lib/ecore_imf/ecore_imf_context.c
+++ b/
src/lib/ecore_imf/ecore_imf_context.c
@@
-212,6
+212,7
@@
EAPI void
ecore_imf_context_del(Ecore_IMF_Context *ctx)
{
void *data;
+ Ecore_IMF_Input_Panel_State state;
if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT))
{
@@
-219,6
+220,12
@@
ecore_imf_context_del(Ecore_IMF_Context *ctx)
"ecore_imf_context_del");
return;
}
+
+ state = ecore_imf_context_input_panel_state_get(ctx);
+
+ if (state == ECORE_IMF_INPUT_PANEL_STATE_SHOW)
+ ecore_imf_context_input_panel_hide(ctx);
+
if (ctx->klass->del) ctx->klass->del(ctx);
ECORE_MAGIC_SET(ctx, ECORE_MAGIC_NONE);