Fix back key doesn't work after focused context is deleted 17/72017/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Mon, 30 May 2016 07:53:28 +0000 (16:53 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Mon, 30 May 2016 07:56:29 +0000 (16:56 +0900)
After focused context is deleted, input panel state has wrong status as SHOW.

Change-Id: Ia58cbcf564958d9dc4345f201e1e7ac50d53f928

ism/extras/wayland_immodule/wayland_imcontext.c

index b0cfdf7..cc8fed6 100644 (file)
@@ -1016,8 +1016,10 @@ wayland_im_context_del(Ecore_IMF_Context *ctx)
     if (_focused_ctx == ctx)
         _focused_ctx = NULL;
 
-    if (_hide_req_ctx == ctx && _hide_timer)
+    if (_hide_req_ctx == ctx && _hide_timer) {
         _input_panel_hide(ctx, EINA_TRUE);
+        _input_panel_state = ECORE_IMF_INPUT_PANEL_STATE_HIDE;
+    }
 
     if (_show_req_ctx == ctx)
         _show_req_ctx = NULL;