summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@freedesktop.org>2009-07-25 15:25:06 -0700
committerJeremy Huddleston <jeremyhu@freedesktop.org>2009-07-25 15:25:06 -0700
commit795de791cf18c658421d701af645718493eac51e (patch)
treed214ab7b7444ccef9d7367b4962a6bf79101c54d
parentaf8047f7816b39be7015e8cbbe085c57bb354592 (diff)
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)
-rw-r--r--hw/xquartz/quartzKeyboard.c2
1 files changed, 2 insertions, 0 deletions
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) {