mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 01:48:02 +02:00
XQuartz: Fix inverse map from mode_switch to alt
(cherry picked from commit de6cee11e1)
This commit is contained in:
parent
3fdb60fa24
commit
547a056ac3
1 changed files with 4 additions and 0 deletions
|
|
@ -248,6 +248,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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue