aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-07-24 02:24:29 -0700
committerSven Gothel <[email protected]>2013-07-24 02:24:29 -0700
commiteb8ffd951be945ae49e645e1b1bffdda6b36d9f1 (patch)
tree47badc41ccf3c78c41a1350da3aaf1edeeb83854 /src
parente397d259a52153fb4fabf037d7b49e0b709876bc (diff)
Remove workaround for Bug 798HEADmaster
Diffstat (limited to 'src')
-rw-r--r--src/jake2/render/opengl/NEWTWin.java4
-rw-r--r--src/jake2/sys/NEWTKBD.java4
2 files changed, 0 insertions, 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;