diff options
author | Christopher Oliver <[email protected]> | 2009-01-09 19:22:12 +0000 |
---|---|---|
committer | Christopher Oliver <[email protected]> | 2009-01-09 19:22:12 +0000 |
commit | fb5753f73f3a6042902ff503e5fc3bd2adde1284 (patch) | |
tree | 8c1359de252fb1aa8dedb633b71216f79356191f /src/classes/com/sun/javafx/newt/macosx/MacWindow.java | |
parent | fe77d427ff2dd4f208cb34a7dc694cb024c22a96 (diff) |
pass original unconverted keyChar
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1843 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/classes/com/sun/javafx/newt/macosx/MacWindow.java')
-rwxr-xr-x | src/classes/com/sun/javafx/newt/macosx/MacWindow.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/classes/com/sun/javafx/newt/macosx/MacWindow.java b/src/classes/com/sun/javafx/newt/macosx/MacWindow.java index 0008e4671..73cdbad04 100755 --- a/src/classes/com/sun/javafx/newt/macosx/MacWindow.java +++ b/src/classes/com/sun/javafx/newt/macosx/MacWindow.java @@ -328,10 +328,10 @@ public class MacWindow extends Window { } protected void sendKeyEvent(int eventType, int modifiers, int keyCode, char keyChar) { - keyChar = convertKeyChar(keyChar); + int key = convertKeyChar(keyChar); // Note that we send the key char for the key code on this // platform -- we do not get any useful key codes out of the system - super.sendKeyEvent(eventType, modifiers, keyChar, keyChar); + super.sendKeyEvent(eventType, modifiers, key, keyChar); } private native long createWindow(int x, int y, int w, int h, |