From e60eac332982d3d282af3b7a939a5c20676ee28f Mon Sep 17 00:00:00 2001 From: Ji-hoon Lee Date: Tue, 26 Mar 2013 21:00:23 +0900 Subject: [PATCH] Modified to turn the shift state off when inputmode reset is required --- src/ise.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ise.cpp b/src/ise.cpp index 82fe08f..98e9dd3 100644 --- a/src/ise.cpp +++ b/src/ise.cpp @@ -283,6 +283,10 @@ void ise_show(int ic) ise_reset_context(); + /* Turn the shift state off if we need to reset our input mode, only when auto-capitaluzation is not set */ + if (!(g_keyboard_state.caps_mode)) { + gSCLUI->set_shift_state(SCL_SHIFT_STATE_OFF); + } if (g_keyboard_state.layout < ISE_LAYOUT_STYLE_MAX) { /* If this layout requires specific input mode, set it */ if (strlen(g_ise_default_values[g_keyboard_state.layout].input_mode) > 0) { -- 2.7.4