XQuartz: Copy the keyboard map to the core keyboard
This still doesn't handle the modifier map... gotta figure out what to do now that SwitchCoreKeyboard is gone
(cherry picked from commit 427e1aab41
)
This commit is contained in:
parent
af8047f781
commit
795de791cf
|
@ -349,6 +349,8 @@ void DarwinKeyboardInit(DeviceIntPtr pDev) {
|
|||
|
||||
XkbSetRepeatKeys(pDev, -1, AutoRepeatModeOn);
|
||||
}
|
||||
|
||||
SetKeySymsMap(&inputInfo.keyboard->key->curKeySyms, &pDev->key->curKeySyms);
|
||||
}
|
||||
|
||||
void DarwinKeyboardReloadHandler(int screenNum, xEventPtr xe, DeviceIntPtr pDev, int nevents) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user