summaryrefslogtreecommitdiff
path: root/src
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
parente28d54d3e46b434334e316fe27c341f454cfca21 (diff)
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>
Diffstat (limited to 'src')
-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)
789 } 789 }
790 790
791 show_req_ctx = ctx; 791 show_req_ctx = ctx;
792 if (ctx->klass->show) ctx->klass->show(ctx); 792 if (ctx->input_panel_enabled)
793 {
794 if (ctx->klass->show) ctx->klass->show(ctx);
795 }
793} 796}
794 797
795EAPI void 798EAPI void
@@ -802,7 +805,10 @@ ecore_imf_context_input_panel_hide(Ecore_IMF_Context *ctx)
802 return; 805 return;
803 } 806 }
804 807
805 if (ctx->klass->hide) ctx->klass->hide(ctx); 808 if (ctx->input_panel_enabled)
809 {
810 if (ctx->klass->hide) ctx->klass->hide(ctx);
811 }
806} 812}
807 813
808EAPI void 814EAPI void