Ignore modifier keys only when they are in hanja key list
authorChoe Hwanjin <choe.hwanjin@gmail.com>
Sun, 22 Aug 2010 11:57:29 +0000 (20:57 +0900)
committerChoe Hwanjin <choe.hwanjin@gmail.com>
Sun, 22 Aug 2010 11:57:29 +0000 (20:57 +0900)
commit8d3841b2734ac3878843dcc14870fa34e0811a95
treea89f809a32952176fc95403affb54be8d483299e
parent27a82c5753b28624631ea01b873fcf57805d71d0
Ignore modifier keys only when they are in hanja key list

Bug #1036: http://code.google.com/p/ibus/issues/detail?id=1036
If any hanja key has any modifier key, we should ignore that
modifire key, or we cannot make that work.

Let the hanja key 'control + h'.
User may press control, and slightly after press h.
So if we commit preedit string on control key, user will have
no preedit string when he/she press 'h'.

But some case hangul engine need to commit on modifier keys to prevent
client's malfunction which is caused by misimplementation.
src/engine.c