summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Byer <bbyer@apple.com>2008-04-17 00:19:56 -0700
committerJeremy Huddleston <jeremyhu@freedesktop.org>2008-04-17 10:41:38 -0700
commit58e42683c9e998f6b8a55d5653b9caec7b6acf96 (patch)
treee1912a8b468d89274b324aad882193e995d57294
parentcd3470a0cffbd6b8cec7c44227b33307c9e227ae (diff)
hack to Xquartz to prevent xmodmap from wiping out our valid modmap, per daniels
(cherry picked from commit cab54466a61281cfafc12825017c23d720cd75f4)
-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 0a8c5c010..91b56d334 100644
--- a/hw/xquartz/darwinKeyboard.c
+++ b/hw/xquartz/darwinKeyboard.c
@@ -795,6 +795,7 @@ void DarwinKeyboardInit(DeviceIntPtr pDev) {
assert( InitKeyboardDeviceStruct( (DevicePtr)pDev, &keySyms,
keyInfo.modMap, QuartzBell,
DarwinChangeKeyboardControl ));
+ SwitchCoreKeyboard(pDev);
}