summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2015-02-01 18:32:04 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-02-01 18:32:04 -0500
commit45aba1343ea30d96e8c4a1b2d9194a2cf65c457f (patch)
tree019151e3b04285fc5a93eb0b1d5bd9591329216a
parentf52f5628916f44a6b8ce1fdd3b9cc40f6c997eda (diff)
downloadefl-45aba1343ea30d96e8c4a1b2d9194a2cf65c457f.tar.gz
ecore-wl should maybe clear its repeat timer for keyboard on window free
-rw-r--r--src/lib/ecore_wayland/ecore_wl_window.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/ecore_wayland/ecore_wl_window.c b/src/lib/ecore_wayland/ecore_wl_window.c
index 048fd30b41..febb13523f 100644
--- a/src/lib/ecore_wayland/ecore_wl_window.c
+++ b/src/lib/ecore_wayland/ecore_wl_window.c
@@ -130,7 +130,11 @@ ecore_wl_window_free(Ecore_Wl_Window *win)
if ((input->pointer_focus) && (input->pointer_focus == win))
input->pointer_focus = NULL;
if ((input->keyboard_focus) && (input->keyboard_focus == win))
- input->keyboard_focus = NULL;
+ {
+ input->keyboard_focus = NULL;
+ ecore_timer_del(input->repeat.tmr);
+ input->repeat.tmr = NULL;
+ }
}
if (win->anim_callback) wl_callback_destroy(win->anim_callback);