Without the fix, some key combinations might not trigger a hot-key event.
For example, one of Chrome OS hot-keys, "press Shift, then press Alt, then release Alt", does not work without the fix.
BUG=none
TEST=manually checked using ChromeOS and IBus-1.4
Review URL: http://codereview.appspot.com/3828041
}
}
- if (keycode != 0 && bus_ibus_impl_is_use_sys_layout (BUS_DEFAULT_IBUS)) {
+ if (keycode != 0 && bus_ibus_impl_is_use_sys_layout (BUS_DEFAULT_IBUS) == FALSE) {
IBusKeymap *keymap = BUS_DEFAULT_KEYMAP;
if (keymap != NULL) {
guint tmp = ibus_keymap_lookup_keysym (keymap,