summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wayland
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 /src/lib/ecore_wayland
parentf52f5628916f44a6b8ce1fdd3b9cc40f6c997eda (diff)
ecore-wl should maybe clear its repeat timer for keyboard on window free
Diffstat (limited to 'src/lib/ecore_wayland')
-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 048fd30..febb135 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)
130 if ((input->pointer_focus) && (input->pointer_focus == win)) 130 if ((input->pointer_focus) && (input->pointer_focus == win))
131 input->pointer_focus = NULL; 131 input->pointer_focus = NULL;
132 if ((input->keyboard_focus) && (input->keyboard_focus == win)) 132 if ((input->keyboard_focus) && (input->keyboard_focus == win))
133 input->keyboard_focus = NULL; 133 {
134 input->keyboard_focus = NULL;
135 ecore_timer_del(input->repeat.tmr);
136 input->repeat.tmr = NULL;
137 }
134 } 138 }
135 139
136 if (win->anim_callback) wl_callback_destroy(win->anim_callback); 140 if (win->anim_callback) wl_callback_destroy(win->anim_callback);