jihoon pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=d6d8a910fe08c894877d2180e4b56e1e0746d06a

commit d6d8a910fe08c894877d2180e4b56e1e0746d06a
Author: Jihoon Kim <jihoon48....@samsung.com>
Date:   Thu Jan 2 15:08:01 2014 +0900

    scimimmodule: support super key (between ctrl and alt key)
---
 src/modules/ecore_imf/scim/scim_imcontext.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/modules/ecore_imf/scim/scim_imcontext.cpp 
b/src/modules/ecore_imf/scim/scim_imcontext.cpp
index 9b61d57..88ca99a 100644
--- a/src/modules/ecore_imf/scim/scim_imcontext.cpp
+++ b/src/modules/ecore_imf/scim/scim_imcontext.cpp
@@ -420,6 +420,10 @@ _ecore_imf_modifier_to_scim_mask(unsigned int modifiers)
    if (modifiers & ECORE_IMF_KEYBOARD_MODIFIER_SHIFT)
      mask |= SCIM_KEY_ShiftMask;
 
+   /**< "Win" (between "Ctrl" and "Alt") is pressed */
+   if (modifiers & ECORE_IMF_KEYBOARD_MODIFIER_WIN)
+     mask |= SCIM_KEY_SuperMask;
+
    /**< "AltGr" is pressed */
    if (modifiers & ECORE_IMF_KEYBOARD_MODIFIER_ALTGR)
      mask |= SCIM_KEY_Mod5Mask;

-- 


Reply via email to