changeset 5247:49d2a5eb48b1

7124411: [macosx] There's no KEY_TYPED for VK_ESCAPE Reviewed-by: art
author leonidr
date Wed, 11 Apr 2012 21:06:08 +0400
parents 33c604bf074f
children 417ab141f5c0
files src/macosx/native/sun/awt/AWTEvent.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/macosx/native/sun/awt/AWTEvent.m	Tue Apr 10 22:09:58 2012 +0400
+++ b/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},     // ****