Hi, 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. Cheers, -- Etsushi Kato ek.kato@gmail.com
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
On Sep 24, 2008, at 01:57, Etsushi Kato wrote:
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.
Hmm... yeah I probably just forgot to remove that #include... I apologize for that.
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.
That's working in 2.3.1... you shouldn't need to recompile the server.
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.
That makes no sense. The xp_is_symbolic_hotkey_event() is not just telling us if you are hitting cmd-space or not. It's generalized to other key equivalents as well, so we don't want to do that only for when you do keymap syncing.
On Thu, Sep 25, 2008 at 5:04 AM, Jeremy Huddleston <jeremyhu@apple.com> wrote:
On Sep 24, 2008, at 01:57, Etsushi Kato wrote:
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.
That's working in 2.3.1... you shouldn't need to recompile the server.
Well... what I mean is to enable passing Command-Space to Xclients even "Enable key equivalents under X11" is set in 2.3.1. I don't want input menu key binding swallowed by Mac OS even with that option set. I think it is the behavior with 2.3.0.
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.
That makes no sense. The xp_is_symbolic_hotkey_event() is not just telling us if you are hitting cmd-space or not. It's generalized to other key equivalents as well, so we don't want to do that only for when you do keymap syncing.
Oh really. I was not sure what xp_is_symbolic_hotkey_event() is (perhaps _IsSymbolicHotKeyEvent() is). Anyway, I'm now OK with my built. Thanks for providing the latest source code of X11. Cheers, -- Etsushi Kato ek.kato@gmail.com
participants (2)
-
Etsushi Kato
-
Jeremy Huddleston