SDL ime doesn't work on ibus-mozc


testime.c doesn’t work for me now.

When I type “Zenkaku/Hankaku”(default mode switch key), only scancode=0x35, keycode=0x40000000 event occurs and it doesn’t toggle to any other mode.

Even if I toggle input mode to “Hiragana mode” from menu, when I type “a”, only SDL_TEXTINPUT “a” event occurs and I can’t translate to any hiragana.

The patch from this bugzilla entry may help: