From eb8ffd951be945ae49e645e1b1bffdda6b36d9f1 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 24 Jul 2013 02:24:29 -0700 Subject: Remove workaround for Bug 798 --- src/jake2/render/opengl/NEWTWin.java | 4 ---- src/jake2/sys/NEWTKBD.java | 4 ---- 2 files changed, 8 deletions(-) diff --git a/src/jake2/render/opengl/NEWTWin.java b/src/jake2/render/opengl/NEWTWin.java index df47bb1..5f37fb4 100644 --- a/src/jake2/render/opengl/NEWTWin.java +++ b/src/jake2/render/opengl/NEWTWin.java @@ -494,10 +494,6 @@ public class NEWTWin { System.err.println(e); if( !e.isAutoRepeat() ) { int keyCode = e.getKeyCode(); - // FIXME: Workaround JOGL/NEWT Bug 798 - if( 0 == keyCode ) { - keyCode = e.getKeySymbol(); - } if( KeyEvent.VK_HOME == keyCode ) { shouldReparent = true; } diff --git a/src/jake2/sys/NEWTKBD.java b/src/jake2/sys/NEWTKBD.java index af54a36..4a0ba76 100644 --- a/src/jake2/sys/NEWTKBD.java +++ b/src/jake2/sys/NEWTKBD.java @@ -119,10 +119,6 @@ final public class NEWTKBD extends KBD private static int XLateKeyCode(KeyEvent ev) { int code = ev.getKeyCode(); - // FIXME: Workaround JOGL/NEWT Bug 798 - if( 0 == code ) { - code = ev.getKeySymbol(); - } int key = 0; switch(code) { // 00626 case XK_KP_Page_Up: key = K_KP_PGUP; break; -- cgit v1.2.3