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