Bug 705181 Annoying beep on arrow keys

Original patch was a bit excessive, just needed to not forward the command.
This commit is contained in:
Ek Kato
2013-08-13 11:14:29 -07:00
committed by John Ralls
parent b52844031f
commit 40c429c2cb

View File

@ -172,11 +172,8 @@
-(void)doCommandBySelector: (SEL)aSelector -(void)doCommandBySelector: (SEL)aSelector
{ {
GDK_NOTE (EVENTS, g_print ("doCommandBySelector\n")); GDK_NOTE (EVENTS, g_print ("doCommandBySelector\n"));
/* Do nothing. Although we are required to implement this method for if ([self respondsToSelector: aSelector])
* NSTextInputClient, we do not handle Cocoa command IDs, and the [self performSelector: aSelector];
* Apple docs explicitly say not to forward unhandled commands up
* the NSReponder chain, which calls NSBeep().
*/
} }
-(void)insertText: (id)aString replacementRange: (NSRange)replacementRange -(void)insertText: (id)aString replacementRange: (NSRange)replacementRange