[gtk+] Bug 705181 Annoying beep on arrow keys
- From: John Ralls <jralls src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Bug 705181 Annoying beep on arrow keys
- Date: Tue, 13 Aug 2013 18:37:12 +0000 (UTC)
commit 40c429c2cbe20f5a471b6594bd0bd163e78628b6
Author: Ek Kato <ek kato gmail com>
Date: Tue Aug 13 11:14:29 2013 -0700
Bug 705181 Annoying beep on arrow keys
Original patch was a bit excessive, just needed to not forward the command.
gdk/quartz/GdkQuartzView.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/gdk/quartz/GdkQuartzView.c b/gdk/quartz/GdkQuartzView.c
index 6bc3afe..1d125d3 100644
--- a/gdk/quartz/GdkQuartzView.c
+++ b/gdk/quartz/GdkQuartzView.c
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]