Added input_panel_show request when the keyboard mode is changed to S/W mode. 47/74347/1
authorWonkeun Oh <wonkeun.oh@samsung.com>
Tue, 14 Jun 2016 02:03:20 +0000 (11:03 +0900)
committerWonkeun Oh <wonkeun.oh@samsung.com>
Tue, 14 Jun 2016 04:16:29 +0000 (13:16 +0900)
Change-Id: Iaac62ccd238e669355a4aa847626f56e175ea2df

ism/extras/wayland_immodule/wayland_imcontext.c

index 4dec4a5..6cf6e1b 100644 (file)
@@ -1105,6 +1105,12 @@ keyboard_mode_changed_cb (keynode_t *key, void* data)
 
         Ecore_IMF_Input_Panel_Keyboard_Mode input_mode = !val;
         ecore_imf_context_input_panel_event_callback_call (active_ctx, ECORE_IMF_INPUT_PANEL_KEYBOARD_MODE_EVENT, input_mode);
+
+        if ((input_mode == ECORE_IMF_INPUT_PANEL_SW_KEYBOARD_MODE) && _focused_ctx && (active_ctx == _focused_ctx)) {
+            if (ecore_imf_context_input_panel_enabled_get (active_ctx)) {
+                ecore_imf_context_input_panel_show (active_ctx);
+            }
+        }
     }
 }
 #endif