forked from AuroraMiddleware/gtk
Bug 705181: Fix annoying beeping introduced by Mac IME
NSTextInputClient should not chain unhandled commands to super
This commit is contained in:
parent
4ecbef0791
commit
91bcca6f39
@ -175,7 +175,11 @@
|
||||
-(void)doCommandBySelector: (SEL)aSelector
|
||||
{
|
||||
GDK_NOTE (EVENTS, g_print ("doCommandBySelector\n"));
|
||||
[super doCommandBySelector: aSelector];
|
||||
/* Do nothing. Although we are required to implement this method for
|
||||
* NSTextInputClient, we do not handle Cocoa command IDs, and the
|
||||
* Apple docs explicitly say not to forward unhandled commands up
|
||||
* the NSReponder chain, which calls NSBeep().
|
||||
*/
|
||||
}
|
||||
|
||||
-(void)insertText: (id)aString replacementRange: (NSRange)replacementRange
|
||||
|
Loading…
Reference in New Issue
Block a user