Summary: During the keyboard repeat function, if we have no keyboard
focused window to send the key to, then we should cancel the repeat
timer.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
if (!(input = data)) return ECORE_CALLBACK_RENEW;
if ((win = input->keyboard_focus))
- _ecore_wl_input_cb_keyboard_key(input, NULL, input->display->serial,
- input->repeat.time,
- input->repeat.key, EINA_TRUE);
+ {
+ _ecore_wl_input_cb_keyboard_key(input, NULL, input->display->serial,
+ input->repeat.time,
+ input->repeat.key, EINA_TRUE);
+ return ECORE_CALLBACK_RENEW;
+ }
- return ECORE_CALLBACK_RENEW;
+ return ECORE_CALLBACK_CANCEL;
}
static void