8058959: closed/java/awt/event/ComponentEvent/MovedResizedTwiceTest/MovedResizedTwiceTest.java failed automatically

Reviewed-by: alexsch, serb
This commit is contained in:
Semyon Sadetsky 2015-10-05 15:13:14 +03:00
parent 8ec737728d
commit 93b4711948

View File

@ -792,8 +792,8 @@ abstract class XDecoratedPeer extends XWindowPeer {
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();