Modified to not send back key to application in TV profile 67/163467/1
authorInHong Han <inhong1.han@samsung.com>
Thu, 7 Dec 2017 07:39:23 +0000 (16:39 +0900)
committerInHong Han <inhong1.han@samsung.com>
Mon, 11 Dec 2017 10:23:54 +0000 (10:23 +0000)
Change-Id: If61b7966804ad3532edf6ff449fcae993485001b

ism/extras/wayland_immodule/wayland_imcontext.c

index df380c8..5babf4a 100644 (file)
@@ -737,11 +737,7 @@ key_down_filter_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
         if (filter_ret) {
             return EINA_FALSE; /* the event is removed from the queue */
         }
-
-        if (_TV)
-            return EINA_TRUE; /* the event is kept */
-        else
-            return EINA_FALSE; /* the event is removed from the queue */
+        return EINA_FALSE; /* the event is removed from the queue */
     }
     return EINA_TRUE; /* the event is kept */
 }
@@ -778,14 +774,8 @@ key_up_filter_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
     }
     else {
         ecore_imf_context_reset(active_ctx);
-
-        if (_TV)
-            return EINA_TRUE; /* the event is kept */
-        else {
-            _input_panel_hide(active_ctx, EINA_TRUE);
-
-            return EINA_FALSE; /* the event is removed from the queue */
-        }
+        _input_panel_hide(active_ctx, EINA_TRUE);
+        return EINA_FALSE; /* the event is removed from the queue */
     }
 }