From 514b5dd7a7d10c595a003f82e664b8d370592175 Mon Sep 17 00:00:00 2001 From: Ben Byer Date: Thu, 17 Apr 2008 00:19:56 -0700 Subject: [PATCH] hack to Xquartz to prevent xmodmap from wiping out our valid modmap, per daniels (cherry picked from commit cab54466a61281cfafc12825017c23d720cd75f4) --- hw/xquartz/darwinKeyboard.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/xquartz/darwinKeyboard.c b/hw/xquartz/darwinKeyboard.c index 6f2758e53..ea2674005 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); }