hermet pushed a commit to branch master. http://git.enlightenment.org/tools/enventor.git/commit/?id=02af80d3ba2b5c10e5c44dd8f6c8fddef505268c
commit 02af80d3ba2b5c10e5c44dd8f6c8fddef505268c Author: Mykyta Biliavskyi <m.biliavs...@samsung.com> Date: Mon Jun 22 14:49:17 2015 +0900 Hotkeys: fix work ctrl_l key with num lock. Summary: Need to check CTRL_L and ALT_L bits in ECORE_EVENT_MODIFIER Reviewers: Hermet Differential Revision: https://phab.enlightenment.org/D2722 --- src/bin/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/main.c b/src/bin/main.c index c9513f8..0860931 100644 --- a/src/bin/main.c +++ b/src/bin/main.c @@ -567,7 +567,7 @@ default_template_insert(app_data *ad) static Eina_Bool alt_func(app_data *ad, Ecore_Event_Key *event) { - if (event->modifiers != ECORE_EVENT_MODIFIER_ALT) + if (!(event->modifiers & ECORE_EVENT_MODIFIER_ALT)) return EINA_FALSE; //Full Edit View @@ -601,7 +601,7 @@ alt_func(app_data *ad, Ecore_Event_Key *event) static Eina_Bool ctrl_func(app_data *ad, Ecore_Event_Key *event) { - if (event->modifiers != ECORE_EVENT_MODIFIER_CTRL) + if (!(event->modifiers & ECORE_EVENT_MODIFIER_CTRL)) return EINA_FALSE; //Save --