From 41453e3a89ba3fcc7ba6f3604cb246dfa0c419fe Mon Sep 17 00:00:00 2001 From: Seoyeon Kim Date: Thu, 11 May 2017 14:51:01 +0900 Subject: [PATCH] Remove duplicated implementation of IMF Manager - Deactivate() means just 'focus out the input panel, not hide it'. - Sometimes, the application user wants to hide the input panel, but remain focusing the input panel. Change-Id: I03a86518f424fa3377b7b7a3b298d639c053ddb3 Signed-off-by: Seoyeon Kim --- adaptors/ecore/wayland/imf-manager-impl-ecore-wl.cpp | 2 -- adaptors/x11/imf-manager-impl-x.cpp | 1 - 2 files changed, 3 deletions(-) diff --git a/adaptors/ecore/wayland/imf-manager-impl-ecore-wl.cpp b/adaptors/ecore/wayland/imf-manager-impl-ecore-wl.cpp index fa67134..038f6c7 100644 --- a/adaptors/ecore/wayland/imf-manager-impl-ecore-wl.cpp +++ b/adaptors/ecore/wayland/imf-manager-impl-ecore-wl.cpp @@ -411,7 +411,6 @@ void ImfManager::Deactivate() Reset(); ecore_imf_context_focus_out( mIMFContext ); - ecore_imf_context_input_panel_hide( mIMFContext ); } // Reset mIdleCallbackConnected @@ -822,7 +821,6 @@ void ImfManager::HideInputPanel() if( mIMFContext ) { - ecore_imf_context_focus_out( mIMFContext ); ecore_imf_context_input_panel_hide( mIMFContext ); } } diff --git a/adaptors/x11/imf-manager-impl-x.cpp b/adaptors/x11/imf-manager-impl-x.cpp index f97e687..de01b3c 100644 --- a/adaptors/x11/imf-manager-impl-x.cpp +++ b/adaptors/x11/imf-manager-impl-x.cpp @@ -683,7 +683,6 @@ void ImfManager::HideInputPanel() if( mIMFContext ) { - ecore_imf_context_focus_out( mIMFContext ); ecore_imf_context_input_panel_hide( mIMFContext ); } } -- 2.7.4