Remove unnecessary update_cursor_position message transmission 37/106837/2
authorJi-hoon Lee <dalton.lee@samsung.com>
Fri, 23 Dec 2016 07:36:48 +0000 (16:36 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Mon, 26 Dec 2016 06:18:02 +0000 (22:18 -0800)
Change-Id: I3a769786b18d6d28dccfbda2d444c8de4359a8cb

ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp

index e2693a7..1120f01 100644 (file)
@@ -2823,7 +2823,6 @@ public:
         if (len == 0) {
             LOGD ("update, wsc_ctx->surrounding_cursor = %d\n", wsc_ctx->surrounding_cursor);
             g_info_manager->socket_update_surrounding_text (wsc_ctx->surrounding_text ? wsc_ctx->surrounding_text : "", wsc_ctx->surrounding_cursor);
-            g_info_manager->socket_update_cursor_position (wsc_ctx->surrounding_cursor);
         } else if (len < 0) {
             LOGW ("failed");
         } else {
@@ -2952,7 +2951,6 @@ public:
         if (len == 0) {
             LOGD ("update");
             g_info_manager->socket_update_selection (wsc_ctx->selection_text ? wsc_ctx->selection_text : "");
-            g_info_manager->socket_update_cursor_position (wsc_ctx->surrounding_cursor);
         } else if (len < 0) {
             LOGW ("failed");
         } else {