Fix issue character is committed twice when IME is slow 34/221734/3
authorInHong Han <inhong1.han@samsung.com>
Tue, 7 Jan 2020 07:00:29 +0000 (16:00 +0900)
committerInHong Han <inhong1.han@samsung.com>
Tue, 7 Jan 2020 07:18:55 +0000 (16:18 +0900)
Change-Id: If94eeeae69b3e73667f178082525a8333a494ed7

ism/extras/wayland_immodule/wayland_imcontext.c

index ae06d98..574eb86 100644 (file)
@@ -3376,6 +3376,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);
                 }