weston: fix weston crash and stalling in send key [1/1]

PD#SWPL-180768

Problem:
weston crash and stalling in send key

Solution:
create timer for key press and release

Verify:
at301

Change-Id: I23eda69ae38872b689a55b8a5cb33853b3a5551b
Signed-off-by: leng.fang <leng.fang@amlogic.com>
diff --git a/libweston/compositor.c b/libweston/compositor.c
index 27d2cea..67e4589 100644
--- a/libweston/compositor.c
+++ b/libweston/compositor.c
@@ -7915,6 +7915,7 @@
 		wl_event_loop_add_timer(loop, output_repaint_timer_handler_aml,
 					ec);
 	wl_event_source_timer_update(ec->repaint_timer, 16);
+	weston_compositor_init_keytimer(ec, loop);
 
 	weston_layer_init(&ec->fade_layer, ec);
 	weston_layer_init(&ec->cursor_layer, ec);