summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Byer <bbyer@apple.com>2008-04-17 00:19:56 -0700
committerBen Byer <bbyer@apple.com>2008-04-17 00:21:08 -0700
commitcab54466a61281cfafc12825017c23d720cd75f4 (patch)
tree2d38b01830e724f01b217c67496e684c2d45303c
parenta494ff04b2a14470eaf5a23c7cf6dbdea182c6d1 (diff)
hack to Xquartz to prevent xmodmap from wiping out our valid modmap, per daniels
-rw-r--r--hw/xquartz/darwinKeyboard.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/xquartz/darwinKeyboard.c b/hw/xquartz/darwinKeyboard.c
index a9fbdfcea..bd3588e67 100644
--- a/hw/xquartz/darwinKeyboard.c
+++ b/hw/xquartz/darwinKeyboard.c
@@ -801,6 +801,7 @@ void DarwinKeyboardInit(DeviceIntPtr pDev) {
assert( InitKeyboardDeviceStruct( (DevicePtr)pDev, &keySyms,
keyInfo.modMap, QuartzBell,
DarwinChangeKeyboardControl ));
+ SwitchCoreKeyboard(pDev);
}