diff options
author | Carsten Weisse <[email protected]> | 2007-05-12 13:31:19 +0000 |
---|---|---|
committer | Carsten Weisse <[email protected]> | 2007-05-12 13:31:19 +0000 |
commit | 24dbc3ecbe14a051618e260288ba167c37223424 (patch) | |
tree | 256558423e30bbcca7b32be482296e082318ef6d /src/jake2/sys | |
parent | 8388a60a76c3272fd3972b5cad862c676701857a (diff) |
bugfix: sorry the mouse goes crazy
Diffstat (limited to 'src/jake2/sys')
-rw-r--r-- | src/jake2/sys/JOGLKBD.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jake2/sys/JOGLKBD.java b/src/jake2/sys/JOGLKBD.java index c7da129..59b3361 100644 --- a/src/jake2/sys/JOGLKBD.java +++ b/src/jake2/sys/JOGLKBD.java @@ -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(); |