From 98fd1e2477ae38dc39281ed6f92cf398c2d69d2f Mon Sep 17 00:00:00 2001 From: Ji-hoon Lee Date: Fri, 25 Nov 2016 16:18:51 +0900 Subject: [PATCH] Fixed 'if' condition for handling key events only when highlight ui enabled Change-Id: I350e089212ffe531aa4bf0898612c1cce6673d37 --- scl/sclevents.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scl/sclevents.cpp b/scl/sclevents.cpp index 12c8639..6936326 100644 --- a/scl/sclevents.cpp +++ b/scl/sclevents.cpp @@ -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; -- 2.7.4