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:
@ -172,11 +172,8 @@
|
||||
-(void)doCommandBySelector: (SEL)aSelector
|
||||
{
|
||||
GDK_NOTE (EVENTS, g_print ("doCommandBySelector\n"));
|
||||
/* 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().
|
||||
*/
|
||||
if ([self respondsToSelector: aSelector])
|
||||
[self performSelector: aSelector];
|
||||
}
|
||||
|
||||
-(void)insertText: (id)aString replacementRange: (NSRange)replacementRange
|
||||
|
||||
Reference in New Issue
Block a user