changeset 4912:e7370ef55062

7131196: [macosx] Cmd-Q does not quit a graphical Java app Reviewed-by: art
author ant
date Tue, 31 Jan 2012 15:38:57 +0300
parents 92da761e4442
children 58c548d6b53e
files src/macosx/native/sun/awt/AWTView.m
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/macosx/native/sun/awt/AWTView.m	Mon Jan 30 19:07:35 2012 -0800
+++ b/src/macosx/native/sun/awt/AWTView.m	Tue Jan 31 15:38:57 2012 +0300
@@ -300,8 +300,8 @@
 }
 
 - (BOOL) performKeyEquivalent: (NSEvent *) event {
-    [self deliverJavaKeyEventHelper: event];        
-    return TRUE;
+    [self deliverJavaKeyEventHelper: event];
+    return NO;
 }
 
 /**