Ignore key event with only specific modifiers
authorChoe Hwanjin <choe.hwanjin@gmail.com>
Sun, 28 Aug 2011 08:40:35 +0000 (17:40 +0900)
committerChoe Hwanjin <choe.hwanjin@gmail.com>
Sun, 28 Aug 2011 08:59:40 +0000 (17:59 +0900)
commit8eab1951dec1d03e7ef12690388359d1e3e5f445
treeb577d8beb5bed44b8e645536a1c30b69de6e425b
parent0e3f9a9f48b0b42d55dc36915131c915e7119d9b
Ignore key event with only specific modifiers

Without this fix, a user cannot input korean when the user pressed
some keys and mouse buttons at the same time.

Before this, ibus-hangul ignored every key with every modifiers
except shift, capslock and numlock. But it is better to specify the
modifiers to ignore.

Issue #1289 IBus-hangul engine ignores key events when any mouse button is down
src/engine.c