diff options
author | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2009-09-27 22:26:22 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2009-09-27 22:26:22 -0700 |
commit | de6cee11e1c335a0e5f708e7641e81d3cfe52529 (patch) | |
tree | 5cd0180a69037e7589858fed8cd7ba556ed62e96 | |
parent | ceaa5c779ceed3de5ea53727649613be3133b24e (diff) |
XQuartz: Fix inverse map from mode_switch to alt
-rw-r--r-- | hw/xquartz/quartzKeyboard.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/xquartz/quartzKeyboard.c b/hw/xquartz/quartzKeyboard.c index b3a4eccfb..d36d967a2 100644 --- a/hw/xquartz/quartzKeyboard.c +++ b/hw/xquartz/quartzKeyboard.c @@ -251,6 +251,10 @@ static void DarwinBuildModifierMaps(darwinKeyboardInfo *info) { break; case XK_Mode_switch: + info->modifierKeycodes[NX_MODIFIERKEY_ALTERNATE][0] = i; +#ifdef NX_MODIFIERKEY_RALTERNATE + info->modifierKeycodes[NX_MODIFIERKEY_RALTERNATE][0] = i; +#endif info->modMap[MIN_KEYCODE + i] = Mod1Mask; break; |