Fix bug remote_surrounding_text was not delivered sometimes 10/271910/5
authorInHong Han <inhong1.han@samsung.com>
Thu, 3 Mar 2022 04:25:41 +0000 (13:25 +0900)
committerInHong Han <inhong1.han@samsung.com>
Thu, 3 Mar 2022 10:45:20 +0000 (19:45 +0900)
Change-Id: Ifef0cb14cc8399205e6c6f316e3fde98e4668349

ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp

index 88f24e5..b72f178 100644 (file)
@@ -452,6 +452,9 @@ _wsc_im_ctx_cursor_position (void *data, struct zwp_input_method_context_v1 *im_
     wsc_ctx->surrounding_cursor = cursor_pos;
     LOGD ("wsc_ctx->surrounding_cursor = %d", wsc_ctx->surrounding_cursor);
     g_info_manager->socket_update_cursor_position (cursor_pos);
+
+    if (_TV)
+        remote_surrounding_get (wsc_ctx);
 }
 
 static void