2002/09/02 18:37:29
authormegacz <megacz@xwt.org>
Fri, 30 Jan 2004 06:50:23 +0000 (06:50 +0000)
committermegacz <megacz@xwt.org>
Fri, 30 Jan 2004 06:50:23 +0000 (06:50 +0000)
darcs-hash:20040130065023-2ba56-22e4b58fa60dea9981b6f7ac14fd471b326f5180.gz

CHANGES
src/org/xwt/plat/AWT.java

diff --git a/CHANGES b/CHANGES
index 73c2879..616b26d 100644 (file)
--- a/CHANGES
+++ b/CHANGES
 
 24-Aug megacz POSIX.java: fixed cut/paste bug
 
+02-Sep megacz AWT.java: report corner of window, not corner of decorative frame
+
 
index 1d65bd2..ad67bc0 100644 (file)
@@ -327,7 +327,7 @@ public class AWT extends Platform {
         public void windowDeiconified(WindowEvent e) { dirty(0, 0, width, height); Minimized(false); }
         public void windowActivated(WindowEvent e) { Focused(true); }
         public void windowDeactivated(WindowEvent e) { Focused(false); }
-        public void componentMoved(ComponentEvent e) { PosChange(window.getLocation().x, window.getLocation().y); }
+       public void componentMoved(ComponentEvent e) { PosChange(window.getLocation().x + insets.left, window.getLocation().y + insets.top); }
 
         public void componentResized(ComponentEvent e) {
             // we have to periodically do this; I don't know why