On Wed, Sep 24, 2008 at 5:10 PM, Etsushi Kato <ek.kato@gmail.com> wrote:
I'd like to build xorg-server-1.4.2-apple17 by my own, but cannot find HIServices/CoreDockServices.h. Could someone tell me where it is? I'm using Mac OS X 10.5.5 and Xcode 3.1.
Just commenting out the include from pbproxy/main.m works. Now, the reason I build xserver by my own is that I need to use key combination for input menu (Command-space in my case) in X11. I was able to use the combination in xclient on X11-2.3.0 even with other normal key equivalences are enable (like Command-C), but not with X11-2.3.1. How about adding a check for darwinSyncKeymap in combination with xp_is_symbolic_hotkey_event()? I think users not enabling "Follow system keyboard layout" doesn't need input menu key combination passing to Mac OS X. diff -uN X11Application.m.orig X11Application.m --- X11Application.m.orig 2008-09-06 09:22:13.000000000 +0900 +++ X11Application.m 2008-09-24 17:51:40.000000000 +0900 @@ -245,6 +245,7 @@ #endif #if XPLUGIN_VERSION >= 1 } else if(X11EnableKeyEquivalents && + darwinSyncKeymap && xp_is_symbolic_hotkey_event([e eventRef])) { swallow_up = [e keyCode]; for_x = NO; Cheers, -- Etsushi Kato ek.kato@gmail.com