aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_imf
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2013-11-15 08:43:23 +0000
committerChris Michael <cp.michael@samsung.com>2013-11-15 08:43:23 +0000
commitd00b7b2fe6a21dacb330da602e88a4b8941a38af (patch)
treea5418ed058b7e01292b56cebc6383dffb0dd03cf /src/lib/ecore_imf
parentUnify ecore_evas resize code across both shm and egl engines. (diff)
downloadefl-d00b7b2fe6a21dacb330da602e88a4b8941a38af.tar.gz
Do not call the contexts' input_panel_show/hide methods unless
input_panel_enabled is True. Part of Fix for Phab Ticket https://phab.enlightenment.org/T501 Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore_imf')
-rw-r--r--src/lib/ecore_imf/ecore_imf_context.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/lib/ecore_imf/ecore_imf_context.c b/src/lib/ecore_imf/ecore_imf_context.c
index 41f6bc57f1..63c41c8d02 100644
--- a/src/lib/ecore_imf/ecore_imf_context.c
+++ b/src/lib/ecore_imf/ecore_imf_context.c
@@ -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