6522731: Location of the frame changes,when the frame is resized & non-resized.
Summary: XMoveWindow() should use shell's location
Reviewed-by: son
--- a/jdk/src/solaris/classes/sun/awt/X11/XDecoratedPeer.java Thu Mar 13 17:14:44 2008 +0300
+++ b/jdk/src/solaris/classes/sun/awt/X11/XDecoratedPeer.java Fri Mar 14 17:23:25 2008 +0300
@@ -809,7 +809,7 @@
fs &= ~(MWM_FUNC_RESIZE | MWM_FUNC_MAXIMIZE);
}
winAttr.functions = fs;
- XWM.setShellNotResizable(this, dimensions, dimensions.getScreenBounds(), false);
+ XWM.setShellNotResizable(this, dimensions, dimensions.getBounds(), false);
}
}