aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/sys/JOGLKBD.java
diff options
context:
space:
mode:
authorHolger Zickner <[email protected]>2004-12-16 22:45:55 +0000
committerHolger Zickner <[email protected]>2004-12-16 22:45:55 +0000
commitb5892681cbae221b2fb6174770f8ce58409ed6eb (patch)
tree20fb616981bfa458c5ba5319c987dd0aa15986d9 /src/jake2/sys/JOGLKBD.java
parentcac5258eab7d100c317ff68764bba963c52d5d77 (diff)
jwjgl mouse handling works fine without recentering
Diffstat (limited to 'src/jake2/sys/JOGLKBD.java')
-rw-r--r--src/jake2/sys/JOGLKBD.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jake2/sys/JOGLKBD.java b/src/jake2/sys/JOGLKBD.java
index 9e2dd1f..409d290 100644
--- a/src/jake2/sys/JOGLKBD.java
+++ b/src/jake2/sys/JOGLKBD.java
@@ -212,6 +212,7 @@ final public class JOGLKBD extends KBD
emptyCursor = c.getToolkit().createCustomCursor(emptyIcon.getImage(), new Point(0, 0), "emptyCursor");
}
c.setCursor(emptyCursor);
+ centerMouse();
}
public void uninstallGrabs()