From 6892ea69692ce1873598be209c9abcdf2bfc70d2 Mon Sep 17 00:00:00 2001 From: Ji-hoon Lee Date: Mon, 26 Dec 2016 14:50:47 +0900 Subject: [PATCH] Remove unnecessary imdata query request Change-Id: Ifecc706cc069e21a4dc42697389d987684f750a7 --- ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp b/ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp index 1120f01..515c537 100644 --- a/ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp +++ b/ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp @@ -667,16 +667,6 @@ _wsc_im_activate (void *data, struct wl_input_method *input_method, struct wl_in isf_wsc_context_add (wsc_ctx); isf_wsc_context_focus_in (wsc_ctx); - - int len = 0; - char *imdata = NULL; - isf_wsc_context_input_panel_imdata_get (wsc_ctx, (void**)&imdata, &len); - LOGD ("Get imdata:%s, length:%d\n", imdata, len); - if (imdata && len) - wl_input_method_context_update_input_panel_data (im_ctx, wsc_ctx->serial, imdata, len); - - if (imdata) - delete[] imdata; } static void -- 2.7.4