projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dca6f07
)
ecore-wl: Reset ecore_wl_input repeat values on keyboard leave
author
Chris Michael
<cp.michael@samsung.com>
Tue, 14 Jul 2015 18:28:14 +0000
(14:28 -0400)
committer
Chris Michael
<cp.michael@samsung.com>
Tue, 14 Jul 2015 18:28:14 +0000
(14:28 -0400)
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>
src/lib/ecore_wayland/ecore_wl_input.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore_wayland/ecore_wl_input.c
b/src/lib/ecore_wayland/ecore_wl_input.c
index
2c0c74a
..
0988981
100644
(file)
--- 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_
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;