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
 | 
					-(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
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user