Re: how to modify x11 key mappings? (Insert key is partially blocked)
Re: how to modify x11 key mappings? (Insert key is partially blocked)
On Sat, Oct 30, 2010 at 11:48:03AM -0700, Jim Norris wrote:
> Looking at the Xquartz source[1] and the way event handling works[2], my bet
> is that you could change the code to detect the "Help" key explicitly and
> bypass the call to performKeyEquivalent: in that case.
>
> [1]
> http://cgit.freedesktop.org/xorg/xserver/tree/hw/xquartz/X11Application.m#n294
>
> [2]
> http://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/EventOverview/EventArchitecture/EventArchitecture.html#//apple_ref/doc/uid/10000060i-CH3-SW10
Well,
on OSX it seems to be the actual help key (as opposed to modifier) which triggers
help mode, so simply directing it to the application code should suffice.
I guess adding something like the below to to that lump of code:
#endif
+ } else if ([[e charactersIgnoringModifiers] characterAtIndex:0] == NSHelpFunctionKey) {
+ for_appkit = NO;
} else if(XQuartzEnableKeyEquivalents &&
.pdf
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden