Jogamp
bugfix: sorry the mouse goes crazy
authorCarsten Weisse <cwei@bytonic.de>
Sat, 12 May 2007 13:31:19 +0000 (13:31 +0000)
committerCarsten Weisse <cwei@bytonic.de>
Sat, 12 May 2007 13:31:19 +0000 (13:31 +0000)
src/jake2/sys/JOGLKBD.java

index c7da129..59b3361 100644 (file)
@@ -93,8 +93,8 @@ final public class JOGLKBD extends KBD
                                        while (c != null) {
                                                if (c instanceof Container) {
                                                        Insets insets = ((Container)c).getInsets();
-                                                       win_x += insets.left / 2;
-                                                       win_y += insets.top / 2;
+                                                       win_x += insets.left;
+                                                       win_y += insets.top;
                                                }
                                                win_x += c.getX();
                                                win_y += c.getY();
http://JogAmp.org git info: FAQ, tutorial and man pages.