forked from enlightenment/efl
ecore-wl: Reset ecore_wl_input repeat values on keyboard leave
Summary: As we delete any keyboard repeat timers when we get a keyboard leave event, we should also reset any stored values there (key, sym, time, etc). @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
dca6f0756d
commit
1fb5698f35
|
@ -1037,6 +1037,9 @@ _ecore_wl_input_cb_keyboard_leave(void *data, struct wl_keyboard *keyboard EINA_
|
|||
if (!surface) return;
|
||||
if (!(input = data)) return;
|
||||
|
||||
input->repeat.sym = 0;
|
||||
input->repeat.key = 0;
|
||||
input->repeat.time = 0;
|
||||
if (input->repeat.tmr) ecore_timer_del(input->repeat.tmr);
|
||||
input->repeat.tmr = NULL;
|
||||
|
||||
|
|
Loading…
Reference in New Issue