Fixed 'if' condition for handling key events only when highlight ui enabled 70/100170/1 accepted/tizen/common/20161125.095607 accepted/tizen/ivi/20161128.000508 accepted/tizen/mobile/20161128.000422 accepted/tizen/tv/20161128.000437 accepted/tizen/wearable/20161128.000447 submit/tizen/20161125.020946
authorJi-hoon Lee <dalton.lee@samsung.com>
Fri, 25 Nov 2016 07:18:51 +0000 (16:18 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Fri, 25 Nov 2016 07:50:18 +0000 (16:50 +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;