summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJihoon Kim <jihoon48.kim@samsung.com>2014-01-02 15:08:01 +0900
committerJihoon Kim <jihoon48.kim@samsung.com>2014-01-03 08:48:19 +0900
commit9d918ad2d1ec2e94217e933f4939a401d8e3c4bd (patch)
tree99a0a344e89f5bd0ea97043fd472da2104e32f5a
parentedea2dc42c65d8d9fc9173193a9e51133351011c (diff)
scimimmodule: support super key (between ctrl and alt key)
-rw-r--r--src/modules/ecore_imf/scim/scim_imcontext.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/ecore_imf/scim/scim_imcontext.cpp b/src/modules/ecore_imf/scim/scim_imcontext.cpp
index 9b61d5721f..88ca99a1bf 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)
420 if (modifiers & ECORE_IMF_KEYBOARD_MODIFIER_SHIFT) 420 if (modifiers & ECORE_IMF_KEYBOARD_MODIFIER_SHIFT)
421 mask |= SCIM_KEY_ShiftMask; 421 mask |= SCIM_KEY_ShiftMask;
422 422
423 /**< "Win" (between "Ctrl" and "Alt") is pressed */
424 if (modifiers & ECORE_IMF_KEYBOARD_MODIFIER_WIN)
425 mask |= SCIM_KEY_SuperMask;
426
423 /**< "AltGr" is pressed */ 427 /**< "AltGr" is pressed */
424 if (modifiers & ECORE_IMF_KEYBOARD_MODIFIER_ALTGR) 428 if (modifiers & ECORE_IMF_KEYBOARD_MODIFIER_ALTGR)
425 mask |= SCIM_KEY_Mod5Mask; 429 mask |= SCIM_KEY_Mod5Mask;