diff --git a/scim-wnn/src/romkan.cpp b/scim-wnn/src/romkan.cpp index 2353192..cd0b009 100644 --- a/scim-wnn/src/romkan.cpp +++ b/scim-wnn/src/romkan.cpp @@ -328,6 +328,17 @@ if ((key.code == SCIM_KEY_Return) || (key.code == SCIM_KEY_Linefeed) || (key.code == SCIM_KEY_Tab)) return(false); + // ���äƤ����٤���Ρ� + if ((key.code == SCIM_KEY_Shift_L) || + (key.code == SCIM_KEY_Shift_R) || + (key.code == SCIM_KEY_Control_L) || + (key.code == SCIM_KEY_Control_R) || + (key.code == SCIM_KEY_Alt_L) || + (key.code == SCIM_KEY_Alt_R) || + (key.code == SCIM_KEY_Super_L) || + (key.code == SCIM_KEY_Super_R) || + (key.code == SCIM_KEY_Hyper_L) || + (key.code == SCIM_KEY_Hyper_R)) return(true); insert(key.get_ascii_code()); return(true); } diff --git a/scim-wnn/src/wnnconversion.cpp b/scim-wnn/src/wnnconversion.cpp index 633c5be..67dd3bb 100644 --- a/scim-wnn/src/wnnconversion.cpp +++ b/scim-wnn/src/wnnconversion.cpp @@ -407,7 +407,9 @@ break; } case YOSOKU: { - // ͽ¬��Ͽ�򤹤٤��� + #ifdef HAVE_LIBWNN7 + jl_yosoku_selected_cand(wnn,p); + #endif return(true); } default: { @@ -432,8 +434,14 @@ */ void WnnConversion::updateFrequency() { - if (bunsetu) + if (bunsetu) { + #ifdef HAVE_LIBWNN7 + w_char ws[1024]; + int c = jl_get_kanji(wnn,0,bunsetu,ws); + jl_yosoku_toroku(wnn,ws,c); + #endif jl_optimize_fi(wnn,0,-1); + } }