Romaja hangul keyboard is not transliteration method. So when the hangul
keyboard is romaja method, we should use the char from the keyevent without
conversion.
// each key, not the character. We make the keyval from keycode
// as if the keyboard is US qwerty layout. Then we can assume the
// keyval represent the position of the each key.
- if (keymap != NULL)
- keyval = ibus_keymap_lookup_keysym(keymap, keycode, modifiers);
+ if (strcmp(hangul_keyboard->str, "ro") != 0) {
+ if (keymap != NULL)
+ keyval = ibus_keymap_lookup_keysym(keymap, keycode, modifiers);
+ }
// ignore capslock
if (modifiers & IBUS_LOCK_MASK) {