summaryrefslogtreecommitdiff
path: root/src/lib/ecore_imf/ecore_imf_context.c
diff options
context:
space:
mode:
authorJihoon Kim <jihoon48.kim@samsung.com>2013-04-13 17:01:56 +0900
committerJihoon Kim <jihoon48.kim@samsung.com>2013-04-13 17:01:56 +0900
commit58d7c5c1dcef38ab671b6066aa779e725b693022 (patch)
tree424cc444e34ec806edbc3759143fe3480c2741a5 /src/lib/ecore_imf/ecore_imf_context.c
parent373fb30096d821327326dfa0a1c4fb35c8f6d17a (diff)
ecore_imf: Add ecore_imf_input_panel_hide() API
Diffstat (limited to '')
-rw-r--r--src/lib/ecore_imf/ecore_imf_context.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/ecore_imf/ecore_imf_context.c b/src/lib/ecore_imf/ecore_imf_context.c
index 41a84b2cee..7c8318e547 100644
--- a/src/lib/ecore_imf/ecore_imf_context.c
+++ b/src/lib/ecore_imf/ecore_imf_context.c
@@ -12,6 +12,8 @@
12#include "Ecore_IMF.h" 12#include "Ecore_IMF.h"
13#include "ecore_imf_private.h" 13#include "ecore_imf_private.h"
14 14
15Ecore_IMF_Context *show_req_ctx = NULL;
16
15EAPI Eina_List * 17EAPI Eina_List *
16ecore_imf_context_available_ids_get(void) 18ecore_imf_context_available_ids_get(void)
17{ 19{
@@ -251,6 +253,8 @@ ecore_imf_context_show(Ecore_IMF_Context *ctx)
251 "ecore_imf_context_show"); 253 "ecore_imf_context_show");
252 return; 254 return;
253 } 255 }
256
257 show_req_ctx = ctx;
254 if (ctx->klass->show) ctx->klass->show(ctx); 258 if (ctx->klass->show) ctx->klass->show(ctx);
255} 259}
256 260
@@ -263,6 +267,8 @@ ecore_imf_context_hide(Ecore_IMF_Context *ctx)
263 "ecore_imf_context_hide"); 267 "ecore_imf_context_hide");
264 return; 268 return;
265 } 269 }
270
271 show_req_ctx = NULL;
266 if (ctx->klass->hide) ctx->klass->hide(ctx); 272 if (ctx->klass->hide) ctx->klass->hide(ctx);
267} 273}
268 274
@@ -772,6 +778,7 @@ ecore_imf_context_input_panel_show(Ecore_IMF_Context *ctx)
772 return; 778 return;
773 } 779 }
774 780
781 show_req_ctx = ctx;
775 if (ctx->klass->show) ctx->klass->show(ctx); 782 if (ctx->klass->show) ctx->klass->show(ctx);
776} 783}
777 784
@@ -785,6 +792,7 @@ ecore_imf_context_input_panel_hide(Ecore_IMF_Context *ctx)
785 return; 792 return;
786 } 793 }
787 794
795 show_req_ctx = NULL;
788 if (ctx->klass->hide) ctx->klass->hide(ctx); 796 if (ctx->klass->hide) ctx->klass->hide(ctx);
789} 797}
790 798