forked from AuroraMiddleware/gtk
Bug 705181: Fix annoying beeping introduced by Mac IME
NSTextInputClient should not chain unhandled commands to super
(cherry picked from commit 91bcca6f39
)
This commit is contained in:
parent
0b8ef8f201
commit
a78643bd6f
@ -172,7 +172,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