changeset 12832:53700840d4d5

8058959: closed/java/awt/event/ComponentEvent/MovedResizedTwiceTest/MovedResizedTwiceTest.java failed automatically Reviewed-by: alexsch, serb
author ssadetsky
date Mon, 05 Oct 2015 15:13:14 +0300
parents 6fa168f3c0c0
children b5125fa7ef4b
files src/java.desktop/unix/classes/sun/awt/X11/XDecoratedPeer.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.desktop/unix/classes/sun/awt/X11/XDecoratedPeer.java	Fri Oct 02 17:12:47 2015 +0400
+++ b/src/java.desktop/unix/classes/sun/awt/X11/XDecoratedPeer.java	Mon Oct 05 15:13:14 2015 +0300
@@ -792,8 +792,8 @@
         XToolkit.awtLock();
         try {
             updateSizeHints(rec.x, rec.y, rec.width, rec.height);
-            XlibWrapper.XResizeWindow(XToolkit.getDisplay(), getShell(), rec.width, rec.height);
-            XlibWrapper.XMoveWindow(XToolkit.getDisplay(), getShell(), rec.x, rec.y);
+            XlibWrapper.XMoveResizeWindow(XToolkit.getDisplay(), getShell(),
+                            rec.x, rec.y, rec.width, rec.height);
         }
         finally {
             XToolkit.awtUnlock();