return EINA_FALSE;
}
}
- else if (!ecore_wl2_window_activated_get(imcontext->window)) {
- LOGW("ctx : %p, window does not have focus", ctx);
- return EINA_FALSE;
- }
- Ecore_Wl2_Input *input = ecore_wl2_window_input_get(imcontext->window);
+ Ecore_Wl2_Input *input = ecore_wl2_window_keyboard_get(imcontext->window);
if (!input) {
LOGW("ctx : %p, Can't get Wl_Input", ctx);
return EINA_FALSE;
if (g_desired_key_rate > 0.0 && g_focused) {
g_focused = EINA_FALSE;
- Ecore_Wl2_Input *input = ecore_wl2_window_input_get(imcontext->window);
+ Ecore_Wl2_Input *input = ecore_wl2_window_keyboard_get(imcontext->window);
if (input) {
if (!ecore_wl2_input_keyboard_repeat_set (input, g_original_key_rate, g_original_key_delay)) {
LOGE ("ecore_wl2_input_keyboard_repeat_set failed.");