From 2d2f6fd46b60565c64a167bd6f4066356ff87d97 Mon Sep 17 00:00:00 2001 From: InHong Han Date: Tue, 7 Jan 2020 16:00:29 +0900 Subject: [PATCH] Fix issue character is committed twice when IME is slow Change-Id: If94eeeae69b3e73667f178082525a8333a494ed7 (cherry picked from commit fafba2d88ed857c940213a365bf384783040fc4e) --- ism/extras/wayland_immodule/wayland_imcontext.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ism/extras/wayland_immodule/wayland_imcontext.c b/ism/extras/wayland_immodule/wayland_imcontext.c index f11561f..1a99d92 100644 --- a/ism/extras/wayland_immodule/wayland_imcontext.c +++ b/ism/extras/wayland_immodule/wayland_imcontext.c @@ -3394,6 +3394,11 @@ wayland_im_context_filter_event(Ecore_IMF_Context *ctx, break; } + if (imcontext->last_key_event_filter.serial < serial) { + LOGW("Timeout occured"); + ret = EINA_TRUE; + } + wl_event_queue_destroy(queue); } -- 2.7.4