6522731: Location of the frame changes,when the frame is resized & non-resized.
authordcherepanov
Fri, 14 Mar 2008 17:23:25 +0300
changeset 118 35b334a806ab
parent 117 766ae458aaf1
child 119 c4ce9d68f58e
6522731: Location of the frame changes,when the frame is resized & non-resized. Summary: XMoveWindow() should use shell's location Reviewed-by: son
jdk/src/solaris/classes/sun/awt/X11/XDecoratedPeer.java
--- 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);
         }
     }