BuildRequires: pkgconfig(ode)
BuildRequires: pkgconfig(capi-system-system-settings)
BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(gio-2.0)
- Requires: ise-engine-tables
- Requires: ise-engine-tables-zh
- Requires: ise-engine-hangul
+ BuildRequires: pkgconfig(pkgmgr-info)
Requires: ise-engine-glm
- Requires: ise-engine-anthy
Requires: ise-engine-default
# This is for old profile-based OBS project optimizations.
LANGUAGE_INFO *info = _language_manager.get_language_info(cur_lang);
if (info) {
if (info->accepts_caps_mode) {
- engine_loader_send_imengine_event(MVK_Shift_Enable, 0);
+ if (info->load_in_ime)
+ ime_send_imengine_event(MVK_Shift_Enable, 0);
+ else
+ engine_loader_send_imengine_event(MVK_Shift_Enable, 0);
++
set_caps_mode(g_keyboard_state.caps_mode);
} else {
- engine_loader_send_imengine_event(MVK_Shift_Disable, 0);
+ if (info->load_in_ime)
+ ime_send_imengine_event(MVK_Shift_Disable, 0);
+ else
+ engine_loader_send_imengine_event(MVK_Shift_Disable, 0);
++
g_ui->set_shift_state(SCL_SHIFT_STATE_OFF);
}
}
g_keyboard_state.caps_mode = TRUE;
} else {
g_ui->set_shift_state(SCL_SHIFT_STATE_OFF);
- engine_loader_send_imengine_event(MVK_Shift_Off, 0);
+ if (table[loop].load_in_ime)
+ ime_send_imengine_event(MVK_Shift_Off, 0);
+ else
+ engine_loader_send_imengine_event(MVK_Shift_Off, 0);
++
g_keyboard_state.caps_mode = FALSE;
}
} else {
*/
bRet = true;
} else {
- engine_loader_reset_imengine();
+ if (table[lang_id].load_in_ime)
+ ime_reset_imengine();
+ else
+ engine_loader_reset_imengine();
++
bRet = true;
}
}