projects
/
org.ibex.core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
893121e
)
2002/09/02 18:37:29
author
megacz
<megacz@xwt.org>
Fri, 30 Jan 2004 06:50:23 +0000
(06:50 +0000)
committer
megacz
<megacz@xwt.org>
Fri, 30 Jan 2004 06:50:23 +0000
(06:50 +0000)
darcs-hash:
20040130065023
-2ba56-
22e4b58fa60dea9981b6f7ac14fd471b326f5180
.gz
CHANGES
patch
|
blob
|
history
src/org/xwt/plat/AWT.java
patch
|
blob
|
history
diff --git
a/CHANGES
b/CHANGES
index
73c2879
..
616b26d
100644
(file)
--- a/
CHANGES
+++ b/
CHANGES
@@
-393,4
+393,6
@@
24-Aug megacz POSIX.java: fixed cut/paste bug
24-Aug megacz POSIX.java: fixed cut/paste bug
+02-Sep megacz AWT.java: report corner of window, not corner of decorative frame
+
diff --git
a/src/org/xwt/plat/AWT.java
b/src/org/xwt/plat/AWT.java
index
1d65bd2
..
ad67bc0
100644
(file)
--- a/
src/org/xwt/plat/AWT.java
+++ b/
src/org/xwt/plat/AWT.java
@@
-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 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
public void componentResized(ComponentEvent e) {
// we have to periodically do this; I don't know why