Revert "Flush in case of S/W keyboard needed" 86/94786/1
authorJi-hoon Lee <dalton.lee@samsung.com>
Tue, 1 Nov 2016 06:35:55 +0000 (15:35 +0900)
committerJi-hoon Lee <dalton.lee@samsung.com>
Tue, 1 Nov 2016 07:37:00 +0000 (16:37 +0900)
This reverts commit 9e8bb80ba6e9c8768feff03653e2f516dfbe753e.

Change-Id: I590f19028bb5b17917c528f272e5b73bfc62c6a6

src/scim_hangul_imengine.cpp
src/scim_hangul_imengine.h

index 5aaec4b..b46110e 100644 (file)
@@ -82,8 +82,6 @@
 #define SCIM_HANGUL_ICON_ON      SCIM_ICONDIR "/scim-hangul-on.png"
 #define SCIM_HANGUL_ICON_OFF     SCIM_ICONDIR "/scim-hangul-off.png"
 
-#define ISE_DEFAULT_FLUSH_EVENT_CMD 1001
-
 static ConfigPointer _scim_config (0);
 
 static Property hangul_mode(SCIM_PROP_HANGUL_MODE, "");
@@ -709,23 +707,6 @@ HangulInstance::trigger_property (const String &property)
     }
 }
 
-void
-HangulInstance::process_helper_event (const String &helper_uuid,
-                                      const Transaction &recv)
-{
-    TransactionReader reader (recv);
-    int cmd;
-
-    if (!reader.get_command (cmd))
-        return;
-
-    switch (cmd) {
-    case ISE_DEFAULT_FLUSH_EVENT_CMD:
-        flush ();
-        break;
-    }
-}
-
 String
 HangulInstance::get_candidate_string()
 {
index 19965c0..3921cd0 100644 (file)
@@ -124,7 +124,6 @@ public:
     virtual void focus_in ();
     virtual void focus_out ();
     virtual void trigger_property (const String &property);
-    virtual void process_helper_event (const String &helper_uuid, const Transaction &trans);
 
 private:
     bool is_backspace_key (const KeyEvent &key) const {