From 8652402c978f35097439420466f2b2bce7833b69 Mon Sep 17 00:00:00 2001 From: Inhong Han Date: Mon, 29 Jul 2024 17:28:31 +0900 Subject: [PATCH] Modified not to terminate IME when FD is changed late Change-Id: I54143ea7c5305760d3ce55912e668227fd217670 --- ism/src/scim_helper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ism/src/scim_helper.cpp b/ism/src/scim_helper.cpp index e772cc9..39fa0c0 100644 --- a/ism/src/scim_helper.cpp +++ b/ism/src/scim_helper.cpp @@ -883,7 +883,7 @@ HelperAgent::is_connected () const bool HelperAgent::has_pending_event () const { - if (m_impl->socket.is_connected () && m_impl->socket.wait_for_data (0) > 0) + if (m_impl->socket.is_connected () && m_impl->socket.wait_for_data (-1) > 0) return true; if (message_queue.has_pending_message()) -- 2.7.4