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:
Chris Michael 2015-07-14 14:28:14 -04:00
parent dca6f0756d
commit 1fb5698f35
1 changed files with 3 additions and 0 deletions

View File

@ -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;