From 795de791cf18c658421d701af645718493eac51e Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Sat, 25 Jul 2009 15:25:06 -0700 Subject: [PATCH] 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 427e1aab41dabb54354bfd30f2baae98ac8202c0) --- hw/xquartz/quartzKeyboard.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/xquartz/quartzKeyboard.c b/hw/xquartz/quartzKeyboard.c index 8dfea2797..6d5bad945 100644 --- a/hw/xquartz/quartzKeyboard.c +++ b/hw/xquartz/quartzKeyboard.c @@ -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) {