summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wayland
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-07-14 14:28:14 -0400
committerChris Michael <cp.michael@samsung.com>2015-07-14 14:28:14 -0400
commit1fb5698f352b2369ae3e9dba33d3a76b867857b5 (patch)
tree3a3c1591e19cc76b6e849c9733ae21c8298da2d0 /src/lib/ecore_wayland
parentdca6f0756d2f3e42294b58a753e6548c3328c6b3 (diff)
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>
Diffstat (limited to 'src/lib/ecore_wayland')
-rw-r--r--src/lib/ecore_wayland/ecore_wl_input.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/ecore_wayland/ecore_wl_input.c b/src/lib/ecore_wayland/ecore_wl_input.c
index 2c0c74a..0988981 100644
--- a/src/lib/ecore_wayland/ecore_wl_input.c
+++ b/src/lib/ecore_wayland/ecore_wl_input.c
@@ -1037,6 +1037,9 @@ _ecore_wl_input_cb_keyboard_leave(void *data, struct wl_keyboard *keyboard EINA_
1037 if (!surface) return; 1037 if (!surface) return;
1038 if (!(input = data)) return; 1038 if (!(input = data)) return;
1039 1039
1040 input->repeat.sym = 0;
1041 input->repeat.key = 0;
1042 input->repeat.time = 0;
1040 if (input->repeat.tmr) ecore_timer_del(input->repeat.tmr); 1043 if (input->repeat.tmr) ecore_timer_del(input->repeat.tmr);
1041 input->repeat.tmr = NULL; 1044 input->repeat.tmr = NULL;
1042 1045