Fixed 'if' condition for handling key events only when highlight ui enabled 57/100157/1
authorJi-hoon Lee <dalton.lee@samsung.com>
Fri, 25 Nov 2016 07:18:51 +0000 (16:18 +0900)
committerJi-hoon Lee <dalton.lee@samsung.com>
Fri, 25 Nov 2016 07:19:02 +0000 (16:19 +0900)
Change-Id: I350e089212ffe531aa4bf0898612c1cce6673d37

scl/sclevents.cpp

index 12c8639..6936326 100644 (file)
@@ -118,7 +118,7 @@ sclboolean
 CSCLEvents::process_key_event(const char *key)
 {
     CSCLContext *context = CSCLContext::get_instance();
-    if (context && context->get_highlight_ui_enabled())
+    if (context && !(context->get_highlight_ui_enabled()))
         return FALSE;
 
     const char *keyname = key;