scimimmodule: support super key (between ctrl and alt key)

This commit is contained in:
Jihoon Kim 2014-01-02 15:08:01 +09:00
parent a37bf01a53
commit d6d8a910fe
1 changed files with 4 additions and 0 deletions

View File

@ -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;