changeset 95:fa0dc97ef9a0

6522731: Location of the frame changes,when the frame is resized & non-resized. Summary: XMoveWindow() should use shell's location Reviewed-by: son
author dcherepanov
date Fri, 14 Mar 2008 17:23:25 +0300
parents 176e1fe7dead
children 296b6e29a99d
files src/solaris/classes/sun/awt/X11/XDecoratedPeer.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/solaris/classes/sun/awt/X11/XDecoratedPeer.java	Thu Mar 13 17:14:44 2008 +0300
+++ b/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);
         }
     }