xserver: Branch 'xorg-server-1.4-apple' - 2 commits
Ben Byer
bbyer at kemper.freedesktop.org
Thu Apr 17 00:22:05 PDT 2008
hw/xquartz/darwinEvents.c | 2 +-
hw/xquartz/darwinKeyboard.c | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
New commits:
commit cab54466a61281cfafc12825017c23d720cd75f4
Author: Ben Byer <bbyer at apple.com>
Date: Thu Apr 17 00:19:56 2008 -0700
hack to Xquartz to prevent xmodmap from wiping out our valid modmap, per daniels
diff --git a/hw/xquartz/darwinKeyboard.c b/hw/xquartz/darwinKeyboard.c
index a9fbdfc..bd3588e 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);
}
commit a494ff04b2a14470eaf5a23c7cf6dbdea182c6d1
Author: Ben Byer <bbyer at apple.com>
Date: Wed Apr 16 22:48:54 2008 -0700
kludge: miEqEnqueue wants a device, even if we're passing custom messages,
so give it one
diff --git a/hw/xquartz/darwinEvents.c b/hw/xquartz/darwinEvents.c
index 78708d2..70dfdaf 100644
--- a/hw/xquartz/darwinEvents.c
+++ b/hw/xquartz/darwinEvents.c
@@ -511,5 +511,5 @@ void DarwinSendDDXEvent(int type, int argc, ...) {
va_end (args);
}
- mieqEnqueue(NULL, &xe);
+ mieqEnqueue(darwinPointer, &xe);
}
More information about the xorg-commit
mailing list