7124411: [macosx] There's no KEY_TYPED for VK_ESCAPE
authorleonidr
Wed, 11 Apr 2012 21:06:08 +0400
changeset 12407 221ba2aa8d51
parent 12406 fc209a5d3c85
child 12408 8e95f7b85140
7124411: [macosx] There's no KEY_TYPED for VK_ESCAPE Reviewed-by: art
jdk/src/macosx/native/sun/awt/AWTEvent.m
--- a/jdk/src/macosx/native/sun/awt/AWTEvent.m	Tue Apr 10 22:09:58 2012 +0400
+++ b/jdk/src/macosx/native/sun/awt/AWTEvent.m	Wed Apr 11 21:06:08 2012 +0400
@@ -124,7 +124,7 @@
     {0x32, YES, KL_STANDARD, java_awt_event_KeyEvent_VK_BACK_QUOTE},
     {0x33, YES, KL_STANDARD, java_awt_event_KeyEvent_VK_BACK_SPACE},
     {0x34, YES, KL_NUMPAD,   java_awt_event_KeyEvent_VK_ENTER},
-    {0x35, NO,  KL_STANDARD, java_awt_event_KeyEvent_VK_ESCAPE},
+    {0x35, YES, KL_STANDARD, java_awt_event_KeyEvent_VK_ESCAPE},
     {0x36, NO,  KL_UNKNOWN,  java_awt_event_KeyEvent_VK_UNDEFINED},
     {0x37, NO,  KL_UNKNOWN,  java_awt_event_KeyEvent_VK_META},      // ****
     {0x38, NO,  KL_UNKNOWN,  java_awt_event_KeyEvent_VK_SHIFT},     // ****